html, body {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
}

img {
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

#feature-preview-screen {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.background-layer {
    filter: brightness(0.3);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    overflow: hidden;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: parallaxZoom 20s ease-in-out infinite,
    /*parallaxShift 30s ease-in-out infinite,*/
    brightnessPulse 10s ease-in-out infinite;
    transform-origin: center;
}

#sparks-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    /*z-index: 1;*/
}

#fps-wrapper {
    display: grid;
    place-items: center;
    grid-template-areas:
            "logo logo logo"
            "feature-block1 feature-block2 feature-block3"
            "feature-desc2 feature-desc2 feature-desc2"
            "start-button start-button start-button";
    grid-template-columns: 45dvw 5dvw 45dvw;
    grid-template-rows: auto auto auto auto;
    height: 100vh;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    /*padding: 0 6vw;*/
    /*column-gap: 2vw;*/
    width: 100%;
    max-width: 100vw;
}

#logo-placeholder {
    position: absolute;
    grid-area: logo;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
    user-select: none;
}

.logo-image {
    padding-top: 7px;
    height: 15dvh;
    display: block;
    opacity: 0;
    animation: logoFadeIn 1s ease-out 0.5s forwards,
    pulseGlow 6s ease-in-out infinite 2s;
    margin-bottom: 4dvh;
    margin-top: 4dvh;

    --glow: 0.5;
    --tilt: 0.1deg;
    filter:
            drop-shadow(0 0 calc(4px * var(--glow))  rgb(255, 174, 0))
            drop-shadow(0 0 calc(6px * var(--glow)) rgba(255,96,0,.90))
            drop-shadow(0 -4px calc(8px * var(--glow)) rgba(255,70,0,.75))
            url(#heat-warp);
    transform-origin: center bottom;
}

#sound-toggle {
    position: absolute;
    bottom: 3dvh;
    right: clamp(2dvw, 3dvw, 4dvw);
    width: clamp(40px, 6dvh, 10dvh);
    height: clamp(40px, 6dvh, 10dvh);
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;
}

#sound-toggle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#feature-block1 {
    grid-area: feature-block1;
}

#feature-block2 {
    grid-area: feature-block2;
}

#feature-block3 {
    grid-area: feature-block3;
}

#feature-desc1 {
    grid-area: feature-desc1;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#feature-desc2 {
    grid-area: feature-desc2;
    display: flex;
    height: 100%;
    justify-content: flex-start;
    align-items: center;

}

#feature-desc3 {
    grid-area: feature-desc3;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.stack-wrap{
    position: relative;
    width: 100%;
    overflow: visible;
}
.stack{
    position: relative;
    aspect-ratio: 760 / 520;
    left: 50%;
    transform: translateX(-50%);
}
@media (orientation: portrait) {
    .stack{
        width: min(140%, 700px);
    }
}

@media (orientation: portrait) and (width: 540px) and (height: 720px){
    .stack{
        width: min(100%, 700px);
    }
}
@media (orientation: portrait) and (min-height: 950px) {
    .stack{
        width: min(100%, 700px);
    }
}
@media (orientation: landscape) and (max-height: 360px) {
    .stack{
        width: min(100%, 500px);
    }
}

