* {
    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: #0a0603;
}

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

/* 黑金胶片背景挂真实窗口 cover 铺满，不进舞台 */
.desktop {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #0a0603 url("../images/desktop/bg.js") no-repeat center center / cover;
    font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #fff0ca;
}

/* 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;
}

.content > * {
    position: absolute;
}

.collage {
    left: 851px;
    top: 196px;
    width: 1069px;
}

.renwu {
    left: 1043px;
    top: 120px;
    width: 648px;
}

.logo {
    left: 96px;
    top: 40px;
    width: 260px;
}

/* ===== 右上三胶囊：靠右锚定，未配置的隐藏后其余向右收拢 ===== */
.pillBar {
    right: 96px;
    top: 50px;
    display: flex;
}

/* 深棕渐变底（设计稿 80% 透明按底色预混）+ 1.4px 金色渐变描边 + 粉色内阴影 */
.pill {
    display: flex;
    align-items: center;
    width: 204px;
    height: 60px;
    padding-left: 29px;
    border: 1.4px solid transparent;
    border-radius: 36px;
    background:
        linear-gradient(#35261b, #221a10 58.7%, #231910) padding-box,
        linear-gradient(#dfcd9f, #b98e53) border-box;
    box-shadow: inset 0 2px 4px rgba(237, 122, 133, 0.2);
    font-size: 25.5px;
    font-weight: 500;
    cursor: pointer;
    transition: filter 0.2s ease;
}

.pill:hover {
    filter: brightness(1.2);
}

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

.pill svg {
    width: 32px;
    height: 32px;
    margin-right: 6px;
}

.goldText {
    background: linear-gradient(#fdfdf0 16.6%, #fbdea2 86.1%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title {
    left: 96px;
    top: 215px;
    width: 715px;
}

/* 字距 12.8 时尾部多出一格，text-indent 补回居中 */
.slogan {
    left: 96px;
    top: 528px;
    width: 715px;
    text-align: center;
    text-indent: 12.8px;
    letter-spacing: 12.8px;
    font-size: 32px;
    line-height: 38px;
    font-weight: 500;
    white-space: nowrap;
}

.dlCard {
    left: 96px;
    top: 596px;
    width: 649px;
}

/* 二维码盖在卡内白框（实测 48,29 起 159×152）内侧 */
#qrcode {
    position: absolute;
    left: 54px;
    top: 32px;
    width: 146px;
    height: 146px;
}

.featureBar {
    left: 96px;
    top: 903px;
    width: 1728px;
    height: 84px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feature {
    display: flex;
    align-items: center;
    font-size: 30px;
    font-weight: 500;
    white-space: nowrap;
}

.feature img {
    width: 84px;
    height: 84px;
    margin-right: 16px;
}

.divider {
    width: 2px;
    height: 48px;
    background: linear-gradient(rgba(117, 91, 56, 0), #755b38, rgba(117, 91, 56, 0));
}
