/* 동전 팝업 — 이벤트 상세 페이지 작은 팝업 (2026-10-26, 직원 시안 coinPopup 을 DB 배선)
 * PC(1025px~): 상단 배너 왼쪽 좌우버튼 아래 · 화면 고정(스크롤해도 그 자리). 좌표는 coin-popup.js 가 버튼 위치로 넣는다.
 * 모바일(~1024px): 화면 가운데 250px. 경계는 사이트 이벤트 헤더와 같은 1024px(시안은 991px).
 */
#evtCoinPopup {
    position: fixed;
    top: 24%;
    left: 3%;
    z-index: 1001;
    display: none;
    width: 250px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
#evtCoinPopup.is-open { display: block; }

#evtCoinPopup .evt-coin-img-link { display: block; }
#evtCoinPopup img {
    display: block;
    width: 250px !important;
    max-width: none !important;
    height: auto;
    margin: 0;
    transform: none !important;
}

#evtCoinPopup .evt-coin-btns {
    display: flex;
    border-top: 1px solid #eee;
}
#evtCoinPopup .evt-coin-btn {
    flex: 1;
    margin: 0;
    padding: 10px 0;
    font-size: 12px;
    line-height: 1.4;
    font-family: inherit;
    color: #333;
    background: #fff;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.2s;
}
#evtCoinPopup .evt-coin-btn:hover { background: #f5f5f5; }
#evtCoinPopup .evt-coin-today { border-right: 1px solid #eee; }

@media (max-width: 1024px) {
    #evtCoinPopup {
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%);
    }
    #evtCoinPopup .evt-coin-btn { padding: 9px 0; }
}