.feature-image{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

/* region Flame effect */
.stack .layer-top-1{
    --glow: 0.2;
    --tilt: 0.3deg;
    filter:
            drop-shadow(0 0 calc(6px * var(--glow))  rgb(255, 174, 0))
            drop-shadow(0 0 calc(10px * var(--glow)) rgba(255,96,0,.90))
            drop-shadow(0 -8px calc(18px * var(--glow)) rgba(255,70,0,.75))
            drop-shadow(0 -16px calc(26px * var(--glow)) rgba(240,60,0,.55))
            url(#heat-warp);
    transform-origin: center bottom;
    animation: flame-flicker 1.8s linear infinite, flame-breathe 4s ease-in-out infinite;
    /*mix-blend-mode: screen; !* якщо треба “гарячіше”; можна прибрати *!*/
}

@keyframes flame-flicker{
    0%{
        filter:
                drop-shadow(0 0 calc(6px * var(--glow))  rgb(255, 174, 0))
                drop-shadow(0 0 calc(10px * var(--glow)) rgba(255,96,0,.90))
                drop-shadow(0 -8px calc(16px * var(--glow)) rgba(255,70,0,.75))
                drop-shadow(0 -16px calc(26px * var(--glow)) rgba(240,60,0,.55))
                url(#heat-warp);
        transform: rotate(var(--tilt)) translateY(0) scale(1);
    }
    50%{
        filter:
                drop-shadow(0 0 calc(6px * var(--glow)) rgb(255, 174, 0))
                drop-shadow(0 0 calc(10px * var(--glow)) rgba(255,96,0,.90))
                drop-shadow(0 -8px calc(16px * var(--glow)) rgba(255,70,0,.75))
                drop-shadow(0 -16px calc(26px * var(--glow)) rgba(240,60,0,.55))
                url(#heat-warp);
        transform: rotate(calc(var(--tilt) * -1)) translateY(-1px) scale(1.01);
    }
    100%{
        filter:
                drop-shadow(0 0 calc(6px * var(--glow))  rgb(255, 174, 0))
                drop-shadow(0 0 calc(10px * var(--glow)) rgba(255,96,0,.90))
                drop-shadow(0 -8px calc(16px * var(--glow)) rgba(255,70,0,.75))
                drop-shadow(0 -16px calc(26px * var(--glow)) rgba(240,60,0,.55))
                url(#heat-warp);
        transform: rotate(var(--tilt)) translateY(0) scale(1);
    }
}

@keyframes flame-breathe{
    0%,100%{ transform: translateY(0) scale(1); }
    50%{    transform: translateY(-0.5px) scale(1.01); }
}

@supports not (filter: url(#heat-warp)){
    .stack .layer-top-1{
        filter:
                drop-shadow(0 0 calc(6px * var(--glow))  rgb(255, 174, 0))
                drop-shadow(0 0 calc(10px * var(--glow)) rgba(255,96,0,.90))
                drop-shadow(0 -8px calc(16px * var(--glow)) rgba(255,70,0,.75))
                drop-shadow(0 -16px calc(26px * var(--glow)) rgba(240,60,0,.55))
    }
}

.stack{ overflow: visible; }

.feature-image.layer-top{
    --glow: 0.7;
    will-change: filter, opacity;
    animation: gold-glow 1.8s ease-in-out infinite;
}

@keyframes gold-glow{
    0%{
        filter:
                drop-shadow(0 0 0 rgba(255,225,90,1))
                drop-shadow(0 0 calc(4px  * var(--glow)) rgba(255, 213, 0, 0.92))
                drop-shadow(0 0 calc(8px * var(--glow)) rgba(255, 115, 0, 0.78))
    }
    50%{
        filter:
                drop-shadow(0 0 0 rgba(255,225,90,1))
                drop-shadow(0 0 calc(6px  * var(--glow)) rgba(255, 213, 0, 0.92))
                drop-shadow(0 0 calc(10px * var(--glow)) rgba(255, 115, 0, 0.78))
    }
    100%{
        filter:
                drop-shadow(0 0 0 rgba(255,225,90,1))
                drop-shadow(0 0 calc(4px  * var(--glow)) rgba(255, 213, 0, 0.92))
                drop-shadow(0 0 calc(8px * var(--glow)) rgba(255, 115, 0, 0.78))
    }
}

.feature-image.layer-top{ mix-blend-mode: normal; }

@media (prefers-reduced-motion: reduce){
    .feature-image.layer-top{ animation: none; }
}
/* endregion */

#section-button {
    grid-area: start-button;
}

.feature-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    aspect-ratio: 0.9 / 1;
    margin-top: -5%;
    padding: 0;
    width: 100%;
    height: auto;
    max-width: 86%;
    /*min-width: 200px;*/
    justify-content: center;
    overflow: visible;
    transform-origin: center;
}

.feature-image {
    display: block;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    height: auto;
    filter: drop-shadow(0 6px 16px rgba(87, 35, 7, 0.8)) drop-shadow(0 0 40px rgba(12, 5, 1, 0.75));
    transition: transform 0.3s ease;
}

.stacked-block {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    align-self: baseline;
}

.feature-description {
    /*display: flex;*/
    /*flex-direction: column;*/
    justify-content: flex-start;
    align-items: center;
    text-align: center;

    font-size: clamp(16px, 1vw, 30px);
    line-height: 1.3;
    margin: 0;
    padding: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    z-index: 2;
    font-family: var(--main-font);
    font-weight: 800;
    color: white;
}

.flame-100 {
    font-size: clamp(18px, 3vw, 36px);
    background-size: 200% auto;
    background: linear-gradient(to right, #ffe9aa, rgb(255, 128, 25), #ffcf4b);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    transition: opacity 0.6s ease, transform 0.4s ease;
    animation: gradientShift 5s linear infinite, pulseZoom 5s ease-in-out infinite;
}

.glow-flash {
    font-size: clamp(20px, 2dvw, 30px);
    color: white;
    text-shadow:
            0 2px 2px #000,
            0 0 3px #ffc107,
            0 0 5px #ffb300,
            0 0 12px #ff8f00;
}

.start-fixed-portrait {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 10;

    flex-direction: column;
    text-align: center;

    display: grid;
    place-items: center;
}

.start-fixed-portrait > .loading-bar-wrapper,
.start-fixed-portrait > .start-button {
    grid-area: 1 / 1;
}

.start-gradient-background {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 20vh;
    background: linear-gradient(to top, rgba(18, 16, 48, 0.85), rgba(18, 16, 48, 0.0));
    z-index: 1;
    pointer-events: none;
}

.loading-bar-wrapper {
    position: relative;
    width: clamp(20vw, 25vw, 35vw);
    /*height: clamp(2vh, 2.5vh, 3.5vh);*/
    /*margin-top: clamp(5vh, 7vh, 10vh);*/
    background: radial-gradient(circle at center,
    rgba(60, 90, 120, 0.4),
    rgba(10, 30, 60, 0.6));
    border-radius: 999px;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.6);
    border: 2px solid #f8f8f8;

    margin-top: 0;            /* було clamp(5vh, 7vh, 10vh) */
    min-width: clamp(140px, 30vw, 320px);
    height: clamp(18px, 2.5vh, 28px);
    transition: opacity 0.35s ease;
}

.start-button {
    white-space: wrap;
    z-index: 1;
    opacity: 0;
    transform: scale(0.96);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.start-fixed-portrait.ready .loading-bar-wrapper {
    opacity: 0;
}

.start-fixed-portrait.ready .start-button {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.loading-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #FFB700, #FFA500, #FFD700);
    background-size: 300% 100%;
    animation: shimmer 2s linear infinite;
    transition: width 0.3s ease;
    border-radius: 999px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 200, 0, 0.5), 0 0 60px rgba(255, 180, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.loading-percent {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--main-font, sans-serif);
    font-size: clamp(12px, 2vw, 16px);
    color: white;
    font-weight: bold;
    pointer-events: none;
}
@media (orientation: landscape) {
    .loading-percent {
        font-size: clamp(8px, 1.5dvw, 14px);
    }
}

.start-button {
    /*width: clamp(40vw, 50vw, 60vw);*/
    font-size: clamp(1.3rem, 2.8dvw, 1.5rem);
    text-transform: uppercase;
    padding: clamp(1.2vh, 2vh, 3vh) clamp(3vw, 3vw, 3vw);
    text-align: center;

    letter-spacing: 0.05em;
    font-weight: 500;
    background-size: 200% auto;
    background: linear-gradient(to right, #ffc10d, white, #ffc10d);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: white;
    border: none;

    transform: scale(0.95);
    opacity: 0;
    pointer-events: none;

    transition: opacity 0.6s ease, transform 0.4s ease;
    animation: gradientShift 5s linear infinite, pulseZoom 5s ease-in-out infinite;
}

.start-button.visible {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

@keyframes gradientShift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@keyframes pulseZoom {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes parallaxZoom {
    0%, 100% { transform: scale(1.05) translate(0, 0); }
    50% { transform: scale(1.12) translate(-1.5%, 1.5%); }
}

@keyframes brightnessPulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.08); }
}

@keyframes overlayPulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.28; }
}

@keyframes logoFadeIn {
    0% { opacity: 0; transform: translateY(-20px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

@media (orientation: portrait) {
    #feature-preview-screen {
        height: auto;
        min-height: 100dvh;
        overflow-y: hidden;
    }

    #fps-wrapper {
        display: grid;
        grid-template-areas:
      "logo"
      "feature-block1"
      "feature-block2"
      "feature-block3"
      "feature-desc"
      "start-button";
        grid-template-columns: 1fr;
        grid-template-rows: 12vh;
        /*margin-top: 2vh;*/
        /*row-gap: 1vh;*/
        height: 100%;
        min-height: auto;
        overflow: hidden;
        box-sizing: border-box;
    }

    .feature-block {
        height: 80%;
        margin: 0 auto;
        padding: 0;
    }

    #feature-block1, #feature-block3 {
        width: clamp(50vw, 60vw, 70vw);
        height: clamp(30vh, 20vh, 70vh);
        margin: 0 auto;
    }

    #feature-block2 {
        width: clamp(5dvw, 80dvw, 8dvw);
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        transform: rotate(90deg);

        animation: arrowNudgePortrait 5s ease-in-out infinite;
        transform-origin: center;
    }

    #feature-block3 {
        margin-top: -3%;
    }

    #logo-placeholder {
        position: relative;
        display: flex;
        justify-content: center;
    }

    #logo-placeholder {
        position: absolute;
        grid-area: logo;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 1vh;
        z-index: 2;
    }

    .logo-image {
        height: clamp(8dvh, 4dvh, 12dvh);
        width: auto;
        margin-top: 0.5dvh;
    }

    #feature-desc {
        grid-area: feature-desc;
        margin-top: 0;
    }

    .feature-description {
        line-height: 1.2;
        max-width: 90%;
        margin-top: 0;
    }

    .start-fixed-portrait {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: auto;
        background: linear-gradient(to top, rgba(18, 16, 48, 0.88), rgba(18, 16, 48, 0));
        box-sizing: border-box;
        z-index: 3;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 2dvh;
        padding-bottom: env(safe-area-inset-bottom);
        padding-left: 5dvw;
        padding-right: 5dvw;
    }

    .loading-bar-wrapper {
        position: absolute;
        bottom: clamp(1vh, 2vh, 3vh);
        left: 50%;
        transform: translateX(-50%);
        width: clamp(40vw, 45vw, 50vw);
        height: clamp(1.6vh, 2vh, 2.5vh);
        background: radial-gradient(circle at center,
        rgba(60, 90, 120, 0.4),
        rgba(10, 30, 60, 0.6));
        border-radius: 999px;
        overflow: hidden;
        box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.6);
        border: 2px solid #f8f8f8;
    }

    .loading-bar {
        width: 0%;
        height: 100%;
        background: linear-gradient(90deg, #FFD700, #FFB700, #FFA500, #FFD700);
        background-size: 300% 100%;
        animation: shimmer 2s linear infinite;
        transition: width 0.3s ease;
        border-radius: 999px;
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 200, 0, 0.5), 0 0 60px rgba(255, 180, 0, 0.4);
    }

    .start-button {
        font-size: clamp(1rem, 4vw, 1.3rem);
        padding: clamp(1.5vh, 2.5vh, 3vh) 0;
        text-align: center;
        background: linear-gradient(to right, #ffc10d, white, #ffc10d);
        background-size: 200% auto;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        border: none;
        opacity: 0;
        pointer-events: none;
        transform: scale(0.95) translateX(-50%);
        transition: opacity 0.6s ease, transform 0.4s ease;
        animation: gradientShift 5s linear infinite, pulseZoom 5s ease-in-out infinite;
    }

    .start-button.visible {
        opacity: 1;
        pointer-events: auto;
        transform: scale(1) translateX(-50%);
    }

    #sound-toggle {
        bottom: 1.5dvh;
        right: clamp(3dvw, 4dvw, 5dvw);
    }
}

