/* Aanvullingen op Snippet C v7.2. De plugin levert deze opmaak zelf mee. */
#fifa-canvas-controls.fifa-editor-v525 .fifa-edit-badge,
#fifa-canvas-controls.fifa-editor-v525 button.fifa-photo-edit,
#fifa-canvas-controls.fifa-editor-v525 button.fifa-asset-add,
#fifa-canvas-controls.fifa-editor-v525 button.fifa-transform-handle {
    box-sizing: border-box !important; width: 28px !important; height: 28px !important;
    min-width: 28px !important; min-height: 28px !important; max-width: 28px !important; max-height: 28px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    padding: 0 !important; margin: 0 !important; line-height: 1 !important; text-indent: 0 !important;
    border: 1px solid #fff !important; border-radius: 50% !important; background: #2563eb !important; color: #fff !important;
}
#fifa-canvas-controls.fifa-editor-v525 .fifa-edit-badge svg,
#fifa-canvas-controls.fifa-editor-v525 button.fifa-photo-edit svg,
#fifa-canvas-controls.fifa-editor-v525 button.fifa-asset-add svg,
#fifa-canvas-controls.fifa-editor-v525 button.fifa-transform-handle svg {
    position: static !important; display: block !important; flex: 0 0 16px !important;
    width: 16px !important; height: 16px !important; padding: 0 !important; margin: 0 !important;
    transform: none !important;
}
#fifa-canvas-controls.fifa-editor-v525 .fifa-edit-badge { top: -14px; right: -14px; }
#fifa-canvas-controls.fifa-editor-v525 button.fifa-photo-edit:is(:hover,:focus,:active),
#fifa-canvas-controls.fifa-editor-v525 button.fifa-asset-add:is(:hover,:focus,:active) { background: #2563eb !important; color: #fff !important; }
#fifa-canvas-controls.fifa-editor-v525 .fifa-middle-badge { z-index: 3; }
#fifa-canvas-controls.fifa-editor-v525 .fifa-selection-frame { z-index: 2; }
#fifa-canvas-controls.fifa-editor-v525 .fifa-middle-badge .fifa-edit-badge { top: 50% !important; right: -14px !important; transform: translateY(-50%) !important; }
.fpd-product-designer-wrapper.fifa-assets-resize-visible { position: relative; box-sizing: content-box !important; padding-bottom: 108px !important; background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px #dbe6f5, 0 8px 24px #153b8d0c; }
#fifa-asset-size-panel.fifa-editor-v525 { position: absolute; left: 0; right: 0; bottom: 0; box-sizing: border-box; display: grid; gap: 8px; padding: 12px; border-top: 1px solid #dbe6f5; border-radius: 0 0 14px 14px; background: #eff6ff; font-family: Inter,'Segoe UI',Arial,sans-serif; color: #334155; }
#fifa-asset-size-panel.fifa-editor-v525 .fifa-asset-size-row { display: grid; grid-template-columns: minmax(90px,1fr) repeat(4, 32px); gap: 6px; align-items: center; }
#fifa-asset-size-panel.fifa-editor-v525 span { font-size: 12px; line-height: 1.3; text-align: right; }
#fifa-asset-size-panel.fifa-editor-v525 .fifa-asset-label { display: flex; align-items: center; gap: 8px; text-align: left; font-weight: 600; }
#fifa-asset-size-panel.fifa-editor-v525 .fifa-asset-label img { flex: 0 0 26px; width: 26px; height: 26px; object-fit: contain; margin: 0; padding: 0; border: 0; }
#fifa-asset-size-panel.fifa-editor-v525 button {
    position: static !important; appearance: none; box-sizing: border-box !important; width: 32px !important; height: 32px !important;
    min-width: 32px !important; min-height: 32px !important; padding: 0 !important; margin: 0 !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    border: 1px solid #fff !important; border-radius: 50% !important; background: #2563eb !important; color: #fff !important;
    box-shadow: none !important; font: 400 20px/1 Arial,sans-serif !important; cursor: pointer;
}
#fifa-asset-size-panel.fifa-editor-v525 button svg { display: block; width: 16px; height: 16px; margin: 0 !important; }
#fifa-asset-size-panel.fifa-editor-v525 button:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
#fifa-canvas-dialog.fifa-editor-v525 .fifa-custom-position { display: grid; grid-template-columns: minmax(0,1fr) 28px; gap: 8px; align-items: center; }
#fifa-canvas-dialog.fifa-editor-v525 .fifa-inline-input.fifa-position-row { display: flex !important; }
#fifa-canvas-dialog.fifa-editor-v525 .fifa-position-row select { flex: 1 1 auto !important; width: 100% !important; }
#fifa-canvas-dialog.fifa-editor-v525 .fifa-custom-position-close {
    box-sizing: border-box !important; width: 28px !important; height: 28px !important; min-width: 28px !important; min-height: 28px !important;
    display: flex !important; align-items: center !important; justify-content: center !important; padding: 0 !important; margin: 0 !important;
    border: 0 !important; border-radius: 50% !important; background: #2563eb !important; color: #fff !important; box-shadow: none !important;
}
#fifa-canvas-dialog.fifa-editor-v525 .fifa-custom-position-close svg { display: block; width: 16px; height: 16px; }
#fifa-canvas-dialog.fifa-editor-v525 [hidden],
#fifa-canvas-controls.fifa-editor-v525 button[hidden],
#fifa-canvas-controls.fifa-editor-v525 button#fifa-builder-photo[hidden] { display: none !important; }
.fifa-sticky-anchor { display: block; overflow-anchor: none; clear: both; margin: 0; padding: 0; border: 0; }
@media (max-width: 768px) {
    html.fifa-canvas-images-ready, html.fifa-canvas-images-ready body { overflow-anchor: none; }
}
@media (min-width: 769px) { .fifa-sticky-anchor { display: none; } }
#fifa-photo-steps { display: flex; list-style: none; margin: 0; padding: 0; gap: 12px; counter-reset: photo-step; }
#fifa-photo-steps li { display: grid; justify-items: center; gap: 5px; counter-increment: photo-step; color: #64748b; font-size: 11px; }
#fifa-photo-steps li::before { content: counter(photo-step); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e2e8f0; color: #475569; font-size: 13px; }
#fifa-photo-steps li.is-current::before { background: #2563eb; color: white; box-shadow: 0 0 0 4px #dbeafe; }
#fifa-photo-steps li.is-done::before { content: '✓'; background: #dbeafe; color: #1d4ed8; }
#fifa-builder-chrome #fifa-expand-editor {
    position: absolute !important; display: flex !important; align-items: center !important; justify-content: center !important;
    box-sizing: border-box !important; width: 36px !important; height: 36px !important; min-width: 36px !important; min-height: 36px !important;
    padding: 0 !important; margin: 0 !important; border: 1px solid #dbe6fa !important; border-radius: 10px !important;
    background: #fff !important; color: #2563eb !important; box-shadow: 0 2px 8px #153b8d18 !important; pointer-events: auto; cursor: pointer;
}
#fifa-builder-chrome #fifa-expand-editor svg { width: 20px; height: 20px; display: block; margin: 0; pointer-events: none; }
#fifa-builder-chrome #fifa-expand-editor[hidden] { display: none !important; }
#fifa-builder-chrome #fifa-expand-editor:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
#fifa-canvas-dialog .fifa-crop-selection:focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; }
#fifa-canvas-dialog .fifa-photo-actions { margin-top: 14px; }
html.fifa-editor-expanded, html.fifa-editor-expanded body { overflow-anchor: none; }
#fifa-expanded-backdrop { position: fixed; inset: 0; z-index: 100000; background: #eef3fbf5; backdrop-filter: blur(6px); }
.fpd-product-designer-wrapper.fifa-assets-resize-visible.fifa-is-expanded {
    position: fixed !important; top: var(--fifa-expanded-top) !important; left: var(--fifa-expanded-left) !important;
    width: var(--fifa-expanded-size) !important; height: var(--fifa-expanded-size) !important;
    min-width: 0 !important; max-width: none !important; max-height: none !important; z-index: 100001 !important;
    margin: 0 !important; padding: 0 0 108px !important; float: none !important; box-sizing: content-box !important;
}
.fpd-product-designer-wrapper.fifa-is-expanded .fpd-container { width: 100% !important; height: var(--fifa-expanded-size) !important; max-height: none !important; min-width: 0 !important; padding: 0 !important; overflow: hidden; }
.fpd-product-designer-wrapper.fifa-is-expanded fpd-main-wrapper {
    flex: 0 0 500px !important; width: 500px !important; min-width: 500px !important;
    margin-left: calc((100% - 500px) / 2) !important; margin-right: 0 !important;
    transform: scale(var(--fifa-expanded-scale)) !important; transform-origin: top center !important;
}
.fpd-product-designer-wrapper.fifa-is-expanded .fpd-product-stage { width: 500px !important; height: 500px !important; min-width: 500px !important; min-height: 500px !important; max-width: none !important; padding: 0; margin: 0; }
.fpd-product-designer-wrapper.fifa-is-expanded canvas { max-width: none !important; }
.fifa-editor-expanded #fifa-canvas-controls { z-index: 100002; }
.fifa-editor-expanded #fifa-builder-chrome { z-index: 100003; }
.fifa-expanded-spacer { display: block; clear: both; overflow-anchor: none; margin: 0; padding: 0; border: 0; }
@media (min-width: 769px) { .fifa-expanded-spacer { float: left; width: 50%; clear: none; } }

