@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@400;500;600;700;800;900&family=Indie+Flower&family=Caveat:wght@400;600&family=Patrick+Hand&display=swap');

:root {
    --vb-canvas-bg: #F0F6FD;
    --vb-ink: #0f1d38;
    --vb-bg: #0f1d38;
    --vb-navy: #032753;
    --vb-blue: #154A94;
    --vb-sky: #008FDC;
    --vb-mid-blue:#3E80C0;
    --vb-soft: #F0F6FD;
    --vb-light: #FFFFFF;
    --vb-accent: #154A94;
    --vb-button: #154A94;
    --vb-button-hover: #008FDC;
    --vb-button-text: #FFFFFF;
    --vb-border: #154A94;
    --vb-muted: #154A94;
    --vb-shadow: 0 18px 36px rgba(7, 30, 58, 0.18);
    --vb-ui-font: 'Libre Franklin', Arial, sans-serif;
    --vb-hand-font: 'Indie Flower', 'Comic Sans MS', cursive;
}

.vb-wrapper {
    font-family: var(--vb-ui-font);
    color: var(--vb-light);
    background: var(--vb-bg);
    padding: clamp(36px, 6vw, 72px) clamp(20px, 6vw, 48px);
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.vb-wrapper::before,
.vb-wrapper::after {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(255,255,255,0.06), rgba(255,255,255,0));
    filter: blur(10px);
    z-index: 0;
}

.vb-wrapper::before { left: -160px; top: -120px; }
.vb-wrapper::after { right: -220px; bottom: -120px; }

.vb-hero {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 1100px) {
    .vb-hero { grid-template-columns: 1fr; }
}

.vb-copy {
    max-width: 620px;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.vb-title {
    margin: 0 0 20px;
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: 0;
    font-weight: 900;
    text-transform: uppercase;
}

.vb-body {
    margin: 0 0 26px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--vb-muted);
}

.vb-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 8px;
    background: var(--vb-button);
    color: var(--vb-button-text);
    border: 2px solid var(--vb-button);
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
    box-shadow: none;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.vb-primary:hover,
.vb-primary:focus-visible {
    color: var(--vb-button-text);
    background: var(--vb-button-hover);
    border-color: var(--vb-button-hover);
}

.vb-primary:active { transform: none; }

.vb-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    background: transparent;
    color: var(--vb-button);
    border: 2px solid var(--vb-button);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.vb-secondary:hover,
.vb-secondary:focus-visible {
    color: var(--vb-button-text);
    background: var(--vb-button-hover);
    border-color: var(--vb-button-hover);
}

.vb-secondary:active { transform: none; }

.vb-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.vb-visual {
    position: relative;
    justify-self: center;
    width: min(520px, 90vw);
    aspect-ratio: 1 / 1;
}

.vb-visual canvas { z-index: 1; }

.vb-3d {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 45% 35%, rgba(255,255,255,0.12), rgba(14,32,61,0.9) 70%);
    overflow: hidden;
    position: relative;
    touch-action: pan-y;
}

.vb-orbit-halo {
    position: absolute;
    inset: -8%;
    background: radial-gradient(circle, rgba(255,255,255,0.12), rgba(14,32,61,0));
    filter: blur(18px);
    z-index: 0;
}

.vb-ball-controls {
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translate(-50%, 100%);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    z-index: 2;
}

.vb-editor {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translate(-120%, -50%);
    opacity: 0;
    pointer-events: none;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    width: min(780px, 92vw);
    padding: 10px;
    background: rgba(6, 16, 32, 0.92);
    border: 1px solid var(--vb-border);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.35);
    z-index: 3;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.vb-editing .vb-editor {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-5%, -50%);
}

.vb-toolbar-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: sticky;
    top: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--vb-border);
    border-radius: 14px;
    padding: 12px 10px;
    min-width: 70px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.vb-tool,
.vb-toolbar-vertical input[type="color"],
.vb-toolbar-vertical input[type="range"] {
    width: 100%;
}

.vb-tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--vb-border);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 8px 6px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
}

.vb-tool.is-active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
}

.vb-icon {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
    pointer-events: none;
}

.vb-toolbar-vertical input[type="color"] {
    height: 42px;
    padding: 0;
    border: none;
    background: transparent;
}

.vb-toolbar-vertical input[type="range"] {
    accent-color: var(--vb-accent);
}


.vb-editor-body {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--vb-border);
    border-radius: 12px;
    padding: 12px;
    width: min(600px, 100%);}


.vb-canvas-stack {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 1;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    overflow: hidden;
}

.vb-canvas-stack canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.vb-guide {
    pointer-events: none;
}

.vb-canvas {
    display: block;
    width: 100%;
    height: 100%;
    background: transparent;
    touch-action: none;
}

.vb-text-row {
    display: flex;
    gap: 8px;
    margin: 10px 0 6px;
}

.vb-text {
    flex: 1;
    border-radius: 10px;
    border: 1px solid var(--vb-border);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 10px 12px;
    font-family: 'Indie Flower', 'Comic Sans MS', cursive;
    font-size: 18px;
}

.vb-place-text { white-space: nowrap;z-index: 9; }

.vb-text-controls {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}

.vb-field {
    display: grid;
    gap: 6px;
    font-size: 12px;
    color: var(--vb-muted);
}

.vb-field-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.vb-font,
.vb-text-controls input[type="range"] {
    width: 100%;
}

.vb-font {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid var(--vb-border);
    border-radius: 10px;
    padding: 8px 10px;
    font-family: var(--vb-hand-font);
}

.vb-text-controls input[type="range"] {
    accent-color: var(--vb-accent);
}

.vb-note {
    margin: 0;
    color: var(--vb-muted);
    font-size: 13px;
}

.vb-editing .vb-copy {
    opacity: 0;
    transform: translateX(-28px);
}

.vb-editing .vb-visual {
    /* filter: drop-shadow(0 25px 45px rgba(0,0,0,0.35)); */
}

