/* FS ADS – Public Styles */

.fsads-ad-wrap {
    display: inline-block;
    vertical-align: top;
    max-width: 100%;
}

.fsads-img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.fsads-link {
    display: inline-block;
    text-decoration: none;
}

.fsads-html-wrap,
.fsads-video-wrap {
    max-width: 100%;
    overflow: hidden;
}

.fsads-text-ad {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #6366f1;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
}
.fsads-text-ad a { color: #6366f1; text-decoration: none; }
.fsads-text-ad a:hover { text-decoration: underline; }

/* Zone layouts */
.fsads-zone { max-width: 100%; }

/* Slider */
.fsads-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}
.fsads-slide {
    display: none;
    text-align: center;
}
.fsads-slide.active { display: block; }
.fsads-slider-dots {
    text-align: center;
    padding: 8px 0;
}
.fsads-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    margin: 0 3px;
    cursor: pointer;
    border: none;
    transition: background .2s;
}
.fsads-dot.active { background: #6366f1; }
.fsads-slider-btn {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,.4);
    color: #fff;
    border: none;
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 18px;
    z-index: 10;
    transition: background .2s;
}
.fsads-slider-btn:hover { background: rgba(0,0,0,.7); }
.fsads-slider-prev { left: 8px; }
.fsads-slider-next { right: 8px; }

/* Grid */
.fsads-grid {
    display: grid;
    grid-template-columns: repeat(var(--fsads-cols, 3), 1fr);
    gap: 12px;
}
@media (max-width: 600px) { .fsads-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .fsads-grid { grid-template-columns: 1fr; } }

/* Sticky */
.fsads-sticky {
    position: fixed;
    z-index: 99999;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
    border-radius: 8px;
    background: #fff;
    padding: 4px;
}
.fsads-sticky-bottom-right { bottom: 20px; right: 20px; }
.fsads-sticky-bottom-left  { bottom: 20px; left: 20px; }
.fsads-sticky-top-right    { top: 20px; right: 20px; }
.fsads-sticky-top-left     { top: 20px; left: 20px; }

.fsads-close {
    position: absolute;
    top: -10px; right: -10px;
    width: 22px; height: 22px;
    border-radius: 50%;
    border: none;
    background: #1e293b;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    line-height: 1;
    display: flex; align-items: center; justify-content: center;
    padding: 0;
}
.fsads-close:hover { background: #ef4444; }