/* v6.2: actieve potloodjes en gedeelde vlag/logo-focus op het canvas. */
#fifa-canvas-controls.fifa-editor-v525 .fifa-edit-badge { pointer-events: auto !important; cursor: pointer; }
#fifa-canvas-controls.fifa-editor-v525 .fifa-edit-badge::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; }
#fifa-canvas-controls.fifa-editor-v525 button.fifa-canvas-target { overflow: visible !important; }
#fifa-canvas-controls.fifa-editor-v525 .fifa-left-badge .fifa-edit-badge { left: var(--fifa-badge-left,-32px) !important; right: auto !important; }
#fifa-canvas-controls.fifa-editor-v525 .fifa-top-left-badge { z-index: 4; }
#fifa-canvas-controls.fifa-editor-v525 .fifa-top-left-badge .fifa-edit-badge { left: var(--fifa-badge-left,-14px) !important; right: auto !important; top: -14px !important; }
.fpd-product-designer-wrapper.fifa-assets-resize-visible { padding-bottom: 0 !important; }
.fpd-product-designer-wrapper.fifa-assets-resize-visible.fifa-is-expanded { height: var(--fifa-expanded-height) !important; padding: 0 !important; }
.fpd-product-designer-wrapper.fifa-is-expanded .fpd-container { height: var(--fifa-expanded-height) !important; }
.fpd-product-designer-wrapper.fifa-is-expanded fpd-main-wrapper { transform: translate(var(--fifa-focus-x,0px),var(--fifa-focus-y,0px)) scale(var(--fifa-expanded-scale)) !important; }
#fifa-asset-size-panel.fifa-editor-v525 { position: fixed; inset: 0; padding: 0; border: 0; border-radius: 0; background: none; display: block; pointer-events: none; }
#fifa-asset-size-panel.fifa-editor-v525 .fifa-asset-size-row {
    position: absolute; box-sizing: border-box; display: grid; grid-template-columns: repeat(4,32px); gap: 6px;
    padding: 5px; border: 1px solid #bfdbfe; border-radius: 12px; background: #eff6fff5; box-shadow: 0 3px 14px #153b8d20; pointer-events: auto;
}
#fifa-asset-size-panel.fifa-editor-v525 .fifa-asset-label { grid-column: 1/-1; justify-content: center; font-size: 12px; }
#fifa-asset-size-panel.fifa-editor-v525 .fifa-asset-label img { display: none; }
#fifa-asset-size-panel.fifa-editor-v525 .fifa-asset-tools-narrow { grid-template-columns: repeat(2,32px); }
#fifa-builder-chrome #fifa-asset-zoom-back {
    position: absolute !important; display: block; pointer-events: auto; width: auto !important; height: 36px !important;
    min-height: 36px !important; margin: 0 !important; padding: 6px 10px !important; border: 1px solid #dbe6fa !important;
    border-radius: 10px !important; background: #2563eb !important; color: #fff !important; font: 600 12px/1.2 'Segoe UI',Arial,sans-serif !important;
    text-transform: none !important; box-shadow: 0 2px 8px #153b8d18 !important; cursor: pointer;
}
#fifa-builder-chrome #fifa-asset-zoom-back[hidden] { display: none !important; }