@media (max-width: 900px) {
    .vb-editor {
        position: static;
        transform: translate(0,0);
        opacity: 1;
        pointer-events: auto;
        margin-top: 20px;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .vb-editing .vb-copy {
        opacity: 1;
        transform: none;
    }

    .vb-editor-body {
        width: 100%;
    }

    .vb-ball-controls {
        position: static;
        transform: none;
        margin-top: 12px;
    }

    .vb-text-controls {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.vb-fallback {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: radial-gradient(circle at 45% 35%, rgba(255,255,255,0.12), rgba(14,32,61,0.9) 70%);
    color: var(--vb-muted);
    text-align: center;
    padding: 18px;
    box-sizing: border-box;
}

.vb-fallback-canvas {
    width: 80%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

/* Gallery */
.vb-gallery-wrapper {
    background: var(--vb-bg);
    color: var(--vb-light);
    padding: 60px 32px 70px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

.vb-gallery-header {
    text-align: center;
    margin-bottom: 30px;
}

.vb-gallery-header .vb-kicker {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid var(--vb-border);
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    font-size: 12px;
    margin: 0 0 8px;
}

.vb-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

@media (max-width: 1100px) {
    .vb-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .vb-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 540px) {
    .vb-gallery-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.vb-gallery-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--vb-border);
    border-radius: 14px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 260px;
    width: 100%;
}

.vb-gallery-thumb {
    width: 100%;
    padding-top: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.vb-gallery-thumb--placeholder {
    background: radial-gradient(circle at 50% 50%, #233658, #0e203d);
}

.vb-gallery-text {
    margin: 12px 0 0;
    color: var(--vb-muted);
    font-size: 14px;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 240px;
    width: 100%;
}

/* Campaign page layouts */
.vb-creator-page,
.vb-intro-module,
.vb-detail-wrapper {
    --vb-ink: #071E3A;
    --vb-accent: #154A94;
    --vb-muted: #154A94;
    font-family: var(--vb-ui-font);
    color: var(--vb-ink);
    background: #FFFFFF;
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box;
}

.vb-creator-page {
    padding: 24px 20px 12px;
    overflow: visible;
}

.vb-creator-page::before,
.vb-creator-page::after {
    display: none;
}

.vb-page-intro,
.vb-intro-copy {
    width: min(620px, 100%);
    margin: 0 auto 32px;
    text-align: center;
}

.vb-page-intro .vb-title,
.vb-intro-copy .vb-title,
.vb-detail-wrapper .vb-title,
.vb-submit-result .vb-title {
    margin: 0 0 18px;
    color: var(--vb-ink);
    font-size: 40px;
    line-height: 1.06;
    letter-spacing: 0;
    text-transform: none;
}

.vb-page-intro .vb-body,
.vb-intro-copy .vb-body {
    margin: 0 auto;
    color: var(--vb-ink);
    font-size: 16px;
    line-height: 1.55;
}

.vb-creator-page .vb-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 0;
    margin: 0 auto;
    position: relative;
    width: min(620px, 88vw);
}

.vb-builder-shell {
    display: flow-root;
    position: relative;
    width: min(780px, 100%);
    margin: 0 auto;
}

.vb-creator-page .vb-copy {
    display: none;
}

.vb-creator-page .vb-visual {
    width: 100%;
    aspect-ratio: 0.72 / 1;
    margin: 0 auto;
    background-color: var(--vb-stage-bg, var(--vb-canvas-bg, var(--vb-soft)));
    background-image:
        linear-gradient(var(--vb-stage-overlay, transparent), var(--vb-stage-overlay, transparent)),
        var(--vb-stage-image, none);
    background-size: cover, var(--vb-stage-image-size, cover);
    background-position: center, var(--vb-stage-image-position, center);
    background-repeat: no-repeat, no-repeat;
}

.vb-creator-page .vb-visual::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 18%;
    width: 82%;
    height: 52%;
    transform: translateX(-50%);
    border-radius: 50%;
    /* box-shadow:
        inset 0 -24px 34px rgba(7, 30, 58, 0.13),
        inset 0 16px 24px rgba(255, 255, 255, 0.16),
        0 22px 34px rgba(7, 30, 58, 0.12); */
    pointer-events: none;
    z-index: 3;
}

.vb-stage-logo {
    position: absolute;
    top: 7%;
    left: 50%;
    z-index: 2;
    width: min(138px, 26%);
    height: auto;
    transform: translateX(-50%);
    pointer-events: none;
}

.vb-has-stage-background.vb-creator-page .vb-visual {
    background-color: var(--vb-stage-bg, var(--vb-soft));
    background-image:
        linear-gradient(var(--vb-stage-overlay, transparent), var(--vb-stage-overlay, transparent)),
        var(--vb-stage-image, none);
    background-size: cover, var(--vb-stage-image-size, cover);
    background-position: center, var(--vb-stage-image-position, center);
    background-repeat: no-repeat, no-repeat;
}

.vb-creator-page .vb-3d {
    background: transparent;
    border-radius: 0;
    height: 52%;
    left: 50%;
    overflow: visible;
    position: absolute;
    top: 18%;
    transform: translateX(-50%);
    width: 82%;
    z-index: 2;
}

.vb-creator-page .vb-3d canvas {
    filter:
        drop-shadow(0 24px 34px rgba(7, 30, 58, 0.18))
        drop-shadow(0 6px 10px rgba(7, 30, 58, 0.08));
    opacity: 1;
    transition: opacity 180ms ease;
}

.vb-creator-page .vb-3d.is-loading canvas {
    opacity: 0;
}

.vb-creator-page .vb-orbit-halo {
    display: none;
}

.vb-creator-page .vb-ball-controls {
    display: none;
}

.vb-creator-page .vb-editor {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    display: block;
    width: min(760px, calc(100vw - 36px));
    padding: 0;
    margin: -192px auto 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    z-index: 2;
}

.vb-submit-section {
    clear: both;
    position: relative;
    z-index: 0;
    width: min(460px, calc(100% - 32px));
    margin: 92px auto 42px;
    background: transparent;
}

.vb-submit-row {
    display: flex;
    justify-content: center;
    margin: 20px auto 0;
    position: relative;
    z-index: 1;
}

.vb-submit-row .vb-primary {
    min-width: 230px;
    min-height: 54px;
    border-radius: 8px;
    text-transform: uppercase;
}

.vb-submit-row .vb-primary:disabled {
    cursor: not-allowed;
    opacity: 0.48;
}

.vb-creator-page.vb-submitted > .vb-page-intro,
.vb-creator-page.vb-submitted > .vb-builder-shell,
.vb-creator-page.vb-submitted > .vb-submit-section,
.vb-creator-page.vb-submitted > .vb-gallery-wrapper {
    display: none;
}

.vb-submit-result {
    padding: 52px 20px 80px;
    text-align: center;
}

.vb-submit-result .vb-detail-card {
    width: min(620px, 100%);
    margin: 28px auto 32px;
}

.vb-submit-result-image {
    display: block;
    width: 100%;
    height: auto;
}

.vb-submit-result .vb-detail-actions .vb-primary {
    min-width: 220px;
    min-height: 54px;
    border-radius: 8px;
    box-shadow: none;
    text-transform: uppercase;
    font-size: 16px;
}

.vb-creator-page .vb-toolbar-vertical {
    position: absolute;
    left: 8px;
    top: -62px;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: max-content;
    min-width: 0;
    gap: 4px;
    padding: 8px 10px;
    margin-left: 0;
    background: var(--vb-mid-blue);
    border: 0;
    border-radius: 22px;
    box-shadow: var(--vb-shadow);
    z-index: 3;
}

.vb-creator-page .vb-tool,
.vb-creator-page .vb-toolbar-vertical input[type="color"],
.vb-creator-page .vb-toolbar-vertical input[type="range"] {
    width: auto;
}

.vb-creator-page .vb-tool {
    width: 44px;
    min-width: 44px;
    height: 40px;
    padding: 0;
    background: transparent;
    border-color: transparent;
    border-radius: 9px;
    color: #FFFFFF;
}

.vb-creator-page .vb-tool.is-active {
    background: rgba(255, 255, 255, 0.16);
    /* color: var(--vb-ink); */
}

.vb-creator-page .vb-editor-body {
    display: flex;
    align-items: center;
    width: 100%;
    height: 122px;
    min-height: 122px;
    padding: 16px 24px;
    background: var(--vb-mid-blue);
    border: 0;
    border-radius: 54px;
    box-shadow: var(--vb-shadow);
    box-sizing: border-box;
}

.vb-creator-page .vb-canvas-stack {
    display: none;
}

.vb-creator-page .vb-text-row {
    display: none;
    grid-template-columns: minmax(180px, 1fr) auto auto;
    gap: 16px;
    margin: 0 0 16px;
}

.vb-inline-text-editor {
    position: absolute;
    z-index: 6;
    transform: translate(-50%, -50%);
    border: 0;
    outline: 0;
    background: transparent;
    color: transparent;
    caret-color: var(--vb-sky);
    font-family: var(--vb-hand-font);
    font-weight: 600;
    text-align: center;
    resize: none;
    overflow: hidden;
    padding: 0 2px;
    line-height: 1.15;
    box-sizing: border-box;
    text-shadow: none;
}

.vb-inline-text-editor::placeholder {
    color: transparent;
}

.vb-text-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0 auto 0px;
}

.vb-creator-page .vb-new-text,
.vb-creator-page .vb-edit-text {
    display: flex;
    min-height: 40px;
    margin: 0;
    padding: 0 20px;
    border: 2px solid var(--vb-button);
    border-radius: 8px;
    background: var(--vb-button);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 800;
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.vb-creator-page .vb-new-text:hover,
.vb-creator-page .vb-new-text:focus-visible,
.vb-creator-page .vb-edit-text:hover,
.vb-creator-page .vb-edit-text:focus-visible {
    background: var(--vb-button-hover);
    border-color: var(--vb-button-hover);
}

.vb-creator-page .vb-edit-text[hidden] {
    display: none;
}

.vb-panel {
    display: none;
}

.vb-panel.is-active {
    display: block;
}

.vb-creator-page .vb-panel {
    width: 100%;
}

.vb-creator-page .vb-panel.is-active {
    display: flex;
    align-items: center;
    height: 100%;
}

.vb-pane-title {
    display: block;
    margin: 0 0 8px;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
}

.vb-creator-page .vb-text {
    width: 100%;
    min-height: 44px;
    padding: 0 16px;
    background: #FFFFFF;
    border: 0;
    border-radius: 999px;
    box-sizing: border-box;
    color: var(--vb-ink);
    font: inherit;
}

.vb-creator-page .vb-place-text {
    min-height: 44px;
    padding: 0 18px;
    border-color: var(--vb-button);
    background: var(--vb-button);
    border-radius: 8px;
    white-space: nowrap;
}

.vb-creator-page .vb-remove-item {
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: #FFFFFF;
    color: var(--vb-ink);
    font-size: 14px;
    text-transform: none;
    white-space: nowrap;
}

.vb-creator-page .vb-text-controls {
    margin: 0;
    grid-template-columns: minmax(190px, 1fr) minmax(180px, 1fr) max-content;
    align-items: center;
    justify-content: space-between;
    gap: clamp(28px, 5vw, 72px);
    min-height: 89px;
    padding: 10px 12px;
    box-sizing: border-box;
}

.vb-creator-page .vb-text-controls .vb-field:nth-child(3),
.vb-creator-page .vb-text-controls .vb-field:nth-child(4),
.vb-creator-page .vb-text-controls .vb-field:nth-child(6) {
    display: none;
}

.vb-creator-page .vb-field,
.vb-creator-page .vb-note {
    color: #fff;
}

.vb-creator-page .vb-font {
    width: 100%;
    min-height: 42px;
    padding: 0 42px 0 14px;
    appearance: none;
    background-color: #FFFFFF;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--vb-blue) 50%),
        linear-gradient(135deg, var(--vb-blue) 50%, transparent 50%);
    background-position:
        calc(100% - 17px) 18px,
        calc(100% - 12px) 18px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    color: var(--vb-ink);
    border: 0;
    border-radius: 8px;
    box-shadow: 0 2px 7px rgba(7, 30, 58, 0.16);
}

.vb-creator-page .vb-font option:nth-child(1) {
    font-family: 'Indie Flower', 'Comic Sans MS', cursive;
}

.vb-creator-page .vb-font option:nth-child(2) {
    font-family: 'Caveat', 'Comic Sans MS', cursive;
}

.vb-creator-page .vb-font option:nth-child(3) {
    font-family: 'Patrick Hand', 'Comic Sans MS', cursive;
}

.vb-creator-page .vb-font-native {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.vb-font-dropdown {
    position: relative;
    z-index: 20;
    width: 100%;
    min-width: 190px;
}

.vb-font-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 42px;
    padding: 0 42px 0 14px;
    border: 0;
    border-radius: 20px;
    background: #FFFFFF;
    color: #000000;
    box-shadow: 0 2px 7px rgba(7, 30, 58, 0.16);
    cursor: pointer;
    font-size: 17px;
    line-height: 1;
    text-align: left;
}

.vb-font-trigger::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--vb-blue);
    border-bottom: 2px solid var(--vb-blue);
    transform: translateY(-65%) rotate(45deg);
}

.vb-font-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    display: none;
    width: max(100%, 210px);
    max-height: min(320px, 54vh);
    overflow-y: auto;
    padding: 16px 0;
    border-radius: 24px;
    background: #FFFFFF;
    box-shadow: 0 16px 34px rgba(7, 30, 58, 0.2);
}

.vb-font-dropdown.is-open .vb-font-menu {
    display: grid;
}

.vb-font-option {
    display: flex;
    align-items: center;
    min-height: 54px;
    width: 100%;
    padding: 0 24px;
    border: 0;
    background: #FFFFFF;
    color: #000000;
    font-size: 20px;
    line-height: 1.1;
    text-align: left;
    cursor: pointer;
}

.vb-font-option:hover,
.vb-font-option:focus-visible,
.vb-font-option.is-selected {
    background: #F0F6FD;
    outline: 0;
}

.vb-creator-page .vb-field-label {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    letter-spacing: 0.03em;
    text-transform: none;
    font-size: 16px;
}

.vb-creator-page .vb-field {
    align-self: center;
    gap: 8px;
}

.vb-creator-page input[type="range"] {
    appearance: none;
    width: 100%;
    min-width: 130px;
    max-width: 260px;
    height: 24px;
    padding: 3px;
    box-sizing: border-box;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--vb-blue), #9FC2E4);
    cursor: pointer;
}

