/* __V3D_TEMPLATE__ - template-based file; delete this line to prevent this file from being updated */

body {
    margin: 0px;
    overflow: hidden;
}

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

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

.fullscreen-button {
    position: absolute;
    top: max(8px, env(safe-area-inset-top));
    right: max(8px, env(safe-area-inset-right));
    width: 50px;
    height: 50px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
    background-size: 100% 100%;
    display: none;
    z-index: 120;
    pointer-events: auto;
    touch-action: manipulation;
}

.fullscreen-open {
    background-image: url('media/fullscreen_open.svg');
}

.fullscreen-close {
    background-image: url('media/fullscreen_close.svg');
}

.v3d-pseudo-fullscreen {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    z-index: 2147483000 !important;
}

html.v3d-fullscreen-active,
html.v3d-fullscreen-active body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gr-loading-shell {
    --gr-load-progress: 0%;
    position: absolute;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 45%, rgba(247, 250, 251, 0.98), rgba(195, 204, 211, 0.98)),
        #cfd5da;
    color: #172028;
    font-family: Inter, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    transition: opacity 300ms ease, visibility 300ms ease;
}

.gr-loading-shell.is-finished {
    opacity: 0;
    visibility: hidden;
}

.gr-loading-shell__content {
    display: grid;
    width: min(360px, calc(100vw - 48px));
    gap: 10px;
    text-align: center;
}

.gr-loading-shell__eyebrow {
    color: #4f6f65;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.24em;
}

.gr-loading-shell__content strong {
    font-size: clamp(22px, 5vw, 34px);
}

.gr-loading-shell__content > span:not(.gr-loading-shell__eyebrow):not(.gr-loading-shell__track) {
    color: #64707b;
    font-size: 12px;
}

.gr-loading-shell__track {
    position: relative;
    height: 6px;
    margin-top: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(79, 111, 101, 0.16);
}

.gr-loading-shell__track::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--gr-load-progress);
    border-radius: inherit;
    background: linear-gradient(90deg, #58786d, #8bb3a5);
    transition: width 120ms linear;
}

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