.gstw-3d-shadow-text-widget {
    position: relative;
    width: 100%;
    height: 500px;
    min-height: 100px;
    overflow: hidden;
    background: transparent;
}

.gstw-3d-shadow-text-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gstw-3d-shadow-text-canvas canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.gstw-3d-shadow-text-editor-preview {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    height: 100%;
    min-height: 160px;
    padding: 24px;
    box-sizing: border-box;
    background: inherit;
    border: 1px dashed rgba(0, 0, 0, 0.24);
    text-align: center;
    perspective: 1200px;
}

.gstw-3d-shadow-text-editor-preview-art {
    position: relative;
    display: inline-grid;
    place-items: center;
    min-width: min(80%, 640px);
    max-width: min(88%, 760px);
    padding: 48px 24px;
    transform: translate(var(--gstw-stage-x-offset, 0px), var(--gstw-stage-y-offset, 0px)) rotateX(var(--gstw-stage-tilt-x, 0deg)) rotateY(var(--gstw-stage-tilt-y, 0deg)) rotateZ(var(--gstw-stage-rotate, 45deg)) scale(var(--gstw-stage-width-scale, 1));
    transform-style: preserve-3d;
}

.gstw-3d-shadow-text-editor-preview-art > span {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: var(--gstw-editor-font-size, 72px);
    font-weight: var(--gstw-editor-font-weight, 700);
    line-height: 1.1;
}

.gstw-3d-shadow-text-editor-preview-line {
    display: block;
    white-space: pre;
}

.gstw-3d-shadow-text-editor-preview-shadow {
    color: var(--gstw-shadow-color, #c7c7c7);
    transform: translate3d(12px, 12px, -1px);
    opacity: 0.95;
}

.gstw-3d-shadow-text-editor-preview-main {
    color: var(--gstw-main-color, #111111);
}

.gstw-3d-shadow-text-editor-preview > span:last-child {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.72);
    color: #ffffff;
    font: 12px/1.4 monospace;
}