.vb-creator-page input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(7, 30, 58, 0.25);
}

.vb-creator-page input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(7, 30, 58, 0.25);
}

.vb-text-color-swatches {
    display: inline-flex;
    width: max-content;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
}

.vb-text-color-swatch {
    width: 25px;
    height: 25px;
    padding: 0;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    background: var(--swatch);
    box-shadow: 0 0 0 1px rgba(7, 30, 58, 0.16);
    cursor: pointer;
}

.vb-text-color-swatch.is-active {
    box-shadow: 0 0 0 3px var(--vb-sky);
}

.vb-sticker-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 12px;
}

.vb-sticker-carousel {
    --vb-sticker-size: 64px;
    --vb-sticker-gap: 10px;
    --vb-sticker-window: 434px;
    position: relative;
    display: grid;
    grid-template-columns: minmax(92px, auto) var(--vb-sticker-window) 118px;
    gap: 16px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    padding: 10px 12px;
}

.vb-sticker-label {
    margin: 0;
    padding-left: 4px;
}

.vb-sticker-row {
    justify-content: flex-start;
    overflow-x: auto;
    min-width: 0;
    width: var(--vb-sticker-window);
    max-width: 100%;
    padding: 2px;
    gap: var(--vb-sticker-gap);
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    position: relative;
    z-index: 2;
}

