:root {
    --csgo-bg-primary: #08080c;
    --csgo-bg-secondary: #0f0f18;
    --csgo-bg-card: #16161f;
    --csgo-gradient-primary: linear-gradient(135deg, #9333EA 0%, #6366F1 25%, #06B6D4 50%, #F59E0B 100%);
    --csgo-gradient-secondary: linear-gradient(90deg, #EC4899 0%, #8B5CF6 50%, #6366F1 100%);
    --csgo-gradient-text: linear-gradient(90deg, #9333EA 0%, #6366F1 25%, #06B6D4 50%, #F59E0B 100%);
    --csgo-gradient-border: linear-gradient(135deg, #9333EA, #6366F1, #06B6D4, #F59E0B);
    --csgo-gradient-glow: linear-gradient(135deg, rgba(147, 51, 234, 0.4), rgba(99, 102, 241, 0.4), rgba(6, 182, 212, 0.4), rgba(245, 158, 11, 0.4));
    --csgo-gold: #F59E0B;
    --csgo-gold-light: #FBBF24;
    --csgo-gold-dark: #D97706;
    --csgo-gold-glow: rgba(245, 158, 11, 0.6);
    --csgo-purple: #9333EA;
    --csgo-blue: #6366F1;
    --csgo-cyan: #06B6D4;
    --csgo-pink: #EC4899;
    --csgo-text-primary: #ffffff;
    --csgo-text-secondary: #a8a8c0;
    --csgo-text-muted: #58586e;
    --csgo-border: #252535;
    --csgo-glow: rgba(147, 51, 234, 0.5);
    --csgo-shadow: rgba(0, 0, 0, 0.9);
}

/* 2026-05 compact activity summary */
body[data-site-theme="csgo"] .csgo-quick-panel {
    position: relative;
    z-index: 1;
    width: calc(100% - 24px);
    max-width: 520px;
    margin: 10px auto 12px;
    padding: 12px;
    border: 1px solid rgba(139, 92, 246, 0.22);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(147, 51, 234, 0.18), rgba(6, 182, 212, 0.08) 48%, rgba(245, 158, 11, 0.12)),
        rgba(12, 12, 20, 0.82);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

body[data-site-theme="csgo"] .csgo-quick-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.3), rgba(6, 182, 212, 0.16), rgba(245, 158, 11, 0.18));
    opacity: 0.22;
    pointer-events: none;
}

body[data-site-theme="csgo"] .csgo-quick-panel .csgo-user-bar {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body[data-site-theme="csgo"] .csgo-quick-panel .csgo-user-info {
    min-width: 0;
}

body[data-site-theme="csgo"] .csgo-quick-panel .csgo-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    box-shadow: 0 0 18px rgba(139, 92, 246, 0.45);
}

body[data-site-theme="csgo"] .csgo-login-quick-btn,
body[data-site-theme="csgo"] .csgo-ghost-button {
    flex: 0 0 auto;
    width: auto;
    min-width: 82px;
    margin: 0;
    padding: 10px 18px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.2;
}

body[data-site-theme="csgo"] .csgo-ghost-button {
    border: 1px solid rgba(139, 92, 246, 0.26);
    background: rgba(255, 255, 255, 0.04);
    color: var(--csgo-text-secondary);
    cursor: pointer;
}

body[data-site-theme="csgo"] .csgo-quick-panel .csgo-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body[data-site-theme="csgo"] .csgo-quick-panel .csgo-stat-item {
    min-width: 0;
    padding: 10px 6px;
    border: 1px solid rgba(139, 92, 246, 0.16);
    border-radius: 14px;
    background: rgba(5, 5, 10, 0.42);
}

body[data-site-theme="csgo"] .csgo-quick-panel .csgo-stat-value {
    font-size: 24px;
}

body[data-site-theme="csgo"] .csgo-quick-panel .csgo-stat-label {
    margin-top: 5px;
    font-size: 11px;
    letter-spacing: 0;
}

body[data-site-theme="csgo"] .csgo-marquee {
    margin-top: 8px;
}

@media (max-width: 480px) {
    body[data-site-theme="csgo"] .csgo-quick-panel {
        width: calc(100% - 18px);
        margin-top: 8px;
        padding: 10px;
        border-radius: 16px;
    }

    body[data-site-theme="csgo"] .csgo-quick-panel .csgo-user-name {
        font-size: 15px;
    }

    body[data-site-theme="csgo"] .csgo-login-quick-btn,
    body[data-site-theme="csgo"] .csgo-ghost-button {
        min-width: 76px;
        padding: 9px 14px;
    }

    body[data-site-theme="csgo"] .csgo-quick-panel .csgo-stat-value {
        font-size: 22px;
    }
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body[data-site-theme="csgo"] {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background: var(--csgo-bg-primary);
    color: var(--csgo-text-primary);
    min-height: 110vh;
    overflow-x: hidden;
    padding-bottom: 10px;
}

body[data-site-theme="csgo"]::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 15% 15%, rgba(147, 51, 234, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 85%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 85% 15%, rgba(245, 158, 11, 0.12) 0%, transparent 40%),
        radial-gradient(ellipse at 15% 85%, rgba(236, 72, 153, 0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
    animation: bgPulse 8s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

.stage-section-head {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 16px;
}

.stage-section-head-copy {
    flex: 1;
}

.stage-section-head-kicker {
    font-size: 14px;
    color: var(--csgo-text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.stage-section-head-title {
    font-size: 28px;
    font-weight: 900;
    color: var(--csgo-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5), 0 0 40px rgba(59, 130, 246, 0.3), 0 0 60px rgba(6, 182, 212, 0.2);
    background: linear-gradient(90deg, #8B5CF6 0%, #3B82F6 25%, #06B6D4 50%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.stage-section-head-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.stage-section-head-action {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 8px;
    color: var(--csgo-text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.stage-section-head-action:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: #8B5CF6;
    color: #8B5CF6;
}

.stage-section-head.is-copy-empty {
    justify-content: flex-end;
}

.csgo-header {
    position: relative;
    z-index: 1;
    padding: 20px 16px;
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(147, 51, 234, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, var(--csgo-bg-secondary) 0%, transparent 100%);
    box-shadow: 
        0 4px 40px rgba(147, 51, 234, 0.15),
        0 0 80px rgba(245, 158, 11, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
}

.csgo-header::before {
    content: none;
}

.csgo-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, transparent 5%, #8b5cf6 20%, #06B6D4 50%, #F59E0B 80%, transparent 95%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    animation: prizeDisplayTopBar 3s linear infinite;
    background-size: 200% 100%;
}

@keyframes headerLineGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.csgo-header-content {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.csgo-header .csgo-rules-button {
    position: absolute;
    top: 20px;
    right: 16px;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 10px 16px;
    font-size: 12px;
    gap: 6px;
    letter-spacing: 1px;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(6, 182, 212, 0.15));
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.2);
    transition: all 0.3s ease;
}

.csgo-header .csgo-rules-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.3);
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.3), rgba(6, 182, 212, 0.25));
}

.csgo-header .csgo-rules-button svg {
    width: 18px;
    height: 18px;
}

.csgo-logo {
    font-size: 30px;
    font-weight: 900;
    color: var(--csgo-gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 
        0 0 40px rgba(147, 51, 234, 0.8),
        0 0 70px rgba(99, 102, 241, 0.5),
        0 0 100px rgba(6, 182, 212, 0.3);
    background: linear-gradient(90deg, #9333EA 0%, #6366F1 25%, #06B6D4 50%, #F59E0B 75%, #9333EA 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
    animation: logoGlow 2s ease-in-out infinite, logoGradient 4s linear infinite;
}

.csgo-logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, transparent 5%, #8b5cf6 20%, #06B6D4 50%, #F59E0B 80%, transparent 95%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    animation: prizeDisplayTopBar 3s linear infinite;
    background-size: 200% 100%;
}

@keyframes logoGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

@keyframes logoGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}



@keyframes lineShimmer {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.csgo-subtitle {
    font-size: 13px;
    color: var(--csgo-text-secondary);
    margin-top: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    background: linear-gradient(90deg, #9333EA, #06B6D4, #F59E0B);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: subtitleGradient 5s linear infinite;
}

@keyframes subtitleGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.csgo-user-bar {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: var(--csgo-bg-card);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.csgo-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.csgo-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 33%, #06B6D4 66%, #F59E0B 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--csgo-bg-primary);
    font-size: 16px;
    border: 2px solid rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.5), 0 0 30px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.csgo-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--csgo-glow);
}

.csgo-user-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--csgo-text-primary);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.csgo-user-mobile {
    font-size: 13px;
    color: var(--csgo-text-secondary);
    margin-top: 2px;
    font-weight: 500;
}

.csgo-tickets {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 199, 0, 0.1);
    border: 1px solid var(--csgo-gold-dark);
    border-radius: 20px;
}

.csgo-tickets-icon {
    width: 20px;
    height: 20px;
    background: var(--csgo-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--csgo-bg-primary);
}

.csgo-tickets-count {
    font-size: 16px;
    font-weight: 700;
    color: var(--csgo-gold);
}

.csgo-tickets-label {
    font-size: 12px;
    color: var(--csgo-text-secondary);
}

.csgo-draw-section {
    position: relative;
    z-index: 1;
    padding: 0;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.csgo-marquee {
    width: 100%;
    max-width: 480px;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.08) 0%, rgba(255, 107, 53, 0.05) 100%);
    border-radius: 12px;
    padding: 12px 16px;
    margin: 0 auto 20px;
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.08);
    position: relative;
}

.csgo-marquee::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #8b5cf6, #06B6D4, #F59E0B, transparent);
    animation: prizeDisplayTopBar 3s linear infinite;
    background-size: 200% 100%;
}