/* v6.2.1: detailbediening onder de uitsnede, buiten het kaartbeeld. */
.fifa-asset-focus .fpd-product-designer-wrapper.fifa-assets-resize-visible.fifa-is-expanded { height: calc(var(--fifa-expanded-height) + var(--fifa-focus-footer-height,0px)) !important; }
.fifa-asset-focus .fpd-product-designer-wrapper.fifa-is-expanded::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0;
    box-sizing: border-box; height: var(--fifa-focus-footer-height,0px); border-top: 1px solid #dbeafe;
    background: #f0f6ff; border-radius: 0 0 14px 14px; pointer-events: none;
}
#fifa-asset-size-panel.fifa-editor-v525 button.fifa-asset-reset { flex-direction: column !important; gap: 1px; }
#fifa-asset-size-panel.fifa-editor-v525 button.fifa-asset-reset svg { width: 14px; height: 14px; }
#fifa-asset-size-panel.fifa-editor-v525 button.fifa-asset-reset small { display: block; margin: 0; padding: 0; font: 600 8px/1 'Segoe UI',Arial,sans-serif; color: #fff; }
#fifa-builder-chrome #fifa-preview-notice {
    position: fixed; transform: translateX(-50%); box-sizing: border-box; width: max-content; padding: 10px 14px;
    border-radius: 12px; background: #173b70f5; color: #fff; box-shadow: 0 4px 16px #153b8d26;
    font: 500 13px/1.4 'Segoe UI',Arial,sans-serif; text-align: center; pointer-events: none;
}
#fifa-builder-chrome #fifa-preview-notice[hidden] { display: none !important; }

