* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #1f0a18;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    user-select: none;
    -webkit-user-select: none;
}

/* bg 为 1920×1081 全幅设计图，挂真实窗口 cover 铺满，不进舞台 */
.desktop {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #1f0a18 url("../images/desktop/bg.js?v=1") no-repeat center center / cover;
}

/* 1920×1080 设计舞台，JS 按 min(宽比,高比) 缩放居中，任何窗口比例不破版 */
.content {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1920px;
    height: 1080px;
    transform: translate(-50%, -50%) scale(var(--pageScale, 1));
    transform-origin: center center;
}

/* ===== 左侧标题卡（logo/标题/进入专区均已烤入图内，仅视觉展示） ===== */
.titleCard {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 654px;
}

/* ===== 命运重逢 剧集时间线（整条切图） ===== */
.mingyun {
    position: absolute;
    left: 708px;
    top: 117px;
    width: 120px;
}

/* ===== 顶部三胶囊 CTA ===== */
.ctaBar {
    position: absolute;
    left: 1229px;
    top: 50px;
    display: flex;
    align-items: center;
}

/* flex gap 在 Chromium<84 / iOS<14.5 被忽略，间距用 margin */
.ctaBtn + .ctaBtn {
    margin-left: 8px;
}

.ctaBtn {
    height: 60px;
    cursor: pointer;
    transition: filter 0.2s ease;
}

.ctaBtn:hover {
    filter: brightness(1.25);
}

/* ===== 右侧留言卡组 ===== */
.liuyan {
    position: absolute;
    left: 1390px;
    top: 138px;
    width: 476px;
}

/* ===== 下载卡：卡体切图 + 白底二维码运行时生成盖住占位图 ===== */
.dlCard {
    position: absolute;
    left: 1390px;
    top: 502px;
    width: 476px;
}

#qrcode {
    position: absolute;
    left: 24px;
    top: 31px;
    width: 180px;
    height: 180px;
    padding: 16px;
    background: #ffffff;
    border-radius: 10px;
}

/* ===== 底部封面条 ===== */
.pic {
    position: absolute;
    left: 268px;
    top: 744px;
    width: 1652px;
}
