/* ═══════════════════════════════════════════
   Письмо счастья — 8 Марта Edition 🌷
   Festive Spring Design — by Дубаева Яна
   ═══════════════════════════════════════════ */

:root {
    /* Spring tulip palette */
    --tulip-red: #ff3a6e;
    --tulip-coral: #ff6b6b;
    --tulip-pink: #ff8fab;
    --tulip-fuchsia: #e91e8c;
    --tulip-purple: #9b5de5;
    --tulip-violet: #7b2ff7;
    --tulip-gold: #ffd166;
    --tulip-green: #06d6a0;

    --white: #ffffff;
    --white-90: rgba(255, 255, 255, 0.9);
    --white-80: rgba(255, 255, 255, 0.8);
    --white-60: rgba(255, 255, 255, 0.6);
    --white-30: rgba(255, 255, 255, 0.3);
    --white-20: rgba(255, 255, 255, 0.2);
    --white-10: rgba(255, 255, 255, 0.1);
    --white-06: rgba(255, 255, 255, 0.06);

    --shadow-glow: 0 0 40px rgba(255, 58, 110, 0.45);
    --shadow-gold: 0 0 30px rgba(255, 209, 102, 0.35);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.25);

    --radius-sm: 14px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    min-height: 100vh;
    font-family: var(--font);
    font-size: 16px;
    color: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ─── Animated festive background ─── */
body {
    background: linear-gradient(160deg,
            #12003e 0%,
            #2a0050 25%,
            #500030 55%,
            #1a0040 100%);
    background-attachment: fixed;
}

/* Glowing blobs */
body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: blobFloat 8s ease-in-out infinite alternate;
}

body::before {
    width: 60vw;
    height: 60vw;
    top: -15vw;
    left: -15vw;
    background: radial-gradient(circle, rgba(233, 30, 140, 0.18) 0%, transparent 70%);
}

body::after {
    width: 50vw;
    height: 50vw;
    bottom: -10vw;
    right: -10vw;
    background: radial-gradient(circle, rgba(123, 47, 247, 0.2) 0%, transparent 70%);
    animation-delay: -4s;
}

@keyframes blobFloat {
    from {
        transform: scale(1) translate(0, 0);
    }

    to {
        transform: scale(1.12) translate(3%, 3%);
    }
}

/* ─── Floating tulips background ─── */
.tulip-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.tulip-particle {
    position: absolute;
    font-size: 24px;
    opacity: 0;
    animation: tulipFall linear infinite;
    user-select: none;
}

@keyframes tulipFall {
    0% {
        opacity: 0;
        transform: translateY(-60px) rotate(0deg) scale(0.7);
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.4;
    }

    100% {
        opacity: 0;
        transform: translateY(110vh) rotate(360deg) scale(1);
    }
}

/* ─── App Header ─── */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(18, 0, 56, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.role-badge-icon {
    font-size: 22px;
    line-height: 1;
    display: none;
    cursor: default;
    filter: drop-shadow(0 0 6px rgba(255, 209, 102, 0.6));
}

/* ─── Chat Selector ─── */
.chat-selector-wrap {
    position: relative;
}

.chat-selector-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: linear-gradient(135deg, rgba(233, 30, 140, 0.3), rgba(123, 47, 247, 0.3));
    border: 1px solid rgba(255, 139, 171, 0.4);
    border-radius: 22px;
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.25s;
    max-width: 190px;
    box-shadow: 0 0 12px rgba(233, 30, 140, 0.2);
}

.chat-selector-btn:hover {
    background: linear-gradient(135deg, rgba(233, 30, 140, 0.5), rgba(123, 47, 247, 0.5));
    box-shadow: 0 0 20px rgba(233, 30, 140, 0.35);
}

#chat-selector-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 140px;
}

.chat-selector-arrow {
    flex-shrink: 0;
    transition: transform 0.2s;
}

.chat-selector-btn.open .chat-selector-arrow {
    transform: rotate(180deg);
}

.chat-selector-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 210px;
    background: rgba(25, 5, 65, 0.97);
    border: 1px solid rgba(255, 139, 171, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(233, 30, 140, 0.15);
    z-index: 1100;
}

.chat-selector-dropdown.hidden {
    display: none;
}