.csgo-marquee-title {
    font-size: 16px;
    color: var(--csgo-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 0 0 10px var(--csgo-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.csgo-marquee-title::before {

    font-size: 14px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.csgo-marquee-track {
    display: flex;
    gap: 16px;
    width: max-content;
    min-width: 100%;
    animation: csgoMarquee var(--ticker-duration, 12s) linear infinite;
    will-change: transform;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.csgo-marquee-track.is-static {
    width: 100%;
    animation: none;
}

@keyframes csgoMarquee {
    0% { transform: translateX(0) translateZ(0); }
    100% { transform: translateX(-50%) translateZ(0); }
}

@keyframes marqueeLineGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.csgo-winner-chip {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 20px;
    font-size: 13px;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.2);
}

.csgo-winner-chip:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: #8B5CF6;
    transform: translateY(-1px);
}

.csgo-winner-name {
    color: var(--csgo-gold);
    font-weight: 700;
    text-shadow: 0 0 8px var(--csgo-glow);
}

.csgo-winner-prize {
    color: var(--csgo-text-primary);
    font-weight: 500;
}

.csgo-case-viewport {
    position: relative;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(147, 51, 234, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 100%, rgba(245, 158, 11, 0.08) 0%, transparent 60%),
        linear-gradient(180deg, var(--csgo-bg-secondary) 0%, var(--csgo-bg-card) 100%);
    border-radius: 32px;
    padding: 32px 16px;
    box-shadow: 
        0 25px 70px var(--csgo-shadow),
        0 0 60px rgba(147, 51, 234, 0.15),
        0 0 100px rgba(245, 158, 11, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(147, 51, 234, 0.2);
}

.csgo-case-viewport::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 32px;
    padding: 1px;
    background: linear-gradient(135deg, 
        rgba(147, 51, 234, 0.5) 0%, 
        rgba(99, 102, 241, 0.4) 25%, 
        rgba(6, 182, 212, 0.3) 50%, 
        rgba(245, 158, 11, 0.4) 75%, 
        rgba(147, 51, 234, 0.5) 100%);
    background-size: 200% 200%;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: borderGlow 4s ease infinite;
}

@keyframes borderGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes topBarShimmer {
    0% { background-position: 0% 50%; filter: hue-rotate(0deg); }
    100% { background-position: 200% 50%; filter: hue-rotate(15deg); }
}

.csgo-case-viewport::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(147, 51, 234, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.04) 0%, transparent 40%);
    animation: viewportGlow 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes viewportGlow {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.6; }
    50% { transform: scale(1.15) rotate(5deg); opacity: 1; }
}

.csgo-case-header {
    text-align: center;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.csgo-case-title {
    font-size: 22px;
    font-weight: 900;
    color: var(--csgo-gold);
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow: 
        0 0 30px rgba(147, 51, 234, 0.7), 
        0 0 50px rgba(99, 102, 241, 0.4), 
        0 0 80px rgba(6, 182, 212, 0.3);
    background: linear-gradient(90deg, #9333EA 0%, #6366F1 25%, #06B6D4 50%, #F59E0B 75%, #9333EA 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: caseTitleGlow 2.5s ease-in-out infinite, caseTitleGradient 4s linear infinite;
    display: inline-block;
}

@keyframes caseTitleGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.35); }
}

@keyframes caseTitleGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.csgo-roulette-container {
    position: relative;
    width: 100%;
    height: 220px;
    background: 
        radial-gradient(ellipse at 50% 50%, rgba(147, 51, 234, 0.1) 0%, transparent 70%),
        linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.55) 100%);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-shadow: 
        inset 0 6px 30px rgba(0, 0, 0, 0.7), 
        0 0 40px rgba(147, 51, 234, 0.15),
        0 0 60px rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(147, 51, 234, 0.15);
}

.csgo-roulette-container::before,
.csgo-roulette-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.csgo-roulette-container::before {
    left: 0;
    background: linear-gradient(90deg, var(--csgo-bg-primary) 0%, transparent 100%);
}

.csgo-roulette-container::after {
    right: 0;
    background: linear-gradient(-90deg, var(--csgo-bg-primary) 0%, transparent 100%);
}

.csgo-winner-indicator {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, 
        #FF6B6B 0%, 
        #4ECDC4 20%, 
        #45B7D1 40%, 
        #96CEB4 60%, 
        #FFEAA7 80%, 
        #FF6B6B 100%);
    background-size: 100% 400%;
    z-index: 3;
    box-shadow: 
        0 0 30px rgba(245, 158, 11, 0.6),
        0 0 60px rgba(147, 51, 234, 0.4),
        0 0 90px rgba(6, 182, 212, 0.25),
        -2px 0 12px rgba(245, 158, 11, 0.5),
        2px 0 12px rgba(147, 51, 234, 0.5);
    animation: indicatorFlow 2s linear infinite, indicatorPulse 1.5s ease-in-out infinite;
    border-radius: 2px;
}

.csgo-winner-indicator::before,
.csgo-winner-indicator::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    filter: drop-shadow(0 0 15px rgba(245, 158, 11, 0.9));
    animation: arrowPulse 1s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% { transform: translateX(-50%) scaleY(1); }
    50% { transform: translateX(-50%) scaleY(1.15); }
}

@keyframes indicatorFlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 0% 400%; }
}

@keyframes indicatorPulse {
    0%, 100% { 
        opacity: 0.85;
        box-shadow: 
            0 0 40px rgba(245, 158, 11, 0.7),
            0 0 80px rgba(147, 51, 234, 0.4),
            0 0 120px rgba(6, 182, 212, 0.25);
    }
    50% { 
        opacity: 1;
        box-shadow: 
            0 0 60px rgba(245, 158, 11, 0.9),
            0 0 100px rgba(147, 51, 234, 0.6),
            0 0 140px rgba(6, 182, 212, 0.4);
    }
}

.csgo-winner-indicator::before {
    top: -10px;
    border-top: 10px solid var(--csgo-gold);
}

.csgo-winner-indicator::after {
    bottom: -10px;
    border-bottom: 10px solid var(--csgo-gold);
}

.csgo-roulette-track {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 10px;
    padding: 0 20px;
    will-change: transform;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    min-width: max-content;
}

.csgo-prize-card {
    flex-shrink: 0;
    width: 140px;
    height: 170px;
    background: linear-gradient(145deg, var(--csgo-bg-card) 0%, var(--csgo-bg-secondary) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 16px 12px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.4), 
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.csgo-prize-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 60%);
    pointer-events: none;
}

.csgo-prize-card:hover {
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.5), 
        0 0 25px rgba(147, 51, 234, 0.15),
        0 0 0 1px rgba(147, 51, 234, 0.25);
    border-color: rgba(147, 51, 234, 0.5);
}

.csgo-prize-card img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5));
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.csgo-prize-card:hover img {
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.7));
}

.csgo-prize-card .prize-name {
    font-size: 15px;
    color: var(--csgo-text-primary);
    font-weight: 600;
    text-align: center;
    margin-top: 24px;
    max-width: 100%;
    overflow: hidden;
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    max-height: 42px;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.csgo-prize-card:hover .prize-name {
    color: var(--csgo-text-primary);
}

.csgo-prize-card.quality-common {
    border-color: rgba(108, 117, 125, 0.25);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.4), 
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 15px rgba(108, 117, 125, 0.15);
}

.csgo-prize-card.quality-common:hover {
    border-color: rgba(134, 142, 150, 0.4);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.5), 
        0 0 20px rgba(108, 117, 125, 0.2),
        0 0 0 1px rgba(108, 117, 125, 0.3);
}

@keyframes qualityGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.csgo-prize-card.quality-uncommon {
    border-color: #28a745;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.5), 
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 15px rgba(40, 167, 69, 0.2);
}

.csgo-prize-card.quality-uncommon:hover {
    border-color: #34ce57;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.6), 
        0 0 25px rgba(40, 167, 69, 0.4),
        0 0 0 1px rgba(40, 167, 69, 0.5);
}

.csgo-prize-card.quality-rare {
    border-color: #28a745;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.5), 
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 15px rgba(40, 167, 69, 0.5);
}

.csgo-prize-card.quality-rare:hover {
    border-color: #34ce57;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.6), 
        0 0 25px rgba(40, 167, 69, 0.6),
        0 0 0 1px #28a745;
}

.csgo-prize-card.quality-epic {
    border-color: #9333EA;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.5), 
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 15px rgba(147, 51, 234, 0.5);
}

.csgo-prize-card.quality-epic:hover {
    border-color: #A855F7;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.6), 
        0 0 25px rgba(147, 51, 234, 0.6),
        0 0 0 1px #9333EA;
}

.csgo-prize-card.quality-legendary {
    border-color: #9333EA;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.5), 
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 20px rgba(147, 51, 234, 0.5);
    position: relative;
}

.csgo-prize-card.quality-legendary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(147, 51, 234, 0.1), rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.1), rgba(245, 158, 11, 0.1) 0%, transparent 60%);
    pointer-events: none;
    animation: legendaryPulse 2s ease-in-out infinite;
}

@keyframes legendaryPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.csgo-prize-card.quality-legendary:hover {
    border-color: #A855F7;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.6), 
        0 0 35px rgba(147, 51, 234, 0.6),
        0 0 0 1px #9333EA;
}

.csgo-prize-card .quality-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    opacity: 0.8;
}

.csgo-prize-card.quality-common .quality-badge {
    background: rgba(108, 117, 125, 0.8);
    color: #fff;
}

.csgo-prize-card.quality-uncommon .quality-badge {
    background: rgba(40, 167, 69, 0.8);
    color: #fff;
}

.csgo-prize-card.quality-rare .quality-badge {
    background: rgba(40, 167, 69, 0.8);
    color: #fff;
}

.csgo-prize-card.quality-epic .quality-badge {
    background: rgba(147, 51, 234, 0.8);
    color: #fff;
    box-shadow: 0 0 10px rgba(147, 51, 234, 0.6);
}

.csgo-prize-card.quality-legendary .quality-badge {
    background: linear-gradient(90deg, #9333EA, #6366F1, #06B6D4, #F59E0B);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(216, 159, 216, 0.6);
}

.csgo-prize-card.loading {
    animation: cardLoading 1.5s ease-in-out infinite;
}

@keyframes cardLoading {
    0%, 100% {
        opacity: 0.8;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-2px);
    }
}

.csgo-prize-card.is-winner {
    transform: scale(1.12);
    border-color: var(--csgo-gold);
    box-shadow: 
        0 0 50px rgba(245, 158, 11, 0.7),
        0 0 100px rgba(147, 51, 234, 0.5),
        0 0 150px rgba(99, 102, 241, 0.35),
        0 0 200px rgba(6, 182, 212, 0.25),
        inset 0 0 30px rgba(245, 158, 11, 0.15);
    z-index: 10;
    animation: winnerPulse 0.8s ease-in-out infinite alternate;
}

@keyframes winnerPulse {
    0% {
        box-shadow: 
            0 0 50px rgba(245, 158, 11, 0.7),
            0 0 100px rgba(147, 51, 234, 0.5),
            0 0 150px rgba(99, 102, 241, 0.35),
            inset 0 0 30px rgba(245, 158, 11, 0.15);
    }
    100% {
        box-shadow: 
            0 0 70px rgba(245, 158, 11, 0.9),
            0 0 130px rgba(147, 51, 234, 0.7),
            0 0 180px rgba(99, 102, 241, 0.5),
            0 0 220px rgba(6, 182, 212, 0.35),
            inset 0 0 50px rgba(245, 158, 11, 0.2);
    }
}