.vb-sticker-row::-webkit-scrollbar {
    display: none;
}

.vb-sticker-arrow {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: transparent;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    z-index: 2;
}

.vb-sticker-prev {
    left: 0;
}

.vb-sticker-next {
    right: 0;
}

.vb-sticker-arrow:disabled {
    opacity: 1;
    cursor: default;
}

.vb-sticker-scroll-control {
    --vb-sticker-thumb-left: 0%;
    position: relative;
    display: block;
    align-self: center;
    width: 118px;
    height: 24px;
    margin: 0;
    border-radius: 999px;
    background: #9FC2E4;
    overflow: hidden;
}

.vb-sticker-scroll-control::before {
    content: '';
    position: absolute;
    top: 0;
    left: var(--vb-sticker-thumb-left, 0%);
    width: 55%;
    height: 100%;
    border-radius: inherit;
    background: var(--vb-blue);
    transition: left 0.16s ease;
}

.vb-sticker {
    flex: 0 0 var(--vb-sticker-size);
    min-width: var(--vb-sticker-size);
    height: var(--vb-sticker-size);
    padding: 0;
    border: 0;
    display: flex;
    border-radius: 12px;
    background: #FFFFFF;
    color: var(--vb-ink);
    font-size: 28px;
    font-weight: 800;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
}

.vb-sticker-icon {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
    pointer-events: none;
    border-radius: 12px;
}

.vb-background-upload-group {
    display: grid;
    align-items: start;
    justify-items: start;
    min-width: 0;
    gap: 8px;
}

.vb-background-upload-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.vb-background-gallery-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 238px;
    height: 44px;
    padding: 0 20px;
    border: 2px solid var(--vb-button);
    border-radius: 8px;
    background: var(--vb-button);
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.vb-background-gallery-button:hover,
.vb-background-gallery-button:focus-within {
    background: var(--vb-button-hover);
    border-color: var(--vb-button-hover);
}

.vb-background-gallery-button img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    pointer-events: none;
}

.vb-background-gallery-button input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    font-size: 0;
}

.vb-background-gallery-button input::file-selector-button,
.vb-background-upload::file-selector-button {
    display: none;
}

.vb-background-slots {
    display: flex;
    align-items: start;
    gap: 12px;
}

.vb-background-slot-wrap {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 4px;
}

.vb-background-slot {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 40px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.82);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.16);
    background-image: var(--vb-slot-image, none);
    background-position: center;
    background-size: cover;
    color: #FFFFFF;
    cursor: pointer;
    overflow: hidden;
}

.vb-background-slot-icon {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    pointer-events: none;
}

.vb-background-slot:focus-within {
    outline: 3px solid #FFFFFF;
    outline-offset: 3px;
}

.vb-background-upload {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    font-size: 0;
}

.vb-background-slot .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.vb-background-slot-label {
    color: #FFFFFF;
    width: 50px;
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
    font-weight: 900;
    line-height: 1;
}

.vb-background-swap {
    appearance: none;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: start;
    width: 30px;
    min-width: 30px;
    height: 40px;
    margin-top: 0;
    padding: 7px 5px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
}

.vb-background-swap:not(:disabled):hover,
.vb-background-swap:not(:disabled):focus-visible {
    background: rgba(255, 255, 255, 0.16);
    outline: 0;
}

.vb-background-swap:focus-visible {
    outline: 3px solid #FFFFFF;
    outline-offset: 3px;
}

.vb-background-swap:disabled {
    background: transparent;
    cursor: not-allowed;
}

.vb-background-swap img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
    pointer-events: none;
}

.vb-background-swap:disabled img {
    opacity: 0.78;
}

.vb-background-slot.has-image > .vb-background-slot-icon {
    opacity: 0;
}

.vb-background-slot.has-image > .vb-background-slot-label {
    opacity: 0;
}

.vb-background-remove {
    position: absolute;
    right: -8px;
    top: -7px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    background: var(--vb-ink);
    color: #FFFFFF;
    font: 800 14px/1 var(--vb-ui-font);
    cursor: pointer;
}

.vb-background-remove[hidden] {
    display: none;
}

.vb-background-row {
    display: grid;
    grid-template-columns: minmax(180px, auto) max-content;
    justify-content: space-between;
    gap: clamp(28px, 8vw, 96px);
    width: 100%;
    margin: 0 auto;
    padding: 10px 12px;
    align-items: center;
    min-height: 89px;
    box-sizing: border-box;
}

.vb-background-color-group {
    display: grid;
    align-items: start;
    justify-items: start;
    gap: 7px;
    align-self: center;
    padding-bottom: 0;
}

.vb-background-upload-group > .vb-pane-title,
.vb-background-color-group > .vb-pane-title {
    margin: 0;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
}

.vb-creator-page .vb-note {
    display: none;
}

.vb-creator-page .vb-icon {
    width: 24px;
    height: 28px;
}

.vb-creator-page .vb-panel-tab[data-vb-panel="background"] .vb-icon {
    width: 35px;
    height: 34px;
}

.vb-bg-swatches {
    position: relative;
    display: inline-flex;
    width: max-content;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #EAF3FC;
    box-shadow: 0 8px 18px rgba(7, 30, 58, 0.18);
}

.vb-bg-swatches > .vb-pane-title {
    display: none;
}