/* v6.3: herkenbare fotogrenzen en bediening langs alle vier de randen. */
#fifa-canvas-dialog .fifa-crop-stage { background: #94a3b8 !important; background-image: none !important; }
#fifa-canvas-dialog .fifa-crop-image-area {
    position: absolute; z-index: 0; box-sizing: border-box; border: 1px solid #64748b;
    background-color: #f8fafc; background-image: conic-gradient(#e2e8f0 25%,transparent 0 50%,#e2e8f0 0);
    background-size: 16px 16px; pointer-events: none;
}
#fifa-canvas-dialog .fifa-crop-stage canvas { position: relative; z-index: 1; }
#fifa-canvas-dialog .fifa-crop-selection { z-index: 2; }
#fifa-canvas-dialog .fifa-crop-corner { z-index: 3; }
#fifa-canvas-dialog .fifa-crop-edge { position: absolute; z-index: 2; display: block; touch-action: none; }
#fifa-canvas-dialog .fifa-crop-edge-t, #fifa-canvas-dialog .fifa-crop-edge-b { left: 12px; right: 12px; height: 18px; cursor: ns-resize; }
#fifa-canvas-dialog .fifa-crop-edge-l, #fifa-canvas-dialog .fifa-crop-edge-r { top: 12px; bottom: 12px; width: 18px; cursor: ew-resize; }
#fifa-canvas-dialog .fifa-crop-edge-t { top: -9px; }
#fifa-canvas-dialog .fifa-crop-edge-b { bottom: -9px; }
#fifa-canvas-dialog .fifa-crop-edge-l { left: -9px; }
#fifa-canvas-dialog .fifa-crop-edge-r { right: -9px; }
#fifa-canvas-dialog.fifa-editor-v525 .fifa-photo-actions { grid-template-columns: 1fr; }
#fifa-canvas-controls .fifa-selection-frame .fifa-handle-rotate { left: 100%; top: 0; transform: translate(-50%,-50%); }
#fpd-upload-overlay-text #fpd-upload-overlay-detail { display: block; font: 400 12px/1.45 'Segoe UI',Arial,sans-serif; color: #64748b; max-width: 320px; margin: -6px 0 0; }
#fpd-upload-overlay-text #fpd-upload-overlay-detail[hidden] { display: none !important; }