.csgo-draw-button {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 20px auto 0;
    padding: 18px 32px;
    background: linear-gradient(135deg, #9333EA 0%, #6366F1 25%, #06B6D4 50%, #F59E0B 100%);
    background-size: 200% 200%;
    border: none;
    border-radius: 14px;
    color: var(--csgo-bg-primary);
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 35px rgba(147, 51, 234, 0.45),
        0 0 50px rgba(99, 102, 241, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: buttonGradient 4s ease infinite;
}

@keyframes buttonGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.csgo-draw-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.csgo-draw-button:hover::before {
    left: 100%;
}

.csgo-draw-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 45px rgba(147, 51, 234, 0.55),
        0 0 70px rgba(99, 102, 241, 0.35);
}

.csgo-draw-button:active {
    transform: translateY(-1px) scale(0.99);
}

.csgo-draw-button:disabled,
.csgo-draw-button.is-spinning {
    background: linear-gradient(180deg, #3a3a42 0%, #28282f 100%);
    color: var(--csgo-text-muted);
    cursor: not-allowed;
    box-shadow: none;
    animation: none;
}

.csgo-draw-button:disabled::before,
.csgo-draw-button.is-spinning::before {
    display: none;
}

.csgo-draw-button-text {
    position: relative;
    z-index: 1;
}

.csgo-draw-button-tickets {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: rgba(10, 10, 12, 0.7);
    margin-top: 4px;
    letter-spacing: 1px;
}

.csgo-draw-button:disabled .csgo-draw-button-tickets,
.csgo-draw-button.is-spinning .csgo-draw-button-tickets {
    color: var(--csgo-text-muted);
}

.csgo-prizes-display {
    width: 100%;
    max-width: 480px;
    margin: 24px auto 0;
    background: linear-gradient(135deg, var(--csgo-bg-card) 0%, var(--csgo-bg-secondary) 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    position: relative;
}

.csgo-prizes-display-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(139, 92, 246, 0.03);
}

.csgo-prizes-display-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--csgo-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
    background: linear-gradient(90deg, #8B5CF6 0%, #3B82F6 50%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.csgo-prizes-display-count {
    font-size: 12px;
    color: var(--csgo-text-muted);
    background: rgba(139, 92, 246, 0.1);
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 500;
}

.csgo-prizes-display-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    padding: 16px;
    max-height: 340px;
    overflow-y: auto;
}

.csgo-prizes-display-grid::-webkit-scrollbar {
    width: 8px;
}

.csgo-prizes-display-grid::-webkit-scrollbar-track {
    background: var(--csgo-bg-secondary);
    border-radius: 4px;
}

.csgo-prizes-display-grid::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.5);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.csgo-prizes-display-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.7);
}

.csgo-display-prize-card {
    flex-shrink: 0;
    width: 100%;
    height: auto;
    min-height: 140px;
    background: linear-gradient(145deg, var(--csgo-bg-card) 0%, var(--csgo-bg-secondary) 100%);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 16px 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.4), 
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.csgo-display-prize-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.csgo-display-prize-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.csgo-display-prize-card:hover {
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.6), 
        0 0 25px rgba(147, 51, 234, 0.2),
        0 0 0 1px rgba(147, 51, 234, 0.3);
    border-color: rgba(147, 51, 234, 0.6);
    z-index: 10;
}

.csgo-display-prize-card img {
    width: 75px;
    height: 75px;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6));
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.csgo-display-prize-card:hover img {
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.8));
}

.csgo-display-prize-card .prize-name {
    font-size: 12px;
    color: var(--csgo-text-primary);
    font-weight: 600;
    text-align: center;
    margin-top: 12px;
    max-width: 100%;
    overflow: hidden;
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    max-height: 34px;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.csgo-display-prize-card:hover .prize-name {
    color: var(--csgo-text-primary);
}

.csgo-display-prize-card.quality-common {
    border-color: #6c757d;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.5), 
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 15px rgba(108, 117, 125, 0.2);
}

.csgo-display-prize-card.quality-common:hover {
    border-color: #868e96;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.6), 
        0 0 20px rgba(108, 117, 125, 0.3),
        0 0 0 1px rgba(108, 117, 125, 0.4);
}

.csgo-display-prize-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.csgo-display-prize-card.quality-uncommon::before {
    background: linear-gradient(90deg, transparent, #28a745, transparent);
    animation: qualityGlow 2s ease-in-out infinite;
}

.csgo-display-prize-card.quality-rare::before {
    background: linear-gradient(90deg, transparent, #28a745, transparent);
    animation: qualityGlow 1.5s ease-in-out infinite;
}

.csgo-display-prize-card.quality-epic::before {
    background: linear-gradient(90deg, transparent, #9333EA, transparent);
    animation: qualityGlow 1.2s ease-in-out infinite;
}

.csgo-display-prize-card.quality-legendary::before {
    background: linear-gradient(90deg, transparent, #9333EA, #6366F1, #06B6D4, #F59E0B, transparent);
    animation: qualityGlow 1s ease-in-out infinite;
}

.csgo-display-prize-card.quality-uncommon {
    border-color: #28a745;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.5), 
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 15px rgba(40, 167, 69, 0.2);
}

.csgo-display-prize-card.quality-uncommon:hover {
    border-color: #34ce57;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.6), 
        0 0 25px rgba(40, 167, 69, 0.4),
        0 0 0 1px rgba(40, 167, 69, 0.5);
}

.csgo-display-prize-card.quality-rare {
    border-color: #28a745;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.5), 
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 15px rgba(40, 167, 69, 0.5);
}

.csgo-display-prize-card.quality-rare:hover {
    border-color: #34ce57;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.6), 
        0 0 25px rgba(40, 167, 69, 0.6),
        0 0 0 1px #28a745;
}

.csgo-display-prize-card.quality-epic {
    border-color: #9333EA;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.5), 
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 15px rgba(147, 51, 234, 0.5);
}

.csgo-display-prize-card.quality-epic:hover {
    border-color: #A855F7;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.6), 
        0 0 25px rgba(147, 51, 234, 0.6),
        0 0 0 1px #9333EA;
}

.csgo-display-prize-card.quality-legendary {
    border-color: #9333EA;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.5), 
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 20px rgba(147, 51, 234, 0.5);
    position: relative;
}

.csgo-display-prize-card.quality-legendary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(147, 51, 234, 0.1), rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.1), rgba(245, 158, 11, 0.1) 0%, transparent 60%);
    pointer-events: none;
    animation: legendaryPulse 2s ease-in-out infinite;
}

.csgo-display-prize-card.quality-legendary:hover {
    border-color: #A855F7;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.6), 
        0 0 35px rgba(147, 51, 234, 0.6),
        0 0 0 1px #9333EA;
}

.csgo-display-prize-card .quality-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    opacity: 0.8;
}

.csgo-display-prize-card.quality-common .quality-badge {
    background: rgba(108, 117, 125, 0.8);
    color: #fff;
}

.csgo-display-prize-card.quality-uncommon .quality-badge {
    background: rgba(40, 167, 69, 0.8);
    color: #fff;
}

.csgo-display-prize-card.quality-rare .quality-badge {
    background: rgba(40, 167, 69, 0.8);
    color: #fff;
}

.csgo-display-prize-card.quality-epic .quality-badge {
    background: rgba(147, 51, 234, 0.8);
    color: #fff;
    box-shadow: 0 0 10px rgba(147, 51, 234, 0.6);
}

.csgo-display-prize-card.quality-legendary .quality-badge {
    background: linear-gradient(90deg, #9333EA, #6366F1, #06B6D4, #F59E0B);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(147, 51, 234, 0.6);
}

.corner-tag {
    position: absolute;
    top: 0;
    left: 0;
    width: 70px;
    height: 70px;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

.corner-tag::before {
    content: '';
    position: absolute;
    top: 4px;
    left: -26px;
    width: 100px;
    height: 17px;
    background: #28a745;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.corner-tag span {
    position: absolute;
    top: 8px;
    left: -14px;
    width: 70px;
    text-align: center;
    transform: rotate(-45deg);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    z-index: 1;
}

/* 大奖斜标 */
.corner-tag.quality-legendary::before {
    background: linear-gradient(135deg, #9333EA, #6366F1, #06B6D4, #F59E0B);
    box-shadow: 0 0 15px rgba(147, 51, 234, 0.5);
}

/* 尊享斜标 */
.corner-tag.quality-epic::before {
    background: linear-gradient(135deg, #6366F1, #9333EA);
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.4);
}

/* 悦享斜标 */
.corner-tag.quality-rare::before {
    background: linear-gradient(135deg, #28a745, #20c997);
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.3);
}

/* 中奖弹窗中的斜标 - 统一为全部奖品展示样式 */
.csgo-modal-prize .corner-tag {
    width: 70px;
    height: 70px;
}

.csgo-modal-prize .corner-tag::before {
    top: 4px;
    left: -26px;
    width: 100px;
    height: 17px;
}

.csgo-modal-prize .corner-tag span {
    top: 8px;
    left: -14px;
    font-size: 12px;
    width: 70px;
}

.csgo-prizes-display {
    width: 100%;
    max-width: 480px;
    margin: 24px auto 0;
    background: linear-gradient(135deg, var(--csgo-bg-card) 0%, var(--csgo-bg-secondary) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 6px 25px rgba(0, 0, 0, 0.35),
        0 0 15px rgba(139, 92, 246, 0.15);
    position: relative;
}

.csgo-prizes-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #8b5cf6, #06B6D4, #F59E0B, transparent);
    animation: prizeDisplayTopBar 3s linear infinite;
    background-size: 200% 100%;
}

@keyframes prizeDisplayTopBar {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

.csgo-prizes-display-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: rgba(139, 92, 246, 0.08);
}

.csgo-prizes-display-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--csgo-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
    background: linear-gradient(90deg, #8B5CF6 0%, #3B82F6 50%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.csgo-prizes-display-count {
    font-size: 12px;
    color: var(--csgo-text-muted);
    background: rgba(139, 92, 246, 0.15);
    padding: 6px 14px;
    border-radius: 14px;
    font-weight: 500;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.csgo-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 16px auto;
    padding: 20px 40px;
    background: linear-gradient(135deg, var(--csgo-bg-card) 0%, var(--csgo-bg-secondary) 100%);
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.csgo-stat-item {
    text-align: center;
    position: relative;
    padding: 0 16px;
}

.csgo-stat-value {
    font-size: 24px;
    font-weight: 900;
    color: var(--csgo-gold);
    text-shadow: 0 0 15px rgba(245, 158, 11, 0.8), 0 0 30px rgba(245, 158, 11, 0.6), 0 0 45px rgba(245, 158, 11, 0.4);
    background: linear-gradient(90deg, #F59E0B 0%, #FBBF24 50%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.csgo-stat-label {
    font-size: 12px;
    color: var(--csgo-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 6px;
    font-weight: 500;
}

.csgo-records-section {
    width: 100%;
    max-width: 400px;
    margin-top: 24px;
}

.csgo-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--csgo-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    padding-left: 4px;
}

.csgo-records-list {
    background: var(--csgo-bg-card);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    overflow: hidden;
}

.csgo-record-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    transition: background 0.2s ease;
}

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

.csgo-record-item:hover {
    background: rgba(255, 199, 0, 0.03);
}

.csgo-record-image {
    width: 48px;
    height: 48px;
    background: var(--csgo-bg-secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.csgo-record-image img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.csgo-inventory-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    min-width: 0;
}

.csgo-inventory-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
    width: 100%;
}

.csgo-record-status {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.csgo-record-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--csgo-text-primary);
}

.csgo-record-time {
    font-size: 11px;
    color: var(--csgo-text-muted);
}

.csgo-inventory-expiry {
    font-size: 11px;
    color: var(--csgo-gold);
    font-weight: 500;
    text-align: left;
}

.csgo-inventory-status {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    flex-shrink: 0;
    min-width: 50px;
    text-align: center;
}

.csgo-inventory-status.pending,
.csgo-record-status.pending {
    background: rgba(255, 199, 0, 0.15);
    color: var(--csgo-gold);
}

.csgo-inventory-status.verified,
.csgo-record-status.verified {
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
}

.csgo-inventory-status.expired,
.csgo-record-status.expired {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
}

.csgo-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.95);
    animation: modalBackgroundFade 0.3s ease-out;
    will-change: opacity;
}

@keyframes modalBackgroundFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.csgo-modal[hidden] {
    display: none;
}

.csgo-modal-content {
    width: 100%;
    max-width: 450px;
    background: linear-gradient(180deg, var(--csgo-bg-card) 0%, var(--csgo-bg-secondary) 100%);
    border-radius: 28px;
    text-align: center;
    box-shadow:
        0 0 60px rgba(147, 51, 234, 0.25),
        0 40px 80px var(--csgo-shadow);
    position: relative;
    overflow: hidden;
    animation: modalAppear 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateZ(0) scale(1);
    will-change: transform, opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    margin: auto;
}

@keyframes modalAppear {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(40px) rotateX(5deg);
    }
    70% {
        transform: scale(1.02) translateY(-5px) rotateX(0deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0) rotateX(0deg);
    }
}

@keyframes modalTopBar {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

.csgo-modal-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.csgo-modal-badge {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, #9333EA 0%, #6366F1 50%, #F59E0B 100%);
    color: var(--csgo-bg-primary);
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    border-radius: 30px;
    margin: 28px 0 20px 0;
    box-shadow: 0 6px 25px rgba(147, 51, 234, 0.5), 0 0 40px rgba(99, 102, 241, 0.3);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.csgo-modal-prize {
    width: 280px;
    height: 280px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--csgo-bg-secondary) 0%, var(--csgo-bg-primary) 100%);
    border-radius: 20px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 0 30px rgba(255, 199, 0, 0.1);
}

.csgo-modal-prize::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, var(--csgo-glow) 0%, transparent 60%);
    opacity: 0.6;
    animation: prizeGlow 2s ease-in-out infinite;
}