@media (orientation: landscape) {

    #fps-wrapper {
        display: grid;
        grid-template-areas:
            "logo logo logo"
            "feature-block1 feature-block2 feature-block3"
            "feature-desc feature-desc feature-desc"
            "start-button start-button start-button";
        grid-template-columns: 45dvw 5dvw 45dvw;
        grid-template-rows: auto auto auto auto;
        height: 100vh;
        justify-content: center;
        align-items: center;
        padding: 0 3vw;
    }

    .feature-description {
        font-size: clamp(0.9rem, 2vw, 2rem);
        line-height: 1.1;
        padding: 0.3vh 0;
        margin: 0;
        max-width: 100%;
        word-break: break-word;
    }

    #feature-desc {
        margin-top: -14%;
        grid-area: feature-desc;
        justify-content: unset;
        align-items: center;
    }

    .start-button {
        font-size: clamp(0.5rem, calc(1vw + 1vh), 1.3rem);
        padding: clamp(1vh, 1.5vh, 2vh);
    }

    .loading-bar-wrapper {
        width: clamp(20vw, 22vw, 25vw);
        height: clamp(3vh, 3.1vh, 3.3vh);
    }

    .stacked-block {
        margin: 0;
        align-self: flex-end;
    }

    #sound-toggle{
        position: fixed;
        bottom: 2dvh;
        right: clamp(2dvw, 2dvw, 3dvw);
        width: clamp(40px, 6dvh, 10dvh);
        height: clamp(40px, 6dvh, 10dvh);
        z-index: 2;
    }

    @supports (bottom: env(safe-area-inset-bottom)) {
        #sound-toggle{
            bottom: calc(2dvh + env(safe-area-inset-bottom));
            right:  calc(clamp(1dvw, 1dvw, 2dvw) + max(env(safe-area-inset-right), env(safe-area-inset-left)));
        }
    }

    @supports not (bottom: env(safe-area-inset-bottom)) {
    }

}
@media (orientation: landscape) and (max-height: 350px) {
    .feature-block.scaled,
    .feature-description.scaled {
        margin-top: -10%;
        transform: scale(0.90);
        transform-origin: top center;
    }
    #feature-desc {
        margin-top: -20%;
    }
}
@media (orientation: landscape) and (max-height: 290px) {
    .feature-block.scaled,
    .feature-description.scaled {
        margin-top: -16%;
        transform: scale(0.8);
        transform-origin: top center;
    }
    #feature-desc {
        margin-top: -20%;
    }
}
@media (orientation: landscape) and (max-height: 414px) {
    #feature-block1,
    #feature-block3,
    .feature-description.scaled {
        margin-top: -16%;
        transform: scale(0.8);
        transform-origin: top center;
    }

    #feature-block1,
    #feature-block3 {
        margin-top: -22%;
    }

    #feature-block2 {
        margin-top: -70%;
    }

    #feature-desc{
        margin-top: -23%;
    }
    .start-fixed-portrait {
        bottom: 2dvh;
    }
}

