.PzBox {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 3px 0;
}

/* 主容器1200px 居中 */
.containerBox {
    width: 1200px;
    display: flex;
    position: relative;
}

/* 左侧区域 240px */
.left-section {
    width: 240px;
    position: relative;
    flex-shrink: 0;
}

/* 时间线条 */
.timeline {
    position: absolute;
    left: 25px;
    top: 0;
    width: 4px;
    height: 511px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #50F5CC 15.87%, #2D79C9 87.5%, rgba(255, 255, 255, 0) 100%);
    border-radius: 0px 0px 0px 0px;
    z-index: 1;
}

/* 列表项容器*/
.item-list {
    position: relative;
    z-index: 2;
}

/* 单个item */
.item {
    width: 240px;
    height: 92px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 34px;  /* 从 29px 改为 34px，向右移动 5px */
}

.item:hover {
    opacity: 0.8;
}

/* 未激活的 item 在时间线上的白点 - 精确对齐 item-title */
.item:not(.active) {
    position: relative;
}

.item:not(.active)::before {
    content: '';
    position: absolute;
    left: 23px;  /* 与 timeline 对齐 */
    top: 50%;  /* item 的垂直中心，也是 item-title 的中心 */
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #FFFFFF;
    border-radius: 50%;
    z-index: 3;
    pointer-events: none;
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.5);  /* 可选：添加轻微光晕 */
}



/* item标题 - 未激活状态*/
.item-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #FFFFFF;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-bottom: 1px;
    /* 防止文字超出背景 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: calc(240px - 34px - 10px);  /* 更新：item宽度 - padding-left(34px) - 右边距 */
    display: block;
}