@keyframes prizeGlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

.csgo-modal-prize::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--csgo-gold), var(--csgo-accent), var(--csgo-gold));
    border-radius: 22px;
    z-index: -1;
    opacity: 0.5;
    filter: blur(8px);
}

.csgo-modal-prize img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    animation: prizeFloat 3s ease-in-out infinite;
}

@keyframes prizeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.csgo-modal-prize-name {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 12px;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 0 0 60px rgba(139, 92, 246, 0.6);
    background: linear-gradient(90deg, #FFD700, #FFA500, #FF6347, #FFD700);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    animation: prizeNameGlow 2s ease-in-out infinite;
}

@keyframes prizeNameGlow {
    0%, 100% { 
        background-position: 0% 50%;
        text-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 0 0 60px rgba(139, 92, 246, 0.6);
    }
    50% { 
        background-position: 100% 50%;
        text-shadow: 0 0 50px rgba(255, 215, 0, 1), 0 0 80px rgba(139, 92, 246, 0.8);
    }
}

.csgo-modal-prize-desc {
    font-size: 15px;
    color: var(--csgo-text-secondary);
    line-height: 1.6;
    padding: 0 20px;
    font-weight: 500;
}

.csgo-modal-button {
    width: calc(100% - 48px);
    margin: 32px 24px 24px 24px;
    padding: 18px;
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 25%, #06B6D4 50%, #F59E0B 100%);
    border: none;
    border-radius: 14px;
    color: var(--csgo-bg-primary);
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4), 0 0 40px rgba(59, 130, 246, 0.2);
}

.csgo-modal-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.5), 0 0 60px rgba(59, 130, 246, 0.3);
}

.csgo-modal-button:active {
    transform: translateY(-1px);
}

.csgo-modal-content .csgo-form-tabs {
    padding: 60px 48px 0 24px;
}

.csgo-auth-form {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 24px 24px 24px;
    min-height: auto;
}

.csgo-form-group {
    margin-bottom: 20px;
    position: relative;
    min-height: auto;
}

.csgo-form-label {
    display: block;
    font-size: 15px !important;
    color: var(--csgo-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    font-weight: 600;
    transition: color 0.3s ease;
    text-align: left;
}

.csgo-form-input {
    width: 100%;
    height: 60px !important;
    padding: 0 20px !important;
    background: linear-gradient(135deg, var(--csgo-bg-primary) 0%, rgba(255, 199, 0, 0.03) 100%);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 14px;
    color: var(--csgo-text-primary);
    font-size: 18px !important;
    line-height: 60px !important;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
    text-align: left;
}

.csgo-form-input:focus {
    outline: none;
    border-color: var(--csgo-gold);
    box-shadow: 0 0 0 3px rgba(255, 199, 0, 0.12), inset 0 2px 4px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, var(--csgo-bg-primary) 0%, rgba(255, 199, 0, 0.08) 100%);
}

.csgo-form-input:focus + .csgo-form-label {
    color: var(--csgo-gold);
}

.csgo-form-input::placeholder {
    color: var(--csgo-text-muted);
    font-weight: 400;
    transition: color 0.3s ease;
    text-align: left;
}

.csgo-form-input:focus::placeholder {
    color: var(--csgo-text-secondary);
}

.csgo-form-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 25%, #06B6D4 50%, #F59E0B 100%);
    background-size: 200% 200%;
    border: none;
    border-radius: 14px;
    color: var(--csgo-bg-primary);
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4), 0 0 40px rgba(59, 130, 246, 0.2);
    animation: buttonGradient 4s ease infinite;
    position: relative;
    overflow: hidden;
}

.csgo-form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.csgo-form-submit:hover::before {
    left: 100%;
}

.csgo-form-submit:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.5), 0 0 60px rgba(59, 130, 246, 0.3);
}

.csgo-form-submit:active {
    transform: translateY(-1px) scale(0.99);
}

.csgo-privacy-notice {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(6, 182, 212, 0.08) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 14px;
    align-items: flex-start;
}

#csgoAuthPrivacyField {
    min-height: auto;
    margin-bottom: 16px;
}

.csgo-privacy-icon {
    font-size: 28px;
    flex-shrink: 0;
    animation: privacyPulse 2s ease-in-out infinite;
}

@keyframes privacyPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.csgo-privacy-content {
    flex: 1;
}

.csgo-privacy-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--csgo-gold);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.csgo-privacy-text p {
    font-size: 12px;
    color: var(--csgo-text-primary);
    line-height: 1.6;
    margin-bottom: 4px;
    text-align: left;
}

.csgo-privacy-text p:last-child {
    margin-bottom: 0;
}

.csgo-form-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 28px;
    padding: 0 24px;
}

.csgo-form-tab {
    flex: 1;
    padding: 16px;
    background: linear-gradient(135deg, var(--csgo-bg-card) 0%, var(--csgo-bg-secondary) 100%);
    border: 2px solid rgba(255, 199, 0, 0.15);
    border-radius: 0;
    color: var(--csgo-text-secondary);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
}

.csgo-form-tab:first-child {
    border-radius: 14px 0 0 14px;
    border-right: none;
}

.csgo-form-tab:last-child {
    border-radius: 0 14px 14px 0;
}

.csgo-form-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--csgo-gold), transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.csgo-form-tab:hover {
    border-color: rgba(255, 199, 0, 0.4);
    color: var(--csgo-text-primary);
    transform: translateY(-2px);
}

.csgo-form-tab:hover::before {
    transform: scaleX(1);
}

.csgo-form-tab.active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(59, 130, 246, 0.15) 50%, rgba(6, 182, 212, 0.1) 100%);
    border-color: #8B5CF6;
    color: var(--csgo-gold);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
    transform: translateY(-2px);
}

.csgo-form-tab.active::before {
    transform: scaleX(1);
    background: linear-gradient(90deg, transparent, var(--csgo-gold), transparent);
    animation: tabGradient 3s ease infinite;
}

@keyframes tabGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.csgo-toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 12px 20px;
    background: var(--csgo-bg-card);
    border: 1px solid var(--csgo-gold);
    border-radius: 10px;
    color: var(--csgo-gold);
    font-size: 13px;
    font-weight: 600;
    z-index: 200;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    max-width: 85%;
    text-align: center;
}

.csgo-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.csgo-toast.success {
    border-color: #22c55e;
    color: #22c55e;
}

.csgo-toast.error {
    border-color: #ef4444;
    color: #ef4444;
}

.csgo-toast.warning {
    border-color: #f59e0b;
    color: #f59e0b;
}

