@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700;800&display=swap");

body,
html {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

body {
    background-color: #000000;
    font-family: 'Noto Sans TC', sans-serif;
}

.main-canvas {
    width: 100%;
}

.image-container {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.image-container picture {
    display: block;
    width: 100%;
    height: auto;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.bg {
    position: fixed;
    top: 0;
    width: 100cqw;
    height: 100cqh;
    background-image: url("../img/bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -2;
}

.outer {
    position: fixed;
    bottom: 0;
    width: 100cqw;
    height: 31cqw;
    max-height: 579px;
    background-image: url("../img/outer.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 9;
    pointer-events: none;
    opacity: 0;
    transform-origin: bottom center;
    animation: bigToSmallEntrance 0.3s linear 0.62s forwards;
    will-change: opacity, transform;
}

@keyframes bigToSmallEntrance {
    0% {
        opacity: 0;
        transform: scale(1.3);
    }
    45% {
        opacity: 1;
        transform: scale(1.0);
    }
    75% {
        transform: scale(1.04);
    }
    100% {
        opacity: 1;
        transform: scale(1.0);
    }
}

.outer-P {
    position: absolute;
    left: 10.2cqw;
    bottom: 1cqw;
    width: 9cqw;
    max-width: 161px;
    height: 9cqw;
    max-height: 161px;
    transform: perspective(1px) translateZ(0);
    transition: transform 0.3s;
    pointer-events: auto;
}
.outer-P img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.outer-A,
.outer-B {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 17cqw;
    max-width: 313px;
    height: 14cqw;
    max-height: 251px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    will-change: transform, opacity;
}

.outer-A {
    background-image: url("../img/outer-A.png");
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.4s ease, transform 0.3s cubic-bezier(0.6, -0.28, 0.735, 0.045);
    pointer-events: auto;
    cursor: pointer;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@keyframes wiggle-once {
    0%,
    100% {
        transform: scale(1) rotate(0deg) translateY(0);
    }
    12.5% {
        transform: scale(1) rotate(-3deg) translateY(2px);
    }
    25% {
        transform: scale(1) rotate(3deg) translateY(-2px);
    }
    37.5% {
        transform: scale(1) rotate(-1.5deg) translateY(1px);
    }
    50% {
        transform: scale(1) rotate(1.5deg) translateY(-1px);
    }
    75% {
        transform: scale(1) rotate(-0.5deg) translateY(0.5px);
    }
    87.5% {
        transform: scale(0.5deg) translateY(-0.5px);
    }
}

.outer-B {
    background-image: url("../img/outer-B.png");
    opacity: 0;
    transform: translate(80px, 50px);
    transition: opacity 0.4s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.outer.switched .outer-A {
    opacity: 0;
    transform: scale(0.4);
    pointer-events: none;
}
.outer.switched .outer-B {
    opacity: 1;
    transform: translate(0, 0);
}

#section-kv {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 49cqw;
    max-height: 947px;
}

.romlogo {
    position: absolute;
    width: 18cqw;
    max-width: 343px;
    height: auto;
    left: 1cqw;
    top: 1cqw;
    z-index: 2;
    transition: transform 0.2s ease-in-out;
}

.btn_home {
    position: absolute;
    width: auto;
    top: 5cqw;
    left: 1.5cqw;
    z-index: 3;
    transition: transform 0.2s ease-in-out;
}

.btn-official {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ff1b56;
    padding: 4px 21px 4px 7px;
    border-radius: 999px;
    text-decoration: none;
    gap: 0.7cqw;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.btn-official .icon-circle {
    width: 1.1cqw;
    height: 1.1cqw;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-official .home-icon {
    width: 0.9cqw;
    height: 0.9cqw;
    fill: #ff1b56;
}
.btn-official .btn-text {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 100;
    letter-spacing: 1.5px;
}

.kv-download-box {
    position: absolute;
    bottom: 6.3cqw;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 1000px;
    z-index: 7;
}

.kv-slogan-img {
    width: 45cqw;
    max-width: 852px;
    margin-bottom: -0.5cqw;
    animation: bigToSmallEntrance 0.3s linear 0.3s forwards;
    will-change: opacity, transform;
    opacity: 0;
}
.kv-slogan-img img {
    width: 100%;
    height: auto;
    display: block;
}

.kv-buttons-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75cqw;
    flex-wrap: wrap;
    width: 45cqw;
    animation: bigToSmallEntrance 0.3s linear 0.35s forwards;
    will-change: opacity, transform;
    opacity: 0;
}

.kv-btn-img {
    display: inline-block;
    width: 22%;
    min-width: 140px;
    max-width: 160px;
}
.kv-btn-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.2s ease, filter 0.2s ease;
    filter: drop-shadow(3px 3px 0px #f44fa0);
}

.npc {
    position: absolute;
    width: 100%;
    z-index: 2;
    pointer-events: none;
}

.kvbg {
    position: absolute;
    width: 100%;
    z-index: 1;
    pointer-events: none;
    animation: bigToSmallEntrance 0.2s linear 0.8s forwards;
    will-change: opacity, transform;
    opacity: 0;
}

#section-1 {
    position: relative;
    display: flex;
    align-items: center;
    padding: 5cqw 0 10cqw;
    width: 100%;
    height: 41cqw;
    background-image: url("../img/bg1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    justify-content: center;
    overflow: hidden;
}

.global-divider-track {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 5;
}
.global-divider-track .divider-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
}

.global-divider-track2 {
    position: relative;
    width: 100%;
    height: auto;
    margin: 6cqw 0;
    z-index: 5;
}
.global-divider-track2 .divider-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
}

.layer-item {
    position: absolute;
    display: block;
}
.layer-item img {
    width: 100%;
    height: auto;
    display: block;
}

.s1-header-img {
    top: 8%;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 50%;
    max-width: 934px;
    z-index: 5;
}

.s1-bg-a {
    bottom: 5.5cqw;
    left: 22cqw;
    z-index: 3;
    width: 35cqw;
    max-width: 666px;
}

.s1-bg-b {
    top: 8cqw;
    right: 15.5cqw;
    z-index: 2;
    width: 36cqw;
    max-width: 684px;
}

.s1-char-a {
    bottom: 0;
    left: 6cqw;
    z-index: 3;
    width: 33cqw;
    max-width: 631px;
}
.s1-char-b {
    bottom: 1cqw;
    right: 17cqw;
    z-index: 3;
    width: 31cqw;
    max-width: 583px;
}

#section-2 {
    width: 100%;
    height: auto;
    padding-top: 2cqw;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    flex-direction: column;
}

.s2-content-box {
    position: relative;
    width: 69cqw;
    height: 44cqw;
    max-width: 1313px;
    max-height: 827px;
    background-image: url("../img/bg3.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.s2-bg-picture {
    display: none;
}
.s2-inner-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.s2-header-wrapper {
    position: absolute;
    top: -1.5cqw;
    left: 22%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    z-index: 2;
}
.s2-title-img {
    width: 47cqw;
    max-width: 739px;
}
.s2-title-img img {
    width: 100%;
    height: auto;
    display: block;
}
.s2-btn-a {
    position: relative;
    width: 11cqw;
    max-width: 194px;
    display: block;
    cursor: pointer;
    bottom: 2cqw;
    right: 0.5cqw;
}
.s2-btn-a img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.2s;
}

.s2-reward-container {
    position: absolute;
    bottom: 2.5cqw;
    left: 7cqw;
    width: 50%;
    padding: 30px 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 2cqw;
    z-index: 4;
}
.reward-row {
    display: flex;
    justify-content: center;
    gap: 2cqw;
}

.reward-item {
    width: 7cqw;
    height: 10.7cqw;
    background-color: #ffffff;
    border: 5px solid #ff1b56;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5cqw;
    box-sizing: border-box;
    transition: transform 0.2s ease;
    justify-content: center;
    filter: drop-shadow(6px 6px 0px #000);
}


.get {
    position: absolute;
    width: 70%;
    bottom: -15px;
    right: -18px;
    z-index: 2;
}


.reward-pic {
    width: 5cqw;
    max-width: 70px;
    height: auto;
    max-height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.7cqw;
    overflow: hidden;
}
.reward-pic img {
    width: 100%;
    height: auto;
    display: block;
}

.reward-title {
    background-color: #000000;
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    width: 85%;
    line-height: 1.3;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reward-desc {
    color: #ff1b56;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.s2-btn-b-wrapper {
    position: absolute;
    bottom: 4.5%;
    right: 1.25cqw;
    width: 38%;
    max-width: 499px;
    z-index: 5;
    cursor: pointer;
}
.s2-btn-b {
    display: block;
}
.s2-btn-b img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.2s, filter 0.2s;
}

.copyright {
    width: 100%;
    text-align: center;
    margin: 4cqw 0 1cqw;
    color: #ffffff;
    font-size: 0.9rem;
    letter-spacing: 0.6px;
    -webkit-text-stroke: 5px #000000;
    paint-order: stroke fill;
}

#section-footer {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
    background-color: #000;
}

#footbox {
    width: 100%;
}

@media (hover: hover) and (pointer: fine) {
    .outer-P:hover {
        animation: wiggle-once 0.6s ease-out 0s 1;
    }
    .outer-A:hover {
        animation: wiggle-once 0.6s ease-out 0s 1;
    }
    .btn-official:hover {
        background-color: #ff1a43;
        transform: scale(0.98);
    }
    .kv-btn-img:hover img {
        transform: translate(-3px, -3px);
        filter: brightness(1.1) drop-shadow(3px 3px 0px #ff82bf);
    }
    .reward-item:hover {
        transform: scale(1.05);
    }
    .s2-btn-a:hover img,
    .s2-btn-b:hover img {
        transform: translateY(-4px);
        filter: brightness(1.08);
    }
}

@media screen and (max-width: 1180px) {
    html {
        font-size: 0.7rem;
    }

    .bg {
        top: 0;
        left: 0;
        width: 100%;
        height: 100lvh;
        transform: translateZ(0);
        will-change: transform;
    }

    .kv-btn-img,
    .kv-buttons-group,
    .kv-download-box,
    .kv-slogan-img,
    .reward-pic,
    .romlogo,
    .s1-bg-a,
    .s1-bg-b,
    .s1-char-a,
    .s1-char-b,
    .s1-header-img,
    .s2-btn-a,
    .s2-btn-b-wrapper,
    .s2-content-box,
    .s2-title-img {
        max-width: none;
        max-height: none;
    }

    .kv-buttons-group {
        width: 50cqw;
    }

    .kv-btn-img {
        min-width: min-content;
    }

    .s2-title-img {
        width: 38cqw;
    }

    .reward-item {
        border: 2px solid #ff1b56;
    }

    .reward-pic {
        width: 4cqw;
    }
}

@media screen and (max-width: 1024px) {
    html {
        font-size: 100%;
    }

    .bg {
        background-image: url("../img/bg_m.jpg");
        top: 0;
        left: 0;
        width: 100%;
        height: 100lvh;
        transform: translateZ(0);
        will-change: transform;
    }

    .outer {
        display: none;
    }

    .kv-slogan-img {
        width: 75%;
        max-width: none;
    }

    .global-divider-track,
    .global-divider-track2 {
        display: none;
    }

    #section-kv {
        height: 100svh;
        width: 100%;
        position: relative;
        overflow: hidden;
    }

    .kvbg {
        width: 100%;
        height: auto;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
    }
    .kvbg .image-container,
    .kvbg img,
    .kvbg picture {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .romlogo {
        width: 22cqw;
        max-width: none;
        left: 3cqw;
        top: 3cqw;
    }
    .btn_home {
        top: 3.5cqw;
        left: auto;
        right: 3cqw;
    }

    .btn-official {
        padding: 8px 16px;
        gap: 1.5cqw;
    }
    .btn-official .icon-circle {
        width: 3cqw;
        height: 3cqw;
    }
    .btn-official .home-icon {
        width: 2.5cqw;
        height: 2.5cqw;
    }
    .btn-official .btn-text {
        font-size: 1.05rem;
        line-height: 1.2;
    }

    .kv-download-box {
        bottom: 8svh;
        width: 85%;
        max-width: none;
        z-index: 7;
    }
    .kv-buttons-group {
        gap: 1.8cqw;
        width: 100%;
        max-width: none;
    }
    .kv-btn-img {
        width: 22%;
        min-width: auto;
        max-width: none;
    }

    #section-1 {
        padding: 12cqw 0 8cqw;
        height: auto;
        display: block;
        background-image: url("../img/bg1_m.jpg");
    }
    .s1-header-img {
        width: 75%;
        max-width: none;
        top: 10%;
        position: relative;
        z-index: auto;
    }
    .s1-bg-a {
        position: relative;
        left: 0;
        bottom: 0;
        width: 100%;
        max-width: none;
    }
    .s1-bg-b {
        position: relative;
        right: 0;
        top: auto;
        bottom: 10cqw;
        width: 100%;
        z-index: 5;
        max-width: none;
    }

    .s1-char-a,
    .s1-char-b {
        display: none;
    }

    .s2-content-box {
        background-image: none;
        width: 85cqw;
        height: auto;
        max-height: none;
        max-width: none;
    }

    .s2-bg-picture {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
    .s2-bg-img {
        width: 100%;
        height: 100%;
        object-fit: fill;
        display: none;
    }

    .s2-inner-wrapper {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 15cqw 0 8cqw;
        height: auto;
    }

    .s2-header-wrapper {
        position: relative;
        top: auto;
        left: auto;
        flex-direction: column;
        width: 100%;
        margin-bottom: 4cqw;
    }
    .s2-title-img {
        width: 65cqw;
        max-width: none;
        margin: 0 auto;
    }
    .s2-btn-a {
        width: 50%;
        max-width: none;
        right: auto;
        bottom: auto;
        margin: 0 auto 2cqw;
    }

    .s2-reward-container {
        position: relative;
        bottom: auto;
        left: auto;
        width: 85%;
        gap: 3cqw;
        padding: 0;
        margin-bottom: 4cqw;
    }
    .reward-row {
        flex-wrap: nowrap;
        gap: 2.5cqw;
        justify-content: center;
    }
    .reward-item {
        width: 20cqw;
        height: auto;
        padding: 2.5cqw 1.5cqw;
        border-width: 4px;
    }

    .reward-pic {
        width: 11cqw;
        max-width: none;
        max-height: none;
        margin-bottom: 1.5cqw;
    }
    .reward-title {
        font-size: 1.15rem;
        width: 100%;
    }
    .reward-desc {
        font-size: 1rem;
        -webkit-line-clamp: 2;
    }

    .s2-btn-b-wrapper {
        position: relative;
        bottom: auto;
        right: auto;
        width: 60cqw;
        max-width: none;
        margin: 0 auto;
    }

    .copyright {
        margin: 4cqw 0;
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 767px) {
    .bg {
        background-image: url("../img/bg_m.jpg");
        top: 0;
        left: 0;
        width: 100%;
        height: 100lvh;
        transform: translateZ(0);
        will-change: transform;
    }

    .outer {
        display: none;
    }

    .kv-slogan-img {
        width: 95%;
    }

    .global-divider-track,
    .global-divider-track2 {
        position: relative;
        width: 100%;
        height: auto;
        margin: 8cqw 0;
        text-align: center;
        z-index: 5;
        display: none;
    }

    .global-divider-track .divider-img,
    .global-divider-track2 .divider-img {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
    }

    #section-kv {
        height: 100svh;
        width: 100%;
        position: relative;
        overflow: hidden;
    }

    .kvbg {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
    }
    .kvbg .image-container,
    .kvbg img,
    .kvbg picture {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top;
    }

    .romlogo {
        width: 35cqw;
        left: 3cqw;
        top: 3cqw;
    }
    .btn_home {
        top: 3cqw;
        left: auto;
        right: 3cqw;
    }

    .btn-official {
        padding: 7px 14px 7px 7px;
        gap: 2cqw;
    }
    .btn-official .icon-circle {
        width: 4cqw;
        height: 4cqw;
    }
    .btn-official .home-icon {
        width: 3.5cqw;
        height: 3.5cqw;
    }
    .btn-official .btn-text {
        font-size: 0.9rem;
        line-height: 1;
    }

    .kv-download-box {
        bottom: 12svh;
        width: 95%;
        z-index: 7;
    }
    .kv-buttons-group {
        gap: 3cqw;
        width: 85%;
    }
    .kv-btn-img {
        width: 45%;
        min-width: auto;
        max-width: fit-content;
    }

    #section-1 {
        padding: 16cqw 0 8cqw;
        height: auto;
        display: block;
        background-image: url("../img/bg1_m.jpg");
    }
    .s1-header-img {
        width: 90%;
        top: 10%;
        position: relative;
        z-index: auto;
    }
    .s1-bg-a {
        position: relative;
        left: 0;
        bottom: 0;
        width: 100%;
    }
    .s1-bg-b {
        position: relative;
        right: 0;
        top: auto;
        bottom: 14cqw;
        width: 100%;
        z-index: 5;
    }

    .s1-char-a {
        display: none;
    }
    .s1-char-b {
        display: none;
    }

    .s2-content-box {
        background-image: none;
        width: 95cqw;
        height: auto;
        max-height: none;
    }

    .s2-bg-picture {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
    .s2-bg-img {
        width: 100%;
        height: 100%;
        object-fit: fill;
    }

    .s2-inner-wrapper {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20cqw 0 10cqw;
        height: auto;
    }

    .s2-header-wrapper {
        position: relative;
        top: auto;
        left: auto;
        flex-direction: column;
        width: 100%;
        margin-bottom: 6cqw;
    }
    .s2-title-img {
        width: 85cqw;
        margin: 0 auto;
    }
    .s2-btn-a {
        width: 80%;
        max-width: 525px;
        right: auto;
        bottom: auto;
        margin: 0 auto 3cqw;
    }

    .s2-reward-container {
        position: relative;
        bottom: auto;
        left: auto;
        width: 90%;
        gap: 4cqw;
        padding: 0;
        margin-bottom: 6cqw;
    }
    .reward-row {
        flex-wrap: wrap;
        gap: 6cqw;
        justify-content: center;
    }
    .reward-item {
        width: 36cqw;
        height: auto;
        padding: 7cqw 4cqw;
        border-width: 4px;
    }

    .reward-pic {
        width: 18cqw;
        max-height: none;
        margin-bottom: 2cqw;
    }
    .reward-title {
        font-size: 1.1rem;
        width: 100%;
    }
    .reward-desc {
        font-size: 1rem;
        -webkit-line-clamp: 3;
    }

    .s2-btn-b-wrapper {
        position: relative;
        bottom: auto;
        right: auto;
        width: 85cqw;
        margin: 0 auto;
    }

    .copyright {
        margin: 5cqw 0;
        font-size: 0.8rem;
    }
}

@media screen and (min-width: 1921px) {
    html {
        font-size: min(0.8333vw, 21.333px);
    }

    .main-canvas {
        max-width: 2560px;
        margin: 0 auto;
        position: relative;
        container-type: inline-size;
    }

    #section-kv,
    .outer,
    .outer-A,
    .outer-B,
    .outer-P,
    .reward-pic,
    .s2-content-box {
        max-height: none;
    }

    .kv-btn-img,
    .kv-download-box,
    .kv-slogan-img,
    .outer-A,
    .outer-B,
    .outer-P,
    .reward-pic,
    .romlogo,
    .s1-header-img,
    .s2-btn-a,
    .s2-btn-b-wrapper,
    .s2-content-box,
    .s2-title-img {
        max-width: none;
    }

    .global-divider-track .divider-img,
    .global-divider-track2 .divider-img {
        width: 100%;
    }

    .s1-bg-a,
    .s1-bg-b,
    .s1-char-a,
    .s1-char-b {
        max-width: none;
    }

    .outer-B {
        bottom: -0.5cqw;
    }

    .s2-title-img {
        width: 38.49cqw;
    }

    .s2-btn-a {
        width: 10.1cqw;
    }

    .kv-download-box {
        width: 52.08cqw;
    }

    .kv-slogan-img {
        width: 44.38cqw;
    }

    .kv-btn-img {
        width: 8.33cqw;
    }

    .s1-header-img {
        width: 43.8cqw;
    }

    .reward-pic {
        width: 3.65cqw;
    }
}

.ios-safe-top-bar {
    display: none;
}

@supports (-webkit-touch-callout: none) {
    @media screen and (max-width: 767px) {

        body,
        html {
            overscroll-behavior: none;
        }

        .ios-safe-top-bar {
            display: block;
            position: fixed;
            top: -500px;
            left: 0;
            width: 100vw;
            height: 501px;
            background-color: #000000;
            z-index: 99;

            -webkit-transform: translate3d(0, 0, 999999px);
            transform: translate3d(0, 0, 999999px);
            pointer-events: none;
        }

        .main-canvas {
            padding-top: 1px;
        }

    }
}