@media (orientation: portrait) and (min-height: 1000px) {
    .feature-description {
        font-size: clamp(0.8rem, 3vw, 1.8rem);
        padding: clamp(1.5vh, 2.5vh, 3vh);
    }
    .glow-flash {
        font-size: clamp(30px, 2dvw, 40px);
    }
}

@keyframes pulseOnly1 {
    0%, 8% {
        transform: scale(1);
    }
    16% {
        transform: scale(1.05);
    }
    24%, 100% {
        transform: scale(1);
    }
}
@keyframes pulseOnly3 {
    0%, 8% {
        transform: scale(1);
    }
    16% {
        transform: scale(1.05);
    }
    24%, 100% {
        transform: scale(1);
    }
}

@keyframes arrowNudge {
    0%, 39.99% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(20%);
    }
    60.01%, 100% {
        transform: translateX(0);
    }
}
@keyframes arrowNudgePortrait {
    0%, 39.99% {
        transform: rotate(90deg) translateX(0);
    }
    50% {
        transform: rotate(90deg) translateX(20%);
    }
    60.01%, 100% {
        transform: rotate(90deg) translateX(0);
    }
}

.feature-block.glow-1 {
    animation: pulseOnly1 5s ease-in-out infinite;
}
.feature-block.glow-3 {
    animation: pulseOnly3 5s ease-in-out infinite;
    animation-delay: 3s;
    animation-fill-mode: backwards;
}
.feature-block.glow-2 {
    animation: arrowNudge 5s ease-in-out infinite;
    transform-origin: center;
}

/* region iOS only  */
@supports (-webkit-touch-callout: none) {
    #feature-block3 .feature-image.layer-top-1{
        margin-top: var(--f3-layer-nudge, -26px) !important;
    }
}
@supports (-webkit-touch-callout: none) {
    #feature-preview-screen { padding-top: env(safe-area-inset-top) !important; }
    #logo-placeholder       { top: 0 !important; }

    #fps-wrapper            { overflow: visible !important; }
    #logo-placeholder       { overflow: visible !important; z-index: 5 !important; }

    .logo-image {
        filter:
                drop-shadow(0 0 calc(4px * var(--glow, .5))  rgb(255,174,0))
                drop-shadow(0 0 calc(6px * var(--glow, .5)) rgba(255,96,0,.90))
                drop-shadow(0 -4px calc(8px * var(--glow, .5)) rgba(255,70,0,.75)) !important;
        /* без url(#heat-warp) лише на iOS */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    #logo-placeholder .logo-image { transform: translateY(var(--ios-logo-nudge, 0)) !important; }
}
/* endregion */