.vb-bg-swatch {
    width: 27px;
    height: 27px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    background: var(--swatch, #fff);
    color: var(--vb-ink);
    cursor: pointer;
    overflow: hidden;
    text-indent: -999px;
}

.vb-bg-clear {
    text-indent: 0;
    width: auto;
    min-width: 50px;
    padding: 0 10px;
    background: repeating-linear-gradient(-45deg, #fff 0 6px, #d8d8d8 6px 12px);
    font-size: 11px;
    font-weight: 800;
}

.vb-creator-page .vb-sample-gallery {
    margin: 0 -20px;
}

.vb-selection-box {
    position: absolute;
    border: 2px solid var(--vb-sky);
    border-radius: 8px;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85);
    pointer-events: none;
    z-index: 4;
}

.vb-selection-box[data-rotation] {
    transform: rotate(var(--vb-selection-rotation, 0rad));
}

.vb-selection-box::after {
    content: '';
    position: absolute;
    right: -6px;
    bottom: -6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--vb-sky);
    border: 2px solid #FFFFFF;
}

.vb-selection-box.is-hidden {
    display: none;
}

.vb-selection-remove {
    position: absolute;
    top: -24px;
    left: -20px;
    width: 27px;
    height: 27px;
    border: 2px solid #FFFFFF;
    border-radius: 999px;
    background: var(--vb-ink);
    color: #FFFFFF;
    cursor: pointer;
    display: grid;
    place-items: center;
    font: 900 18px/1 var(--vb-ui-font);
    padding: 0;
    pointer-events: auto;
    transform: rotate(var(--vb-selection-inverse-rotation, 0rad));
}

.vb-selection-rotate {
    position: absolute;
    top: -24px;
    right: -20px;
    width: 27px;
    height: 27px;
    border: 2px solid #FFFFFF;
    border-radius: 999px;
    background: var(--vb-sky);
    color: #FFFFFF;
    cursor: grab;
    display: grid;
    place-items: center;
    font: 900 16px/1 var(--vb-ui-font);
    padding: 0;
    pointer-events: auto;
    touch-action: none;
    transform: rotate(var(--vb-selection-inverse-rotation, 0rad));
}

.vb-selection-rotate::before {
    content: '↻';
    display: block;
    line-height: 1;
    transform: translateY(-1px);
}

.vb-selection-rotate:active {
    cursor: grabbing;
}

.vb-editor-status {
    display: none;
}