/* item类型 - 未激活状态*/
.item-type {
    font-weight: normal;
    font-size: 16px;
    color: #FFFFFF;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

/* 激活状态*/
.item.active {
    background-image: url('../image/leftbar_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* item标题 - 激活状态*/
.item.active .item-title {
    font-size: 22px;
    /* 激活状态也需要防止溢出 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: calc(240px - 34px - 10px);  /* 更新：与未激活状态保持一致 */
    display: block;
}

/* 右侧区域 960px */
.right-section {
    width: 960px;
    position: relative;
    flex-shrink: 0;
}

/* 内容面板 */
.content-panel {
    display: none;
    width: 100%;
    min-height: 650px;
    position: relative;
}

.content-panel.active {
    display: block;
}

/* 标题和气泡组合容器*/
.titles-bubble-wrapper {
    position: absolute;
    left: 0px;
    top: 40px;
    width: 960px;
    height: 230px;
}

/* 标题容器 */
.titles-wrapper {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 535px;
    height: 230px;
}

/* Christmas 标题 - 3D叠层效果 */
.title-christmas {
    position: absolute;
    left: 62px;
    top: 0px;
    font-family: 'Montserrat Bold', sans-serif;
    font-weight: 700;
    font-size: 58px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    background: linear-gradient(135deg, #FF3636 0%, #FF6B6B 50%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.3);
    text-stroke: 1.5px rgba(255, 255, 255, 0.3);
    /* 3D叠层效果 - 多层阴影创建立体感 */
    filter: 
        drop-shadow(1px 1px 0px rgba(0, 0, 0, 0.8))
        drop-shadow(2px 2px 0px rgba(0, 0, 0, 0.7))
        drop-shadow(3px 3px 0px rgba(0, 0, 0, 0.6))
        drop-shadow(4px 4px 0px rgba(0, 0, 0, 0.5))
        drop-shadow(5px 5px 0px rgba(0, 0, 0, 0.4))
        drop-shadow(6px 6px 0px rgba(0, 0, 0, 0.3))
        drop-shadow(7px 7px 0px rgba(0, 0, 0, 0.2))
        drop-shadow(8px 8px 0px rgba(0, 0, 0, 0.1))
        drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3))
        drop-shadow(0 4px 8px rgba(255, 54, 54, 0.2));
    margin: 0;
    z-index: 30;
    letter-spacing: 1px;
    line-height: 1.2;
}

/* Lucky Draw 标题 - 3D叠层效果 */
.title-lucky-draw {
    position: absolute;
    left: 17px;
    top: 67px;
    font-family: 'Montserrat Bold', sans-serif;
    font-weight: 700;
    font-size: 36px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    background: linear-gradient(135deg, #53FECD 0%, #2C74C9 50%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.3);
    text-stroke: 1.5px rgba(255, 255, 255, 0.3);
    /* 3D叠层效果 - 多层阴影创建立体感 */
    filter: 
        drop-shadow(1px 1px 0px rgba(0, 0, 0, 0.8))
        drop-shadow(2px 2px 0px rgba(0, 0, 0, 0.7))
        drop-shadow(3px 3px 0px rgba(0, 0, 0, 0.6))
        drop-shadow(4px 4px 0px rgba(0, 0, 0, 0.5))
        drop-shadow(5px 5px 0px rgba(0, 0, 0, 0.4))
        drop-shadow(6px 6px 0px rgba(0, 0, 0, 0.3))
        drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3))
        drop-shadow(0 4px 8px rgba(83, 254, 205, 0.2));
    margin: 0;
    z-index: 30;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* 日期容器 */
.date-wrapper {
    position: absolute;
    left: 225px;
    top: 182px;
    width: 230px;
    height: 59px;
    z-index: 30;
}

/* Date 标签 */
.date-label {
    position: absolute;
    left: 0px;
    top: 0px;
    text-shadow: -1px -1px #000000, 1px 1px #8f8f8f;
    font-weight: bold;  /* 从 normal 改为 bold */
    font-size: 32px;
    color: #FFFFFF;
    text-align: left;
    font-style: italic;
    text-transform: none;
}

/* 日期*/
.date-value {
    position: absolute;
    left: 2px;
    top: 39px;
    text-shadow: -1px -1px #000000,1px 1px #8f8f8f;
    font-weight: bold;  /* 从 normal 改为 bold */
    font-size: 20px;
    color: #FFFFFF;
    text-align: left;
    font-style: italic;
    text-transform: none;
}

/* 按钮容器 */
.buttons-wrapper {
    position: absolute;
    left: 0px;
    top: 482px;
    width: 438px;
    height: 112px;
    z-index: 20;
}

/* 按钮通用样式 */
.btn-winning-list,
.btn-rules {
    position: absolute;
    top: 0px;
    width: 219px;
    height: 112px;
    background-image: url('../image/btn_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #FFFFFF;
    text-align: center;
    font-style: italic;
    text-transform: none;
    font-family: 'Montserrat Bold';
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.btn-winning-list:hover,
.btn-rules:hover {
    opacity: 0.8;
}

/* Winning List 按钮 */
.btn-winning-list {
    left: 0px;
}

/* Lucky Draw Rules 按钮 */
.btn-rules {
    left: 219px;
}

/* 转盘容器 - 使用相对定位作为父容器*/
.turntable-container {
    position: relative;
    margin-left: 329px;
    margin-top: 42px;
    width: 754px;
    height: 653px;
}

/* 转盘底部背景 */
.turntable-bg-item {
    position: absolute;
    left: 0px;
    top: 301px;
    width: 754px;
    height: 352px;
    background-image: url('../image/turntable_bg_item.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* 转盘大背*/
.turntable-base {
    position: absolute;
    left: 13px;
    top: 146px;
    width: 623px;
    height: 469px;
    background-image: url('../image/turntable_base_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2;
}

/* 转盘和指针的组合容器 */
.wheel-pointer-wrapper {
    position: absolute;
    left: 105px;
    top: 164px;
    width: 435px;
    height: 440px;
}

/* 转盘 */
.turntable-wheel {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 435px;
    height: 440px;
    background-image: url('../image/turntable_middle_rotate.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2;
    transform: rotate(0deg);
    transform-origin: center center;
    transition: transform 4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* 指针和GO文字的容器*/
.pointer-wrapper {
    position: absolute;
    left: 164px;
    top: 131px;
    width: 109px;
    height: 150px;

}

/* 转盘中心旋转按钮 */
.turntable-pointer {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 109px;
    height: 150px;
    background-image: url('../image/turntable_center_pointer.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 5;
    transition: transform 0.3s ease;
}

.turntable-pointer:hover {
    transform: scale(1.05);
}

/* GO文字 */
.pointer-text {
    position: absolute;
    top: 65px;
    left: 24px;
    font-weight: 600;
    font-size: 36px;
    color: #FFFFFF;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.43);
    text-align: center;
    font-style: normal;
    text-transform: none;
    z-index: 6;
    pointer-events: none;
}

/* 转盘装饰 */
.turntable-decoration {
    position: absolute;
    left: 152px;
    top: 0px;
    width: 365px;
    height: 284px;
    background-image: url('../image/turntable_title_text_christmas.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 4;
}

/* 装饰气泡 */
.bubble-decoration {
    position: absolute;
    left: 385px;
    top: -13px;
    width: 82px;
    height: 82px;
    background-image: url('../image/bubble_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 6;
}

/* 气泡文字 */
.bubble-text {
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    background: linear-gradient(90deg, #D6CD6D 0%, #FFF9CF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin: 2px 0;
}

/* 奖品板块通用样式 */
.prize-item {
    position: absolute;
    width: 131px;
    height: 130px;
    background-image: url('../image/turntable_option_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 8px 5px;
}

/* 奖品名称 */
.prize-name {
    font-weight: bold;  /* 从 500 改为 bold */
    font-size: 17px;
    line-height: 20px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    background: linear-gradient(90deg, #D6CD6D 0%, #FFF9CF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-wrap: break-word;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 奖品图片包装*/
.prize-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 奖品图片 */
.prize-image {
    width: 75px;
    height: 75px;
    object-fit: contain;
}

/* 奖品数量 */
.prize-quantity {
    position: absolute;
    bottom: 6px;
    font-weight: 600;
    background-clip: text; 
    left: 42px;  /* 从 40px 改为 52px */
    text-shadow: -1px -1px #000000, 1px 1px #d98a8a;
    font-size: 15px;
    color: #FFEA00;
    text-align: left;
    font-style: normal;
    text-transform: none;
    z-index: 100;  /* 添加 z-index，确保在最上层显示 */
}

/* 奖品板块1 - 正上方（0度） */
.prize-item-1 {
    left: 152px;
    top: 38px;
    transform: rotate(0deg);
    transform-origin: center center;
}

/* 奖品板块2 - 右上5度） */
.prize-item-2 {
    left: 235px;
    top: 72px;
    transform: rotate(45deg);
    transform-origin: center center;
}

/* 奖品板块3 - 正右0度） */
.prize-item-3 {
    left: 269px;
    top: 155px;
    transform: rotate(90deg);
    transform-origin: center center;
}

/* 奖品板块4 - 右下35度） */
.prize-item-4 {
    left: 235px;
    top: 238px;
    transform: rotate(135deg);
    transform-origin: center center;
}

/* 奖品板块5 - 正下80度） */
.prize-item-5 {
    left: 152px;
    top: 272px;
    transform: rotate(180deg);
    transform-origin: center center;
}

/* 奖品板块6 - 左下25度） */
.prize-item-6 {
    left: 69px;
    top: 238px;
    transform: rotate(225deg);
    transform-origin: center center;
}

/* 奖品板块7 - 正左70度） */
.prize-item-7 {
    left: 35px;
    top: 155px;
    transform: rotate(270deg);
    transform-origin: center center;
}

/* 奖品板块8 - 左上15度） */
.prize-item-8 {
    left: 69px;
    top: 72px;
    transform: rotate(315deg);
    transform-origin: center center;
}

/* 描述区域容器 */
.description-wrapper {
    position: absolute;
    left: 0px;
    top: 655px;
    width: 960px;
    height: 183px;
    z-index: 10;
    overflow: hidden;
}

/* 底部雪花装饰 */
.bottom-snow {
    position: absolute;
    left: -10px;
    top: 0px;
    width: 960px;
    height: 110px;
    background-image: url('../image/bottom_snow.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 10;
}

/* 描述矩形边框 - 使用蓝湖设计稿颜色 */
.description-box {
    position: relative;
    border-radius: 17px;
    border: none;
    background: transparent;
    padding: 5px;
    box-sizing: border-box;
}

/* 使用伪元素创建渐变边框 - 蓝湖颜色 */
.description-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 17px;
    padding: 5px;
    background: linear-gradient(180deg, #DB5B46, #AA1400);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}
/* 边框内侧红色蒙版 - 四周均匀深色，向内20px逐渐消失 */
.description-box::after {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 12px;
    background: transparent;
    /* 使用多层 inset box-shadow 实现四周均匀深色 */
    box-shadow: 
        inset 0 0 20px 0 rgba(170, 20, 0, 0.7),
        inset 0 0 15px 5px rgba(170, 20, 0, 0.5),
        inset 0 0 10px 10px rgba(170, 20, 0, 0.3),
        inset 0 0 5px 15px rgba(170, 20, 0, 0.1);
    pointer-events: none;
    z-index: -2;
}

/* 描述框左侧装饰图*/
.desc-icon-left {
    position: absolute;
    left: 2px;
    top: 16px;
    width: 120px;
    height: 120px;
    background-image: url('../image/left_icon_bell.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 描述框右侧装饰图*/
.desc-icon-right {
    position: absolute;
    right: 2px;
    top: 16px;
    width: 120px;
    height: 120px;
    background-image: url('../image/right_icon_bell.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 描述框中间文*/
.desc-text {
    position: relative;
    padding: 57px 27px;
    font-weight: normal;
    font-size: 16px;
    color: #FFFFFF;
    text-align: center;
    font-style: normal;
    text-transform: none;
}

/* ===== 第一个面板（Christmas Lucky Draw）特定样===== */
/* 第一个面板使用圣诞背景图 - 使用伪元素突破父容器限制 */
.content-panel[data-panel="0"]::before {
    content: '';
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url('../image/page_bg.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
    z-index: -1;
    pointer-events: none;
}

/* ===== 第二个面板（Regular Events）特定样===== */
/* 第二个面板使用不同的背景*/
.content-panel[data-panel="1"] {
    background-image: url('../image/Frame_367.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

/* 第二个面板的转盘容器 */
.content-panel[data-panel="1"] .turntable-container {
    position: absolute;
    left: 107px;
    top: 70px;
    margin-left: 0px;
    margin-top: 0px;
    width: 809px;
    height: 487px;
}

/* 第二个面板的转盘和指针组合容器*/
.content-panel[data-panel="1"] .wheel-pointer-wrapper {
    left: 152px;
    top: 0px;
    width: 435px;
    height: 440px;
}

/* 第二个面板的转盘位置和大*/
.content-panel[data-panel="1"] .turntable-wheel {
    left: 0px;
    top: 0px;
}

/* 第二个面板的转盘底部背景 */
.content-panel[data-panel="1"] .turntable-bg-item {
    left: 0px;
    top: 42px;
    width: 809px;
    height: 487px;
    background-image: url('../image/turntable_bg_item_regular.png');
}

/* 第二个面板的按钮容器 */
.content-panel[data-panel="1"] .buttons-wrapper {
    position: absolute;
    left: 230px;
    top: 458px;
    width: 500px;
    height: 128px;
    z-index: 20;
}

/* 第二个面板的按钮样式 */
.content-panel[data-panel="1"] .btn-winning-list,
.content-panel[data-panel="1"] .btn-rules {
    top: 0px;
    width: 250px;
    height: 128px;
}

/* 第二个面板的按钮居中对齐 */
.content-panel[data-panel="1"] .btn-winning-list {
    left: 0px;
}

.content-panel[data-panel="1"] .btn-rules {
    left: 250px;
}

/* 第二个面板的装饰图标 */
.content-panel[data-panel="1"] .desc-icon-left {
    background-image: url('../image/fireworks_left.png');
}

.content-panel[data-panel="1"] .desc-icon-right {
    background-image: url('../image/fireworks_right.png');
}

/* 第二个面板的GO按钮位置 */
.content-panel[data-panel="1"] .turntable-pointer {
    left: 0px;
    top: 0px;
}

/* 第二个面板的GO文字位置 */
.content-panel[data-panel="1"] .pointer-text {
    top: 65px;
}

/* 第二个面板的标题、气泡和刷新文本组合容器 */
.content-panel[data-panel="1"] .title-bubble-refresh-wrapper {
    position: absolute;
    left: 0px;
    top: 546px;
    width: 960px;
    height: 115px;
    z-index: 20;
}

/* 第二个面板的Lucky Draw-POE2标题位置 */
.content-panel[data-panel="1"] .title-lucky-draw {
    position: absolute;
    display: block;
    left: 180px;
    top: 24px;
    font-size: 42px;
}

/* 第二个面板的气泡装饰位置 */
.content-panel[data-panel="1"] .bubble-decoration {
    position: absolute;
    display: flex;
    left: 710px;
    top: 0px;
}

/* 第二个面板的Refresh文本样式 */
.content-panel[data-panel="1"] .refresh-text {
    position: absolute;
    top: 95px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: normal;
    font-size: 40px;
    color: #FFFFFF;
    text-align: center;
    font-style: italic;
    text-transform: none;
}

/* 第二个面板隐藏不需要的元素 */
.content-panel[data-panel="1"] .turntable-base,
.content-panel[data-panel="1"] .turntable-decoration,
.content-panel[data-panel="1"] .title-christmas,
.content-panel[data-panel="1"] .date-label,
.content-panel[data-panel="1"] .date-value,
.content-panel[data-panel="1"] .bottom-snow {
    display: none;
}

/* ===== 移动端内容区域（PC端隐藏） ===== */
.mobile-winning-list,
.mobile-rules {
    display: none;
}

/* ===== 移动端样===== */
@media screen and (max-width: 1190px) {
    html {
        overflow-x: hidden;
        overflow-y: auto;  /* 允许滚动 */
        height: auto;  /* 改为自动高度 */
        min-height: 100vh;
    }

    body {
        padding: 0;
        align-items: flex-start;
        justify-content: center;
        overflow-x: hidden;
        overflow-y: auto;
        min-width: 0;
        height: auto;
        min-height: 100vh;
        position: relative;
        width: 100%;

    }

    /* 移除 .main 的黑色背景，让背景图显示 */
    .main {
        background: transparent !important;
        background-color: transparent !important;
    }

    /* 确保容器背景透明 */
    .containerBox {
        background: transparent !important;
    }

    /* 移动端第一个面板背景全屏固定 */
    .content-panel[data-panel="0"]::before {
        content: '' !important;
        position: fixed !important;
        left: 0 !important;
        top: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background-image: url('../image/page_bg.jpg') !important;
        background-repeat: no-repeat !important;
        background-size: cover !important;
        background-position: center center !important;
        background-attachment: fixed !important;
        z-index: -10 !important;  /* 确保在最底层 */
        pointer-events: none !important;
    }

    /* 移动端第二个面板背景全屏固定 */
    .content-panel[data-panel="1"]::before {
        content: '' !important;
        position: fixed !important;
        left: 0 !important;
        top: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background-image: url('../image/Frame_367.png') !important;
        background-repeat: no-repeat !important;
        background-size: cover !important;
        background-position: center center !important;
        background-attachment: fixed !important;
        z-index: -10 !important;  /* 确保在最底层 */
        pointer-events: none !important;
    }

    /* 主容器改为竖向布局 */
    .containerBox {
        width: 100vw;
        max-width: 1190px;
        flex-direction: column;
        position: relative;
        overflow-y: visible;  /* 改为可见，让内容自然流动 */
        height: auto;  /* 改为自动高度 */
        min-height: 100vh;  /* 最小高度为视口高度 */
        -webkit-overflow-scrolling: touch;
    }
    
    /* 移除滚动条隐藏（因为不再需要） */
    .containerBox::-webkit-scrollbar {
        display: none !important;
    }
    .containerBox {
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }

    /* 左侧导航改为顶部横向布局 */
    .left-section {
        width: 100%;
        margin: 0 0 0px 0;
        order: -1;
        overflow: hidden;
        /* 添加底部边框，区分 tab 和内容区域 */
        border-bottom: 2px solid rgba(255, 255, 255, 0.3) !important;
        padding-bottom: 10px !important;
    }

    /* 隐藏时间*/
    .timeline {
        display: none;
    }

    /* 移动端隐藏未激活 item 的白点 */
    .item:not(.active)::before {
        display: none !important;
    }

    /* item列表改为横向布局，允许滚动但隐藏滚动条 */
    .item-list {
        display: flex !important;
        overflow-x: auto !important;  /* 改为 auto，允许滚动 */
        overflow-y: hidden !important;
        gap: 4px !important;
        padding: 6px 8px !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        -webkit-overflow-scrolling: touch;
        /* 隐藏滚动条但保持滚动功能 */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    
    /* 隐藏 Chrome、Safari、Opera 的滚动条 */
    .item-list::-webkit-scrollbar {
        display: none !important;
    }

      /* 单个item改为横向卡片 - 允许文字完整显示 */
      .item {
        width: auto !important;
        min-width: 65px !important;
        max-width: none !important;  /* 移除最大宽度限制 */
        flex-shrink: 0 !important;   /* 改为不收缩，让内容决定宽度 */
        flex-grow: 0 !important;
        border-radius: 5px !important;
        height: 32px !important;
        padding: 0 8px !important;   /* 增加左右padding，让文字有空间 */
        background-color: rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
    }
    
    .item .item-type {
        display: none !important;
    }

    .item.active {
        background-image: none !important;
        background: -webkit-linear-gradient(left top, #53FECD, #2C74C9) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
    }

    /* item标题 - 完整显示文字 */
    .item-title {
        font-size: 11px !important;
        margin-bottom: 0 !important;
        white-space: nowrap !important;  /* 保持不换行 */
        overflow: visible !important;     /* 改为可见，不隐藏 */
        text-overflow: clip !important;   /* 改为clip，不显示省略号 */
        max-width: none !important;       /* 移除最大宽度限制 */
        line-height: 1.2 !important;
        font-weight: 500 !important;
    }

    .item.active .item-title {
        font-size: 12px !important;
        font-weight: 600 !important;
    }

    /* item类型 */
    .item-type {
        font-size: 10px !important;
    }

    /* 右侧内容区域 */
    .right-section {
        width: 100%;
        padding: 0 0 5px;
        /* 移除左右padding，保留底部padding，避免子元素超出 */
    }

    /* 内容面板 */
    .content-panel {
        display: none;
        width: 100%;
        min-height: auto;
        flex-direction: column;
        position: relative;
    }

    .content-panel.active {
        display: flex;
    }

    /* ===== 第一个面板移动端布局 ===== */
    /* 布局顺序: 1.转盘 2.按钮 3.标题+气泡 4.日期 5.描述 */
    /* 只调整一级容器位置，不修改容器内部元*/

    /* 1. 转盘区域 - 第一个显*/
    .content-panel[data-panel="0"] .turntable-container {
        position: relative;
        left: 50%;
        transform: scale(0.68) translateX(calc(-50% + 55px));
        margin-left: 0;
        margin-top: 0;
        margin-bottom: 0;
        width: 754px;
        height: 653px;
        transform-origin: top left;
    }

    /* 2. 按钮区域 - 第二个显*/
    .content-panel[data-panel="0"] .buttons-wrapper {
        position: relative;
        left: auto;
        top: auto;
        margin-left: auto;
        margin-right: auto;
        margin-top: -230px;
        margin-bottom: 0;
        width: 438px;
        max-width: 100%;
        height: 112px;
        transform: scale(0.8);
        transform-origin: top center;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* 按钮在移动端调整为相对定*/
    .content-panel[data-panel="0"] .btn-winning-list,
    .content-panel[data-panel="0"] .btn-rules {
        position: relative;
        left: auto !important;
        top: auto !important;
    }

    /* 3. 标题和气泡区- 第三个显*/
    .content-panel[data-panel="0"] .titles-bubble-wrapper {
        position: relative;
        left: 50%;
        top: auto;
        transform: scale(0.58) translateX(-50%);
        margin-top: -225px;
        margin-bottom: 0;
        width: 467px;
        height: 230px;
        transform-origin: top left;
    }

    /* 4. 日期区域 - 第四个显*/
    .content-panel[data-panel="0"] .date-wrapper {
        position: relative;
        left: auto;
        top: auto;
        margin-left: auto;
        margin-right: auto;
        margin-top: -130px;
        margin-bottom: 0;
        width: 230px;
        height: 59px;
        transform: scale(0.9);
        transform-origin: top center;
    }

    /* 移动端日期标签 */
    .content-panel[data-panel="0"] .date-label {
        font-size: calc(32px * 0.9);
    }

    /* 移动端日期值 */
    .content-panel[data-panel="0"] .date-value {
        font-size: calc(20px * 0.9);
    }

    /* 5. 描述区域 - 第五个显*/
    .content-panel[data-panel="0"] .description-wrapper {
        position: relative;
        left: auto;
        top: auto;
        margin: 30px 0 20px 0;
        /* 增加上边距，让装饰元素有空间显示 */
        width: 100%;
        height: auto;
        transform: none;
        transform-origin: top center;
        overflow: visible;
        /* 改为visible，让装饰元素能够显示出来 */
    }

    /* 底部雪花在手机端隐藏 */
    .content-panel[data-panel="0"] .bottom-snow {
        display: none;
        /* 手机端隐藏，避免位置变动 */
    }

    /* 描述框适配宽度 */
    .content-panel[data-panel="0"] .description-box {
        position: relative;
        left: auto;
        top: auto;
        margin-left: auto;
        margin-right: auto;
        width: calc(100% - 30px);
        /* 响应式宽度，左右各留15px */
        height: auto;
        min-height: 100px;
        padding: 15px 10px 20px;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        overflow-x: hidden;
        overflow-y: visible;
    }

    /* 描述文字适配宽度 */
    .content-panel[data-panel="0"] .desc-text {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: calc(100% - 40px);
        /* 响应式宽度，左右留白 */
        max-width: 700px;
        /* 最大不超过700px */
        padding: 10px 0;
        font-size: 14px;
    }

    /* 左右图标适配小屏*/
    .content-panel[data-panel="0"] .desc-icon-left,
    .content-panel[data-panel="0"] .desc-icon-right {
        position: absolute;
        width: 53px;
        height: 53px;
        top: -22px;
        /* 铃铛显示在更上方 */
    }

    .content-panel[data-panel="0"] .desc-icon-left {
        left: 5px;
        /* 调整为正值，防止超出容器左边*/
    }

    .content-panel[data-panel="0"] .desc-icon-right {
        right: 5px;
        /* 调整为正值，防止超出容器右边*/
    }

    /* 移动端按*/
    .content-panel[data-panel="0"] .buttons-wrapper {
        display: none;
    }

    /* 移动端显Winning List */
    .content-panel[data-panel="0"] .mobile-winning-list {
        display: block;
        width: 100%;
        margin: 20px 0;
        padding: 10px 15px;
        overflow: hidden;
    }

    /* 移动Winning List 标题 */
    .content-panel[data-panel="0"] .mobile-winning-list .winning-list-title {
        font-size: 28px;
        text-align: center;
        margin-bottom: 15px;
    }

    /* 移动Winning List 表格包装*/
    .content-panel[data-panel="0"] .mobile-winning-list .winning-table-wrapper {
        width: 100%;
        max-width: 100%;
        max-height: 400px;
        overflow-y: auto;
        overflow-x: auto;
    }

    /* 移动Winning List 表格 */
    .content-panel[data-panel="0"] .mobile-winning-list .winning-table {
        width: 100%;
        font-size: 12px;
    }

    /* 移动端隐Time */
    .content-panel[data-panel="0"] .mobile-winning-list .winning-table th:last-child,
    .content-panel[data-panel="0"] .mobile-winning-list .winning-table td:last-child {
        display: none;
    }

    /* 移动端表头单元格 */
    .content-panel[data-panel="0"] .mobile-winning-list .winning-table th {
        height: 50px;
        padding: 10px 8px;
        font-size: 12px;
    }

    /* 移动端表体单元格 */
    .content-panel[data-panel="0"] .mobile-winning-list .winning-table td {
        padding: 8px;
        font-size: 11px;
        vertical-align: middle;
    }

    /* 移动端奖品单元格 */
    .content-panel[data-panel="0"] .mobile-winning-list .prize-cell {
        gap: 5px;
    }

    /* 移动端奖品图*/
    .content-panel[data-panel="0"] .mobile-winning-list .prize-cell img {
        width: 30px;
        height: 30px;
    }

    /* 移动端奖品数*/
    .content-panel[data-panel="0"] .mobile-winning-list .prize-cell .prize-quantity {
        font-size: 14px;
    }

    /* 移动端奖品名*/
    .content-panel[data-panel="0"] .mobile-winning-list .prize-cell .prize-name-text {
        font-size: 11px;
    }

    /* 移动端邮箱单元格 */
    .content-panel[data-panel="0"] .mobile-winning-list .email-cell {
        font-size: 10px;
    }

    /* 移动端显Rules */
    .content-panel[data-panel="0"] .mobile-rules {
        display: block;
        width: 100%;
        margin: 20px 0;
        padding: 10px 15px;
        overflow: hidden;
    }

    /* 移动Rules 标题 */
    .content-panel[data-panel="0"] .mobile-rules .rules-title {
        font-size: 28px;
        text-align: center;
        margin-bottom: 15px;
    }

    /* 移动Rules 列表 */
    .content-panel[data-panel="0"] .mobile-rules .rules-list {
        width: 100%;
        max-width: 100%;
        padding: 15px 20px;
    }

    /* 移动Rules 列表*/
    .content-panel[data-panel="0"] .mobile-rules .rule-item {
        font-size: 12px;
        margin-bottom: 15px;
        line-height: 1.4;
    }

    /* ===== 第二个面板移动端布局 ===== */
    /* 布局顺序: 1.转盘 2.按钮 3.标题+气泡+刷新 4.日期 5.描述 */
    /* 只调整一级容器位置，不修改容器内部元*/

    /* 1. 转盘区域 - 第一个显*/
    .content-panel[data-panel="1"] .turntable-container {
        position: relative;
        left: 50%;
        top: auto;
        transform: scale(0.70) translateX(calc(-50% + 35px));
        margin-left: 0;
        margin-top: 0;
        margin-bottom: 0;
        width: 809px;
        height: 487px;
        transform-origin: top left;
    }

    /* 2. 按钮区域 - 第二个显*/
    .content-panel[data-panel="1"] .buttons-wrapper {
        position: relative;
        left: auto;
        top: auto;
        margin-left: auto;
        margin-right: auto;
        margin-top: -185px;
        margin-bottom: 0;
        width: 500px;
        max-width: 100%;
        height: 128px;
        transform: scale(0.7);
        transform-origin: top center;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* 按钮在移动端调整为相对定*/
    .content-panel[data-panel="1"] .btn-winning-list,
    .content-panel[data-panel="1"] .btn-rules {
        position: relative;
        left: auto !important;
        top: auto !important;
    }

    /* 3. 标题、气泡和刷新区域 - 第三个显*/
    .content-panel[data-panel="1"] .title-bubble-refresh-wrapper {
        position: relative;
        left: 50%;
        top: auto;
        transform: scale(0.58) translateX(-50%);
        margin-top: -150px;
        margin-bottom: 0;
        width: 960px;
        height: 115px;
        transform-origin: top left;
    }

    /* Panel 1 的日期在移动端也隐藏 */
    .content-panel[data-panel="1"] .date-wrapper {
        display: none;
    }

    /* 移动端刷新文本适配 */
    .content-panel[data-panel="1"] .refresh-text {
        font-size: calc(40px * 0.58);
    }

    /* 4. 描述区域 - 第四个显*/
    .content-panel[data-panel="1"] .description-wrapper {
        position: relative;
        left: auto;
        top: auto;
        margin: 0 0 20px 0;
        width: 100%;
        height: auto;
        transform: none;
        transform-origin: top center;
        overflow: hidden;
    }

    /* 描述框适配宽度 */
    .content-panel[data-panel="1"] .description-box {
        position: relative;
        left: auto;
        top: auto;
        margin-left: auto;
        margin-right: auto;
        width: calc(100% - 30px);
        /* 响应式宽度，左右各留15px */
        height: auto;
        min-height: 100px;
        padding: 15px 10px 20px;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        overflow-x: hidden;
        overflow-y: visible;
    }

    /* 描述文字适配宽度 */
    .content-panel[data-panel="1"] .desc-text {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: calc(100% - 40px);
        /* 响应式宽度，左右留白 */
        max-width: 700px;
        /* 最大不超过700px */
        padding: 10px 0;
        font-size: 14px;
    }

    /* 左右图标适配小屏*/
    .content-panel[data-panel="1"] .desc-icon-left,
    .content-panel[data-panel="1"] .desc-icon-right {
        position: absolute;
        width: 53px;
        height: 53px;
        top: -25px;
    }

    .content-panel[data-panel="1"] .desc-icon-left {
        left: 5px;
    }

    .content-panel[data-panel="1"] .desc-icon-right {
        right: 5px;
    }

    /* 移动端第二个面板按*/
    .content-panel[data-panel="1"] .buttons-wrapper {
        display: none;
    }

    /* 移动端显示第二个面板Winning List */
    .content-panel[data-panel="1"] .mobile-winning-list {
        display: block;
        width: 100%;
        margin: 20px 0;
        padding: 10px 15px;
        overflow: hidden;
    }

    /* 移动端第二个面板 Winning List 标题 */
    .content-panel[data-panel="1"] .mobile-winning-list .winning-list-title {
        font-size: 28px;
        text-align: center;
        margin-bottom: 15px;
    }

    /* 移动端第二个面板 Winning List 表格包装*/
    .content-panel[data-panel="1"] .mobile-winning-list .winning-table-wrapper {
        width: 100%;
        max-width: 100%;
        max-height: 400px;
        overflow-y: auto;
        overflow-x: auto;
    }

    /* 移动端第二个面板 Winning List 表格 */
    .content-panel[data-panel="1"] .mobile-winning-list .winning-table {
        width: 100%;
        font-size: 12px;
    }

    /* 移动端第二个面板隐藏 Time */
    .content-panel[data-panel="1"] .mobile-winning-list .winning-table th:last-child,
    .content-panel[data-panel="1"] .mobile-winning-list .winning-table td:last-child {
        display: none;
    }

    /* 移动端第二个面板表头单元*/
    .content-panel[data-panel="1"] .mobile-winning-list .winning-table th {
        height: 50px;
        padding: 10px 8px;
        font-size: 12px;
    }

    /* 移动端第二个面板表体单元*/
    .content-panel[data-panel="1"] .mobile-winning-list .winning-table td {
        padding: 8px;
        font-size: 11px;
        vertical-align: middle;
    }

    /* 移动端第二个面板奖品单元*/
    .content-panel[data-panel="1"] .mobile-winning-list .prize-cell {
        gap: 5px;
    }

    /* 移动端第二个面板奖品图片 */
    .content-panel[data-panel="1"] .mobile-winning-list .prize-cell img {
        width: 30px;
        height: 30px;
    }

    /* 移动端第二个面板奖品数量 */
    .content-panel[data-panel="1"] .mobile-winning-list .prize-cell .prize-quantity {
        font-size: 14px;
    }

    /* 移动端第二个面板奖品名称 */
    .content-panel[data-panel="1"] .mobile-winning-list .prize-cell .prize-name-text {
        font-size: 11px;
    }

    /* 移动端第二个面板邮箱单元*/
    .content-panel[data-panel="1"] .mobile-winning-list .email-cell {
        font-size: 10px;
    }

    /* 移动端显示第二个面板Rules */
    .content-panel[data-panel="1"] .mobile-rules {
        display: block;
        width: 100%;
        margin: 20px 0;
        padding: 10px 15px;
        overflow: hidden;
    }

    /* 移动端第二个面板 Rules 标题 */
    .content-panel[data-panel="1"] .mobile-rules .rules-title {
        font-size: 28px;
        text-align: center;
        margin-bottom: 15px;
    }

    /* 移动端第二个面板 Rules 列表 */
    .content-panel[data-panel="1"] .mobile-rules .rules-list {
        width: 100%;
        max-width: 100%;
        padding: 15px 20px;
    }

    /* 移动端第二个面板 Rules 列表*/
    .content-panel[data-panel="1"] .mobile-rules .rule-item {
        font-size: 12px;
        margin-bottom: 15px;
        line-height: 1.4;
    }

    /* ===== 移动端抽奖弹窗样===== */
    /* 移动端弹窗内容容器*/
    .prize-popup .popup-content {
        width: 90vw;
        max-width: 350px;
        height: auto;
        padding: 20px 15px;
    }

    /* 移动端弹窗标*/
    .prize-popup .popup-title {
        font-size: 28px;
        margin: 30px 0 15px 0;
        -webkit-text-stroke: 2px #8D0000;
        font-weight: bold;  /* 添加加粗 */
    }

    #prizePopup2 .popup-title {
        font-size: 32px;
        margin: 20px 0 15px 0;
        font-weight: bold;  /* 添加加粗 */
    }

    /* 移动端奖品图*/
    .prize-popup .popup-prize-image {
        width: 70px;
        height: 70px;
    }

    /* 移动端奖品数*/
    .prize-popup .popup-prize-quantity {
        font-size: 14px;
    }

    /* 移动端奖品名*/
    .prize-popup .popup-prize-name {
        font-size: 16px;
        line-height: 20px;
        max-width: 250px;
    }

    /* 移动端确认按*/
    .prize-popup .popup-button {
        width: 200px;
        height: 100px;
        font-size: 16px;
    }

    /* 移动端第一个panel获奖弹窗顶部圣诞装饰 */
    .prize-popup-top-decoration {
        width: 280px !important;
        height: 81px !important;
        top: -40px !important;
    }

    /* ===== 第二个panel的移动端弹窗 ===== */
    /* 移动端第二个panel弹窗标题 */
    #prizePopup2 .popup-title {
        font-size: 32px;
        margin: 20px 0 15px 0;
    }

    /* 移动端第二个panel获奖弹窗顶部装饰 */
    .prize-popup-top-decoration-regular {
        position: absolute;
        top: -75px !important;
        left: 50%;
        transform: translateX(-50%);
        width: 280px !important;
        height: 81px;
        background-image: url('../image/prize_popup_top_bg_regular.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        pointer-events: none;
        z-index: 0;
    }

    /* 移动端第二个panel弹窗左下角烟花装*/
    #prizePopup2 .popup-content::after {
        bottom: 10px;
        left: -20px;
        width: 128px !important;
        height: 128px !important;
    }

    /* ===== 移动端中奖列表弹窗适配 ===== */
    .winning-list-content {
        width: 92vw;
        max-width: 92vw;
        max-height: 80vh;
        padding: 30px 15px 20px;
        overflow-y: auto;
    }

    /* 移动端中奖列表标题 */
    .winning-list-title {
        font-size: 24px;
        margin-bottom: 15px;
        text-align: center;
    }

    /* 移动端弹窗顶部装饰 */
    .popup-top-decoration {
        width: 92vw;
        max-width: 400px;
        height: 100px;
        top: -50px;
        background-size: contain;
    }

    /* 移动端表格包装 */
    .winning-table-wrapper {
        width: 100%;
        max-height: 50vh;
        overflow-y: auto;
    }

    /* 移动端表格 */
    .winning-table {
        width: 100%;
        font-size: 12px;
        min-width: 300px;
    }

    /* 移动端表头单元格 */
    .winning-table th {
        padding: 10px 8px;
        font-size: 12px;
        height: 50px;
    }

    /* 移动端表体单元格 */
    .winning-table td {
        padding: 8px;
        font-size: 11px;
        height: auto;
    }

    /* 移动端隐藏时间列 */
    .winning-table th:last-child,
    .winning-table td:last-child {
        display: none;
    }

    /* 移动端奖品单元格 */
    .prize-cell {
        gap: 5px;
    }

    /* 移动端奖品图片 */
    .prize-cell img {
        width: 30px;
        height: 30px;
    }

    /* 移动端奖品数量 */
    .prize-cell .prize-quantity {
        font-size: 12px;
    }

    /* 移动端奖品名称 */
    .prize-cell .prize-name-text {
        font-size: 11px;
        line-height: 1.2;
    }

    /* 移动端邮箱单元格 */
    .email-cell {
        font-size: 10px;
        word-break: break-all;
    }

    /* ===== 移动端规则弹窗适配 ===== */
    .rules-content {
        width: 92vw;
        max-width: 92vw;
        max-height: 80vh;
        padding: 30px 15px 20px;
        overflow-y: auto;
    }

    /* 移动端规则标题 */
    .rules-title {
        font-size: 24px;
        margin-bottom: 15px;
        text-align: center;
    }

    /* 移动端规则列表 */
    .rules-list {
        width: 100%;
        padding: 15px 12px;
        max-width: 100%;
    }

    /* 移动端规则项 */
    .rule-item {
        font-size: 12px;
        margin-bottom: 12px;
        line-height: 1.4;
    }
}

/* ===== 抽奖结果弹窗 ===== */
/* 弹窗容器 - 默认隐藏 */
.prize-popup {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

/* 显示弹窗 */
.prize-popup.show {
    display: flex;
}

/* 遮罩*/
.popup-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

/* 弹窗内容 */
.popup-content {
    position: relative;
    width: 501px;
    height: 483px;
    background-image: url('../image/popup_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 30px;
}

/* 弹窗标题 */
.popup-title {
    font-family: 'Montserrat Bold', sans-serif;  /* 添加字体 */
    font-weight: bold;
    font-size: 48px;
    color: #FFFFFF;
    text-align: center;
    font-style: normal;
    text-transform: none;
    -webkit-text-stroke: 2px #8D0000;
    margin: 65px 0 3px 0;
}

/* 获奖弹窗顶部圣诞装饰 */
.prize-popup-top-decoration {
    position: absolute;
    top: -78px;
    left: 50%;
    transform: translateX(-50%);
    width: 543px;
    height: 158px;
    background-image: url('../image/prize_popup_top_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
}

/* 奖品信息容器 */
.popup-prize-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    position: relative;
    z-index: 2;
    /* 确保在背景上*/
}

/* 奖品图片和数量的包装*/
.popup-prize-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

/* 奖品图片 */
.popup-prize-image {
    width: 101px;
    height: 101px;
    object-fit: contain;
}

/* 奖品数量 */
.popup-prize-quantity {
    position: absolute;
    bottom: 5px;
    font-weight: 600;
    font-size: 18px;
    color: #FFEA00;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

/* 奖品名称 */
.popup-prize-name {
    font-weight: bold;  /* 从 500 改为 bold */
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    margin-bottom: 5px;
    font-style: normal;
    text-transform: none;
    background: linear-gradient(90deg, #D6CD6D 0%, #FFF9CF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: 300px;
    word-wrap: break-word;
}

/* 确认按钮 */
.popup-button {
    width: 291px;
    height: 148px;
    background-image: url('../image/btn_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 20px;
    color: #FFFFFF;
    text-align: center;
    font-style: italic;
    text-transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 2;
    /* 确保在背景上*/
}

.popup-button:hover {
    opacity: 0.8;
}

/* ===== 中奖列表弹窗 ===== */
/* 弹窗容器 - 默认隐藏 */
.winning-list-popup {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

/* 显示弹窗 */
.winning-list-popup.show {
    display: flex;
}

/* 中奖列表内容容器 */
.winning-list-content {
    position: relative;
    width: 1050px;
    max-height: 90vh;
    border-radius: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
}

/* 中奖列表标题 */
.winning-list-title {
    font-weight: 400;
    font-size: 48px;
    color: #FFFFFF;
    text-align: left;
    font-style: normal;
    text-transform: none;
    text-shadow: 2px 2px 0px #DA2E17,
        4px 4px 0px #DA2E17;
    margin: 0 0 3px 0;
    position: relative;
    z-index: 20;
}

/* 弹窗顶部圣诞装饰 */
.popup-top-decoration {
    position: absolute;
    top: -76px;
    left: 50%;
    transform: translateX(-50%);
    width: 1053px;
    height: 237px;
    background-image: url('../image/popup_top_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 10;
}

/* 表格包装器 - 添加圆角与内容一致 */
.winning-table-wrapper {
    width: 100%;
    max-width: 982px;
    background-color: rgba(0, 0, 0, 0.9);
    overflow-y: auto;
    max-height: 600px;
    border-radius: 12px;  /* 添加圆角，与表格表头圆角一致 */
    overflow: hidden;  /* 确保圆角生效，隐藏溢出内容 */
}

/* 表格样式 */
.winning-table {
    width: 982px;
    border-collapse: collapse;
    border-spacing: 0;
}

/* 表头*/
.winning-table thead tr {
    background: linear-gradient(180deg, #EC6561 0%, #B70A0B 100%);
    border-radius: 12px 12px 0px 0px;
}

/* 表头单元*/
.winning-table th {
    height: 78px;
    padding: 20px;
    font-weight: bold;
    font-size: 16px;
    color: #FFFFFF;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

/* 第一个表头单元格圆角 */
.winning-table thead tr th:first-child {
    border-radius: 12px 0 0 0;
}

/* 最后一个表头单元格圆角 */
.winning-table thead tr th:last-child {
    border-radius: 0 12px 0 0;
}

/* 表体*/
.winning-table tbody tr {
    height: 78px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0px;
}

/* 表体单元*/
.winning-table td {
    height: 78px;
    padding: 15px 20px;
    
    font-weight: bold;
    font-size: 16px;
    color: #FFFFFF;
    text-align: left;
    font-style: normal;
    text-transform: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: middle;
}

/* 奖品单元*/
.prize-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 奖品图片 */
.prize-cell img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    flex-shrink: 0;
}

/* 奖品数量 */
.prize-cell .prize-quantity {
    position: relative;
    font-weight: bold;
    font-size: 20px;
    color: #C22420;
    text-align: left;
    font-style: normal;
    text-transform: none;
    flex-shrink: 0;
    left: auto;
    bottom:auto;
}

/* 奖品名称文字 */
.prize-cell .prize-name-text {
    
    font-weight: bold;
    font-size: 16px;
    color: #FFFFFF;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

/* 邮箱单元*/
.email-cell {
    
    font-weight: bold;
    font-size: 16px;
    color: #FFFFFF;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

/* 时间单元*/
.time-cell {
    
    font-weight: bold;
    font-size: 16px;
    color: #FFFFFF;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

/* ===== Lucky Draw Rules 弹窗 ===== */
/* 弹窗容器 - 默认隐藏 */
.rules-popup {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

/* 显示弹窗 */
.rules-popup.show {
    display: flex;
}

/* 规则内容容器 */
.rules-content {
    position: relative;
    width: 1070px;
    max-height: 90vh;
    border-radius: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    overflow-y: auto;
}

/* 规则标题 */
.rules-title {
    font-family: 'Montserrat Bold';
    font-weight: 400;
    font-size: 48px;
    color: #FFFFFF;
    text-align: left;
    font-style: normal;
    text-transform: none;
    text-shadow: 2px 2px 0px #DA2E17,
        4px 4px 0px #DA2E17;
    margin: 0 0 0px 0;
    position: relative;
    z-index: 20;
}

/* 规则列表 */
.rules-list {
    width: 100%;
    max-width: 982px;
    padding: 20px 40px;
    margin: 0;
    background-color: rgba(0, 0, 0, 0.9);
    border-radius: 12px;
    list-style-position: inside;
}

/* 规则*/
.rule-item {
    
    font-weight: 500;
    font-size: 16px;
    color: #FFFFFF;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-bottom: 28px;
    line-height: 1.5;
}

/* 最后一个规则项不需要底部间*/
.rule-item:last-child {
    margin-bottom: 0;
}

/* ===== 第二panel 的抽奖结果弹===== */
/* 第二panel 的抽奖结果弹窗使用不同的背景 */
#prizePopup2 .popup-content {
    background-image: none !important;
    /* 移除直接背景 */
    position: relative;
    isolation: isolate;
    /* 创建新的层叠上下*/
}

/* 使用伪元素创建背景层 */
#prizePopup2 .popup-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../image/popup_bg_regular.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    /* 背景层在装饰元素上面 */
}

/* 使用伪元素添加左下角烟花装饰 */
#prizePopup2 .popup-content::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: -30px;
    /* 往左移出弹窗边*/
    width: 154px;
    height: 154px;
    background-image: url('../image/fireworks_left.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2;
    /* 在背景层上面 */
    pointer-events: none;
}

/* 第二panel 的弹窗标题样*/
#prizePopup2 .popup-title {
    font-family: 'Montserrat Bold', sans-serif;  /* 从 'Oswald' 改为 'Montserrat Bold' */
    font-weight: bold;
    font-size: 62px;
    color: #FFFFFF;
    text-align: center;
    font-style: normal;
    text-transform: none;
    -webkit-text-stroke: 2px #8D0000;
    margin: 0px 0 3px 0;
    position: relative;
}

/* 第二panel 的获奖弹窗顶部装*/
.prize-popup-top-decoration-regular {
    position: absolute;
    top: -78px;
    left: 57%;
    transform: translateX(-50%);
    width: 543px;
    height: 158px;
    background-image: url('../image/prize_popup_top_bg_regular.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
    /* 显示在弹窗背景（z-index: 1）下*/
}

@media screen and (min-width: 600px) and (max-width: 1190px) 
{

    .content-panel[data-panel="0"] .turntable-container{

        transform: scale(0.88) translateX(calc(-50% + 55px));
    }


    .content-panel[data-panel="0"] .titles-bubble-wrapper{

        margin-top: -97px;
    }

    .mobile-winning-list{
        margin-top: 0px;
    }
    .content-panel[data-panel="0"] .turntable-container {
        transform: scale(0.88) translateX(calc(-50% + 55px));
    }

    .content-panel[data-panel="0"] .titles-bubble-wrapper {
        margin-top: -97px;
    }

    .mobile-winning-list {
        margin-top: 0px;
    }

    /* 放大 item 切换元素 */
    .item-list {
        gap: 6px !important;  /* 从 4px 增加到 6px */
        padding: 8px 12px !important;  /* 从 6px 8px 增加到 8px 12px */
    }

    .item {
        height: 40px !important;  /* 从 32px 增加到 40px */
        padding: 0 12px !important;  /* 从 0 8px 增加到 0 12px */
        border-radius: 6px !important;  /* 从 5px 增加到 6px */
        min-width: 75px !important;  /* 从 65px 增加到 75px */
    }



    .item-title {
        font-size: 13px !important;  /* 从 11px 增加到 13px */
    }

    .item.active .item-title {
        font-size: 14px !important;  /* 从 12px 增加到 14px */
    }

}

