/* Yasta Footer Runtime V4.17.0.5 — cacheable static footer/chat/consent styles */
.yf-site-footer {
    --yf-orange: #ff642f;
    --yf-orange-light: #ff8a50;
    --yf-ink: #f8fafc;
    --yf-muted: #aeb7c6;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
    color: var(--yf-ink);
    background:
        radial-gradient(circle at 86% 10%, rgba(255,100,47,.19), transparent 31%),
        linear-gradient(145deg, #101827, #1d293c);
}
.yf-site-footer::before {
    content: "";
    position: absolute;
    width: 270px;
    height: 270px;
    top: -145px;
    left: -105px;
    border: 44px solid rgba(255,255,255,.025);
    border-radius: 50%;
    pointer-events: none;
}
.yf-footer-trust {
    position: relative;
    z-index: 2;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,.09);
}
.yf-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.yf-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 5px 22px;
    border-right: 1px solid rgba(255,255,255,.09);
}
.yf-trust-item:last-child { border-right: 0; }
.yf-trust-icon {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--yf-orange-light);
    background: rgba(255,100,47,.12);
    border: 1px solid rgba(255,100,47,.2);
    border-radius: 13px;
    font-size: 18px;
}
.yf-trust-item strong { display: block; font-size: 12px; }
.yf-trust-item small { color: var(--yf-muted); font-size: 9px; }
.yf-footer-main {
    position: relative;
    z-index: 2;
    padding: 52px 0 42px;
}
.yf-footer-brand { margin-bottom: 16px; }
.yf-footer-logo {
    max-width: 170px;
    max-height: 65px;
    display: block;
    object-fit: contain;
    object-position: left center;
    filter: brightness(0) invert(1);
}
.yf-footer-brand-name {
    margin: 0;
    font-size: 24px;
    font-weight: 850;
}
.yf-footer-tagline {
    max-width: 390px;
    margin: 0 0 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.6;
}
.yf-footer-description {
    max-width: 390px;
    margin: 0 0 20px;
    color: var(--yf-muted);
    font-size: 11px;
    line-height: 1.8;
}
.yf-footer-blog-feature {
    max-width: 390px;
    margin: 18px 0 20px;
    padding: 14px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    background: linear-gradient(135deg, rgba(255,100,47,.19), rgba(255,255,255,.055));
    border: 1px solid rgba(255,138,80,.3);
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.yf-footer-blog-feature:hover {
    color: #fff;
    border-color: rgba(255,138,80,.62);
    background: linear-gradient(135deg, rgba(255,100,47,.29), rgba(255,255,255,.075));
    transform: translateY(-2px);
}
.yf-footer-blog-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--yf-orange), var(--yf-orange-light));
    border-radius: 13px;
    font-size: 18px;
    box-shadow: 0 8px 18px rgba(255,100,47,.28);
}
.yf-footer-blog-copy {
    min-width: 0;
    flex: 1;
}
.yf-footer-blog-copy small {
    display: block;
    margin-bottom: 2px;
    color: #ffb08a;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.yf-footer-blog-copy strong {
    display: block;
    color: #fff;
    font-size: 11px;
    line-height: 1.45;
}
.yf-footer-blog-arrow {
    color: #ffb08a;
    font-size: 15px;
    transition: transform .2s ease;
}
.yf-footer-blog-feature:hover .yf-footer-blog-arrow {
    transform: translateX(3px);
}
.yf-footer-official-stores { display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:18px 0 12px; }
.yf-footer-store-label { display:inline-flex;align-items:center;gap:6px;color:#ffd7c8;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.05em; }
.yf-footer-official-stores a { display:inline-flex;align-items:center;min-height:29px;padding:0 10px;color:#f8fafc;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);border-radius:999px;font-size:10px;font-weight:800;text-decoration:none;transition:.2s ease; }
.yf-footer-official-stores a:hover { color:#fff;background:rgba(255,100,47,.2);border-color:rgba(255,138,80,.5);transform:translateY(-1px); }
.yf-footer-social { display: flex; gap: 9px; }
.yf-social-link {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255,255,255,.075);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    text-decoration: none;
    transition: .2s ease;
}
.yf-social-link:hover {
    color: #fff;
    background: var(--yf-orange);
    transform: translateY(-3px);
}
.yf-footer-heading {
    margin: 0 0 17px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}
.yf-footer-links { display: grid; gap: 11px; }
.yf-footer-link {
    width: fit-content;
    color: var(--yf-muted);
    font-size: 11px;
    text-decoration: none;
    transition: .2s ease;
}
.yf-footer-link:hover {
    color: #fff;
    transform: translateX(3px);
}
.yf-footer-link.active {
    color: #fff;
    font-weight: 800;
}
.yf-footer-link.active::before {
    content: "";
    width: 6px;
    height: 6px;
    display: inline-block;
    margin-right: 7px;
    background: var(--yf-orange);
    border-radius: 50%;
    vertical-align: middle;
}
.yf-contact-list { display: grid; gap: 14px; }
.yf-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--yf-muted);
    font-size: 10.5px;
    line-height: 1.6;
    text-decoration: none;
}
.yf-contact-item:hover { color: #fff; }
.yf-contact-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--yf-orange-light);
    background: rgba(255,100,47,.1);
    border-radius: 9px;
}
.yf-contact-label {
    display: block;
    color: var(--yf-muted);
    font-size: 9px;
}
.yf-contact-value { color: #fff; font-weight: 750; }
.yf-footer-bottom {
    position: relative;
    z-index: 2;
    padding: 18px 0;
    background: rgba(0,0,0,.14);
    border-top: 1px solid rgba(255,255,255,.07);
}
.yf-footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.yf-copyright {
    margin: 0;
    color: var(--yf-muted);
    font-size: 10px;
    line-height: 1.6;
}
.yf-copyright strong { color: #fff; }
.yf-secure-info {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #b8c2d0;
    font-size: 9px;
    white-space: nowrap;
}
.yf-secure-info i { color: #4ed38a; }

.yf-live-chat {
    --yf-chat-primary: #ff642f;
    --yf-chat-dark: #182133;
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 9995;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.yf-live-chat-button {
    position: relative;
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--yf-chat-primary), #ff8b3d);
    border: 3px solid #fff;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(255,100,47,.38);
    transition: .25s ease;
}
.yf-live-chat-button:hover { transform: translateY(-4px) scale(1.03); }
.yf-live-chat-button.is-open { background: var(--yf-chat-dark); }
.yf-live-chat-label {
    position: absolute;
    right: 70px;
    min-width: max-content;
    padding: 9px 13px;
    color: #fff;
    background: var(--yf-chat-dark);
    border-radius: 11px;
    font-size: 10px;
    font-weight: 750;
    pointer-events: none;
}
.yf-live-chat.is-open .yf-live-chat-label { display: none; }
.yf-live-chat-notification {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #dc3545;
    border: 2px solid #fff;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
}
.yf-live-chat-notification[hidden] { display: none !important; }

.yf-live-chat-button.has-new-admin-message {
    animation: yf-chat-new-message-pulse 1.15s ease-in-out 3;
}
@keyframes yf-chat-new-message-pulse {
    0%,100% { transform: scale(1); box-shadow: 0 14px 34px rgba(238,77,45,.32); }
    50% { transform: scale(1.08); box-shadow: 0 18px 42px rgba(238,77,45,.52); }
}
.yf-live-chat-panel {
    position: absolute;
    right: 0;
    bottom: 72px;
    width: min(365px, calc(100vw - 28px));
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    background: #fff;
    border: 1px solid #e5eaf1;
    border-radius: 21px;
    box-shadow: 0 22px 65px rgba(24,33,51,.22);
    transform: translateY(15px) scale(.96);
    transform-origin: right bottom;
    transition: .25s ease;
}
.yf-live-chat.is-open .yf-live-chat-panel {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
}
.yf-chat-header {
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    background:
        radial-gradient(circle at 90% 10%, rgba(255,255,255,.22), transparent 35%),
        linear-gradient(135deg, #f25b27, #ff893c);
}
.yf-chat-avatar {
    position: relative;
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.2);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 14px;
    font-size: 20px;
}
.yf-chat-avatar::after{
    content:"";
    position:absolute;
    right:-1px;
    bottom:-1px;
    width:12px;
    height:12px;
    border:2px solid #fff;
    border-radius:50%;
    transition:all .25s ease;
}

/* ===========================
   ADMIN ONLINE
=========================== */

.yf-chat-avatar.online::after{
    background:#22c55e;
    box-shadow:
        0 0 0 2px rgba(34,197,94,.15),
        0 0 10px rgba(34,197,94,.55);
}

/* ===========================
   ADMIN OFFLINE
=========================== */

.yf-chat-avatar.offline::after{
    background:#9ca3af;
    box-shadow:none;
}

/* ===========================
   SERVER ERROR
=========================== */

.yf-chat-avatar.error::after{
    background:#ef4444;
    box-shadow:
        0 0 10px rgba(239,68,68,.55);
}
.yf-chat-header-info { min-width: 0; flex: 1; }
.yf-chat-header-info strong { display: block; font-size: 13px; }
.yf-chat-header-info small { color: rgba(255,255,255,.82); font-size: 9px; }
.yf-chat-close {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255,255,255,.15);
    border: 0;
    border-radius: 10px;
}
.yf-chat-body {
    height: 280px;
    padding: 16px;
    overflow-y: auto;
    background: #f7f8fa;
}
.yf-chat-date {
    margin-bottom: 13px;
    color: #98a2b3;
    font-size: 8px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}
.yf-chat-message-row { display: flex; margin-bottom: 11px; }
.yf-chat-message-row.customer { justify-content: flex-end; }
.yf-chat-message-row.system { justify-content: center; }
.yf-chat-message {
    max-width: 82%;
    padding: 10px 12px;
    color: #3e485a;
    background: #fff;
    border: 1px solid #e6eaf0;
    border-radius: 5px 14px 14px;
    font-size: 10px;
    line-height: 1.55;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.yf-chat-message-row.customer .yf-chat-message {
    color: #fff;
    background: var(--yf-chat-primary);
    border-color: var(--yf-chat-primary);
    border-radius: 14px 5px 14px 14px;
}
.yf-chat-message-row.system .yf-chat-message {
    max-width: 92%;
    color: #64748b;
    background: #f1f5f9;
    text-align: center;
}
.yf-chat-message.has-action {
    width: min(100%, 340px);
    max-width: 96% !important;
    padding: 10px;
    white-space: normal;
    text-align: left !important;
}
.yf-chat-message-text {
    display: block;
    white-space: pre-wrap;
}
.yf-chat-payment-action {
    margin-top: 10px;
    padding: 12px;
    color: #273142;
    background: #fff;
    border: 1px solid #ffd4c5;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(58, 38, 31, .08);
}
.yf-chat-payment-action-head {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}
.yf-chat-payment-action-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #ef4444;
    border-radius: 11px;
    font-size: 15px;
}
.yf-chat-payment-action-copy {
    min-width: 0;
    flex: 1;
}
.yf-chat-payment-action-copy strong {
    display: block;
    color: #1f2937;
    font-size: 11px;
    line-height: 1.35;
}
.yf-chat-payment-action-invoice {
    display: inline-flex;
    margin-top: 3px;
    padding: 3px 7px;
    color: #c2410c;
    background: #fff3ed;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .03em;
}
.yf-chat-payment-action-status {
    margin-top: 9px;
    padding: 7px 9px;
    color: #9a3412;
    background: #fff7ed;
    border-radius: 9px;
    font-size: 9px;
    font-weight: 700;
}
.yf-chat-payment-action-reason {
    margin-top: 8px;
    color: #596579;
    font-size: 9px;
    line-height: 1.5;
}
.yf-chat-payment-action-reason strong {
    color: #374151;
}
.yf-chat-payment-action-button {
    width: 100%;
    min-height: 40px;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #fff;
    background: linear-gradient(135deg, #ff5b24, #ff7b3d);
    border: 0;
    border-radius: 11px;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(255, 91, 36, .24);
}
.yf-chat-payment-action-button:hover,
.yf-chat-payment-action-button:focus {
    color: #fff;
    transform: translateY(-1px);
}
.yf-chat-payment-action-button.is-disabled {
    color: #64748b;
    background: #e9eef5;
    box-shadow: none;
    pointer-events: none;
}
.yf-chat-payment-action-help {
    margin-top: 7px;
    color: #7c8798;
    font-size: 8px;
    line-height: 1.45;
    text-align: center;
}
.yf-chat-payment-action.tone-success {
    border-color: #bbf7d0;
}
.yf-chat-payment-action.tone-success .yf-chat-payment-action-icon {
    background: #16a34a;
}
.yf-chat-payment-action.tone-success .yf-chat-payment-action-status {
    color: #166534;
    background: #ecfdf3;
}
.yf-chat-payment-action.tone-warning {
    border-color: #fde68a;
}
.yf-chat-payment-action.tone-warning .yf-chat-payment-action-icon {
    background: #d97706;
}
.yf-chat-payment-action.tone-warning .yf-chat-payment-action-status {
    color: #92400e;
    background: #fffbeb;
}
.yf-chat-payment-action.tone-info .yf-chat-payment-action-icon {
    background: #0284c7;
}
.yf-chat-payment-action.tone-muted {
    border-color: #dbe2ea;
}
.yf-chat-payment-action.tone-muted .yf-chat-payment-action-icon {
    background: #64748b;
}
.yf-chat-message-time {
    display: block;
    margin-top: 4px;
    color: #a1a9b6;
    font-size: 7px;
    text-align: right;
}
.yf-chat-message-row.customer .yf-chat-message-time {
    color: rgba(255,255,255,.72);
}
.yf-chat-connection {
    padding: 6px 12px;
    color: #667085;
    background: #fff;
    border-top: 1px solid #eef0f4;
    font-size: 8px;
    text-align: center;
}
.yf-chat-connection.online { color: #15803d; }
.yf-chat-connection.offline { color: #64748b; }
.yf-chat-connection.error { color: #dc2626; }
.yf-chat-form {
    padding: 12px;
    display: grid;
    grid-template-columns: minmax(0,1fr) 43px;
    gap: 8px;
    background: #fff;
    border-top: 1px solid #e9ecf1;
}
.yf-chat-attachment {
    grid-column: 1 / -1;
    font-size: 11px;
}
.yf-chat-message-image {
    display: block;
    max-width: 220px;
    max-height: 220px;
    margin-bottom: 6px;
    border-radius: 10px;
    object-fit: cover;
}
.yf-chat-input {
    min-height: 43px;
    max-height: 105px;
    padding: 11px 13px;
    background: #f8f9fb;
    border: 1px solid #e5e9ef;
    border-radius: 13px;
    outline: none;
    font: inherit;
    font-size: 10px;
    resize: none;
}
.yf-chat-input:focus {
    background: #fff;
    border-color: var(--yf-chat-primary);
    box-shadow: 0 0 0 3px rgba(255,100,47,.1);
}
.yf-chat-send {
    width: 43px;
    height: 43px;
    align-self: end;
    color: #fff;
    background: var(--yf-chat-primary);
    border: 0;
    border-radius: 13px;
}
.yf-chat-send:disabled { opacity: .65; }
.yf-chat-powered {
    padding: 0 12px 10px;
    color: #98a2b3;
    background: #fff;
    font-size: 7px;
    text-align: center;
}
.yf-footer-link:focus-visible,
.yf-footer-blog-feature:focus-visible,
.yf-social-link:focus-visible,
.yf-contact-item:focus-visible,
.yf-live-chat-button:focus-visible,
.yf-chat-close:focus-visible,
.yf-chat-send:focus-visible {
    outline: 3px solid rgba(255,138,80,.55);
    outline-offset: 3px;
}
@media (max-width: 991px) {
    .yf-trust-grid { grid-template-columns: repeat(2,1fr); }
    .yf-trust-item:nth-child(2) { border-right: 0; }
    .yf-trust-item:nth-child(-n+2) { margin-bottom: 16px; }
}
@media (max-width: 767px) {
    .yf-site-footer { margin-top: 42px; }
    .yf-footer-main { padding: 39px 0 33px; }
    .yf-footer-blog-feature { max-width: none; }
    .yf-footer-bottom-content {
        align-items: flex-start;
        flex-direction: column;
    }
    .yf-live-chat { right: 14px; bottom: 85px; }
    .yf-live-chat-button { width: 51px; height: 51px; font-size: 21px; }
    .yf-live-chat-label { display: none; }
    .yf-live-chat-panel {
        position: fixed;
        right: 10px;
        bottom: 148px;
        left: 10px;
        width: auto;
    }
    .yf-chat-body { height: min(310px,42vh); }
}
@media (max-width: 480px) {
    .yf-trust-grid { grid-template-columns: 1fr; }
    .yf-trust-item {
        justify-content: flex-start;
        margin-bottom: 8px !important;
        padding: 8px 5px;
        border-right: 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    .yf-site-footer *,
    .yf-live-chat * {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}



/* ==========================================================
   PRIVACY & CONVERSION MEASUREMENT V4.3.6
   Non-blocking: tidak blur, tidak mengunci scroll, tidak menutup CTA.
========================================================== */
.yf-privacy-settings-trigger {
    padding: 0;
    color: #b8c2d0;
    background: transparent;
    border: 0;
    font-size: 9px;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.yf-privacy-settings-trigger:hover { color: #fff; }
.yf-consent-overlay {
    position: fixed;
    inset: auto 0 0;
    z-index: var(--yf-layer-consent, 10020);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 12px;
    background: transparent;
    backdrop-filter: none;
    pointer-events: none;
}
.yf-consent-overlay[hidden] { display: none !important; }
.yf-consent-card {
    position: relative;
    width: min(760px, 100%);
    padding: 14px 15px;
    color: #172033;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(23,32,51,.12);
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(15,23,42,.18);
    pointer-events: auto;
}
.yf-consent-head {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding-right: 28px;
}
.yf-consent-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg,#ff642f,#ff8b3d);
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(255,100,47,.22);
    font-size: 17px;
}
.yf-consent-card h2 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 850;
}
.yf-consent-card p {
    margin: 0;
    color: #667085;
    font-size: 10px;
    line-height: 1.55;
}
.yf-consent-providers {
    margin: 7px 0 0 49px;
    color: #8a526b;
    font-size: 8px;
    font-weight: 700;
}
.yf-consent-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 11px;
}
.yf-consent-actions .btn {
    min-height: 36px;
    padding-inline: 13px;
    border-radius: 11px;
    font-size: 10px;
    font-weight: 800;
}
.yf-consent-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    color: #7b8493;
    background: #f4f6f8;
    border: 0;
    border-radius: 50%;
    font-size: 13px;
}
.yf-consent-close:hover { color: #172033; background: #e9edf2; }
@media (max-width: 767.98px) {
    .yf-consent-overlay {
        /*
         * B2 Conversion Safety: reserve the real rendered fixed CTA/dock height.
         * JS updates --yf-consent-safe-reserve; 76px remains a no-JS fallback.
         */
        bottom: max(var(--yf-v280-dock-h, 76px), var(--yf-consent-safe-reserve, 0px));
        padding: 8px 10px;
    }
    .yf-consent-card {
        max-height: calc(100dvh - max(var(--yf-v280-dock-h, 76px), var(--yf-consent-safe-reserve, 0px)) - 16px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 12px;
        border-radius: 15px;
    }
    .yf-consent-head { gap: 9px; }
    .yf-consent-icon { width: 34px; height: 34px; flex-basis: 34px; }
    .yf-consent-providers { display: none; }
    .yf-consent-actions {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 7px;
        margin-top: 9px;
    }
    .yf-consent-actions .btn { width: 100%; min-height: 35px; padding-inline: 8px; }
}
@media (max-width: 360px) {
    .yf-consent-card p { font-size: 9px; }
    .yf-consent-actions { grid-template-columns: 1fr; }
}

/* Admin-only Pixel runtime diagnostics (?yf_pixel_debug=1) */
.yf-pixel-debug-panel {
    position: fixed;
    z-index: var(--yf-layer-debug, 10030);
    right: 16px;
    bottom: 16px;
    width: min(390px, calc(100vw - 32px));
    overflow: hidden;
    color: #172033;
    background: rgba(255,255,255,.98);
    border: 1px solid #e4e9f0;
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(15,23,42,.24);
    backdrop-filter: blur(12px);
}
.yf-pixel-debug-head { display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 17px;color:#fff;background:linear-gradient(135deg,#172033,#35445d); }
.yf-pixel-debug-head strong { display:block;font-size:14px; }
.yf-pixel-debug-head small { display:block;margin-top:3px;color:rgba(255,255,255,.68);font-size:9px; }
.yf-pixel-debug-close { padding:0;color:#fff;background:transparent;border:0;font-size:18px; }
.yf-pixel-debug-body { padding:14px 17px 17px; }
.yf-pixel-debug-summary { display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:11px; }
.yf-pixel-debug-summary div { padding:9px 10px;background:#f5f7fa;border-radius:11px;font-size:9px; }
.yf-pixel-debug-summary strong { display:block;margin-top:2px;font-size:11px; }
.yf-pixel-debug-row { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:center;padding:9px 0;border-bottom:1px solid #edf0f4; }
.yf-pixel-debug-row:last-of-type { border-bottom:0; }
.yf-pixel-debug-row strong { display:block;font-size:10px; }
.yf-pixel-debug-row code { display:block;color:#798397;font-size:8px;overflow-wrap:anywhere; }
.yf-pixel-runtime-status { padding:5px 8px;border-radius:999px;font-size:8px;font-weight:850; }
.yf-pixel-runtime-status.wait { color:#7a5a00;background:#fff4cf; }
.yf-pixel-runtime-status.ok { color:#087443;background:#ddf7e9; }
.yf-pixel-runtime-status.off { color:#667085;background:#edf0f4; }
.yf-pixel-runtime-status.bad { color:#b42318;background:#fee4e2; }
.yf-pixel-debug-actions { display:flex;gap:8px;margin-top:12px; }
.yf-pixel-debug-actions .btn { flex:1;min-height:38px;border-radius:11px;font-size:9px;font-weight:800; }
@media (max-width:575px) { .yf-pixel-debug-panel { right:10px;bottom:10px;width:calc(100vw - 20px); } }