.vb-notification {
    position: fixed;
    left: 50%;
    top: max(104px, env(safe-area-inset-top));
    z-index: 10000;
    max-width: min(420px, calc(100vw - 32px));
    padding: 13px 18px;
    border-radius: 999px;
    background: var(--vb-ink);
    color: #FFFFFF;
    box-shadow: 0 14px 34px rgba(7, 30, 58, 0.28);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    opacity: 0;
    transform: translate(-50%, -12px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.vb-terms-acceptance {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    width: min(330px, 100%);
    margin: 0 auto;
    color: var(--vb-ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
}

.vb-terms-checkbox {
    appearance: none;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    border: 2px solid var(--vb-blue);
    border-radius: 2px;
    background: #FFFFFF;
    cursor: pointer;
}

.vb-terms-checkbox:checked {
    background-color: var(--vb-blue);
    background-image: linear-gradient(135deg, transparent 45%, #FFFFFF 45% 55%, transparent 55%),
        linear-gradient(45deg, transparent 40%, #FFFFFF 40% 50%, transparent 50%);
}

.vb-terms-link {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.vb-terms-modal {
    width: min(700px, calc(100vw - 28px));
    max-width: none;
    height: min(682px, calc(100vh - 32px));
    height: min(682px, calc(100dvh - 32px));
    max-height: calc(100vh - 32px);
    padding: 0;
    border: 0;
    border-radius: 30px;
    background: transparent;
    color: var(--vb-ink);
    overflow: visible;
}

.vb-terms-modal::backdrop {
    background: rgba(7, 30, 58, 0.32);
}

.vb-terms-dialog {
    position: relative;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 14px;
    height: 100%;
    max-height: inherit;
    box-sizing: border-box;
    padding: 18px 26px 22px;
    border-radius: 30px;
    background: var(--vb-mid-blue);
    box-shadow: 0 22px 70px rgba(7, 30, 58, 0.28);
}

.vb-terms-dialog h2 {
    margin: 0;
    color: #FFFFFF;
    font-size: 25px;
    line-height: 1.2;
    text-align: center;
}

.vb-terms-content {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    scrollbar-gutter: stable;
    padding: 24px;
    border: 2px solid #0B75D1;
    background: #FFFFFF;
    color: var(--vb-ink);
    font-size: 15px;
    line-height: 1.45;
    outline: none;
}

.vb-terms-content h3 {
    margin: 18px 0 8px;
    font-size: 16px;
}

.vb-terms-content p {
    margin: 0 0 16px;
}

.vb-terms-updated {
    font-weight: 500;
}

.vb-terms-actions {
    display: flex;
    justify-content: center;
}

.vb-terms-icon-close {
    position: absolute;
    top: -14px;
    right: -14px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 3px solid #FFFFFF;
    border-radius: 50%;
    background: var(--vb-button);
    color: #FFFFFF;
    font: 900 30px/1 var(--vb-ui-font);
    cursor: pointer;
}

.vb-terms-close {
    display: flex;
    min-width: 190px;
    min-height: 48px;
    margin: 0 auto;
}

.vb-notification.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.vb-notification[hidden] {
    display: none;
}

.vb-save-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: rgba(7, 30, 58, 0.48);
}

.vb-save-overlay[hidden] {
    display: none;
}

.vb-save-message {
    padding: 18px 26px;
    border-radius: 8px;
    background: #FFFFFF;
    color: var(--vb-ink);
    font-size: 16px;
    font-weight: 900;
    box-shadow: var(--vb-shadow);
}

.vb-sample-gallery,
.vb-gallery-wrapper {
    background: var(--vb-soft);
    color: var(--vb-ink);
    padding: 56px 24px 72px;
}

.vb-sample-gallery h2,
.vb-gallery-header .vb-title {
    margin: 0 0 16px;
    text-align: center;
    color: var(--vb-ink);
    font-size: 25px;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: none;
}

.vb-sample-gallery h2 {
    margin-bottom: 36px;
}

p.vb-gallery-description {
    max-width: 820px;
    margin: 0 auto 34px;
    color: var(--vb-ink);
    text-align: center;
}

.vb-sample-row,
.vb-wall-grid {
    width: min(980px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
}

.vb-gallery-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 34px auto 0;
    color: var(--vb-ink);
    font-size: 15px;
    font-weight: 700;
}

.vb-gallery-pagination .vb-secondary {
    min-width: 118px;
    padding: 12px 22px;
    border: 1px solid #FFFFFF;
    border-radius: 4px;
    background: #358DD6;
    color: #FFFFFF;
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
    text-align: center;
    text-decoration: none;
    box-shadow: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.vb-gallery-pagination .vb-secondary:hover,
.vb-gallery-pagination .vb-secondary:focus-visible {
    border-color: #FFFFFF;
    background: #2479C1;
    color: #FFFFFF;
    text-decoration: none;
    outline: 0;
}

.vb-bfa-campaign-gallery__frame {
    position: relative;
    width: min(1120px, 100%);
    margin: 0 auto;
}

.vb-bfa-campaign-gallery--slider .vb-bfa-campaign-gallery__frame {
    padding: 0 48px;
    box-sizing: border-box;
}

.vb-bfa-campaign-gallery--slider .vb-bfa-campaign-gallery__track {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.vb-bfa-campaign-gallery--slider .vb-bfa-campaign-gallery__track::-webkit-scrollbar {
    display: none;
}

.vb-bfa-campaign-gallery--slider .vb-sample-card {
    flex: 0 0 calc((100% - 56px) / 3);
    scroll-snap-align: start;
}

.vb-bfa-campaign-gallery__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--vb-blue);
    font-size: 25px;
    line-height: 1;
    font-weight: 800;
    cursor: pointer;
    z-index: 2;
}

.vb-bfa-campaign-gallery__arrow--prev {
    left: 0;
}

.vb-bfa-campaign-gallery__arrow--next {
    right: 0;
}

.vb-sample-card,
.vb-gallery-card {
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    min-height: 0;
    box-shadow: none;
}

.vb-sample-card img,
.vb-detail-card img {
    display: block;
    width: 100%;
    height: auto;
}

.vb-gallery-link {
    display: block;
    width: 100%;
    text-decoration: none;
}

.vb-wall-grid .vb-gallery-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    padding-top: 0;
    border-radius: 0;
    box-shadow: none;
    background-size: cover;
}

.vb-intro-module {
    padding-bottom: 0;
}

.vb-intro-media {
    min-height: clamp(360px, 56vw, 760px);
    background-size: cover;
    background-position: center;
}

.vb-intro-copy {
    padding: 48px 20px 32px;
}

.vb-intro-copy .vb-primary {
    margin-top: 24px;
    text-decoration: none;
}

.vb-detail-wrapper {
    padding: 52px 20px 80px;
    text-align: center;
}

.vb-detail-card {
    width: min(620px, 100%);
    margin: 28px auto 32px;
}

.vb-detail-viewer {
    position: relative;
    width: min(620px, 100%);
    aspect-ratio: 9 / 16;
    margin: 28px auto 32px;
    overflow: hidden;
    background-color: var(--vb-soft);
    background-image: var(--vb-detail-background, none);
    background-position: center;
    background-size: cover;
}

.vb-detail-viewer[hidden],
.vb-detail-card[hidden] {
    display: none;
}

.vb-submit-detail-viewer.is-preloading {
    position: absolute;
    left: -10000px;
    top: 0;
    visibility: hidden;
    pointer-events: none;
}

.vb-detail-viewer-canvas {
    position: absolute;
    inset: 0 0 8.333%;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.vb-detail-viewer.is-ready .vb-detail-viewer-canvas {
    opacity: 1;
}

.vb-detail-viewer-canvas canvas {
    display: block;
    width: 100%;
    height: 100%;
    touch-action: none;
    filter:
        drop-shadow(0 24px 34px rgba(7, 30, 58, 0.18))
        drop-shadow(0 6px 10px rgba(7, 30, 58, 0.08));
}

.vb-detail-viewer-fallback {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vb-detail-viewer-fallback[hidden] {
    display: none;
}

.vb-detail-viewer-logo {
    position: absolute;
    left: 50%;
    top: 4%;
    z-index: 2;
    width: min(150px, 28%);
    height: auto;
    transform: translateX(-50%);
    pointer-events: none;
    opacity: 0;
}

.vb-detail-viewer.is-ready .vb-detail-viewer-logo {
    opacity: 1;
}

.vb-detail-brandbar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    height: 8.333%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    background: var(--vb-sky);
    color: #FFFFFF;
    font-family: var(--vb-hand-font);
    font-size: clamp(18px, 4.8vw, 30px);
    font-weight: 400;
    line-height: 1.05;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.vb-detail-brandbar span,
.vb-detail-brandbar strong {
    font: inherit;
    white-space: nowrap;
}

.vb-detail-viewer.is-ready .vb-detail-brandbar {
    opacity: 1;
}

.vb-detail-actions,
.vb-callout-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
}

.vb-owner-actions[hidden] {
    display: none;
}

.vb-public-actions[hidden] {
    display: none;
}

.vb-detail-actions .vb-primary,
.vb-callout-row .vb-primary,
.vb-callout-row .vb-secondary {
    min-width: 220px;
    text-decoration: none;
    border-radius: 8px;
}

.vb-report-link {
    appearance: none;
    align-self: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--vb-button);
    font: inherit;
    font-weight: 800;
    text-decoration: underline;
    cursor: pointer;
}

.vb-report-link:disabled {
    cursor: not-allowed;
    opacity: 0.72;
}

.vb-link-button {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--vb-muted);
    text-decoration: underline;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.vb-share-status {
    min-height: 24px;
    margin: 16px 0;
    color: var(--vb-muted);
}

.vb-share-fallback {
    width: min(560px, 100%);
    margin: 18px auto 0;
    text-align: left;
    display: flex;
    align-items: end;
    gap: 10px;
}

.vb-share-fallback label {
    flex: 1;
    display: grid;
    gap: 8px;
    color: var(--vb-muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.vb-share-fallback[hidden] {
    display: none;
}

.vb-copy-share-link {
    min-height: 44px;
    white-space: nowrap;
}

.vb-share-link {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--vb-blue);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--vb-ink);
    background: var(--vb-soft);
    font: inherit;
    text-transform: none;
}

@media (max-width: 900px) {
    .vb-creator-page {
        padding: 18px 12px 8px;
    }

    .vb-creator-page .vb-hero {
        width: min(560px, 92vw);
    }

    .vb-creator-page .vb-visual {
        aspect-ratio: 9 / 16;
    }

    .vb-creator-page .vb-editor {
        margin: -172px auto 24px;
        width: min(560px, 92vw);
    }

    .vb-creator-page .vb-toolbar-vertical {
        flex-wrap: nowrap;
        left: 8px;
        top: -60px;
        width: max-content;
    }

    .vb-creator-page .vb-text-controls {
        grid-template-columns: minmax(140px, 1fr) minmax(116px, 0.8fr) minmax(132px, 0.82fr);
        align-items: end;
        gap: 14px;
    }

    .vb-creator-page .vb-text-row {
        grid-template-columns: 1fr;
    }

    .vb-creator-page .vb-editor-body {
        border-radius: 48px;
        padding: 14px 18px;
        height: auto;
        min-height: 102px;
    }

    .vb-creator-page .vb-panel.is-active {
        display: block;
        height: auto;
    }

    .vb-sticker-carousel {
        --vb-sticker-size: 50px;
        --vb-sticker-gap: 8px;
        --vb-sticker-window: 340px;
        grid-template-columns: minmax(76px, auto) minmax(0, var(--vb-sticker-window)) 88px;
        gap: 12px;
        justify-content: center;
        padding: 8px 10px;
    }

    .vb-sticker-label {
        margin: 0;
    }

    .vb-sticker-row {
        width: min(var(--vb-sticker-window), 100%);
    }

    .vb-sticker-scroll-control {
        width: 88px;
    }

    .vb-background-row {
        grid-template-columns: minmax(0, 1fr) max-content;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        width: 100%;
        min-height: 82px;
        padding: 8px 10px;
    }

    .vb-background-row .vb-bg-swatches {
        margin-left: 0;
    }

    .vb-background-upload-group,
    .vb-background-color-group {
        gap: 7px;
        align-items: start;
    }

    .vb-background-upload-group > .vb-pane-title,
    .vb-background-color-group > .vb-pane-title {
        font-size: 14px;
    }

    .vb-background-slots {
        gap: 10px;
    }

    .vb-background-upload-row {
        align-items: flex-start;
        gap: 14px;
    }

    .vb-background-gallery-button {
        min-width: 160px;
        height: 40px;
        padding: 0 16px;
        gap: 8px;
        font-size: 13px;
    }

    .vb-background-gallery-button img {
        width: 16px;
        height: 16px;
    }

    .vb-background-slot {
        width: 80px;
        height: 40px;
        border-radius: 13px;
    }

    .vb-background-swap {
        width: 30px;
        min-width: 30px;
        height: 40px;
        padding: 7px 5px;
    }

    .vb-background-slot-icon {
        width: 17px;
        height: 17px;
    }

    .vb-background-slot-label {
        width: 40px;
        font-size: 13px;
    }

    .vb-background-remove {
        width: 20px;
        height: 20px;
        font-size: 14px;
    }

    .vb-bg-swatches {
        gap: 8px;
        padding: 7px 12px;
    }

    .vb-bg-swatch {
        width: 26px;
        height: 26px;
    }

    .vb-share-fallback {
        align-items: stretch;
        flex-direction: column;
    }

    .vb-sample-row,
    .vb-wall-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vb-bfa-campaign-gallery--slider .vb-sample-card {
        flex-basis: 100%;
    }

    .vb-submit-section {
        margin-top: 74px;
    }

    .vb-terms-modal {
        width: min(620px, calc(100vw - 20px));
    }
}

@media (max-width: 720px) {
    .vb-creator-page {
        overflow-x: clip;
        padding-right: 12px;
        padding-left: 12px;
    }

    .vb-creator-page .vb-hero,
    .vb-creator-page .vb-editor {
        width: min(100%, calc(100vw - 24px));
    }

    .vb-creator-page .vb-editor {
        margin-top: -164px;
    }

    .vb-creator-page .vb-toolbar-vertical {
        left: 12px;
        top: -58px;
        padding: 6px 9px;
        border-radius: 999px;
    }

    .vb-creator-page .vb-editor-body {
        border-radius: 46px;
        padding: 12px 14px;
    }

    .vb-creator-page .vb-field-label {
        font-size: 15px;
    }
    
    .vb-detail-actions .vb-primary {
        width: min(100%, 320px);
        padding: 14px 4px;
        font-size: 13px;
    }

    .vb-font-trigger {
        min-height: 40px;
        padding-right: 34px;
        padding-left: 13px;
        font-size: 16px;
    }

    .vb-creator-page input[type="range"] {
        min-width: 0;
        max-width: 100%;
    }

    .vb-text-color-swatches {
        width: 100%;
        max-width: 100%;
        gap: 6px;
        padding: 4px 6px;
        box-sizing: border-box;
    }

    .vb-text-color-swatch {
        flex: 0 0 auto;
        width: 23px;
        height: 23px;
    }

    .vb-font-dropdown,
    .vb-font-trigger,
    .vb-font-trigger-text {
        min-width: 0;
    }

    .vb-creator-page .vb-field {
        min-width: 0;
    }

    .vb-font-trigger-text {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .vb-sticker-carousel {
        grid-template-columns: minmax(64px, auto) minmax(0, 1fr) 76px;
        gap: 10px;
    }

    .vb-sticker-scroll-control {
        width: 76px;
    }

    .vb-background-row {
        grid-template-columns: minmax(0, 1fr) max-content;
        gap: 12px;
    }
}

@media (max-width: 560px) {
    .vb-detail-brandbar {
        font-size: clamp(14px, 4.7vw, 20px);
    }

    .vb-detail-actions {
        align-items: center;
        flex-direction: column;
    }

    .vb-creator-page {
        padding-right: 8px;
        padding-left: 8px;
    }

    .vb-creator-page .vb-hero,
    .vb-creator-page .vb-editor {
        width: min(100%, calc(100vw - 16px));
    }

    .vb-creator-page .vb-toolbar-vertical {
        left: 10px;
    }

    .vb-creator-page .vb-editor-body {
        padding: 12px 14px;
    }

    .vb-sticker-carousel {
        --vb-sticker-size: 42px;
        --vb-sticker-gap: 6px;
        --vb-sticker-window: 282px;
        gap: 8px;
        grid-template-columns: minmax(68px, auto) minmax(0, var(--vb-sticker-window)) 54px;
        padding: 8px 6px;
    }

    .vb-sticker-row {
        width: min(var(--vb-sticker-window), 100%);
    }

    .vb-sticker-icon {
        width: 30px;
        height: 30px;
    }

    .vb-sticker-scroll-control {
        width: 54px;
        height: 20px;
    }

    .vb-background-row {
        grid-template-columns: minmax(124px, auto) minmax(0, 1fr);
        justify-items: stretch;
        align-items: center;
        gap: 12px;
        min-height: 0;
        padding: 12px 8px;
    }

    .vb-background-upload-group,
    .vb-background-color-group {
        justify-items: start;
    }

    .vb-background-upload-row {
        justify-content: flex-start;
        flex-wrap: nowrap;
    }

    .vb-terms-dialog {
        padding: 16px;
        border-radius: 22px;
    }

    .vb-terms-modal {
        height: min(620px, 80vh);
        height: min(620px, 80dvh);
        max-height: 80vh;
        max-height: 80dvh;
    }

    .vb-terms-content {
        padding: 18px;
        font-size: 14px;
    }

    .vb-terms-icon-close {
        top: -10px;
        right: -8px;
    }
}

@media (max-width: 540px) {
    .vb-creator-page .vb-hero,
    .vb-creator-page .vb-editor {
        width: min(100%, calc(100vw - 24px));
    }

    .vb-creator-page .vb-editor-body {
        padding: 10px 12px;
    }

    .vb-creator-page .vb-text-controls {
        grid-template-columns: minmax(108px, 1fr) minmax(78px, 0.72fr) minmax(86px, 0.78fr);
        gap: 8px;
        padding: 8px 2px;
    }

    .vb-creator-page .vb-field-label {
        font-size: 13px;
    }

    .vb-font-trigger {
        min-height: 36px;
        padding-right: 28px;
        padding-left: 10px;
        font-size: 14px;
    }

    .vb-text-color-swatches {
        gap: 3px;
        padding: 4px;
    }

    .vb-text-color-swatch {
        width: 19px;
        height: 19px;
    }
}

@media (max-width: 480px) {
    .vb-creator-page .vb-editor {
        margin-top: -154px;
    }

    .vb-creator-page .vb-toolbar-vertical {
        top: -54px;
        gap: 3px;
        padding: 5px 8px;
    }

    .vb-creator-page .vb-tool {
        width: 36px;
        min-width: 36px;
        height: 34px;
        border-radius: 14px;
    }

    .vb-creator-page .vb-icon {
        width: 20px;
        height: 23px;
    }

    .vb-creator-page .vb-panel-tab[data-vb-panel="background"] .vb-icon {
        width: 28px;
        height: 27px;
    }

    .vb-creator-page .vb-editor-body {
        border-radius: 48px;
        padding: 9px 10px;
        min-height: 88px;
    }

    .vb-creator-page .vb-text-controls {
        grid-template-columns: minmax(112px, 1.05fr) minmax(74px, 0.72fr) minmax(86px, 0.78fr);
        align-items: end;
        gap: 8px;
        padding: 8px 4px;
    }

    .vb-creator-page .vb-field-label {
        font-size: 13px;
    }

    .vb-font-trigger {
        min-height: 36px;
        padding-right: 28px;
        padding-left: 10px;
        font-size: 14px;
    }

    .vb-font-trigger::after {
        right: 13px;
    }

    .vb-creator-page input[type="range"] {
        min-width: 0;
        max-width: 100%;
    }

    .vb-text-color-swatches {
        flex-wrap: nowrap;
        width: 100%;
        max-width: 100%;
        gap: 3px;
        padding: 4px;
    }

    .vb-text-color-swatch {
        width: 19px;
        height: 19px;
    }

    .vb-sticker-carousel {
        --vb-sticker-size: 42px;
        --vb-sticker-gap: 6px;
        --vb-sticker-window: 100%;
        grid-template-columns: minmax(0, 1fr) 64px;
        justify-items: stretch;
        align-items: center;
        gap: 8px;
        padding: 8px 4px;
    }

    .vb-sticker {
        border-radius: 999px;
    }

    .vb-sticker-label {
        grid-column: 1 / -1;
        padding-left: 0;
        text-align: left;
    }

    .vb-sticker-row {
        width: 100%;
    }

    .vb-sticker-scroll-control {
        width: 100%;
    }

    .vb-background-gallery-button {
        min-width: 0;
        width: 100%;
        max-width: 220px;
    }

    .vb-background-row {
        grid-template-columns: minmax(96px, auto) minmax(0, 1fr);
        justify-items: stretch;
        align-items: center;
        gap: 10px;
        padding: 10px 4px;
    }

    .vb-background-upload-group,
    .vb-background-color-group {
        justify-items: start;
        gap: 6px;
    }

    .vb-background-upload-group > .vb-pane-title,
    .vb-background-color-group > .vb-pane-title {
        font-size: 13px;
    }

    .vb-background-upload-row {
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .vb-background-slots {
        gap: 8px;
    }

    .vb-background-slot {
        width: 36px;
        min-width: 36px;
        height: 36px;
    }

    .vb-background-swap {
        width: 28px;
        min-width: 28px;
        height: 36px;
        padding: 6px 4px;
    }

    .vb-background-swap img {
        width: 18px;
        height: 18px;
    }

    .vb-background-slot-label {
        width: 36px;
        font-size: 11px;
    }

    .vb-bg-swatches {
        gap: 6px;
        padding: 5px 8px;
    }

    .vb-bg-swatch {
        width: 23px;
        height: 23px;
    }
}

@media (max-width: 420px) {
    .vb-creator-page .vb-editor {
        margin-top: -118px;
    }

    .vb-creator-page .vb-toolbar-vertical {
        top: -52px;
    }

    .vb-creator-page .vb-text-controls {
        grid-template-columns: minmax(100px, 1.05fr) minmax(68px, 0.7fr) minmax(76px, 0.74fr);
        gap: 6px;
        padding-right: 0;
        padding-left: 0;
    }

    .vb-text-color-swatches {
        justify-content: flex-start;
        flex-wrap: nowrap;
        width: 100%;
    }

    .vb-text-color-swatch {
        flex: 0 0 auto;
        width: 18px;
        height: 18px;
    }

    .vb-background-row {
        grid-template-columns: minmax(82px, auto) minmax(0, 1fr);
        gap: 7px;
    }
}

@media (max-width: 360px) {
    .vb-creator-page .vb-editor {
        margin-top: -104px;
    }

    .vb-creator-page .vb-toolbar-vertical {
        top: -50px;
        left: 8px;
        padding: 4px 7px;
    }

    .vb-creator-page .vb-tool {
        width: 34px;
        min-width: 34px;
        height: 32px;
    }

    .vb-creator-page .vb-editor-body {
        min-height: 78px;
        padding: 8px 12px;
    }

    .vb-creator-page .vb-text-controls {
        grid-template-columns: minmax(88px, 1fr) minmax(60px, 0.68fr) minmax(70px, 0.72fr);
        gap: 5px;
        padding-right: 0;
        padding-left: 0;
    }

    .vb-creator-page .vb-field-label {
        font-size: 13px;
    }

    .vb-font-trigger {
        min-height: 34px;
        padding-left: 8px;
        font-size: 13px;
    }

    .vb-text-color-swatches {
        gap: 2px;
        padding: 3px;
    }

    .vb-text-color-swatch {
        width: 17px;
        height: 17px;
    }

    .vb-sticker-carousel {
        grid-template-columns: minmax(0, 1fr) 54px;
    }

    .vb-background-row {
        grid-template-columns: minmax(82px, auto) minmax(0, 1fr);
        gap: 7px;
        padding-right: 8px;
        padding-left: 8px;
    }

    .vb-background-upload-group > .vb-pane-title,
    .vb-background-color-group > .vb-pane-title {
        font-size: 12px;
    }

    .vb-background-slots {
        gap: 6px;
    }

    .vb-background-slot {
        width: 32px;
        min-width: 32px;
        height: 32px;
    }

    .vb-background-swap {
        width: 26px;
        min-width: 26px;
        height: 32px;
        padding: 5px 4px;
    }

    .vb-background-swap img {
        width: 16px;
        height: 16px;
    }

    .vb-background-slot-label {
        width: 32px;
        font-size: 10px;
    }

    .vb-bg-swatches {
        gap: 4px;
        padding: 4px 6px;
    }

    .vb-bg-swatch {
        width: 21px;
        height: 21px;
    }
}
