/* random-call.css - 优化版（边框白色，模态框高度增加，悬停完整可见） */
/* 3D球形点名系统样式 - 高清无遮盖，自适应屏幕，修复设置面板，优化获胜者模态框 */

.random-call-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #1b2735 0%, #090a0f 100%);
    perspective: 2000px;
}

.random-call-modal.active {
    display: flex;
    flex-direction: column;
}

.random-call-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 20px;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
    pointer-events: none;
}

.random-call-title {
    font-size: 2rem;
    font-weight: 600;
    text-shadow: 0 0 10px #00f2ff, 0 0 20px #00f2ff;
    letter-spacing: 2px;
    color: #00f2ff;
    display: inline-block;
}

/* 3D舞台 - 添加安全边距 */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 2000px;
    z-index: 1;
    cursor: grab;
    transform-style: preserve-3d;
    padding: 20px;
    box-sizing: border-box;
}

#canvas-container:active {
    cursor: grabbing;
}

.tag-cloud {
    position: relative;
    width: 0;
    height: 0;
    transform-style: preserve-3d;
    will-change: transform;
}

/* 标签样式 - 高清无遮盖，清晰显示，白色边框 */
.tag {
    position: absolute;
    top: 0;
    left: 0;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 110px;
    will-change: transform, opacity;
    transform-origin: center center;
    backface-visibility: hidden;
    pointer-events: none;
    transition: opacity 0.1s;
    image-rendering: crisp-edges;
}

.tag img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 16px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
    pointer-events: none;
    image-rendering: auto;
}

.tag span {
    font-size: 16px;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
    margin-top: 10px;
    white-space: nowrap;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 700;
    letter-spacing: 0.5px;
    pointer-events: none;
    background: none;
}

/* 移动端优化 - 球形稍小，卡片清晰 */
@media (max-width: 768px) {
    .random-call-title {
        font-size: 1.5rem;
    }

    #canvas-container {
        padding: 50px 30px;
    }

    .tag {
        width: 92px;
        padding: 8px;
        border-width: 1.8px;
        border-radius: 16px;
    }
    .tag img {
        width: 68px;
        height: 68px;
        border-radius: 14px;
    }
    .tag span {
        font-size: 14px;
        max-width: 80px;
        margin-top: 8px;
    }
}

@media (max-width: 375px) {
    #canvas-container {
        padding: 60px 20px;
    }
    .tag {
        width: 84px;
        padding: 6px;
    }
    .tag img {
        width: 62px;
        height: 62px;
    }
    .tag span {
        font-size: 13px;
    }
}

.random-call-controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 20;
    align-items: center;
    pointer-events: auto;
}

.random-call-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #00f2ff;
    color: #00f2ff;
    padding: 12px 35px;
    font-size: 1.2rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 12px rgba(0, 242, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 1px;
}

.random-call-btn:hover {
    background: #00f2ff;
    color: #000;
    box-shadow: 0 0 25px #00f2ff;
    transform: scale(1.05);
}

.random-call-btn.stop {
    border-color: #bd00ff;
    color: #bd00ff;
    box-shadow: 0 0 12px rgba(189, 0, 255, 0.25);
    animation: pulse-stop 1s infinite;
}

@keyframes pulse-stop {
    0%, 100% { box-shadow: 0 0 12px rgba(189, 0, 255, 0.25); }
    50% { box-shadow: 0 0 20px rgba(189, 0, 255, 0.5); }
}

.random-call-btn.stop:hover {
    background: #bd00ff;
    color: #fff;
    box-shadow: 0 0 25px #bd00ff;
    animation: none;
}

/* 设置悬浮按钮 - PC端右下角 */
.settings-trigger {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.85);
    border: 2px solid #00f2ff;
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10002;
    transition: all 0.3s;
    box-shadow: 0 0 12px rgba(0, 242, 255, 0.25);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

/* 移动端设置按钮 - 更贴右下角 */
@media (max-width: 768px) {
    .settings-trigger {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

.settings-trigger:hover {
    transform: rotate(90deg) scale(1.1);
    background: rgba(0, 242, 255, 0.2);
}

.settings-trigger:active {
    transform: rotate(90deg) scale(0.95);
}

.settings-panel {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    height: 100%;
    background: rgba(10, 15, 30, 0.98);
    backdrop-filter: blur(20px);
    z-index: 10003;
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 25px;
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    border-left: 2px solid #00f2ff;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #00f2ff rgba(255,255,255,0.2);
    box-shadow: -5px 0 30px rgba(0,0,0,0.5);
}

.settings-panel.active {
    right: 0;
}

@media (max-width: 768px) {
    .settings-panel {
        width: 85%;
        right: -100%;
        padding: 20px;
    }
}

/* 设置面板关闭按钮 - 增大点击区域 */
.settings-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent;
    padding: 0;
    margin: 0;
}

.settings-close-btn:hover {
    background: rgba(255, 0, 0, 0.3);
    border-color: #ff4444;
    transform: rotate(90deg);
}

.settings-close-btn:active {
    transform: rotate(90deg) scale(0.9);
}

/* 抽中记录滚动条美化 */
.settings-panel::-webkit-scrollbar {
    width: 5px;
}
.settings-panel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
.settings-panel::-webkit-scrollbar-thumb {
    background: #00f2ff;
    border-radius: 4px;
}
.settings-panel::-webkit-scrollbar-thumb:hover {
    background: #00c8ff;
}

.settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 2px solid rgba(0, 242, 255, 0.3);
    padding-bottom: 15px;
}