/* De Preview-melding krijgt eigen ruimte onder het kaartbeeld. */
.fpd-product-designer-wrapper.fifa-assets-resize-visible { padding-bottom: var(--fifa-preview-footer-height,0px) !important; }
.fpd-product-designer-wrapper.fifa-assets-resize-visible.fifa-is-expanded { height: calc(var(--fifa-expanded-height) + var(--fifa-preview-footer-height,0px)) !important; padding: 0 !important; }
.fifa-asset-focus .fpd-product-designer-wrapper.fifa-assets-resize-visible.fifa-is-expanded { height: calc(var(--fifa-expanded-height) + var(--fifa-focus-footer-height,0px) + var(--fifa-preview-footer-height,0px)) !important; }
.fifa-asset-focus .fpd-product-designer-wrapper.fifa-is-expanded::after { bottom: var(--fifa-preview-footer-height,0px); }
.fpd-product-designer-wrapper #fifa-preview-notice {
    position: absolute; left: 12px; right: 12px; bottom: 12px; transform: none; box-sizing: border-box;
    width: auto; max-width: none; padding: 10px 14px; border-radius: 12px; background: #173b70f5;
    color: #fff; box-shadow: 0 4px 16px #153b8d26; font: 500 13px/1.4 'Segoe UI',Arial,sans-serif;
    text-align: center; pointer-events: none;
}
.fpd-product-designer-wrapper #fifa-preview-notice[hidden] { display: none !important; }

/* Alternatief concept: potlood en schaalgreep op het detailcanvas. */
#fifa-canvas-controls.fifa-editor-v525 .fifa-asset-selection { position: absolute; box-sizing: border-box; border: 1px dashed #2563eb99; border-radius: 4px; pointer-events: none; z-index: 4; }
#fifa-canvas-controls.fifa-editor-v525 .fifa-asset-selection button.fifa-asset-picker { position: absolute; left: 100%; top: 0; transform: translate(-50%,-50%); pointer-events: auto; }
#fifa-canvas-controls.fifa-editor-v525 .fifa-asset-selection button.fifa-asset-scale { position: absolute; left: 100%; top: 100%; transform: translate(-50%,-50%); pointer-events: auto; cursor: nwse-resize; }
#fifa-asset-size-panel.fifa-editor-v525 .fifa-asset-size-row { grid-template-columns: minmax(0,1fr); gap: 6px; background: transparent; border: 0; padding: 0; box-shadow: none; }
#fifa-asset-size-panel.fifa-editor-v525 .fifa-asset-size-row button.fifa-asset-reset {
    flex-direction: row !important; gap: 6px; box-sizing: border-box !important; width: 100% !important; height: auto !important;
    min-height: 38px !important; padding: 7px 8px !important; border: 1px solid #bfdbfe !important; border-radius: 9px !important;
    background: white !important; color: #1d4ed8 !important; white-space: normal !important; text-transform: none !important;
}
#fifa-asset-size-panel.fifa-editor-v525 .fifa-asset-reset span { color: inherit; font: 600 11px/1.3 'Segoe UI',Arial,sans-serif; text-align: center; }
#fifa-asset-size-panel.fifa-editor-v525 .fifa-asset-reset svg { flex: 0 0 14px; }

