@import url("elder.css");

:root {
    --mobile-design-width: 750;
    --mobile-design-height: 1624;
    --mobile-page-bg: #fff;
    --mobile-desktop-bg: #f2f2f2;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background: var(--mobile-page-bg);
}

body {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

.mobile-stage {
    width: 100%;
    min-height: 100vh;
    background: #fff url("/static/center/figma-center-long-bg-6036-844.png") top center / 100% 100% no-repeat;
}

.mobile-design-frame {
    position: relative;
    width: 100%;
    max-width: calc(var(--mobile-design-width) * 1px);
    aspect-ratio: var(--mobile-design-width) / var(--mobile-design-height);
    min-height: 100vh;
    margin: 0 auto;
    overflow: hidden;
    background: transparent;
}

.mobile-design-bg {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
    user-select: none;
    pointer-events: none;
}

.mobile-hotspots {
    position: absolute;
    inset: 0;
    margin: 0;
}

.mobile-hotspot {
    position: absolute;
    display: block;
    padding: 0;
    border: 0;
    outline: 0;
    border-radius: 0;
    background: transparent;
    color: transparent;
    caret-color: #222;
    font: 16px/1.4 Jost, Inter, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    -webkit-tap-highlight-color: rgba(49, 123, 250, .18);
}

.mobile-hotspot:focus {
    outline: 2px solid rgba(49, 123, 250, .55);
    outline-offset: 2px;
}

@media (min-width: 751px) {
    .mobile-stage {
        background: var(--mobile-desktop-bg);
    }
}

@media (max-width: 430px) {
    .mobile-design-frame {
        min-height: auto;
        height: auto;
    }

    .mobile-hotspot {
        font-size: 16px;
    }
}
