html:has(body.bc-smas-fullscreen) {
    margin: 0 !important;
    padding: 0 !important;
    background: #f1f1ef;
}

body.bc-smas-fullscreen {
    margin: 0 !important;
    min-width: 320px;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    background: #f1f1ef;
}

body.bc-smas-fullscreen #wpadminbar {
    display: none !important;
}

body.bc-smas-fullscreen .bcsmas {
    min-height: 100vh;
}

.bc-smas-app {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 620px;
    overflow: hidden;
    background: #f1f1ef;
}

.bc-smas-frame {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #f1f1ef;
}

.bc-smas-loader {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: grid;
    place-items: center;
    color: #3e3a3a;
    background: #f1f1ef;
    font: 600 11px/1.4 Inter, Arial, sans-serif;
    letter-spacing: .16em;
}

.bc-smas-loader strong {
    grid-area: 1 / 1;
    margin-top: 105px;
}

.bc-smas-loader span {
    grid-area: 1 / 1;
    width: 76px;
    height: 76px;
    border: 1px solid #e0b69c;
    border-radius: 50%;
    animation: bc-smas-breathe 2.6s ease-in-out infinite;
}

.bc-smas-loader span:nth-child(2) {
    width: 96px;
    height: 96px;
    border-color: #b9b9b5;
    animation-delay: -.8s;
}

.bc-smas-loader span:nth-child(3) {
    width: 116px;
    height: 116px;
    border-color: #efcbbb;
    animation-delay: -1.6s;
}

@keyframes bc-smas-breathe {
    0%, 100% { transform: scale(.94); opacity: .45; }
    50% { transform: scale(1.06); opacity: .9; }
}

@media (prefers-reduced-motion: reduce) {
    .bc-smas-loader span { animation: none; }
}