/* v6.4.1: keuze en reset in de witte ruimte van het detailcanvas. */
#fifa-canvas-controls.fifa-editor-v525 .fifa-asset-group .fifa-edit-badge { left: var(--fifa-group-badge-left,calc(100% + 6px)) !important; right: auto !important; }
#fifa-asset-white-area { position: fixed; background: #fff; pointer-events: none; }
.fifa-asset-focus .fpd-product-designer-wrapper.fifa-is-expanded::after { content: none; }
.fifa-asset-focus .fpd-container, .fifa-asset-focus .fpd-wrapper, .fifa-asset-focus fpd-main-wrapper { background: #fff !important; }
#fifa-asset-size-panel.fifa-editor-v525 .fifa-asset-size-row button.fifa-asset-picker {
    position: static !important; transform: none !important; box-sizing: border-box !important;
    width: 100% !important; height: auto !important; min-height: 36px !important;
    padding: 8px !important; margin: 0 !important; border: 1px solid #2563eb !important; border-radius: 9px !important;
    background: #fff !important; color: #2563eb !important; box-shadow: none !important;
    font: 600 12px/1.3 'Segoe UI',Arial,sans-serif !important; text-transform: none !important;
}
#fifa-canvas-controls.fifa-editor-v525 .fifa-selection-frame { z-index: 5; }
#fifa-canvas-controls.fifa-editor-v525 button.fifa-photo-edit { z-index: 6; touch-action: manipulation; }
#fifa-canvas-controls .fifa-selection-frame .fifa-handle-br { left: auto; top: auto; right: 4px; bottom: 4px; transform: none; }

