/* ==========================================================================
   hs-event.css — /event/ 룰렛 이벤트 화면 정리 (2026-09-22)
   index.php 가 맨 뒤(roulette.js 바로 앞)에서 불러와 앞의 스타일 덩어리들을 덮는다.
     .hs-coupons / .hs-cp   쿠폰 받기 카드(예전엔 그림 3장)
     .hs-prize              당첨 가능 상품(늘 펼침 + 등수 뱃지)
     #spinBtn .hs-spin-label 룰렛 돌리기 글자 버튼(예전엔 테두리만 있는 그림)
     .log-time              최근 당첨자 시각
   ⚠ 동작(클릭·추첨·쿠폰 발급)은 index.php·roulette.js 그대로다. 여기는 모양만.
   ========================================================================== */

/* ── 쿠폰 받기 ──────────────────────────────────────────────────────────── */
.hs-coupons { gap: 12px !important; padding: 14px 0 !important; }
.hs-cp {
    --cp: #e8342f;
    --cp-soft: #fff1f0;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    aspect-ratio: auto !important;
    min-height: 0;
    padding: 18px 18px 16px 22px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    background: #fff !important;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 2px 10px rgba(17, 24, 39, .04);
}
.hs-cp::before {                      /* 왼쪽 색 띠 */
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 6px;
    background: var(--cp);
}
.hs-cp.is-green  { --cp: #16a34a; --cp-soft: #ecfdf3; }
.hs-cp.is-purple { --cp: #7c3aed; --cp-soft: #f5f0ff; }
.hs-cp.is-pink   { --cp: #e11d74; --cp-soft: #fff0f6; }
.hs-cp .hs-cp-when { color: #6b7280; font-size: 13px; font-weight: 600; }
.hs-cp .hs-cp-rate { color: var(--cp); font-size: 34px; font-weight: 900; line-height: 1.15; letter-spacing: -1px; }
.hs-cp .hs-cp-rate small { font-size: 20px; margin-left: 1px; }
.hs-cp .hs-cp-rate em { font-style: normal; font-size: 24px; margin-right: 1px; }
.hs-cp .hs-cp-name { color: #111827; font-size: 14px; font-weight: 700; }
.hs-cp .hs-cp-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--cp-soft);
    color: var(--cp);
    font-size: 13px;
    font-weight: 800;
}
.hs-cp .hs-cp-btn::before {           /* 내려받기 화살표 */
    content: "";
    width: 12px; height: 12px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11'/%3E%3Cpath d='m6 10 6 6 6-6'/%3E%3Cpath d='M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11'/%3E%3Cpath d='m6 10 6 6 6-6'/%3E%3Cpath d='M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hs-cp:hover:not(.disabled) { border-color: var(--cp) !important; transform: translateY(-2px); }
.hs-cp:hover:not(.disabled) .hs-cp-btn { background: var(--cp); color: #fff; }
/* 받은 뒤 — 예전엔 검은 막 + '✓ 완료' 가 그림을 덮었다 */
.hs-cp.disabled { opacity: 1 !important; filter: none !important; }
.hs-cp.disabled::after { content: none !important; }
.hs-cp.disabled .hs-cp-rate { color: #9ca3af; }
.hs-cp.disabled::before { background: #d1d5db; }
.hs-cp.disabled .hs-cp-btn { background: #f3f4f6; color: #9ca3af; font-size: 0; }
.hs-cp.disabled .hs-cp-btn::before { display: none; }
.hs-cp.disabled .hs-cp-btn::after { content: "받기 완료"; font-size: 13px; }

/* ── 당첨 가능 상품 — 늘 펼침 ───────────────────────────────────────────── */
.prize-list .toggle-btn { display: none !important; }
.prize-list .prize-list-inner { max-height: none !important; overflow: visible !important; }
.prize-list { background: #fff !important; padding: 16px 18px !important; }
.prize-list h3 { font-size: 15px !important; font-weight: 800 !important; color: #111827 !important; }
.hs-prize { gap: 12px !important; padding: 9px 0 !important; font-size: 14px !important; }
.hs-prize .prize-info { font-weight: 600; color: #111827; }
.hs-prize .hs-prize-rank {
    flex: none;
    min-width: 46px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}
.hs-prize.r1 .hs-prize-rank { background: #fef3c7; color: #b45309; }
.hs-prize.r2 .hs-prize-rank { background: #eef2ff; color: #4338ca; }
.hs-prize.r3 .hs-prize-rank { background: #ecfdf3; color: #15803d; }
.hs-prize.rx .hs-prize-rank { background: #fff1f0; color: #e8342f; }

/* ── 룰렛 돌리기 버튼 ───────────────────────────────────────────────────── */
.controls-container { background: #fff !important; padding: 20px 18px !important; }
.spin-button-wrapper { width: 100% !important; border-radius: 14px !important; }
.spin-button-wrapper:hover { transform: none !important; box-shadow: none !important; }
.spin-button-highlight { display: none !important; }
#spinBtn {
    height: 58px !important;
    max-height: none !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #ff5a4f 0%, #e8342f 100%) !important;
    box-shadow: 0 8px 20px rgba(232, 52, 47, .28);
    transition: filter .15s ease, transform .15s ease;
}
#spinBtn:hover { filter: brightness(1.05); transform: translateY(-1px); }
#spinBtn:active { transform: translateY(0); }
#spinBtn:disabled { background: #d1d5db !important; box-shadow: none; cursor: not-allowed; }
.spin-button-wrapper.disabled #spinBtn { background: #d1d5db !important; box-shadow: none; }
#spinBtn .hs-spin-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.3px;
}
#spinBtn .hs-spin-label::before {     /* 룰렛 아이콘 */
    content: "";
    width: 20px; height: 20px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 3v18M3 12h18M5.6 5.6l12.8 12.8M18.4 5.6 5.6 18.4'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 3v18M3 12h18M5.6 5.6l12.8 12.8M18.4 5.6 5.6 18.4'/%3E%3C/svg%3E") center / contain no-repeat;
}
#remaining_attempts {
    display: inline-block !important;
    margin-top: 12px;
    padding: 5px 14px;
    border-radius: 999px;
    background: #fff1f0;
    color: #e8342f !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}
.controls-container .next-available { margin-top: 10px; font-size: 13px !important; }

/* ── 최근 당첨자 — 시각 표시 ────────────────────────────────────────────── */
#recent-log .log-entry { padding: 10px 10px !important; }
#recent-log .log-entry .prize-info { display: flex; align-items: center; gap: 10px; min-width: 0; }
#recent-log .log-time {
    flex: none;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 768px) {
    .hs-coupons { grid-template-columns: 1fr !important; }
    .hs-cp { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 10px; padding: 14px 14px 14px 20px !important; }
    .hs-cp .hs-cp-when { flex-basis: 100%; }
    .hs-cp .hs-cp-rate { font-size: 28px; }
    .hs-cp .hs-cp-btn { margin: 0 0 0 auto; }
    #spinBtn { height: 54px !important; }
}

/* 최근 당첨자 한 줄 정리 — 앞 스타일이 칸을 세로로 쌓고 가운데 정렬해서 시각·상품이 흩어져 보였다 */
#recent-log .log-entry { display: flex !important; align-items: center !important; gap: 10px; text-align: left !important; }
#recent-log .log-entry .prize-info { flex: 1 1 auto !important; flex-direction: row !important; justify-content: flex-start !important; text-align: left !important; }
#recent-log .log-entry .prize-name { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #111827; }
#recent-log .log-entry .user-info { flex: none; margin-left: auto; color: #9ca3af; font-size: 12.5px; }

/* ── 쿠폰 카드 2차 — 원래 그림(CC1~3.png)을 오른쪽에 작게 ─────────────── */
.hs-cp { padding-right: 168px !important; min-height: 132px; }
.hs-cp .hs-cp-img {
    position: absolute;
    right: 14px;
    top: 50%;
    width: 140px !important;
    height: auto !important;
    max-height: 104px;
    object-fit: contain !important;
    transform: translateY(-50%);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(17, 24, 39, .08);
    pointer-events: none;
}
.hs-cp.disabled .hs-cp-img { filter: grayscale(1); opacity: .45; }
@media (max-width: 1100px) and (min-width: 769px) {
    .hs-cp { padding-right: 18px !important; }
    .hs-cp .hs-cp-img { display: none; }
}
@media (max-width: 768px) {
    .hs-cp { padding-right: 128px !important; min-height: 0; }
    .hs-cp .hs-cp-img { width: 104px !important; right: 12px; }
}

/* ── 나의 당첨 내역 — 쿠폰 표 모양 ─────────────────────────────────────── */
#user-log { background: #fff !important; }
#user-log .hs-log-tabs { display: flex; gap: 6px; margin: 0 0 12px; padding: 4px; border-radius: 12px; background: #f3f4f6; }
#user-log .hs-log-tab {
    flex: 1;
    height: 38px;
    border: 0 !important;
    border-radius: 9px !important;
    background: transparent !important;
    color: #6b7280 !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    cursor: pointer;
}
#user-log .hs-log-tab.is-on { background: #fff !important; color: #e8342f !important; box-shadow: 0 1px 3px rgba(17, 24, 39, .12); }
#user-log .hs-log-count {
    display: inline-block;
    min-width: 20px;
    margin-left: 4px;
    padding: 1px 6px;
    border-radius: 999px;
    background: #e5e7eb;
    color: #4b5563;
    font-size: 11.5px;
}
#user-log .hs-log-tab.is-on .hs-log-count { background: #fff1f0; color: #e8342f; }
#user-log .log-entry {
    position: relative;
    display: block !important;
    margin: 0 0 10px !important;
    padding: 14px 16px 14px 22px !important;
    border: 1px solid #fde2df !important;
    border-radius: 14px !important;
    background: linear-gradient(90deg, #fff5f4 0, #fff 38%) !important;
    box-shadow: none !important;
}
#user-log .log-entry::before {         /* 표 왼쪽 띠 */
    content: "";
    position: absolute;
    left: 0; top: 12px; bottom: 12px;
    width: 5px;
    border-radius: 0 4px 4px 0;
    background: #e8342f;
}
#user-log .log-entry.hs-state-used,
#user-log .log-entry.hs-state-expired { border-color: #e5e7eb !important; background: #fafafa !important; }
#user-log .log-entry.hs-state-used::before,
#user-log .log-entry.hs-state-expired::before { background: #d1d5db; }
#user-log .hs-log-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
#user-log .hs-log-top .prize-name { color: #111827; font-size: 15.5px; font-weight: 800; }
#user-log .hs-state-used .prize-name,
#user-log .hs-state-expired .prize-name { color: #9ca3af; }
#user-log .hs-log-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; color: #6b7280; font-size: 12.5px; }
#user-log .hs-log-exp { color: #e8342f; font-weight: 700; }
#user-log .hs-state-expired .hs-log-exp { color: #9ca3af; }
#user-log .code-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 9px 10px 9px 12px;
    border: 1.5px dashed #f5b8b3;
    border-radius: 10px;
    background: #fff;
}
#user-log .hs-state-used .code-info,
#user-log .hs-state-expired .code-info { border-color: #e5e7eb; }
#user-log .hs-code-label { flex: none; color: #9ca3af; font-size: 12px; font-weight: 600; }
#user-log .hs-code-val { flex: 1; min-width: 0; color: #111827; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 15px; letter-spacing: .5px; overflow-wrap: anywhere; }
#user-log .copy-code-btn {
    flex: none;
    height: 30px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    background: #111827;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
}
#user-log .hs-chip { padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
#user-log .hs-chip-done { background: #ecfdf3; color: #15803d; }
#user-log .hs-chip-expired { background: #f3f4f6; color: #6b7280; }
#user-log .no-records { padding: 26px 0; color: #9ca3af; text-align: center; }

/* ── 당첨 창(SweetAlert) — showPrizeAlert() ─────────────────────────────── */
.swal2-popup.hs-win { width: 400px !important; max-width: calc(100vw - 32px); padding: 28px 24px 22px !important; border-radius: 22px !important; }
.hs-win .hs-win-title { margin: 0 0 4px !important; padding: 0 !important; color: #111827 !important; font-size: 21px !important; font-weight: 800 !important; letter-spacing: -0.4px; }
.hs-win .hs-win-html { margin: 8px 0 0 !important; padding: 0 !important; }
.hs-win-body { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hs-win-img { display: flex; align-items: center; justify-content: center; width: 132px; height: 132px; margin: 6px 0 12px; border-radius: 50%; background: radial-gradient(circle, #fff5f4 0, #ffe4e1 100%); }
.hs-win-img img { max-width: 104px; max-height: 104px; object-fit: contain; }
.hs-win-rank { display: inline-block; margin-bottom: 6px; padding: 3px 10px; border-radius: 999px; background: #f3f4f6; color: #4b5563; font-size: 12px; font-weight: 800; }
.hs-win-rank.r1 { background: #fef3c7; color: #b45309; }
.hs-win-rank.r2 { background: #eef2ff; color: #4338ca; }
.hs-win-rank.r3 { background: #ecfdf3; color: #15803d; }
.hs-win-prize { color: #e8342f; font-size: 24px; font-weight: 900; letter-spacing: -0.5px; }
.hs-win-ticket { width: 100%; margin: 16px 0 4px; padding: 12px 14px; border: 1.5px dashed #f5b8b3; border-radius: 14px; background: #fff8f7; text-align: left; }
.hs-win-ticket-label { display: block; color: #6b7280; font-size: 12px; font-weight: 700; }
.hs-win-code-row { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.hs-win-code { flex: 1; min-width: 0; color: #111827; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 18px; letter-spacing: 1px; overflow-wrap: anywhere; }
.hs-win-copy { flex: none; height: 32px; padding: 0 14px; border: 0; border-radius: 8px; background: #111827; color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.hs-win-copy.is-done { background: #16a34a; }
.hs-win-exp { display: block; margin-top: 6px; color: #e8342f; font-size: 12.5px; font-weight: 700; }
.hs-win-note { margin: 12px 0 0; color: #6b7280; font-size: 13px; line-height: 1.6; }
.hs-win-note b { color: #111827; }
.hs-win .hs-win-actions { display: flex; flex-direction: column; gap: 8px; width: 100%; margin: 18px 0 0 !important; }
.hs-win .hs-win-ok,
.hs-win .hs-win-kakao { width: 100%; height: 50px; margin: 0 !important; border: 0; border-radius: 12px; font-size: 15px; font-weight: 800; cursor: pointer; }
.hs-win .hs-win-ok { background: #e8342f; color: #fff; }
.hs-win .hs-win-ok:hover { background: #cf2b27; }
.hs-win .hs-win-kakao { background: #fee500; color: #3c1e1e; }
.hs-win .hs-win-kakao:hover { background: #f5dc00; }
@media (max-width: 768px) {
    /* 모바일도 세로 순서(조건 → 할인율 → 이름 → 버튼) — 가로로 두니 버튼이 오른쪽에 떠 어색했다 */
    .hs-cp { flex-direction: column !important; align-items: flex-start !important; flex-wrap: nowrap !important; }
    .hs-cp .hs-cp-btn { margin: 10px 0 0 0 !important; }
    .hs-cp .hs-cp-rate { font-size: 28px; }
}
/* 나의 당첨 내역 — 예전 규칙이 남긴 모양 정리(만료 번호 검은 취소선, 칩 분홍 테두리, 벌어진 글자) */
#user-log .hs-state-used .hs-code-val,
#user-log .hs-state-expired .hs-code-val { color: #9ca3af !important; text-decoration: line-through; text-decoration-color: #d1d5db; }
#user-log .hs-chip { border: 0 !important; }
#user-log .hs-code-label { letter-spacing: 0 !important; }

/* ── 기회 알림 창(#loadingModal) ────────────────────────────────────────── */
.hs-chance { background: rgba(17, 24, 39, .55) !important; padding: 20px; animation: hs-ch-fade .2s ease; }
@keyframes hs-ch-fade { from { opacity: 0; } to { opacity: 1; } }
.hs-chance .hs-chance-card {
    width: 100%;
    max-width: 360px;
    padding: 30px 24px 20px !important;
    border-radius: 22px !important;
    background: #fff !important;
    text-align: center;
    box-shadow: 0 24px 60px rgba(17, 24, 39, .25) !important;
    animation: hs-ch-pop .25s cubic-bezier(.2, .9, .3, 1.3);
}
@keyframes hs-ch-pop { from { transform: translateY(10px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.hs-chance-icon {
    display: flex; align-items: center; justify-content: center;
    width: 68px; height: 68px; margin: 0 auto 12px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff5f4 0, #ffe4e1 100%);
    color: #e8342f;
    animation: hs-ch-wiggle 1.6s ease-in-out .3s 2;
}
.hs-chance-icon svg { width: 32px; height: 32px; }
@keyframes hs-ch-wiggle { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-10deg); } 40% { transform: rotate(8deg); } 60% { transform: rotate(-5deg); } 80% { transform: rotate(3deg); } }
.hs-chance-eyebrow { display: inline-block; margin: 0 0 8px !important; padding: 3px 12px; border-radius: 999px; background: #fff1f0; color: #e8342f !important; font-size: 13px !important; font-weight: 800; }
.hs-chance-eyebrow b { font-size: 14px; }
.hs-chance .hs-chance-card h2 { margin: 0 0 6px !important; color: #111827 !important; font-size: 20px !important; font-weight: 800; letter-spacing: -0.4px; }
.hs-chance .hs-chance-card p#modal-text { margin: 0 !important; color: #6b7280 !important; font-size: 14px !important; line-height: 1.6; }
.hs-chance .hs-chance-go {
    display: flex !important; align-items: center; justify-content: center;
    width: 100%; height: 52px; margin: 20px 0 0 !important;
    border: 0; border-radius: 14px !important;
    background: linear-gradient(135deg, #ff5a4f 0%, #e8342f 100%) !important;
    color: #fff !important; font-family: inherit; font-size: 16px !important; font-weight: 800 !important;
    box-shadow: 0 8px 20px rgba(232, 52, 47, .28); cursor: pointer;
}
.hs-chance-later { margin-top: 10px; padding: 6px 10px; border: 0; background: none; color: #9ca3af; font-family: inherit; font-size: 13px; cursor: pointer; }
.hs-chance-later:hover { color: #4b5563; }

/* 룰렛으로 옮긴 뒤 돌리기 버튼 강조 */
.spin-button-wrapper.hs-pulse { animation: hs-pulse 1s ease-in-out 4; overflow: visible !important; }
.spin-button-wrapper.hs-pulse #spinBtn { box-shadow: 0 0 0 0 rgba(232, 52, 47, .5); animation: hs-ring 1s ease-out 4; }
@keyframes hs-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes hs-ring { 0% { box-shadow: 0 0 0 0 rgba(232, 52, 47, .45); } 100% { box-shadow: 0 0 0 16px rgba(232, 52, 47, 0); } }

/* ── 복사 알림 ─────────────────────────────────────────────────────────── */
#hs-toast {
    position: fixed; left: 50%; bottom: 28px; z-index: 100001;
    padding: 11px 18px; border-radius: 999px;
    background: rgba(17, 24, 39, .92); color: #fff;
    font-size: 14px; font-weight: 600;
    transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}
#hs-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
#hs-toast::before { content: "✓"; display: inline-block; margin-right: 6px; color: #4ade80; font-weight: 800; }
#user-log .copy-code-btn.is-done, #topright .copy-code-btn.is-done { background: #16a34a !important; }

/* ── 나의 쿠폰 창(칸 누르면) ─────────────────────────────────────────────── */
#user-log .log-entry, #topright .log-entry { cursor: pointer; }
#user-log .log-entry:hover { border-color: #f5b8b3 !important; }
.hs-win-rank.is-ready { background: #ecfdf3; color: #15803d; }
.hs-win-rank.is-used { background: #eef2ff; color: #4338ca; }
.hs-win-rank.is-expired { background: #f3f4f6; color: #6b7280; }
.hs-win-body.is-off .hs-win-prize { color: #9ca3af; }
.hs-win-body.is-off .hs-win-img { filter: grayscale(1); opacity: .6; }
.hs-win-body.is-off .hs-win-ticket { border-color: #e5e7eb; background: #fafafa; }
.hs-win-body.is-off .hs-win-code { color: #9ca3af; text-decoration: line-through; }
.hs-win-dl { width: 100%; margin: 12px 0 0; padding: 0; }
.hs-win-dl > div { display: flex; justify-content: space-between; padding: 7px 2px; border-top: 1px solid #f3f4f6; font-size: 13.5px; }
.hs-win-dl dt { margin: 0; color: #6b7280; }
.hs-win-dl dd { margin: 0; color: #111827; font-weight: 700; }
.hs-win-dl dd.is-red { color: #e8342f; }
.hs-win .swal2-close { color: #9ca3af; }
.hs-win .swal2-close:hover { color: #111827; }

/* ── 실시간 당첨 티커(.hs-live) ────────────────────────────────────────────
   예전: 노란 테두리 상자 안에 '🎉 sp*****님이 …' 한 줄이 3.5초마다 바뀌었다 → 살아 있는 느낌이 약했다 */
.winner-announcement-container.hs-live {
    display: flex !important;
    align-items: center;
    gap: 12px;
    height: 52px;
    margin-bottom: 16px !important;
    padding: 0 16px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(17, 24, 39, .04) !important;
    overflow: hidden;
}
.hs-live-badge {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff1f0;
    color: #e8342f;
    font-size: 12.5px;
    font-weight: 800;
    white-space: nowrap;
}
.hs-live-badge i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #e8342f; }
.hs-live-badge i::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #e8342f;
    opacity: 0;
    animation: hs-live-ping 1.6s ease-out infinite;
}
@keyframes hs-live-ping { 0% { transform: scale(.4); opacity: .8; } 100% { transform: scale(1.4); opacity: 0; } }
.hs-live-view { flex: 1; min-width: 0; height: 52px; overflow: hidden; }
.hs-live-list { margin: 0; padding: 0; list-style: none; will-change: transform; }
.hs-live-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 52px;
    color: #374151;
    font-size: 14px;
    white-space: nowrap;
}
.hs-live-who { flex: none; color: #111827; font-weight: 700; }
.hs-live-what { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.hs-live-what b { color: #e8342f; font-weight: 800; }
.hs-live-list li.is-top .hs-live-what b { color: #b45309; }
.hs-live-list li.is-top .hs-live-what::before { content: "🏆 "; }
.hs-live-ago { flex: none; margin-left: auto; color: #9ca3af; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.hs-live-empty { margin: 0; line-height: 52px; color: #6b7280; font-size: 14px; }
@media (max-width: 560px) {
    .winner-announcement-container.hs-live { gap: 8px; padding: 0 12px !important; }
    .hs-live-badge { padding: 4px 8px; font-size: 11.5px; }
    .hs-live-list li { font-size: 13px; gap: 6px; }
    .hs-live-ago { font-size: 11.5px; }
}