.settings-header h3 {
    color: #00f2ff;
    font-size: 1.3rem;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.5);
}

.settings-header-right {
    display: flex;
    gap: 10px;
}

.panel-section {
    background: rgba(255, 255, 255, 0.03);
    padding: 18px;
    border-radius: 12px;
    border: 1px solid rgba(0, 242, 255, 0.2);
    transition: border-color 0.3s;
}

.panel-section:hover {
    border-color: rgba(0, 242, 255, 0.4);
}

.panel-title {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 12px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.call-mode-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.call-mode-btn {
    flex: 1;
    padding: 10px;
    border: 1px solid #444;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 13px;
    font-weight: 500;
}

.call-mode-btn:hover {
    border-color: #00f2ff;
    background: rgba(0, 242, 255, 0.1);
}

.call-mode-btn.active {
    border-color: #00f2ff;
    background: rgba(0, 242, 255, 0.25);
    color: #00f2ff;
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}

.pick-count-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.pick-count-input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid #444;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s;
    max-width: 100px;
}

.pick-count-input:focus {
    outline: none;
    border-color: #00f2ff;
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}

.pick-count-unit {
    color: #aaa;
    font-size: 14px;
}

.pick-count-presets {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pick-count-preset {
    padding: 8px 16px;
    border: 1px solid #444;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 600;
}

.pick-count-preset:hover {
    border-color: #00f2ff;
    background: rgba(0, 242, 255, 0.15);
}

.score-input-wrapper {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: opacity 0.3s;
}

.score-label {
    display: block;
    color: #aaa;
    font-size: 13px;
    margin-bottom: 8px;
}

.score-input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #444;
    background: rgba(0, 0, 0, 0.5);
    color: #ffd700;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s;
    max-width: 120px;
}

.score-input:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.slider-control {
    margin-bottom: 12px;
}

.slider-control input[type="range"] {
    width: 100%;
    accent-color: #00f2ff;
    margin: 8px 0;
    height: 5px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.slider-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: #00f2ff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(0, 242, 255, 0.5);
}

.slider-value {
    display: inline-block;
    color: #00f2ff;
    font-weight: bold;
    margin-left: 8px;
    font-size: 13px;
    text-shadow: 0 0 5px rgba(0, 242, 255, 0.5);
}

.switch-control {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.switch-control span {
    color: #fff;
    font-size: 13px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #555;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

input:checked + .slider {
    background-color: #00f2ff;
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.4);
}

input:checked + .slider:before {
    transform: translateX(22px);
}

/* 抽中记录区域 - 精美滚动条 */
.call-records-container {
    max-height: 200px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 10px;
}

.call-records-container::-webkit-scrollbar {
    width: 4px;
}
.call-records-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
.call-records-container::-webkit-scrollbar-thumb {
    background: #00f2ff;
    border-radius: 4px;
}
.call-records-container::-webkit-scrollbar-thumb:hover {
    background: #00c8ff;
}

.no-records {
    color: #666;
    text-align: center;
    padding: 20px;
    font-size: 13px;
}

.call-record-item {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
}

.call-record-item:last-child {
    border-bottom: none;
}

.record-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.record-time {
    color: #888;
    font-family: monospace;
}

.record-mode {
    font-size: 14px;
}

.record-winners {
    color: #fff;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.record-points {
    color: #ffd700;
    font-weight: 700;
}

.records-actions {
    margin-top: 12px;
    display: flex;
    justify-content: center;
}

.record-btn {
    padding: 8px 16px;
    border: 1px solid #ef4444;
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 13px;
}

.record-btn:hover {
    background: rgba(239, 68, 68, 0.4);
}

/* 获胜者弹窗 - 高度大幅增加，确保悬停效果不被遮挡 */
.winner-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 200;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    backdrop-filter: blur(10px);
    padding: 20px;
    box-sizing: border-box;
    overflow: visible; /* 确保内容不被裁剪 */
}

.winner-modal-overlay.active {
    display: flex;
}

.winner-card {
    background: linear-gradient(135deg, rgba(26, 42, 108, 0.98), rgba(178, 31, 31, 0.98));
    padding: 50px 40px 60px; /* 大幅增加上下内边距 */
    border-radius: 32px;
    border: 3px solid #ffd700;
    text-align: center;
    box-shadow: 0 0 80px rgba(255, 215, 0, 0.4);
    transform: scale(0.1);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: auto;
    max-width: 90vw;
    position: relative;
    overflow: visible; /* 关键：允许子元素超出显示 */
    min-height: 650px; /* PC端大幅增加最小高度，为悬停上移留出空间 */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .winner-card {
        padding: 30px 20px 45px;
        max-width: 95vw;
        border-radius: 28px;
        min-height: 550px; /* 移动端增加高度 */
    }
}