@keyframes prizeReveal {
    0% {
        opacity: 0;
        transform: scale(0.5) rotateY(90deg);
    }
    60% {
        transform: scale(1.1) rotateY(-10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
    }
}

@media (max-width: 480px) {
    .csgo-toast {
        bottom: 80px;
        padding: 10px 16px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .csgo-case-viewport {
        padding: 16px 8px;
    }
    
    .csgo-roulette-container {
        height: 120px;
    }
    
    .csgo-prize-card {
        width: 84px;
        height: 84px;
    }
    
    .csgo-roulette-track.spinning .csgo-prize-card,
    .csgo-roulette-track.stopping .csgo-prize-card {
        filter: blur(0);
    }
    
    .csgo-prize-card img {
        width: 48px;
        height: 48px;
    }
    
    .csgo-draw-button {
        padding: 16px 24px;
        font-size: 16px;
    }
    
    .csgo-stats {
        gap: 50px;
        padding: 18px 24px;
        max-width: 100%;
        }
    
    .csgo-stat-item {
        padding: 0 14px;
    }
    
    .csgo-stat-value {
        font-size: 24px;
    }
    
    .csgo-stat-label {
        font-size: 11px;
    }
}

.csgo-roulette-track.spinning {
    animation: csgoFastSpin 0.1s linear infinite;
}

@keyframes csgoFastSpin {
    0% { transform: translateX(0); }
    100% { transform: translateX(-432px); }
}

.csgo-roulette-track.stopping {
    transition: transform 3.5s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

.csgo-roulette-track.spinning .csgo-prize-card {
    filter: blur(2px);
}

.csgo-roulette-track.stopping .csgo-prize-card {
    filter: blur(1px);
}

.csgo-roulette-track .csgo-prize-card {
    transition: filter 0.4s ease;
}

.csgo-inventory-icon {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 33%, #06B6D4 66%, #F59E0B 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.6), 0 0 40px rgba(59, 130, 246, 0.4);
    transition: all 0.2s ease;
    z-index: 50;
    touch-action: none;
    will-change: top, right;
}

.csgo-inventory-icon:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 35px rgba(139, 92, 246, 0.8), 0 0 60px rgba(59, 130, 246, 0.6);
}

.csgo-inventory-icon.dragging {
    z-index: 100;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.9), 0 0 70px rgba(59, 130, 246, 0.7);
    transition: none;
}

.csgo-inventory-icon svg {
    width: 36px;
    height: 36px;
    color: var(--csgo-bg-primary);
}

.csgo-inventory-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background: #ff4444;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.csgo-inventory-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--csgo-border);
    transition: background 0.2s ease;
}

.csgo-inventory-detail-btn {
    padding: 10px 16px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    font-size: 13px;
    color: var(--csgo-gold);
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: center;
}

.csgo-inventory-detail-btn:hover {
    background: rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

.csgo-prize-detail-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.csgo-prize-detail-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--csgo-bg-secondary) 0%, var(--csgo-bg-primary) 100%);
    border-radius: 16px;
}

.csgo-prize-detail-image img {
    max-width: 200px;
    max-height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.6));
    transition: transform 0.3s ease;
}

.csgo-prize-detail-image:hover img {
    transform: scale(1.05);
}

.csgo-prize-detail-info {
    flex: 1;
}

.csgo-prize-detail-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--csgo-gold);
    margin-bottom: 16px;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
    margin-top: -20px;
}

.csgo-prize-detail-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(139, 92, 246, 0.08);
    border-radius: 12px;
    margin-top: 20px;
}

.csgo-prize-detail-meta div {
    font-size: 14px;
    color: var(--csgo-text-secondary);
    display: flex;
    justify-content: space-between;
}

.csgo-prize-detail-meta span {
    color: var(--csgo-text-primary);
    font-weight: 600;
}

.csgo-prize-detail-description h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--csgo-gold);
    margin-bottom: 12px;
}

.csgo-prize-detail-description div {
    font-size: 14px;
    color: var(--csgo-text-secondary);
    line-height: 1.6;
    white-space: pre-wrap;
}

.csgo-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 0;
}

.csgo-modal-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--csgo-gold);
    margin: 0;
}

.csgo-modal-close {
    background: none;
    border: none;
    font-size: 36px;
    color: var(--csgo-text-secondary);
    cursor: pointer;
    padding: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.csgo-modal-close:hover {
    background: rgba(139, 92, 246, 0.1);
    color: var(--csgo-text-primary);
}

.csgo-modal-content > .csgo-modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
}

.csgo-modal-footer {
    padding: 0 24px 24px;
    display: flex;
    justify-content: center;
}

@media (max-width: 480px) {
    .csgo-inventory-icon {
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        bottom: auto;
        width: 48px;
        height: 48px;
    }
    
    .csgo-inventory-icon:hover {
        transform: translateY(-50%) scale(1.1);
    }
    
    .csgo-inventory-icon.dragging {
        transform: translateY(-50%) scale(1.15);
    }
    
    .csgo-inventory-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .csgo-inventory-badge {
        min-width: 18px;
        height: 18px;
        font-size: 10px;
    }
    
    .csgo-prize-detail-content {
        padding: 16px;
    }
    
    .csgo-prize-detail-image img {
        max-width: 160px;
        max-height: 160px;
    }
    
    .csgo-prize-detail-name {
        font-size: 18px;
        margin-top: -20px;
    }
    
    .csgo-prize-detail-meta {
        padding: 12px;
    }
    
    .csgo-modal-header {
        padding: 16px 20px 0;
    }
    
    .csgo-modal-footer {
        padding: 0 20px 20px;
    }
}

.csgo-inventory-modal {
    max-width: 400px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.csgo-inventory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: var(--csgo-bg-card);
}

.csgo-inventory-filters {
    display: flex;
    gap: 10px;
    padding: 16px 24px;
    background: var(--csgo-bg-card);
}

.csgo-inventory-filter-btn {
    flex: 1;
    padding: 10px 16px;
    background: var(--csgo-bg-secondary);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 10px;
    color: var(--csgo-text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.csgo-inventory-filter-btn:hover {
    border-color: rgba(139, 92, 246, 0.4);
    color: var(--csgo-text-primary);
}

.csgo-inventory-filter-btn.active {
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 50%, #06B6D4 100%);
    border-color: transparent;
    color: var(--csgo-bg-primary);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.csgo-inventory-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--csgo-gold);
    margin: 0;
}

.csgo-inventory-close {
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 8px;
    color: var(--csgo-text-secondary);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.csgo-inventory-close:hover {
    border-color: var(--csgo-gold);
    color: var(--csgo-gold);
}

.csgo-inventory-list {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    max-height: 400px;
}

.csgo-inventory-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 18px;
    background: var(--csgo-bg-secondary);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 16px;
    margin-bottom: 14px;
    transition: all 0.3s ease;
}

.csgo-inventory-item:hover {
    border-color: var(--csgo-gold);
    background: rgba(255, 199, 0, 0.05);
}

.csgo-inventory-item:last-child {
    margin-bottom: 0;
}

.csgo-inventory-image {
    width: 96px;
    height: 96px;
    background: var(--csgo-bg-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    position: relative;
}

.csgo-inventory-image img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.csgo-inventory-item .corner-tag {
    width: 80px;
    height: 80px;
}

.csgo-inventory-item .corner-tag::before {
    top: 5px;
    left: -28px;
    width: 100px;
    height: 19px;
}

.csgo-inventory-item .corner-tag span {
    top: 10px;
    left: -16px;
    font-size: 11px;
    width: 80px;
}

.csgo-inventory-item:hover .csgo-inventory-image img {
    transform: scale(1.05);
}

.csgo-inventory-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.csgo-inventory-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--csgo-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    flex: 1;
    min-width: 0;
}

.csgo-inventory-time {
    font-size: 12px;
    color: var(--csgo-text-muted);
    margin-top: 4px;
}

.csgo-inventory-expiry {
    font-size: 12px;
    color: var(--csgo-gold);
    font-weight: 500;
    text-align: left;
}

.csgo-inventory-status {
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 68px;
    text-align: center;
}

.csgo-inventory-status.pending {
    background: linear-gradient(135deg, rgba(255, 199, 0, 0.25), rgba(255, 199, 0, 0.1));
    color: var(--csgo-gold);
    border: 1px solid rgba(255, 199, 0, 0.4);
    animation: pulse 2s infinite;
}

.csgo-inventory-status.verified {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.25), rgba(40, 167, 69, 0.1));
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.4);
}

.csgo-inventory-status.expired {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.25), rgba(220, 53, 69, 0.1));
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.4);
}

.csgo-inventory-name-verified {
    text-decoration: line-through;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.csgo-inventory-verified-info {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    font-size: 12px;
    color: var(--csgo-text-secondary);
}

.csgo-inventory-verified-by {
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}

.csgo-inventory-verified-by:before {
    content: '👤';
    margin-right: 6px;
}

.csgo-inventory-verified-time {
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}

.csgo-inventory-verified-time:before {
    content: '⏰';
    margin-right: 6px;
}

.csgo-inventory-verified-note {
    display: flex;
    align-items: flex-start;
}

.csgo-inventory-verified-note:before {
    content: '📝';
    margin-right: 6px;
    margin-top: 1px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 199, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 199, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 199, 0, 0);
    }
}

.csgo-inventory-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--csgo-text-muted);
}

.csgo-inventory-empty svg {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.csgo-inventory-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: var(--csgo-bg-card);
}

.csgo-inventory-page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    background: var(--csgo-bg-secondary);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 8px;
    color: var(--csgo-text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.csgo-inventory-page-btn:hover:not(:disabled) {
    border-color: var(--csgo-gold);
    color: var(--csgo-gold);
}

.csgo-inventory-page-btn.active {
    background: var(--csgo-gold) !important;
    border-color: var(--csgo-gold) !important;
    color: #000000 !important;
    font-weight: 700 !important;
    opacity: 1 !important;
}

.csgo-inventory-page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.csgo-inventory-page-info {
    font-size: 13px;
    color: var(--csgo-text-muted);
    margin: 0 8px;
}

.csgo-prizes-welcome-modal {
    max-width: 420px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.csgo-prizes-welcome-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 12px;
    background: var(--csgo-bg-card);
}

.csgo-prizes-welcome-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--csgo-gold);
    margin: 0;
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
    background: linear-gradient(90deg, #8B5CF6 0%, #3B82F6 50%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.csgo-prizes-welcome-close {
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 10px;
    color: var(--csgo-text-secondary);
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.csgo-prizes-welcome-close:hover {
    border-color: var(--csgo-gold);
    color: var(--csgo-gold);
}

.csgo-prizes-welcome-subtitle {
    font-size: 14px;
    color: var(--csgo-text-secondary);
    text-align: center;
    padding: 0 24px 16px;
    background: var(--csgo-bg-card);
    font-weight: 500;
}

.csgo-prizes-welcome-grid {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
}

.csgo-prizes-welcome-grid::-webkit-scrollbar {
    width: 6px;
}

.csgo-prizes-welcome-grid::-webkit-scrollbar-track {
    background: var(--csgo-bg-secondary);
    border-radius: 3px;
}

.csgo-prizes-welcome-grid::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.5);
    border-radius: 3px;
}

.csgo-prizes-welcome-card {
    background: linear-gradient(145deg, var(--csgo-bg-card) 0%, var(--csgo-bg-secondary) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 14px;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    height: 140px;
    position: relative;
    overflow: hidden;
}

.csgo-prizes-welcome-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.5);
}

.csgo-prizes-welcome-card img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
    margin-top: 14px;
    flex-shrink: 0;
}

.csgo-prizes-welcome-card .card-name {
    font-size: 11px;
    color: var(--csgo-text-primary);
    font-weight: 600;
    text-align: center;
    margin-top: auto;
    margin-bottom: 4px;
    line-height: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 28px;
    flex-shrink: 0;
    width: 100%;
    vertical-align: top;
}

