#root {
    max-width: 100vw;
    margin: 0;
    padding: 0;
    color: #cf0404;
    background-color: #fff
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    background: #fff;
    margin-top: auto;
    width: 100%;
    text-align: center;

    z-index: 1000;
}

.footer-content {

    color: #666666;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer.footer .footer-content a.footer-link:link,
footer.footer .footer-content a.footer-link:visited {
    color: #666666 !important;
    text-decoration: none !important;
}
footer.footer .footer-content a.footer-link:hover {
    color: #ff0000 !important;
}
.float-window {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.89);
    display: none;
    z-index: 9999999;
}
.float-window img {
    position: absolute;
    top: 0.5%;
    left: 17%;
    max-width: 80%;
    max-height: 100%;
}

/* ?body? */
body {
    margin: 0;
    padding: 0;
}

/* ?? */
.app-container {
    min-height: 100vh;
    min-height: -webkit-fill-available;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.app-content {
    background: linear-gradient(175deg, #c7b0f1 3.72%, #fff 61.16%);
    width: 100%;
    flex-grow: 1;
    padding-bottom: calc(120px + env(safe-area-inset-bottom));
}

.header-spacer {
    height: 72px;
    padding-right: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end
}

.app-card {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background-color: #fff;
    overflow: hidden
}

.app-icon {
    display: block;
    position: absolute;
    width: 90px;
    height: 90px;
    margin-top: -30px;
    margin-left: 20px;
    border-radius: 20px;
}

.app-header {
    margin-left: 123px;
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    align-items: flex-start
}

.app-header .app-title {
    font-family: var(--font-pingfang);
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    color: #2d2e30
}

.download-section {
    max-width: 100%;
    height: auto;
    padding: 17px var(--margin-left) 15px var(--margin-left);
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: rgb(255, 255, 255);
}

.download-section .download-button {
    flex-grow: 1;
    height: 38px;
    color: #fff;
    background-color: #8847fe;
    border: none;
    border-radius: 19px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center
}

.download-section .download-button div {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px
}

/* ?? */
.install-guide {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fbfbfc;
    display: flex;
    justify-content: center;
    align-items: center;
}

.guide-image {
    width: 100%;
    height: 100%;
}

.close-guide {
    width: 10%;
    height: 10%;
    float: left;
    cursor: pointer;
}

.guide-content {
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

/* ?? */
.info-container {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.app-info {
    padding: var(--margin-left);
    background-color: rgb(255, 255, 255);
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .app-info {
        margin-bottom: 30px;
        padding-bottom: 0;
    }
    .app-preview-image-container.desktop-only {
        margin-bottom: 15px;
    }
}

.app-name-section {
    padding: 21px var(--margin-left) 0 var(--margin-left);
    display: flex;
    align-items: center;
    padding-left: 0;
    margin-bottom: 0;
    box-sizing: border-box;
}

.app-name-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-top: 10px
}

.app-name,
.app-version {
    display: inline-flex;
    padding: 0 16px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: auto;
    height: 32px;
    border-radius: 16px;
    background: #ece5ff;
    color: #8440ff;
    font-family: var(--font-pingfang);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal
}

.info-title {
    font-family: var(--font-pingfang);
    color: #2d2e30;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal
}

.info-item {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 5px 0;
    font-family: var(--font-pingfang);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px
}

.info-label {
    min-width: 106px;
    height: 18px;
    color: #8b71b8
}

.info-value {
    color: #303030;
    flex-grow: 1
}

/*  */
:root {
    --margin-left: 21px;
    --font-pingfang: "PingFang SC";
    --primary-color: #4a6cf7;
    --primary-dark: #3a5ae7;
    --danger-color: #ff6b6b;
    --bg-color: #ffffff;
    --text-color: #333333;
    --light-gray: #f8f9fa;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

@media screen and (max-width: 375px) {
    :root {
        --margin-left: 10px
    }
}

/* ?? */
.app-preview-image-container.mobile-only {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px 0 0 0;
    aspect-ratio: 4/3;
}

.app-preview-image-container.desktop-only {
    max-height: 100%;
    overflow: hidden;
}

/* ?PC? */
@media (min-width: 768px) {
    .app-preview-image-container.mobile-only {
        display: none;
    }
    .info-container {
        flex-direction: row;
        padding: 0 16px;
    }
    .app-info {
        width: 50%;
    }
    .app-preview-image-container.desktop-only {
        display: flex;
        width: 50%;
        margin: 0;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 0 24px;
        aspect-ratio: 4/3;
    }
    .app-preview-image {
        max-width: calc(100% - 48px);
        max-height: 400px;
    }
}

/* ??? */
.app-preview-image {
    border-radius: 10px;
    box-shadow: var(--shadow);
    max-width: 90%;
    max-height: 300px;
    transition: var(--transition);
    margin-top: 22px;
    margin-left: 10px;
    vertical-align: middle;
}

.app-preview-image:hover {
    transform: scale(1.05);
    box-shadow: var(--hover-shadow);
}

/* ?لد? */
.custom-alert {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.1s ease, visibility 0.1s ease;
}

.custom-alert.show {
    opacity: 1;
    visibility: visible;
}

.custom-alert-content {
    background-color: var(--bg-color);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    width: 80%;
    max-width: 400px;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow var(--transition);
}

.custom-alert.show .custom-alert-content {
    transform: translateY(0) scale(1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.custom-alert-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    color: var(--danger-color);
    font-size: 24px;
    box-shadow: var(--shadow);
}

.custom-alert-message {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 25px;
    color: var(--text-color);
    line-height: 1.5;
}

.custom-alert-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 10px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(74, 108, 247, 0.3);
}

/* ??§¹ */
.download-button {
    transition: var(--transition);
}

.download-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
}

.download-button:active {
    transform: translateY(1px);
    box-shadow: var(--shadow);
}

.custom-alert-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 108, 247, 0.4);
}

.custom-alert-button:active {
    transform: translateY(1px);
    box-shadow: 0 3px 10px rgba(74, 108, 247, 0.3);
}

/*  */
@keyframes fadeOut {
    from {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px) scale(0.95);
    }
}

/* ?PC????? */
@media (min-width: 768px) {
    .info-container {
        flex-direction: row;
        padding: 0 16px;
    }

    .app-info {
        width: 50%;
    }

    .app-preview-image-container.desktop-only {
        display: flex;
        width: 50%;
        margin: 0;
        justify-content: flex-start;
        align-items: flex-start;
        padding-left: 16px;
    }

    .app-preview-image {
        max-width: calc(100% - 16px);
        max-height: 400px;
    }
}
.custom-alert.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

/* ?? */
body {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ??????? */
.download-section,
.app-preview-image-container {
    box-sizing: border-box;
}

/* ???? */
.app-name-section {
    padding-left: 0;
    margin-bottom: 16px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

/* ??? */
@media (max-width: 767px) {
    .app-preview-image-container.desktop-only {
        display: none;
    }
}
@media (min-width: 2350px) {
    #root {
        max-width: 2350px;
        margin: 0 auto;
    }
}