.chat-option {
    padding: 13px 16px;
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-option:last-child {
    border-bottom: none;
}

.chat-option:hover {
    background: rgba(233, 30, 140, 0.15);
}

.chat-option.active {
    background: linear-gradient(90deg, rgba(233, 30, 140, 0.3), rgba(123, 47, 247, 0.3));
    font-weight: 800;
}

/* ─── Screens ─── */
.screen {
    display: none;
    min-height: 100vh;
    padding: 80px 16px 24px;
    position: relative;
    z-index: 1;
}

.screen.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Yana credit footer ─── */
.yana-credit {
    text-align: center;
    margin-top: 20px;
    font-size: 11px;
    color: rgba(255, 209, 102, 0.55);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.yana-credit span {
    color: rgba(255, 209, 102, 0.8);
    font-weight: 700;
}

/* ══════════════════════════════════════
   Screen 1: Welcome
   ══════════════════════════════════════ */

.welcome-container {
    text-align: center;
    max-width: 390px;
    width: 100%;
}

.welcome-emoji {
    font-size: 72px;
    margin-bottom: 10px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 58, 110, 0.5));
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.welcome-title {
    font-size: 34px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #ffccd5, #ff8fab, #e91e8c, #9b5de5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.welcome-subtitle {
    font-size: 13px;
    font-weight: 700;
    color: var(--tulip-gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 24px;
    text-shadow: 0 0 12px rgba(255, 209, 102, 0.5);
}

.welcome-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 139, 171, 0.25);
    border-radius: var(--radius-lg);
    padding: 22px 18px;
    margin-bottom: 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.welcome-text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--white-80);
    margin-bottom: 14px;
}

.warning-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(255, 58, 110, 0.12);
    border: 1px solid rgba(255, 58, 110, 0.3);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    text-align: left;
}

.warning-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

.warning-box p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--white-80);
}

.warning-box strong {
    color: var(--tulip-coral);
}

/* Progress */
.gifts-progress-container {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 14px;
    margin-top: 14px;
    text-align: left;
}

.gifts-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.progress-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--white-80);
}

.progress-count {
    font-size: 14px;
    font-weight: 800;
    color: var(--tulip-gold);
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--tulip-fuchsia), var(--tulip-gold));
    border-radius: 4px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: translateX(-100%);
    animation: shimmerProgress 2s infinite;
}

@keyframes shimmerProgress {
    100% {
        transform: translateX(100%);
    }
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px 32px;
    font-family: var(--font);
    font-size: 17px;
    font-weight: 800;
    color: var(--white);
    background: linear-gradient(135deg, var(--tulip-fuchsia) 0%, var(--tulip-red) 50%, var(--tulip-purple) 100%);
    background-size: 200% 200%;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: btnGlow 3s ease-in-out infinite;
}

@keyframes btnGlow {

    0%,
    100% {
        box-shadow: 0 0 30px rgba(233, 30, 140, 0.5), 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    50% {
        box-shadow: 0 0 50px rgba(255, 58, 110, 0.7), 0 4px 20px rgba(0, 0, 0, 0.3);
    }
}

.btn-primary:active {
    transform: scale(0.97);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
    pointer-events: none;
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-arrow {
    font-size: 20px;
    transition: transform 0.3s;
}

.btn-primary:active .btn-arrow {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    padding: 15px 32px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 139, 171, 0.3);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:active {
    background: rgba(255, 255, 255, 0.18);
}

/* ══════════════════════════════════════
   Screen 2: Range Selection
   ══════════════════════════════════════ */
.range-container {
    text-align: center;
    max-width: 390px;
    width: 100%;
}

.range-title {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 6px;
    background: linear-gradient(135deg, #ffccd5, #ff8fab, #e91e8c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.range-subtitle {
    font-size: 14px;
    color: var(--white-60);
    margin-bottom: 28px;
}

.range-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.range-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 24px 20px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 139, 171, 0.2);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font);
    color: var(--white);
}

.range-card:active {
    transform: scale(0.97);
    border-color: var(--tulip-red);
    background: rgba(233, 30, 140, 0.18);
    box-shadow: 0 0 30px rgba(233, 30, 140, 0.3);
}

.range-numbers {
    font-size: 38px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--tulip-gold), var(--tulip-coral));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.range-hint {
    font-size: 13px;
    color: var(--white-60);
    font-weight: 600;
}

.range-cubes {
    font-size: 28px;
    letter-spacing: 6px;
    margin-top: 4px;
}

/* ══════════════════════════════════════
   Screen 3: Cube Grid  — SQUARE cubes
   ══════════════════════════════════════ */
.grid-container {
    text-align: center;
    max-width: 390px;
    width: 100%;
}

.grid-title {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #ffccd5, #ff8fab, #e91e8c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.grid-subtitle {
    font-size: 13px;
    color: var(--white-60);
    margin-bottom: 18px;
}

.cube-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    padding: 2px;
}

/* ── SQUARE Cube — enforce 1:1 via padding trick ── */
.cube {
    position: relative;
    aspect-ratio: 1/1;
    perspective: 600px;
    cursor: pointer;
    width: 100%;
}

.cube-inner {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--radius-sm);
}

.cube.flipped .cube-inner {
    transform: rotateY(180deg);
}

.cube-front,
.cube-back {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.cube-front {
    background: linear-gradient(145deg, var(--tulip-fuchsia) 0%, var(--tulip-purple) 100%);
    border: 2px solid rgba(255, 139, 171, 0.35);
    font-size: clamp(12px, 3.5vw, 18px);
    font-weight: 800;
    color: var(--white);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.25s;
}

.cube-front::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.18) 0%, transparent 50%);
    pointer-events: none;
}

.cube:not(.claimed):not(.flipped):active .cube-front {
    transform: scale(0.91);
    box-shadow: var(--shadow-glow);
    border-color: var(--tulip-gold);
}