.csgo-prizes-welcome-card .card-quality {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 8px;
    margin-top: 6px;
    opacity: 0.9;
    flex-shrink: 0;
    margin-bottom: 2px;
}

.csgo-prizes-welcome-card.quality-common .card-quality {
    background: rgba(108, 117, 125, 0.8);
    color: #fff;
}

.csgo-prizes-welcome-card.quality-uncommon .card-quality {
    background: rgba(40, 167, 69, 0.8);
    color: #fff;
}

.csgo-prizes-welcome-card.quality-rare .card-quality {
    background: rgba(40, 167, 69, 0.8);
    color: #fff;
}

.csgo-prizes-welcome-card.quality-epic .card-quality {
    background: rgba(147, 51, 234, 0.8);
    color: #fff;
}

.csgo-prizes-welcome-card.quality-legendary .card-quality {
    background: linear-gradient(90deg, #9333EA, #6366F1, #06B6D4, #F59E0B);
    color: #ffffff;
}

/* 欢迎弹窗卡片的斜标样式 - 统一为全部奖品展示样式 */
.csgo-prizes-welcome-card .corner-tag {
    width: 70px;
    height: 70px;
}

.csgo-prizes-welcome-card .corner-tag::before {
    top: 4px;
    left: -26px;
    width: 100px;
    height: 17px;
}

.csgo-prizes-welcome-card .corner-tag span {
    top: 8px;
    left: -14px;
    font-size: 12px;
    width: 70px;
}

.csgo-prizes-welcome-btn {
    width: calc(100% - 48px);
    margin: 20px 24px 24px;
    padding: 16px;
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 25%, #06B6D4 50%, #F59E0B 100%);
    background-size: 200% 200%;
    border: none;
    border-radius: 14px;
    color: var(--csgo-bg-primary);
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.4), 0 0 40px rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    animation: buttonGradient 4s ease infinite;
}

.csgo-prizes-welcome-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(139, 92, 246, 0.55), 0 0 60px rgba(59, 130, 246, 0.35);
}

.csgo-prizes-welcome-btn:active {
    transform: translateY(-1px);
}

.csgo-rules-section {
    width: 100%;
    max-width: 400px;
    margin-top: 24px;
}

.csgo-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--csgo-gold);
    text-align: center;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.4), 0 0 20px rgba(59, 130, 246, 0.25), 0 0 30px rgba(6, 182, 212, 0.15);
    background: linear-gradient(90deg, #8B5CF6 0%, #3B82F6 25%, #06B6D4 50%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.csgo-rules-list {
    background: linear-gradient(135deg, var(--csgo-bg-card) 0%, var(--csgo-bg-secondary) 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
}

.csgo-rule-item {
    padding: 24px 28px;
    position: relative;
    transition: all 0.3s ease;
}

.csgo-rule-item:hover {
    background: rgba(255, 199, 0, 0.05);
}

.csgo-rule-item:last-child {
    border-bottom: none;
}

.csgo-rule-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--csgo-gold);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-shadow: 0 0 8px rgba(255, 199, 0, 0.3);
}

.csgo-rule-title::before {
    content: '';
    width: 6px;
    height: 24px;
    background: linear-gradient(180deg, var(--csgo-gold), var(--csgo-accent));
    border-radius: 3px;
    box-shadow: 0 0 8px var(--csgo-glow);
}

.csgo-rule-content {
    font-size: 17px;
    color: var(--csgo-text-secondary);
    line-height: 2;
    padding-left: 18px;
    font-weight: 400;
    text-align: left;
}

.csgo-rule-content br {
    display: block;
    content: '';
    margin-bottom: 10px;
}

@media (max-width: 480px) {
    .csgo-header {
        padding: 12px 12px;
    }
    
    .csgo-header .csgo-rules-button {
        top: 12px;
        right: 12px;
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .csgo-header .csgo-rules-button svg {
        width: 16px;
        height: 16px;
    }
    
    .csgo-logo {
        font-size: 22px;
        letter-spacing: 2px;
    }
    
    .csgo-subtitle {
        font-size: 10px;
        margin-top: 6px;
        letter-spacing: 2px;
    }
    
    .csgo-user-bar {
        padding: 10px 12px;
    }
    
    .csgo-user-info {
        gap: 10px;
    }
    
    .csgo-avatar {
        width: 34px;
        height: 34px;
        font-size: 13px;
        border-width: 2px;
    }
    
    .csgo-user-name {
        font-size: 13px;
    }
    
    .csgo-user-mobile {
        font-size: 11px;
    }
    
    #csgoLogoutBtn {
        padding: 6px 10px;
        font-size: 11px;
        margin-left: 6px;
    }
    
    .csgo-marquee {
        padding: 8px 12px;
        margin-bottom: 14px;
        border-radius: 10px;
    }
    
    .csgo-marquee-title {
        font-size: 10px;
        margin-bottom: 6px;
    }
    
    .csgo-winner-chip {
        padding: 5px 12px;
        font-size: 11px;
        gap: 5px;
        border-radius: 16px;
    }
    
    .csgo-case-viewport {
        padding: 14px 10px;
        border-radius: 20px;
        margin: 0 -4px;
    }
    
    .csgo-case-header {
        margin-bottom: 12px;
    }
    
    .csgo-case-title {
        font-size: 16px;
        letter-spacing: 3px;
    }   
    .csgo-roulette-container {
        height: 160px;
        border-radius: 16px;
    }
    
    .csgo-roulette-container::before,
    .csgo-roulette-container::after {
        width: 50px;
    }
    
    .csgo-roulette-track {
        gap: 6px;
        padding: 0 calc(50% - 70px);
    }
    
    .csgo-prize-card {
        width: 130px;
        height: 135px;
        padding: 12px 10px;
        border-radius: 12px;
        justify-content: flex-start;
    }
    
    .csgo-prize-card img {
        width: 70px;
        height: 70px;
    }
    
    .csgo-prize-card .prize-name {
        font-size: 11px;
        color: var(--csgo-text-primary);
        font-weight: 600;
        margin-top: 18px;
        max-height: 30px;
    }
    
    .csgo-winner-indicator {
        width: 4px;
    }
    
    .csgo-winner-indicator::before,
    .csgo-winner-indicator::after {
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
    }
    
    .csgo-winner-indicator::before {
        top: -7px;
    }
    
    .csgo-winner-indicator::after {
        bottom: -7px;
    }
    
    .csgo-draw-button {
        padding: 14px 20px;
        font-size: 15px;
        border-radius: 12px;
        margin-top: 16px;
    }
    
    .csgo-draw-button-tickets {
        font-size: 10px;
    }
    
    .csgo-prizes-display {
        margin: 16px auto 0;
        border-radius: 16px;
    }

    .csgo-prizes-display-header {
        padding: 12px 16px;
    }

    .csgo-prizes-display-title {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .csgo-prizes-display-count {
        font-size: 11px;
        padding: 3px 10px;
    }

    .csgo-prizes-display-grid {
        grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
        gap: 10px;
        padding: 12px;
        max-height: 270px;
    }

    .csgo-prizes-display-grid .csgo-display-prize-card {
        min-height: 110px;
        width: 100%;
        height: auto;
        padding: 12px 8px;
    }

    .csgo-prizes-display-grid .csgo-display-prize-card img {
        width: 60px;
        height: 60px;
    }

    .csgo-prizes-display-grid .csgo-display-prize-card .prize-name {
        font-size: 10px;
        margin-top: 12px;
        max-height: 30px;
    }

    .csgo-stats {
        gap: 60px;
        margin-top: 14px;
        padding: 16px 20px;
        border-radius: 12px;
    }
    
    .csgo-stat-item {
        padding: 0 10px;
    }
    
    .csgo-stat-item:not(:last-child)::after {
        height: 20px;
    }
    
    .csgo-stat-value {
        font-size: 20px;
    }
    
    .csgo-stat-label {
        font-size: 9px;
        letter-spacing: 1px;
        margin-top: 3px;
    }
    
    .csgo-inventory-icon {
        width: 46px;
        height: 46px;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        bottom: auto;
    }
    
    .csgo-inventory-icon:hover {
        transform: translateY(-50%) scale(1.1);
    }
    
    .csgo-inventory-icon.dragging {
        transform: translateY(-50%) scale(1.15);
    }
    
    .csgo-inventory-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .csgo-inventory-badge {
        min-width: 18px;
        height: 18px;
        font-size: 10px;
        padding: 0 5px;
    }
    
    .csgo-rules-section {
        margin-top: 16px;
    }
    
    .csgo-section-title {
        font-size: 14px;
        margin-bottom: 10px;
        letter-spacing: 2px;
    }
    
    .csgo-rules-list {
        border-radius: 12px;
    }
    
    .csgo-rule-item {
        padding: 18px 20px;
    }
    
    .csgo-rule-title {
        font-size: 17px;
        margin-bottom: 10px;
        gap: 8px;
    }
    
    .csgo-rule-title::before {
        height: 20px;
        width: 5px;
    }
    
    .csgo-rule-content {
        font-size: 15px;
        line-height: 1.8;
        padding-left: 13px;
        text-align: left;
    }
    
    .csgo-modal {
        padding: 12px;
        align-items: flex-end;
    }
    
    .csgo-modal-content {
        max-width: 100%;
        border-radius: 20px 20px 16px 16px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .csgo-modal-content .csgo-form-tabs {
        padding: 60px 40px 0 16px;
    }
    
    .csgo-auth-form {
        padding: 0 16px 16px 16px;
        min-height: auto;
    }
    
    .csgo-form-tabs {
        gap: 0;
        margin-bottom: 16px;
    }
    
    .csgo-form-tab {
        padding: 12px;
        font-size: 13px;
        letter-spacing: 1px;
        border-radius: 0;
        border-right: none;
    }
    
    .csgo-form-tab:first-child {
        border-radius: 10px 0 0 10px;
    }
    
    .csgo-form-tab:last-child {
        border-radius: 0 10px 10px 0;
        border-right: 2px solid rgba(255, 199, 0, 0.15);
    }
    
    .csgo-form-group {
        margin-bottom: 14px;
    }
    
    .csgo-form-label {
        font-size: 11px;
        margin-bottom: 6px;
        letter-spacing: 1px;
    }
    
    .csgo-form-input {
        padding: 12px 14px;
        font-size: 16px;
        border-radius: 10px;
    }
    
    .csgo-form-submit {
        padding: 14px;
        font-size: 14px;
        letter-spacing: 2px;
        margin-top: 6px;
        border-radius: 10px;
    }
    
    .csgo-modal-badge {
        padding: 8px 18px;
        font-size: 13px;
        letter-spacing: 3px;
        margin: 20px 0 14px 0;
        border-radius: 20px;
    }
    
    .csgo-modal-prize {
        width: 120px;
        height: 120px;
        margin: 0 auto 14px;
        border-radius: 14px;
        border-width: 2px;
        overflow: visible;
    }
    
    .csgo-modal-prize img {
        width: 85px;
        height: 85px;
    }
    
    .marquee-modal-prize {
        width: 85px;
        height: 85px;
    }
    
    .csgo-modal-prize-name {
        font-size: 18px;
        margin-bottom: 6px;
    }
    
    .csgo-modal-prize-desc {
        font-size: 12px;
        padding: 0 14px;
    }
    
    .csgo-modal-button {
        width: calc(100% - 24px);
        margin: 20px 12px 12px 12px;
        padding: 12px;
        font-size: 14px;
        letter-spacing: 2px;
        border-radius: 10px;
    }
    
    .stage-section-head {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
        padding: 0 12px;
    }
    
    .stage-section-head-actions {
        width: 100%;
        justify-content: center;
    }
    
    .stage-section-head-title {
        font-size: 20px;
        letter-spacing: 2px;
    }
    
    .stage-section-head-kicker {
        font-size: 11px;
    }
    
    .stage-section-head-action {
        padding: 8px 14px;
        font-size: 11px;
    }
    
    .csgo-inventory-modal {
        max-width: 100%;
        border-radius: 20px 20px 0 0;
    }
    
    .csgo-inventory-header {
        padding: 16px 16px 12px;
    }
    
    .csgo-inventory-title {
        font-size: 16px;
    }
    
    .csgo-inventory-list {
        padding: 12px;
        max-height: 350px;
    }
    
    .csgo-inventory-item {
        padding: 14px 14px;
        margin-bottom: 10px;
        border-radius: 12px;
        gap: 12px;
    }
    
    .csgo-inventory-image {
        width: 72px;
        height: 72px;
    }
    
    .csgo-inventory-image img {
        width: 52px;
        height: 52px;
    }
    
    .csgo-inventory-item .corner-tag {
        width: 70px;
        height: 70px;
    }
    
    .csgo-inventory-item .corner-tag::before {
        top: 8px;
        left: -26px;
        width: 90px;
        height: 17px;
    }
    
    .csgo-inventory-item .corner-tag span {
        top: 8px;
        left: -14px;
        font-size: 10px;
        width: 70px;
    }
    
    .csgo-inventory-name {
        font-size: 13px;
    }
    
    .csgo-inventory-time {
        font-size: 10px;
    }
    
    .csgo-inventory-status {
        padding: 3px 8px;
        font-size: 10px;
        min-width: 45px;
    }
    
    .csgo-prize-card .quality-badge {
        font-size: 8px;
        padding: 3px 6px;
        top: 6px;
        right: 6px;
    }
    
    .csgo-prize-card {
        padding: 12px 8px;
    }
    
    .csgo-prize-card .prize-name {
        margin-top: 10px;
    }
    
    .csgo-prizes-display-grid {
        gap: 12px;
        padding: 16px;
    }
    
    .csgo-prizes-display-grid .csgo-prize-card {
        min-height: 120px;
    }
    
    .csgo-prize-card.quality-common::before,
    .csgo-prize-card.quality-uncommon::before,
    .csgo-prize-card.quality-rare::before,
    .csgo-prize-card.quality-epic::before,
    .csgo-prize-card.quality-legendary::before {
        height: 2px;
    }
}

.marquee-card-wrapper {
    position: relative;
    display: inline-flex;
    border-radius: 18px;
    padding: 3px;
    flex-shrink: 0;
}

.csgo-roulette-track .marquee-card-wrapper {
    align-items: center;
    justify-content: center;
    width: 146px;
    height: 176px;
}

@media (max-width: 480px) {
    .csgo-roulette-track .marquee-card-wrapper {
        width: 136px;
        height: 141px;
    }
}

.csgo-prizes-display-grid .marquee-card-wrapper,
.csgo-prizes-welcome-grid .marquee-card-wrapper {
    width: 100%;
    border-radius: 14px;
}

.marquee-card-wrapper::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    z-index: 0;
    animation: marqueeRotate 3s linear infinite;
    background-size: 300% 300%;
}

.marquee-card-wrapper::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: calc(inherit + 4px);
    z-index: -1;
    filter: blur(16px);
    opacity: 0.8;
    animation: marqueeRotate 3s linear infinite, marqueeGlowPulse 2s ease-in-out infinite;
}

