.threedviewer-model-stage:fullscreen {
    width: 100%;
    height: 100vh !important;
}

.threedviewer-model-stage:fullscreen model-viewer {
    width: 100%;
    height: 100%;
}

.threedviewer-model-stage .grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(to right, rgba(0, 255, 0, 0.2) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 255, 0, 0.2) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 1;
}

.threedviewer-model-stage .threedviewer-control {
    position: absolute;
    bottom: 12px;
    z-index: 101;
}

.threedviewer-model-stage .threedviewer-fullscreen {
    left: 12px;
}

.threedviewer-model-stage .threedviewer-help {
    right: 12px;
}

.threedviewer-model-stage .threedviewer-control button,
.threedviewer-model-stage .threedviewer-help summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 36px;
    border: 1px solid #555;
    border-radius: 4px;
    background: #fff;
    color: #111;
    cursor: pointer;
}

.threedviewer-model-stage .threedviewer-help summary {
    list-style: none;
}

.threedviewer-model-stage .threedviewer-help summary::-webkit-details-marker {
    display: none;
}

.threedviewer-model-stage .threedviewer-help p {
    position: absolute;
    right: 0;
    bottom: 40px;
    width: 220px;
    margin: 0;
    padding: 10px;
    border-radius: 4px;
    background: #fff;
    color: #111;
    box-shadow: 0 2px 10px #0006;
}
