.ec-news {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.ec-news--out {
    opacity: 0;
    transition: opacity 0.25s ease;
}
.ec-news-box {
    position: relative;
    width: auto;
    max-width: min(90vw, 460px);
    pointer-events: auto;
    animation: ecNewsIn 0.3s ease;
    filter: drop-shadow(0 12px 34px rgba(0, 0, 0, 0.45));
}
.ec-news-track {
    display: flex;
    overflow: hidden;
    border-radius: 14px;
    transition: transform 0.3s ease;
}
.ec-news-slide {
    flex: 0 0 100%;
    min-width: 100%;
}
.ec-news-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 82vh;
    max-height: 82dvh;
    object-fit: contain;
    border-radius: 14px;
    user-select: none;
    -webkit-user-drag: none;
}
.ec-news-x {
    position: absolute;
    top: -13px;
    right: -13px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #222;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.ec-news-x:hover {
    background: #f0f0f0;
}
.ec-news-dots {
    display: flex;
    gap: 7px;
    justify-content: center;
    margin-top: 12px;
}
.ec-news-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    padding: 0;
    transition: width 0.2s ease, background 0.2s ease, border-radius 0.2s ease;
}
.ec-news-dot.on {
    width: 22px;
    border-radius: 5px;
    background: #fff;
}
@keyframes ecNewsIn {
    from { opacity: 0; transform: scale(0.94); }
    to { opacity: 1; transform: scale(1); }
}
