body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100vw;
    box-sizing: border-box;
}
.main-flex-layout {
    display: flex;
    height: 100vh;
    width: 100vw;
    background: url('https://www.img520.com/Q82HvE.png') no-repeat center center fixed;
    background-size: cover;
}
.prize-left-panel {
    width: 300px;
    min-width: 220px;
    max-width: 340px;
    height: 100vh;
    background: rgba(30,32,60,0.95);
    border-radius: 0 22px 22px 0;
    box-shadow: 0 4px 32px rgba(0,0,0,0.18);
    padding: 32px 18px 32px 18px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
}
.main-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    margin-left: -180px;
    /* 让主内容整体右移，避免与左侧重叠 */
}
body {
    background: url('https://www.img520.com/Q82HvE.png') no-repeat center center fixed;
    background-size: cover;
    font-family: '华文行楷', 'STXingkai', 'KaiTi', '楷体', serif;
}
.title {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-20%);
    width: max-content;
    z-index: 10;
    font-family: '华文行楷', 'STXingkai', 'KaiTi', '楷体', serif;
    font-size: 45px;
    color: #FFFF00;
    text-shadow: 2px 2px 8px #000, 0 0 10px #FFD700;
    margin: 0;
    padding: 0;
    text-align: center;
    pointer-events: none;
}

.container {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translate(-50%, 0);
    text-align: center;
    width: 90vw;
    max-width: 800px;
}
.name-display {
    font-size: 60px;
    color: #fff;
    margin: 70px auto 30px auto;
    transition: color 0.2s;
    background: rgba(30,30,30,0.75); /* 深色半透明背景 */
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    padding: 10px 36px;
    width: 100%;
    max-width: 400px;
    min-height: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #FFD700; /* 金色边框增强对比 */
}
.name-display.paused {
    color: #FF3030;
}
.button-group {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
}
.button-group button {
    background: #FDE85E;
    color: #333;
    border: none;
    border-radius: 8px;
    font-size: 22px;
    padding: 12px 32px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: background 0.2s, transform 0.1s;
}
.button-group button:hover {
    background: #fff7c2;
    transform: translateY(-2px);
}
.result-list {
    margin-top: 30px;
    color: #fff;
    font-size: 28px;
    min-height: 40px;
    word-break: break-all;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* 已抽中名单的单个名字背景框 */
.result-item {
    background: rgba(30,30,30,0.7);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    border: 2px solid #FFD700;
    color: #fff;
    font-size: 26px;
    padding: 10px 32px;
    margin: 0;
    min-width: 180px;
    text-align: center;
    letter-spacing: 2px;
}
.result-item.red {
    color: #FF3030;
    font-weight: bold;
}
/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
}
.modal.show {
    display: flex;
}
.modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 30px 24px 20px 24px;
    min-width: 320px;
    max-width: 90vw;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    text-align: center;
}
.modal-content h2 {
    font-size: 28px;
    margin-bottom: 18px;
    color: #333;
}
#nameTextarea {
    width: 100%;
    font-size: 18px;
    min-height: 300px;
    margin-bottom: 18px;
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 10px;
    resize: vertical;
}
.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.modal-buttons button {
    background: #FDE85E;
    color: #333;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    padding: 8px 24px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: background 0.2s, transform 0.1s;
}
.modal-buttons button:hover {
    background: #fff7c2;
    transform: translateY(-2px);
}

.prize-rounds-bar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    align-items: stretch;
}
.prize-round-btn {
    background: linear-gradient(90deg,#e0c3fc,#8ec5fc);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 22px;
    font-weight: bold;
    padding: 16px 0 10px 60px;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    outline: none;
    position: relative;
    min-height: 54px;
}
.prize-round-btn.active, .prize-round-btn:hover {
    background: linear-gradient(90deg,#a18cd1,#fbc2eb);
    color: #fff;
    box-shadow: 0 4px 16px #fbc2eb44;
}
.prize-round-btn .prize-btn-img {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 8px;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.prize-round-btn .prize-btn-title {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 2px;
}
.prize-round-btn .prize-btn-count {
    font-size: 15px;
    color: #f7e7ff;
    margin-left: 8px;
}

.prize-image-area {
    position: static;
    background: #23243a;
    box-shadow: 0 2px 16px rgba(0,0,0,0.10);
    padding: 24px 0 18px 0;
    min-width: 0;
    min-height: 180px;
    max-width: 100%;
    margin: 0 auto 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 18px;
    border-radius: 18px;
}
.prize-image-area img {
    max-height: 180px;
    max-width: 260px;
    margin: 0 0 8px 0;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    background: #fff;
    object-fit: contain;
}
.prize-desc {
    margin-top: 0;
    text-align: center;
    color: #fff;
    font-size: 22px;
    line-height: 1.7;
    font-family: '微软雅黑', 'Arial', sans-serif;
    padding-left: 0;
    font-weight: bold;
}
.prize-desc .prize-level {
    font-weight: bold;
    color: #ffe066;
    font-size: 18px;
}
.prize-desc .prize-name {
    font-weight: bold;
    color: #fff;
    font-size: 16px;
}
.prize-desc .prize-count {
    color: #ffe066;
    font-size: 15px;
    margin-left: 8px;
} 