/* v6.5: schakelaar, rechter potloodjes en herkenbare detailweergave. */
#fifa-builder-chrome label.fifa-preview-toggle { gap: 7px; }
#fifa-builder-chrome label.fifa-preview-toggle input {
    position: absolute !important; left: 8px; top: 50%; transform: translateY(-50%); z-index: 2;
    opacity: 0 !important; width: 34px !important; height: 20px !important; min-height: 0 !important;
    padding: 0 !important; margin: 0 !important; cursor: pointer;
}
#fifa-builder-chrome .fifa-preview-switch { position: relative; display: block; flex: 0 0 34px; width: 34px; height: 20px; border-radius: 12px; background: #cbd5e1; }
#fifa-builder-chrome .fifa-preview-switch::after { content: ''; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #0f172a33; }
#fifa-builder-chrome input:checked + .fifa-preview-switch { background: #2563eb; }
#fifa-builder-chrome input:checked + .fifa-preview-switch::after { transform: translateX(14px); }
#fifa-builder-chrome input:focus-visible + .fifa-preview-switch { outline: 3px solid #93c5fd; outline-offset: 3px; }
#fifa-canvas-controls.fifa-editor-v525 .fifa-right-badge .fifa-edit-badge { left: auto !important; right: var(--fifa-badge-right,-14px) !important; }
#fifa-asset-focus-heading { position: fixed; box-sizing: border-box; height: 116px; padding: 51px 12px 10px; background: #fff; display: flex; align-items: center; gap: 10px; z-index: 1; pointer-events: auto; border-bottom: 1px solid #eff6ff; font-family: 'Segoe UI',Arial,sans-serif; }
#fifa-asset-focus-heading[hidden] { display: none !important; }
#fifa-asset-focus-heading svg { display: block; flex: 0 0 36px; width: 36px; height: 45px; }
#fifa-asset-focus-heading h2 { margin: 0 !important; color: #173b70; font: 600 16px/1.2 'Segoe UI',Arial,sans-serif !important; }
#fifa-asset-focus-heading p { margin: 4px 0 0 !important; color: #64748b; font: 400 11px/1.3 'Segoe UI',Arial,sans-serif !important; }
#fifa-builder-chrome #fifa-asset-zoom-back, #fifa-builder-chrome #fifa-expand-editor { z-index: 3; }
#fifa-canvas-dialog #fifa-cart-validation { display: grid; gap: 12px; margin: 12px 0 0; padding: 0; list-style: none; }
#fifa-canvas-dialog #fifa-cart-validation li { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 10px; border: 1px solid #dbeafe; border-radius: 10px; background: #f8fbff; font-size: 14px; }
@media (max-width: 380px) { #fifa-canvas-dialog #fifa-cart-validation li { grid-template-columns: 1fr; } }

/* v6.5.1: lijnen koppelen de vlag-/logozone aan de juiste keuzeknop. */
#fifa-asset-focus-heading { padding: 16px 52px 14px 12px; }
#fifa-asset-focus-heading h2 { font-weight: 700 !important; }
#fifa-asset-size-panel.fifa-editor-v525 .fifa-asset-label { display: none !important; }
#fifa-asset-connectors { position: fixed; left: 0; top: 0; overflow: visible; }
#fifa-asset-connectors, #fifa-asset-connectors path { pointer-events: none !important; }
#fifa-asset-connectors path { fill: none; stroke: #8aafe9; stroke-width: 1.5; stroke-dasharray: 4 5; }
#fifa-builder-chrome #fifa-asset-zoom-back { transform: translateX(-50%); }
.fifa-asset-focus #fifa-builder-chrome .fifa-preview-toggle { flex-direction: column; gap: 3px; padding: 5px 7px !important; }
.fifa-asset-focus #fifa-builder-chrome .fifa-preview-toggle { z-index: 3; }
.fifa-asset-focus #fifa-builder-chrome .fifa-preview-switch { flex: none; }
.fifa-asset-focus #fifa-builder-chrome .fifa-preview-toggle > span:last-child { font-size: 11px; }

/* v6.5.2: de stapnummers staan al in de drie voortgangsicoontjes. */
#fpd-upload-overlay-text #fpd-upload-overlay-label { font-weight: 700 !important; }

/* v6.5.3: toelichting bij de bestaande FPD-winkelwagenspinner. */
.fpd-container .fpd-loader-wrapper[data-fifa-cart-loading] .fpd-loader-text {
    box-sizing: border-box; padding: 0 16px; color: #173b70;
    font: 600 14px/1.45 'Segoe UI',Arial,sans-serif;
    text-transform: none; letter-spacing: normal;
}

/* v6.6.0: rustige geschatte fotovoortgang, los van het drukbestand. */
#fifa-photo-progress { position: relative; width: 260px; max-width: 100%; height: 10px; flex: 0 0 10px; overflow: hidden; background: #dbeafe; border-radius: 99px; }
#fifa-photo-progress-fill { display: block; position: relative; height: 100%; width: 0; background: #2563eb; border-radius: inherit; transition: width .25s linear; overflow: hidden; }
#fifa-photo-progress-fill::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg,transparent, #ffffff60,transparent); transform: translateX(-100%); animation: fifa-photo-progress-shine 1.8s linear infinite; }
#fifa-photo-progress.is-complete #fifa-photo-progress-fill::after { animation: none; background: none; }
#fifa-photo-progress-caption { margin-top: -7px; color: #64748b; font: 400 12px/1.4 'Segoe UI',Arial,sans-serif; }
#fifa-photo-progress-value { font-variant-numeric: tabular-nums; color: #1d4ed8; font-weight: 600; }
@keyframes fifa-photo-progress-shine { to { transform: translateX(100%); } }
#fifa-canvas-dialog .fifa-keeper-note { grid-column: 1/-1; margin: 0; padding: 9px 11px; background: #eff6ff; color: #173b70; border-radius: 8px; font: 400 12px/1.45 'Segoe UI',Arial,sans-serif; }
#fifa-canvas-dialog .fifa-keeper-note[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { #fifa-photo-progress-fill { transition: none; } #fifa-photo-progress-fill::after { animation: none; background: none; } }