.marquee-card-wrapper > .csgo-prize-card,
.marquee-card-wrapper > .csgo-display-prize-card,
.marquee-card-wrapper > .csgo-prizes-welcome-card {
    position: relative;
    z-index: 1;
    outline: 1px solid rgba(255, 255, 255, 0.18);
    outline-offset: -1px;
    flex-shrink: 0;
    width: 100%;
}

@keyframes marqueeRotate {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes marqueeGlowPulse {
    0%, 100% { opacity: 0.4; }
    50%       { opacity: 0.95; }
}

.marquee-card-wrapper.marquee-legendary::before {
    background: conic-gradient(
        from 0deg,
        #00e5ff 0deg,
        #aa00ff 60deg,
        #ff0080 120deg,
        #ff6d00 180deg,
        #ffea00 240deg,
        #00ff88 300deg,
        #00e5ff 360deg
    );
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    border-radius: 0;
}

.marquee-card-wrapper.marquee-legendary::after {
    background: conic-gradient(
        from 0deg,
        #00e5ff,
        #aa00ff,
        #ff0080,
        #ff6d00,
        #ffea00,
        #00ff88,
        #00e5ff
    );
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    border-radius: 0;
}

.marquee-card-wrapper.marquee-legendary {
    box-shadow:
        0 0 16px 4px rgba(123, 47, 255, 0.6),
        0 0 32px 8px rgba(0, 207, 255, 0.45),
        0 0 56px 12px rgba(255, 47, 160, 0.3),
        0 0 80px 16px rgba(255, 214, 0, 0.15);
    animation: legendaryWrapperGlow 3s ease-in-out infinite;
}

@keyframes legendaryWrapperGlow {
    0%   { box-shadow: 0 0 14px 3px rgba(0, 207, 255, 0.65), 0 0 28px 7px rgba(123, 47, 255, 0.45), 0 0 50px 10px rgba(255, 47, 160, 0.25), 0 0 72px 14px rgba(0, 230, 118, 0.12); }
    33%  { box-shadow: 0 0 16px 4px rgba(255, 47, 160, 0.65), 0 0 32px 8px rgba(255, 123, 0, 0.45), 0 0 56px 12px rgba(255, 214, 0, 0.25), 0 0 80px 16px rgba(123, 47, 255, 0.12); }
    66%  { box-shadow: 0 0 16px 4px rgba(255, 230, 0, 0.6), 0 0 32px 8px rgba(0, 230, 118, 0.4), 0 0 56px 12px rgba(0, 207, 255, 0.25), 0 0 80px 16px rgba(255, 47, 160, 0.12); }
    100% { box-shadow: 0 0 14px 3px rgba(0, 207, 255, 0.65), 0 0 28px 7px rgba(123, 47, 255, 0.45), 0 0 50px 10px rgba(255, 47, 160, 0.25), 0 0 72px 14px rgba(0, 230, 118, 0.12); }
}

.marquee-card-wrapper.marquee-epic::before {
    background: conic-gradient(
        from 0deg,
        #9333EA 0deg,
        #A855F7 72deg,
        #9333EA 144deg,
        #7C3AED 216deg,
        #A855F7 288deg,
        #9333EA 360deg
    );
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    border-radius: 0;
}

.marquee-card-wrapper.marquee-epic::after {
    background: conic-gradient(
        from 0deg,
        #9333EA,
        #A855F7,
        #9333EA,
        #7C3AED,
        #A855F7,
        #9333EA
    );
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    border-radius: 0;
}

.marquee-card-wrapper.marquee-epic {
    box-shadow:
        0 0 14px 3px rgba(147, 51, 234, 0.65),
        0 0 28px 7px rgba(168, 85, 247, 0.4),
        0 0 48px 10px rgba(124, 58, 237, 0.25),
        0 0 68px 14px rgba(147, 51, 234, 0.15);
    animation: epicWrapperGlow 2.5s ease-in-out infinite;
}

@keyframes epicWrapperGlow {
    0%   { box-shadow: 0 0 14px 3px rgba(147, 51, 234, 0.7), 0 0 28px 6px rgba(168, 85, 247, 0.45), 0 0 48px 10px rgba(124, 58, 237, 0.25), 0 0 68px 12px rgba(147, 51, 234, 0.12); }
    50%  { box-shadow: 0 0 16px 4px rgba(168, 85, 247, 0.65), 0 0 32px 8px rgba(124, 58, 237, 0.4), 0 0 52px 12px rgba(147, 51, 234, 0.25), 0 0 72px 14px rgba(168, 85, 247, 0.12); }
    100% { box-shadow: 0 0 14px 3px rgba(147, 51, 234, 0.7), 0 0 28px 6px rgba(168, 85, 247, 0.45), 0 0 48px 10px rgba(124, 58, 237, 0.25), 0 0 68px 12px rgba(147, 51, 234, 0.12); }
}

.marquee-card-wrapper.marquee-legendary::before,
.marquee-card-wrapper.marquee-legendary::after {
    animation: marqueeRotate 1.8s linear infinite, marqueeGlowPulse 1.4s ease-in-out infinite;
}

.marquee-card-wrapper.marquee-epic::before,
.marquee-card-wrapper.marquee-epic::after {
    animation: marqueeRotate 2.5s linear infinite, marqueeGlowPulse 2s ease-in-out infinite;
}

.marquee-card-wrapper {
    overflow: hidden;
}

.marquee-card-wrapper > .csgo-prize-card {
    margin: 0;
}

.marquee-card-wrapper > .csgo-display-prize-card {
    margin: 0;
}

.marquee-card-wrapper > .csgo-prizes-welcome-card {
    margin: 0;
}
@media (max-width: 480px) {
    .marquee-card-wrapper {
        padding: 2px;
        border-radius: 14px;
    }
    .marquee-card-wrapper.marquee-legendary::before,
    .marquee-card-wrapper.marquee-legendary::after,
    .marquee-card-wrapper.marquee-epic::before,
    .marquee-card-wrapper.marquee-epic::after {
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
    }
}
.marquee-modal-prize > img,
.marquee-modal-prize > div {
    position: relative;
    z-index: 1;
}
.marquee-modal-prize {
    width: 140px;
    height: 140px;
}

.csgo-rules-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 400px;
    margin: 24px auto 0;
    padding: 16px 24px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(6, 182, 212, 0.12) 100%);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 14px;
    color: var(--csgo-gold);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.csgo-rules-button svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.csgo-rules-button:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25) 0%, rgba(6, 182, 212, 0.2) 100%);
    border-color: rgba(139, 92, 246, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.18);
}