@media (max-width: 480px) {
    .winner-card {
        min-height: 500px;
        padding: 25px 15px 40px;
    }
}

.winner-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,215,0,0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
    pointer-events: none;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.winner-modal-overlay.active .winner-card {
    transform: scale(1);
}

.winner-title {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    letter-spacing: 2px;
    flex-shrink: 0;
}

/* 轮播容器 - 居中显示，支持滚动，增加上下边距 */
.winners-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 30px 0 20px; /* 增加上下边距 */
    position: relative;
    z-index: 1;
    justify-content: center;
    flex: 1;
    min-height: 0;
    overflow: visible; /* 允许内部元素超出 */
}

.carousel-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #ffd700;
    background: rgba(0, 0, 0, 0.5);
    color: #ffd700;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
    z-index: 10;
}

.carousel-arrow:hover {
    background: #ffd700;
    color: #000;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }
    .winners-carousel-wrapper {
        gap: 12px;
        margin: 20px 0 15px;
    }
}

.winners-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 30px;
    overflow-x: auto;
    overflow-y: visible; /* 允许垂直方向超出，确保悬停上移不被裁剪 */
    scroll-behavior: smooth;
    padding: 20px 5px 30px; /* 增加底部内边距，为悬停上移留出更多空间 */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
    max-width: 100%;
}

.winners-container:has(.winner-item-card:first-child:last-child) {
    justify-content: center;
}
.winners-container:not(:has(.winner-item-card:first-child:last-child)) {
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .winners-container {
        gap: 15px;
        padding: 15px 5px 25px;
    }
}

.winners-container::-webkit-scrollbar {
    display: none;
}

/* 获胜者卡片 - 悬停效果完整显示，不被裁剪 */
.winner-item-card {
    background: rgba(0, 0, 0, 0.6);
    border: 3px solid rgba(255, 215, 0, 0.9);
    border-radius: 28px;
    padding: 24px;
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 200px;
    transition: all 0.3s ease;
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    overflow: visible; /* 确保悬停时内容不被裁剪 */
}

.winner-item-card:hover {
    transform: translateY(-12px) scale(1.05);
    border-color: #ffd700;
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.5);
    z-index: 20;
}

.winner-item-card img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border-radius: 24px;
    filter: drop-shadow(0 8px 20px rgba(255,215,0,0.5));
    transition: transform 0.3s;
}

.winner-item-card:hover img {
    transform: scale(1.08);
}

.winner-item-card .winner-name {
    font-size: 24px;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 8px black;
    margin-top: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.winner-item-card .winner-score {
    font-size: 20px;
    font-weight: 800;
    color: #ffd700;
    margin-top: 12px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* 移动端获胜者卡片适配 */
@media (max-width: 768px) {
    .winner-item-card {
        min-width: 150px;
        padding: 16px;
        border-radius: 20px;
    }
    .winner-item-card img {
        width: 100px;
        height: 100px;
    }
    .winner-item-card .winner-name {
        font-size: 18px;
        max-width: 130px;
    }
    .winner-item-card .winner-score {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .winner-item-card {
        min-width: 130px;
        padding: 12px;
    }
    .winner-item-card img {
        width: 80px;
        height: 80px;
    }
    .winner-item-card .winner-name {
        font-size: 15px;
        max-width: 110px;
    }
    .winner-item-card .winner-score {
        font-size: 14px;
    }
}

.winner-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px; /* 增加上边距，避免与卡片悬停重叠 */
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.winner-btn {
    padding: 12px 30px;
    border-radius: 30px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 120px;
    font-weight: 700;
    letter-spacing: 1px;
}

.winner-btn.continue {
    background: linear-gradient(135deg, #00f2ff, #00c8ff);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.4);
}

.winner-btn.continue:hover {
    background: linear-gradient(135deg, #fff, #00f2ff);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.winner-btn.back {
    background: transparent;
    border: 2px solid #bd00ff;
    color: #bd00ff;
}

.winner-btn.back:hover {
    background: #bd00ff;
    color: #fff;
    box-shadow: 0 0 15px rgba(189, 0, 255, 0.4);
    transform: translateY(-2px);
}

.close-call-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent;
}

.close-call-btn:hover {
    background: rgba(255, 0, 0, 0.3);
    border-color: #ff4444;
    transform: rotate(90deg);
}

.close-call-btn:active {
    transform: rotate(90deg) scale(0.9);
}

.music-toggle {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s;
}

.music-toggle:hover {
    background: rgba(0, 242, 255, 0.2);
    border-color: #00f2ff;
    transform: scale(1.1);
}

.music-toggle.muted {
    color: #666;
    border-color: #555;
}

@media (max-width: 768px) {
    .close-call-btn, .music-toggle {
        width: 38px;
        height: 38px;
        font-size: 18px;
        top: 15px;
    }
    .close-call-btn { right: 15px; }
    .music-toggle { left: 15px; }
}

@media (prefers-reduced-motion: reduce) {
    .tag { transition: none; }
    .winner-card { transition: none; }
    .winner-card::before { animation: none; }
}