/* @ai-generated by Codex gpt-5.6-sol | 2026-09-05 */
:root {
    --app-height: 100dvh;
    --pc-scale: 1;
    --pc-left: 0px;
    --pc-top: 0px;
    --mobile-scale: 0.5;
    --mobile-stage-height: 812px;
    --safe-area-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

body.aidj-landing-page {
    overflow: hidden;
    color: #fff;
    background: #160302;
    font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

button,
a { -webkit-tap-highlight-color: transparent; }

img { display: block; }

.aidj-landing-shell {
    position: relative;
    width: 100vw;
    height: var(--app-height, 100dvh);
    overflow: hidden;
    background: transparent;
}

.pc-scene {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.pc-viewport-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

.pc-stage {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 1920px;
    height: 1080px;
    overflow: hidden;
    transform: translate3d(var(--pc-left), var(--pc-top), 0) scale(var(--pc-scale));
    transform-origin: top left;
}

.pc-item,
.mobile-item {
    position: absolute;
    object-fit: fill;
}

.pc-brand { left: 45px; top: 15px; z-index: 8; width: 306px; height: 97px; }
.pc-tg { left: 1713px; top: 32px; z-index: 9; width: 174px; height: 64px; }
.pc-business { left: 1522px; top: 32px; z-index: 9; width: 174px; height: 64px; }
.pc-auxiliary { left: 1490px; top: 889px; z-index: 2; width: 411px; height: 137px; }
.pc-main { left: 24px; top: 135px; z-index: 3; width: 834px; height: 534px; object-fit: contain; }
.pc-lower { left: 106px; top: 660px; z-index: 4; width: 670px; height: 281px; object-fit: cover; }
.pc-tag-short { left: 873px; top: 522px; z-index: 5; width: 173px; height: 59px; }
.pc-tag-remix { left: 1454px; top: 759px; z-index: 5; width: 173px; height: 59px; }
.pc-tag-manga { left: 1634px; top: 573px; z-index: 5; width: 173px; height: 59px; }
.pc-tag-face { left: 1266px; top: 120px; z-index: 5; width: 173px; height: 59px; }

.pc-business img,
.pc-tg img,
.mobile-business img,
.mobile-tg img { width: 100%; height: 100%; object-fit: fill; }

.pc-qr-slot {
    position: absolute;
    left: 158px;
    top: 694px;
    z-index: 10;
    width: 182px;
    height: 183px;
    overflow: hidden;
    background: #fff;
}

.pc-qr-slot #qr,
.pc-qr-slot canvas,
.pc-qr-slot img { width: 100% !important; height: 100% !important; }

.mobile-scene { display: none; }

.loading {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
}

.loading.hide { display: none; }

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 6px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffc81f;
    border-radius: 50%;
    animation: huangguo-spin 800ms linear infinite;
}

@keyframes huangguo-spin { to { transform: rotate(360deg); } }

.android-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    flex-direction: column;
    color: #111;
    background: #fff;
}

.android-modal.is-open { display: flex; }

.android-modal .header {
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    align-items: center;
    min-height: 54px;
    padding: 8px 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.android-modal-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    overflow: hidden;
    border: 0;
    border-radius: 50%;
    background: #f0f0f0;
    cursor: pointer;
}

.android-modal-arrow::before { content: "<"; color: #111; font-size: 26px; line-height: 1; }
.android-modal-arrow img { display: none; }
.android-modal .title { text-align: center; }
.android-modal .title img { display: inline-block; max-width: 70%; max-height: 24px; }
.android-modal .content { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.platform-item img,
.modal-common-img,
.modal-common-img-2 { display: block; width: 100%; height: auto; }

@media (max-width: 768px) {
    body.aidj-landing-page { overflow-x: hidden; overflow-y: auto; background: #160302; }

    .aidj-landing-shell {
        width: 100%;
        height: var(--mobile-stage-height);
        min-height: var(--app-height, 100dvh);
        overflow: hidden;
        background: #160302;
    }

    .pc-scene { display: none; }

    .mobile-scene {
        position: relative;
        display: block;
        width: 100%;
        height: var(--mobile-stage-height);
        min-height: var(--app-height, 100dvh);
        overflow: hidden;
        background: #160302;
    }

    .mobile-stage {
        position: absolute;
        left: 0;
        top: 0;
        width: 750px;
        height: 1624px;
        overflow: hidden;
        background: #160302;
        transform: scale(var(--mobile-scale));
        transform-origin: top left;
    }

    .mobile-background { left: -2px; top: 0; z-index: 0; width: 754px; height: 1624px; }
    .mobile-auxiliary { left: -2px; top: 1452px; z-index: 1; width: 411px; height: 137px; }
    .mobile-brand { left: 28px; top: 27px; z-index: 8; width: 306px; height: 97px; }
    .mobile-business { left: 365px; top: 42px; z-index: 9; width: 174px; height: 64px; }
    .mobile-tg { left: 556px; top: 42px; z-index: 9; width: 174px; height: 64px; }
    .mobile-main { left: 0; top: 833px; z-index: 3; width: 750px; height: 480px; object-fit: contain; }
    .mobile-tag-manga { left: 201px; top: 177px; z-index: 5; width: 173px; height: 59px; }
    .mobile-tag-face { left: 16px; top: 504px; z-index: 5; width: 173px; height: 59px; }
    .mobile-tag-remix { left: 565px; top: 670px; z-index: 5; width: 173px; height: 59px; }
    .mobile-tag-short { left: 65px; top: 729px; z-index: 5; width: 173px; height: 59px; }

    .mobile-download {
        z-index: 7;
        display: block;
        width: 237px;
        height: 86px;
        overflow: hidden;
        pointer-events: auto;
    }

    .mobile-download img { width: 100%; height: 100%; object-fit: fill; }
    .mobile-download:active { filter: brightness(1.08); transform: scale(0.985); }

    .mobile-download-dock {
        position: fixed;
        left: 0;
        bottom: calc(16px + var(--safe-area-bottom));
        z-index: 90;
        display: block;
        width: 750px;
        height: 86px;
        pointer-events: none;
        transform: scale(var(--mobile-scale));
        transform-origin: bottom left;
    }

    .mobile-download-ios { left: 14px; top: 0; }
    .mobile-download-android { left: 256px; top: 0; width: 238px; }
    .mobile-download-backup { left: 499px; top: 0; width: 237px; }

}

@media (min-width: 769px) {
    .mobile-scene { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    .loading-spinner { animation: none; }
}