.csgo-rules-button:active {
    transform: translateY(0);
}

.csgo-rules-modal {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    max-height: 85vh;
    overflow: hidden;
}

.csgo-rules-modal-header {
    padding: 48px 24px 16px 24px;
    text-align: center;
}

.csgo-rules-modal-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--csgo-gold);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.4), 0 0 20px rgba(59, 130, 246, 0.25), 0 0 30px rgba(6, 182, 212, 0.15);
    background: linear-gradient(90deg, #8B5CF6 0%, #3B82F6 25%, #06B6D4 50%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.csgo-rules-modal-content {
    flex: 1;
    overflow-y: auto;
    padding: 0 24px 16px 24px;
}

.csgo-rules-modal-content::-webkit-scrollbar {
    width: 6px;
}

.csgo-rules-modal-content::-webkit-scrollbar-track {
    background: var(--csgo-bg-secondary);
    border-radius: 3px;
}

.csgo-rules-modal-content::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.5);
    border-radius: 3px;
}

.csgo-rules-modal-footer {
    padding: 0 24px 24px 24px;
}

@media (max-width: 480px) {
    .csgo-rules-button {
        max-width: 100%;
        padding: 14px 20px;
        font-size: 14px;
        margin: 16px auto 0;
    }
    
    .csgo-rules-button svg {
        width: 20px;
        height: 20px;
    }
    
    .csgo-rules-modal-header {
        padding: 48px 16px 12px 16px;
    }
    
    .csgo-rules-modal-title {
        font-size: 22px;
        letter-spacing: 1.5px;
    }
    
    .csgo-rules-modal-content {
        padding: 0 16px 12px 16px;
    }
    
    .csgo-rules-modal-footer {
        padding: 0 16px 16px 16px;
    }
    
    .marquee-modal-prize {
        width: 95px;
        height: 95px;
    }
    
    /* 移动端性能优化 */
    .csgo-modal-content {
        box-shadow:
            0 0 30px rgba(147, 51, 234, 0.25),
            0 40px 60px var(--csgo-shadow),
            0 0 0 1px rgba(255, 255, 255, 0.05);
    }
    
    .csgo-modal-badge,
    .csgo-form-submit,
    .csgo-draw-button,
    .csgo-modal-button,
    .csgo-prizes-welcome-btn {
        animation: none;
        background: linear-gradient(135deg, #9333EA 0%, #6366F1 50%, #06B6D4 75%, #F59E0B 100%);
    }
    
    .csgo-prize-card.quality-legendary::before,
    .csgo-prize-card.quality-epic::before,
    .csgo-prize-card.quality-rare::before,
    .csgo-prize-card.quality-uncommon::before {
        animation: none;
    }
    
    .csgo-prize-card.quality-legendary::after {
        animation: none;
    }
    
    .csgo-winner-indicator {
        animation: none;
        box-shadow:
            0 0 20px rgba(245, 158, 11, 0.5),
            0 0 40px rgba(147, 51, 234, 0.3),
            -3px 0 10px rgba(245, 158, 11, 0.4),
            3px 0 10px rgba(147, 51, 234, 0.4);
    }
    
    .csgo-logo {
        animation: none;
    }
    
    .csgo-case-viewport::before,
    .csgo-case-viewport::after {
        animation: none;
    }
    
    .marquee-card-wrapper::before,
    .marquee-card-wrapper::after {
        animation: none;
    }
    
    .marquee-card-wrapper.marquee-legendary,
    .marquee-card-wrapper.marquee-epic {
        animation: none;
    }
    
    .csgo-modal-prize-name {
        animation: none;
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5), 0 0 20px rgba(139, 92, 246, 0.3);
    }
    
    .csgo-modal-prize::before {
        animation: none;
        opacity: 0.4;
    }
    
    .csgo-inventory-status.pending {
        animation: none;
    }
}

/* 2026-05 auth modal mobile readability fix */
body[data-site-theme="csgo"] #csgoAuthModal {
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
    background: rgba(0, 0, 0, 0.78) !important;
}

body[data-site-theme="csgo"] .csgo-auth-modal-content {
    width: min(430px, calc(100vw - 32px)) !important;
    max-width: 430px !important;
    max-height: min(84vh, 720px) !important;
    padding: 28px 18px 18px !important;
    border: 1px solid rgba(139, 92, 246, 0.38) !important;
    border-radius: 24px !important;
    background:
        radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.12), transparent 28%),
        linear-gradient(135deg, rgba(31, 28, 40, 0.98), rgba(13, 14, 24, 0.98) 58%, rgba(17, 27, 42, 0.98)) !important;
    overflow-y: auto !important;
    text-align: center !important;
    box-shadow:
        0 28px 76px rgba(0, 0, 0, 0.66),
        0 0 36px rgba(139, 92, 246, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

body[data-site-theme="csgo"] .csgo-auth-modal-content > * {
    position: relative;
    z-index: 1;
}

body[data-site-theme="csgo"] .csgo-auth-modal-content::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 44px !important;
    right: 44px !important;
    height: 3px !important;
    border-radius: 0 0 999px 999px !important;
    background: linear-gradient(90deg, transparent, #8B5CF6, #06B6D4, #F59E0B, transparent) !important;
    box-shadow: 0 0 18px rgba(139, 92, 246, 0.55) !important;
}

body[data-site-theme="csgo"] .csgo-auth-title {
    display: block !important;
    margin: 0 52px 22px !important;
    color: var(--csgo-text-primary) !important;
    -webkit-text-fill-color: var(--csgo-text-primary) !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    line-height: 1.22 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    text-shadow: 0 0 18px rgba(245, 158, 11, 0.2), 0 0 28px rgba(139, 92, 246, 0.32) !important;
    writing-mode: horizontal-tb !important;
}

body[data-site-theme="csgo"] .csgo-auth-modal-content .csgo-modal-close {
    position: absolute !important;
    top: 18px !important;
    right: 18px !important;
    width: 36px !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--csgo-text-primary) !important;
    font-size: 24px !important;
    line-height: 1 !important;
    z-index: 3 !important;
    transform: none !important;
}

body[data-site-theme="csgo"] .csgo-auth-modal-content .csgo-form-tabs {
    display: flex !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    border: 2px solid rgba(245, 158, 11, 0.16) !important;
    border-radius: 14px !important;
    background: rgba(8, 8, 12, 0.42) !important;
    overflow: hidden !important;
}

body[data-site-theme="csgo"] .csgo-auth-modal-content .csgo-form-tab {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    padding: 11px 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--csgo-text-secondary) !important;
    -webkit-text-fill-color: currentColor !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    writing-mode: horizontal-tb !important;
}

body[data-site-theme="csgo"] .csgo-auth-modal-content .csgo-form-tab + .csgo-form-tab {
    border-left: 2px solid rgba(245, 158, 11, 0.16) !important;
}

body[data-site-theme="csgo"] .csgo-auth-modal-content .csgo-form-tab.active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.48), rgba(6, 182, 212, 0.18)) !important;
    color: var(--csgo-gold-light) !important;
    box-shadow: inset 0 0 0 2px #8B5CF6, 0 0 22px rgba(139, 92, 246, 0.24) !important;
    transform: none !important;
}

body[data-site-theme="csgo"] .csgo-auth-form {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body[data-site-theme="csgo"] .csgo-auth-modal-content .csgo-form-group {
    width: 100% !important;
    margin: 0 0 13px !important;
    min-height: 0 !important;
}

body[data-site-theme="csgo"] .csgo-auth-modal-content .csgo-form-label {
    display: block !important;
    margin: 0 0 8px !important;
    color: var(--csgo-text-secondary) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    text-transform: none !important;
    writing-mode: horizontal-tb !important;
}

body[data-site-theme="csgo"] .csgo-auth-modal-content .csgo-form-input {
    display: block !important;
    width: 100% !important;
    height: 54px !important;
    min-height: 54px !important;
    padding: 0 16px !important;
    border-radius: 12px !important;
    color: var(--csgo-text-primary) !important;
    -webkit-text-fill-color: var(--csgo-text-primary) !important;
    font-size: 18px !important;
    line-height: 54px !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    writing-mode: horizontal-tb !important;
}

body[data-site-theme="csgo"] .csgo-auth-modal-content .csgo-form-input::placeholder {
    color: rgba(168, 168, 192, 0.72) !important;
    -webkit-text-fill-color: rgba(168, 168, 192, 0.72) !important;
}

body[data-site-theme="csgo"] .csgo-auth-modal-content .csgo-privacy-notice {
    margin: 2px 0 16px !important;
    padding: 14px !important;
    border-radius: 14px !important;
    text-align: left !important;
}

body[data-site-theme="csgo"] .csgo-auth-modal-content .csgo-privacy-title {
    margin-bottom: 8px !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    writing-mode: horizontal-tb !important;
}

body[data-site-theme="csgo"] .csgo-auth-modal-content .csgo-privacy-text,
body[data-site-theme="csgo"] .csgo-auth-modal-content .csgo-privacy-text p {
    color: var(--csgo-text-primary) !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    writing-mode: horizontal-tb !important;
    word-break: break-word !important;
}

body[data-site-theme="csgo"] .csgo-auth-modal-content .csgo-form-submit {
    width: 100% !important;
    min-height: 52px !important;
    margin: 2px 0 0 !important;
    padding: 0 18px !important;
    border-radius: 14px !important;
    color: #070712 !important;
    -webkit-text-fill-color: #070712 !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    line-height: 52px !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    writing-mode: horizontal-tb !important;
}

body[data-site-theme="csgo"] .csgo-invite-auto-tip {
    margin-top: 8px;
    color: var(--csgo-text-secondary) !important;
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
}

@media (max-width: 480px) {
    body[data-site-theme="csgo"] #csgoAuthModal {
        padding: 12px !important;
    }

    body[data-site-theme="csgo"] .csgo-auth-modal-content {
        width: calc(100vw - 24px) !important;
        padding: 24px 16px 16px !important;
        border-radius: 20px !important;
    }

    body[data-site-theme="csgo"] .csgo-auth-title {
        margin-bottom: 20px !important;
        font-size: 21px !important;
    }

    body[data-site-theme="csgo"] .csgo-auth-modal-content .csgo-form-input {
        height: 52px !important;
        min-height: 52px !important;
        line-height: 52px !important;
    }

    body[data-site-theme="csgo"] .csgo-auth-modal-content .csgo-privacy-text,
    body[data-site-theme="csgo"] .csgo-auth-modal-content .csgo-privacy-text p {
        font-size: 14px !important;
    }
}
