/* Template marker removed: keep Verge3D App Manager from overwriting this stylesheet. */

body {
    margin: 0px;
    overflow: hidden;
    background: rgb(107, 107, 107);
}

noscript {
    display: block;
    text-align: center;
    padding-top: 100px;
    font-size: 20px;
}

.v3d-container {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .v3d-container {
        touch-action: none;
    }
}

.top-right-fab-stack {
    position: absolute;
    top: var(--ui-inset-top, 104px);
    right: var(--ui-inset-side, 20px);
    z-index: 40;
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.top-right-fab-stack .change-garment-fab {
    position: relative;
    top: auto;
    right: auto;
}

.change-garment-fab {
    position: absolute;
    top: var(--ui-inset-top, 104px);
    right: var(--ui-inset-side, 20px);
    z-index: 40;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 20px;
    margin: 0;
    border: 1px solid rgba(176, 189, 219, 0.8);
    border-radius: 14px;
    background: #eef3ff;
    backdrop-filter: blur(8px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 8px 22px rgba(19, 31, 61, 0.1),
        0 2px 6px rgba(19, 31, 61, 0.06);
    cursor: pointer;
    font-family: "Onest", "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #22304f;
    -webkit-tap-highlight-color: transparent;
    transition:
        background 0.16s ease,
        box-shadow 0.16s ease,
        transform 0.12s ease;
}

.change-garment-fab:hover {
    background: #e5edff;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 10px 26px rgba(19, 31, 61, 0.12),
        0 2px 8px rgba(19, 31, 61, 0.08);
}

.change-garment-fab:active {
    transform: scale(0.98);
}

.change-garment-fab .ui-icon {
    font-size: 20px;
    opacity: 0.9;
}

.change-garment-fab-label {
    line-height: 1;
}

@media (min-width: 769px) {
    .export-open-fab {
        display: none !important;
    }

    .top-right-fab-stack {
        top: var(--ui-inset-top, 104px);
        right: var(--ui-inset-side, 20px);
    }
}

@media (max-width: 768px) {
    .top-right-fab-stack {
        top: max(12px, env(safe-area-inset-top, 0px));
        right: max(12px, env(safe-area-inset-right, 0px));
    }
}

/* removes tap blinking on ios devices */
* { -webkit-tap-highlight-color:rgba(0,0,0,0); }

/* Preloader visuals: see ui.css (keeps custom look out of this template file). */