.cube-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, var(--tulip-green), #059669);
    border: 2px solid rgba(6, 214, 160, 0.5);
    font-size: clamp(16px, 4vw, 22px);
}

/* Claimed cube */
.cube.claimed .cube-front {
    background: linear-gradient(135deg, #2d1b3d, #1a0f2e);
    border-color: rgba(100, 80, 120, 0.4);
    opacity: 0.45;
    cursor: not-allowed;
}

.cube.claimed {
    cursor: not-allowed;
    pointer-events: none;
}

.cube.claimed .cube-front::after {
    display: none;
}

/* Shimmer on available */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.cube:not(.claimed):not(.flipped) .cube-front {
    position: relative;
    overflow: hidden;
}

.cube:not(.claimed):not(.flipped) .cube-front::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 2.5s ease-in-out infinite;
    pointer-events: none;
}

/* ══════════════════════════════════════
   Screen 4: Gift Reveal
   ══════════════════════════════════════ */
.gift-container {
    text-align: center;
    max-width: 390px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.gift-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: 1px solid rgba(255, 139, 171, 0.3);
    border-radius: var(--radius-xl);
    padding: 40px 24px 32px;
    margin-bottom: 22px;
    animation: giftReveal 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 40px rgba(233, 30, 140, 0.2);
}

@keyframes giftReveal {
    from {
        opacity: 0;
        transform: scale(0.65) translateY(40px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.gift-emoji {
    font-size: 76px;
    margin-bottom: 16px;
    animation: bounce 1.2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 209, 102, 0.6));
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

.gift-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--white-60);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.gift-image-wrapper {
    width: 190px;
    height: 190px;
    margin: 0 auto 18px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid rgba(255, 139, 171, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 30px rgba(233, 30, 140, 0.2);
}

.gift-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gift-name {
    font-size: 30px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--tulip-gold), var(--tulip-coral), var(--tulip-fuchsia));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.25;
    margin-bottom: 14px;
    filter: drop-shadow(0 0 8px rgba(255, 209, 102, 0.3));
}

.gift-congrats {
    font-size: 15px;
    color: var(--white-60);
    font-weight: 500;
}

/* ══════════════════════════════════════
   Screen 5: Already Played
   ══════════════════════════════════════ */
.played-container {
    text-align: center;
    max-width: 390px;
    width: 100%;
}

.played-emoji {
    font-size: 68px;
    margin-bottom: 14px;
    filter: drop-shadow(0 0 16px rgba(6, 214, 160, 0.5));
}

.played-title {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #a8ffd0, #06d6a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.played-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(6, 214, 160, 0.25);
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    box-shadow: 0 0 30px rgba(6, 214, 160, 0.12);
}

.played-label {
    font-size: 12px;
    color: var(--white-60);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 14px;
}

/* gift name inside played card */
#played-gift-name {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--tulip-gold), var(--tulip-coral));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ══════════════════════════════════════
   Confetti
   ══════════════════════════════════════ */
.confetti-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -20px;
    opacity: 0;
    animation: confettiFall linear forwards;
}

@keyframes confettiFall {
    0% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }

    100% {
        opacity: 0;
        transform: translateY(100vh) rotate(720deg);
    }
}

/* ══════════════════════════════════════
   Loading overlay
   ══════════════════════════════════════ */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(18, 0, 56, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 139, 171, 0.2);
    border-top-color: var(--tulip-fuchsia);
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
    box-shadow: 0 0 20px rgba(233, 30, 140, 0.3);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ══════════════════════════════════════
   Screen 6: Winners List
   ══════════════════════════════════════ */
.winners-container {
    text-align: center;
    max-width: 430px;
    width: 100%;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
}

.winners-title {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 18px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--tulip-gold), var(--tulip-coral), var(--tulip-fuchsia));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.winners-list {
    flex-grow: 1;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 139, 171, 0.2);
    border-radius: var(--radius-lg);
    padding: 14px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.winners-list::-webkit-scrollbar {
    width: 5px;
}

.winners-list::-webkit-scrollbar-thumb {
    background: rgba(233, 30, 140, 0.4);
    border-radius: 4px;
}

.winner-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.2s;
}

.winner-item:hover {
    background: rgba(233, 30, 140, 0.08);
}

.winner-number {
    font-size: 17px;
    font-weight: 900;
    color: var(--tulip-gold);
    min-width: 30px;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 209, 102, 0.4);
}

.winner-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.winner-gift {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
}

.winner-name {
    font-size: 12px;
    color: var(--white-60);
}

.winner-empty {
    font-size: 14px;
    font-style: italic;
    color: var(--white-60);
}

/* ══════════════════════════════════════
   Screen 7: Admin Chats
   ══════════════════════════════════════ */
.admin-chats-container {
    text-align: center;
    max-width: 430px;
    width: 100%;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
}

.admin-chats-title {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 18px;
    flex-shrink: 0;
    color: var(--tulip-gold);
}

.admin-chats-list {
    flex-grow: 1;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 14px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
}