/* spot_seller.css — волна 8b переноса холста: публичный профиль продавца, отзывы, добавление отзыва, чёрный список, магазин,
   состояния продавца и статистика объявления (доски SellerProfile, SellerReviews, SellerReviewAdd, SellerBlock, SellerShop,
   SellerStates, SellerStats). Цвета и размеры только из токенов spot_ui.css. Мобильный вид первичен, без зависимостей от hover. */

/* ================= Общие элементы ================= */
.spot-sl-h2 {
    margin: 0 0 12px;
    font-family: var(--spot-font);
    font-size: 20px;
    line-height: 26px;
    font-weight: 800;
    color: var(--spot-ink);
}

.spot-sl-h3 {
    margin: 0;
    font-family: var(--spot-font);
    font-size: 17px;
    line-height: 22px;
    font-weight: 800;
    color: var(--spot-ink);
}

.spot-sl-sub {
    margin: 2px 0 0;
    font-size: 13px;
    line-height: 18px;
    color: var(--spot-mut);
}

.spot-sl-card {
    background: var(--spot-surface);
    border-radius: var(--spot-radius-l);
    padding: 16px;
}

.spot-sl-chev {
    display: inline-flex;
    flex-shrink: 0;
    color: var(--spot-mut);
}

.spot-sl-note {
    margin: 16px 0 0;
    font-size: 12px;
    line-height: 17px;
    color: var(--spot-mut);
}

.spot-sl-select {
    min-width: 0;
    flex: 1 1 auto;
    height: var(--spot-control-h);
    padding: 0 12px;
    border: 1px solid var(--spot-field-border);
    border-radius: var(--spot-radius);
    background: var(--spot-surface);
    color: var(--spot-ink);
    font-family: var(--spot-font);
    font-size: 15px;
}

.spot-sl-row {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 72px;
    margin: 0 0 8px;
    padding: 14px 16px;
    border: 0;
    border-radius: var(--spot-radius-l);
    background: var(--spot-surface);
    color: var(--spot-ink) !important;
    font-family: var(--spot-font);
    text-align: right;
    text-decoration: none !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.spot-sl-row:active {
    opacity: .7;
}

.spot-sl-row:focus-visible,
.spot-sl-btn:focus-visible,
.spot-sl-act:focus-visible,
.spot-sl-tab:focus-visible {
    outline: 2px solid var(--spot-focus);
    outline-offset: 2px;
}

.spot-sl-row-ico {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    color: var(--spot-ink);
}

.spot-sl-row-tx {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.spot-sl-row-t {
    font-size: 15px;
    line-height: 20px;
    font-weight: 700;
}

.spot-sl-row-s {
    font-size: 13px;
    line-height: 18px;
    color: var(--spot-mut);
}

/* ================= Статистика объявления (SellerStats) ================= */
.spot-sl-stats {
    font-family: var(--spot-font);
    color: var(--spot-ink);
}

.spot-sl-st-ad {
    margin: 0 0 12px;
    padding: 14px 16px;
    border-radius: var(--spot-radius-l);
    background: var(--spot-surface);
}

.spot-sl-st-ad-main {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--spot-ink) !important;
    text-decoration: none !important;
}

.spot-sl-st-ad-ph {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 54px;
    overflow: hidden;
    border-radius: var(--spot-radius-s);
    background: var(--spot-bg);
    color: var(--spot-mut);
}

.spot-sl-st-ad-ph img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spot-sl-st-ad-tx {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.spot-sl-st-ad-t {
    max-width: 100%;
    overflow: hidden;
    font-size: 15px;
    line-height: 20px;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.spot-sl-st-ad-p {
    font-size: 14px;
    line-height: 18px;
    font-weight: 800;
}

.spot-sl-st-ad .spot-cab-st {
    margin-top: 2px;
}

.spot-sl-st-ad-renew {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
    font-size: 13px;
    line-height: 18px;
    color: var(--spot-ink-2);
}

.spot-sl-renew-on {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--spot-green-fg);
}

.spot-sl-st-all {
    margin: 0 0 12px;
}

.spot-sl-st-pick {
    display: flex;
    gap: 8px;
}

.spot-sl-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 12px;
}

.spot-sl-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
    padding: 14px 14px 16px;
    border-radius: var(--spot-radius-l);
    background: var(--spot-surface);
}

.spot-sl-tile-ico {
    display: inline-flex;
    margin-bottom: 6px;
    color: var(--spot-ink);
}

.spot-sl-tile-n {
    font-size: 24px;
    line-height: 30px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.spot-sl-tile-l {
    font-size: 13px;
    line-height: 17px;
    color: var(--spot-ink-2);
}

.spot-sl-since {
    margin-top: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--spot-amber-soft);
    color: var(--spot-amber);
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
}

.spot-sl-chart {
    margin: 0 0 20px;
}

/* ---- Динамика (волна 9b): график ApexCharts, период, показатели ---- */
.spot-sl-periods {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) 44px;
    gap: 8px;
    margin-top: 12px;
}

.spot-sl-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.spot-sl-pchip,
.spot-sl-mchip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 4px;
    border: 1px solid var(--spot-line);
    border-radius: var(--spot-radius);
    background: var(--spot-surface);
    color: var(--spot-ink);
    font-family: var(--spot-font);
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.spot-sl-pchip {
    font-size: 13px;
    white-space: nowrap;
}

.spot-sl-pchip[aria-pressed="true"] {
    border-color: var(--spot-ink);
    background: var(--spot-inv);
    color: #fff;
}

.spot-sl-mchip {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    padding: 8px 12px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    text-align: right;
}

.spot-sl-mchip-top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spot-sl-mchip .spot-sl-sw {
    flex-shrink: 0;
    color: var(--spot-sw, var(--spot-ink));
}

.spot-sl-mchip[aria-pressed="true"] {
    border-color: var(--spot-sw, var(--spot-ink));
    box-shadow: inset 0 0 0 1px var(--spot-sw, var(--spot-ink));
    background: var(--spot-bg);
}

.spot-sl-mchip[aria-pressed="false"] {
    color: var(--spot-mut);
}

.spot-sl-mchip[aria-pressed="false"] .spot-sl-sw {
    opacity: 0.45;
}

.spot-sl-mchip-n {
    font-size: 16px;
    line-height: 20px;
    font-weight: 800;
    color: var(--spot-ink);
}

.spot-sl-pchip:focus-visible,
.spot-sl-mchip:focus-visible,
.spot-sl-date input:focus-visible {
    outline: 2px solid var(--spot-focus);
    outline-offset: 2px;
}

.spot-sl-custom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.spot-sl-custom[hidden],
.spot-sl-plot[hidden],
.spot-sl-empty[hidden],
.spot-sl-err[hidden],
.spot-sl-sub[hidden] {
    display: none;
}

.spot-sl-date {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    color: var(--spot-mut);
}

.spot-sl-date input {
    width: 100%;
    min-height: 44px;
    padding: 0 10px;
    border: 1px solid var(--spot-field-border);
    border-radius: var(--spot-radius);
    background: var(--spot-surface);
    color: var(--spot-ink);
    font-family: var(--spot-font);
    font-size: 16px;
}

.spot-sl-custom-go {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 44px;
}

.spot-sl-plotbox {
    position: relative;
    margin-top: 12px;
}

.spot-sl-plot {
    min-height: 200px;
    -webkit-user-select: none;
    user-select: none;
    touch-action: pan-y;
}

.spot-sl-tip {
    position: absolute;
    z-index: 2;
    min-width: 128px;
    max-width: 240px;
    padding: 6px 8px;
    border: 1px solid var(--spot-line);
    border-radius: var(--spot-radius-s);
    background: var(--spot-surface);
    box-shadow: 0 4px 12px rgba(20, 22, 26, 0.14);
    font-size: 12px;
    line-height: 16px;
    color: var(--spot-ink);
    pointer-events: none;
}

.spot-sl-tip[hidden] {
    display: none;
}

.spot-sl-tip-h {
    margin-bottom: 2px;
    font-weight: 800;
}

.spot-sl-tip-r {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.spot-sl-tip-r svg {
    flex-shrink: 0;
}

.spot-sl-tip-t {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--spot-mut);
    font-weight: 600;
}

.spot-sl-tip-r strong {
    margin-right: 6px;
    color: var(--spot-ink);
    font-weight: 800;
}

.spot-sl-tip-cur {
    position: absolute;
    top: 100%;
    width: 0;
    border-right: 1px dashed var(--spot-mut);
    pointer-events: none;
}

.spot-sl-empty {
    margin: 16px 0 4px;
    padding: 24px 12px;
    border-radius: var(--spot-radius);
    background: var(--spot-bg);
    text-align: center;
    font-size: 14px;
    line-height: 20px;
    color: var(--spot-mut);
}

.spot-sl-err {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: var(--spot-radius-s);
    background: var(--spot-red-soft);
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
    color: var(--spot-red-dark-fg);
}

.spot-sl-notes {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    color: var(--spot-amber);
}

.spot-sl-notes li + li {
    margin-top: 4px;
}

.spot-sl-chart[aria-busy="true"] .spot-sl-plot {
    opacity: 0.5;
}

.spot-sl-vh {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.spot-sl-tbl {
    margin-top: 12px;
    overflow-x: auto;
    font-size: 13px;
}

.spot-sl-tbl th,
.spot-sl-tbl td {
    padding: 4px 8px;
    text-align: right;
    border-bottom: 1px solid var(--spot-line);
}

@media (min-width: 768px) {
    .spot-sl-custom {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
        align-items: end;
    }

    .spot-sl-custom-go {
        grid-column: auto;
        width: auto;
        padding: 0 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .spot-sl-chart * {
        transition: none !important;
        animation: none !important;
    }
}

.spot-sl-sec {
    margin: 0 0 12px;
}

.spot-sl-pk .spot-sl-row-ico.spot-badge {
    position: static;
    width: 40px;
    height: 40px;
    border-radius: var(--spot-radius);
    box-shadow: inset 0 0 0 1px var(--spot-line);
}

.spot-sl-pk .spot-badge--premium {
    box-shadow: none;
}

.spot-sl-pk-price {
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    align-items: flex-end;
    font-size: 15px;
    line-height: 20px;
}

.spot-sl-pk-price s {
    font-size: 12px;
    line-height: 16px;
    color: var(--spot-mut);
}

@media (min-width: 992px) {
    .spot-sl-tiles {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }

    .spot-sl-stats {
        max-width: 880px;
    }
}

/* ================= Кнопки ================= */
.spot-sl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: var(--spot-control-h);
    padding: 0 14px;
    border: 0;
    border-radius: var(--spot-radius);
    background: var(--spot-bg);
    color: var(--spot-ink) !important;
    font-family: var(--spot-font);
    font-size: 15px;
    line-height: 20px;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.spot-sl-btn:active {
    opacity: .7;
}

.spot-sl-btn--red {
    background: var(--spot-red);
    color: var(--spot-on-inv) !important;
}

.spot-sl-btn--line {
    background: var(--spot-surface);
    box-shadow: inset 0 0 0 1.5px var(--spot-ink);
}

.spot-sl-btn--wide {
    width: 100%;
}

.spot-sl-btn-star {
    display: inline-flex;
    color: var(--spot-amber);
}

.spot-sl-act {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: var(--spot-control-h);
    padding: 0 4px;
    border: 0;
    background: transparent;
    color: var(--spot-ink) !important;
    font-family: var(--spot-font);
    font-size: 15px;
    line-height: 20px;
    font-weight: 700;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.spot-sl-act:active {
    opacity: .6;
}

.spot-sl-toast {
    position: fixed;
    right: 50%;
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    z-index: 2000;
    max-width: calc(100% - 32px);
    padding: 12px 16px;
    border-radius: var(--spot-radius);
    background: var(--spot-inv);
    color: var(--spot-on-inv);
    font-family: var(--spot-font);
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transform: translate(50%, 8px);
    transition: opacity .2s ease, transform .2s ease;
}

.spot-sl-toast.is-on {
    opacity: 1;
    transform: translate(50%, 0);
}

@media (prefers-reduced-motion: reduce) {
    .spot-sl-toast {
        transition: none;
    }
}

/* ================= Публичный профиль (SellerProfile) ================= */
.spot-sl-topbar .spot-sl-share {
    grid-column: 3;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.spot-sl-ava {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--spot-bg);
    color: var(--spot-ink-2);
    font-size: 24px;
    line-height: 1;
    font-weight: 800;
}

.spot-sl-ava img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spot-sl-ava--s {
    width: 48px;
    height: 48px;
    font-size: 19px;
}

.spot-sl-ava-wrap {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
}

.spot-sl-dot {
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 14px;
    height: 14px;
    border: 2px solid var(--spot-surface);
    border-radius: 50%;
    background: var(--spot-field-border);
}

.spot-sl-dot.is-on {
    background: var(--spot-green);
}

.spot-cab .user-sidebar.spot-sl-seller {
    margin: 0 -16px 12px;
    padding: 16px;
    border-radius: 0;
    background: var(--spot-surface);
    text-align: right;
    font-family: var(--spot-font);
}

.spot-sl-seller-top {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.spot-sl-seller-info {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.spot-sl-name {
    margin: 0;
    overflow-wrap: anywhere;
    font-family: var(--spot-font);
    font-size: 22px;
    line-height: 28px;
    font-weight: 800;
    color: var(--spot-ink);
}

.spot-sl-company {
    font-size: 14px;
    line-height: 18px;
    font-weight: 600;
    color: var(--spot-ink-2);
}

.spot-sl-meta {
    font-size: 13px;
    line-height: 18px;
    color: var(--spot-ink-2);
}

.spot-sl-seen {
    font-size: 13px;
    line-height: 18px;
    font-weight: 700;
    color: var(--spot-ink-2);
}

.spot-sl-seen.is-on {
    color: var(--spot-green-fg);
}

.spot-sl-rating {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 12px;
    color: var(--spot-ink-2) !important;
    text-decoration: none !important;
}

.spot-sl-rating .spot-cab-stars svg {
    width: 16px;
    height: 16px;
}

.spot-sl-rating-t {
    font-size: 13px;
    line-height: 18px;
}

.spot-sl-btns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
}

.spot-sl-btns .spot-sl-btn {
    padding: 0 8px;
}

.spot-sl-acts {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 12px;
    margin-top: 8px;
}

.spot-sl-locked-note {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 18px;
    color: var(--spot-mut);
}

.spot-sl-gone {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: var(--spot-radius);
    background: var(--spot-bg);
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    color: var(--spot-ink-2);
}

.spot-sl-gone-ico {
    display: inline-flex;
    color: var(--spot-ink);
}

.spot-sl-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 -16px 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--spot-line);
    background: var(--spot-surface);
    color: var(--spot-ink) !important;
    text-decoration: none !important;
}

.spot-sl-mini-tx {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
}

.spot-sl-mini-t {
    overflow: hidden;
    font-size: 15px;
    line-height: 20px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.spot-sl-mini-s {
    font-size: 13px;
    line-height: 18px;
    color: var(--spot-ink-2);
}

.spot-cab-page:not(.spot-cab-own) .spot-sl-ads-h {
    margin: 8px 0 12px;
}

/* ================= Отзывы (SellerReviews) ================= */
.spot-sl-rv-top {
    margin: 0 -16px 16px;
    padding: 4px 16px 20px;
    background: var(--spot-surface);
}

.spot-sl-rv-h {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0 0 14px;
    font-family: var(--spot-font);
    font-size: 22px;
    line-height: 28px;
    font-weight: 800;
    color: var(--spot-ink);
}

.spot-sl-rv-n {
    color: var(--spot-mut);
}

.spot-sl-rv-top .spot-sl-btn--red {
    width: 100%;
    min-height: var(--spot-control-h-l);
}

.spot-sl-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 20px;
    text-align: center;
}

.spot-sl-empty-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--spot-bg);
    color: var(--spot-ink-2);
}

.spot-sl-empty-t {
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 22px;
    font-weight: 800;
    color: var(--spot-ink);
}

.spot-sl-empty-s {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: var(--spot-ink-2);
}

.spot-sl-rv-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spot-sl-rv-item.user-review-item {
    margin: 0;
    padding: 16px;
    border: 0;
    border-radius: var(--spot-radius-l);
    background: var(--spot-surface);
    font-family: var(--spot-font);
}

.spot-sl-rv-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.spot-sl-rv-head .spot-sl-ava--s {
    width: 40px;
    height: 40px;
    font-size: 16px;
}

.spot-sl-rv-who {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
}

.spot-sl-rv-name {
    overflow: hidden;
    color: var(--spot-ink) !important;
    font-size: 15px;
    line-height: 20px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.spot-sl-rv-date {
    font-size: 12px;
    line-height: 16px;
    color: var(--spot-mut);
}

.spot-sl-rv-stars {
    display: inline-flex;
    flex-shrink: 0;
    padding-top: 2px;
}

.spot-sl-rv-title {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    color: var(--spot-ink);
}

.spot-sl-rv-text {
    margin: 8px 0 0;
    font-size: 15px;
    line-height: 22px;
    color: var(--spot-ink);
    overflow-wrap: anywhere;
}

.spot-sl-rv-photos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.spot-sl-rv-photos a {
    display: block;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: var(--spot-radius-s);
    background: var(--spot-bg);
}

.spot-sl-rv-photos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spot-sl-rv-foot {
    display: flex;
    justify-content: flex-end;
    margin-top: 6px;
}

/* ================= Добавить отзыв (SellerReviewAdd, SellerStates) ================= */
.spot-sl-rv .modal-custom {
    font-family: var(--spot-font);
}

.spot-sl-rv-prog {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin: 4px 0 12px;
}

.spot-sl-rv-seg {
    height: 4px;
    border-radius: 2px;
    background: var(--spot-line);
}

.spot-sl-rv-seg.is-on {
    background: var(--spot-red);
}

.spot-sl-rv-ctx {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 18px;
    color: var(--spot-ink-2);
}

.spot-sl-rv-q {
    margin: 0 0 12px;
    font-family: var(--spot-font);
    font-size: 17px;
    line-height: 22px;
    font-weight: 800;
    color: var(--spot-ink);
}

.spot-sl-rv .user-add-review-tab-2,
.spot-sl-rv .user-add-review-tab-3,
.spot-sl-rv .user-add-review-tab-4 {
    display: none;
}

.spot-sl-rv .spot-sl-opt.custom-control {
    margin: 0 0 8px;
    padding: 0;
}

.spot-sl-rv .spot-sl-opt .custom-control-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 10px 48px 10px 14px;
    border-radius: var(--spot-radius);
    box-shadow: inset 0 0 0 1px var(--spot-line);
    font-size: 15px;
    line-height: 20px;
    font-weight: 700;
    color: var(--spot-ink);
    cursor: pointer;
}

.spot-sl-rv .spot-sl-opt .custom-control-label::before,
.spot-sl-rv .spot-sl-opt .custom-control-label::after {
    top: 50%;
    right: 14px;
    width: 20px;
    height: 20px;
    margin-top: -10px;
}

.spot-sl-rv .spot-sl-opt .custom-control-input:checked ~ .custom-control-label {
    background: var(--spot-red-soft);
    box-shadow: none;
}

.spot-sl-rv .spot-sl-opt .custom-control-input:checked ~ .custom-control-label::before {
    border-color: var(--spot-ink);
    background: var(--spot-inv);
}

.spot-sl-rv .spot-sl-opt .custom-control-input:focus-visible ~ .custom-control-label {
    outline: 2px solid var(--spot-focus);
    outline-offset: 2px;
}

.spot-sl-opt-s {
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    color: var(--spot-ink-2);
}

.spot-sl-rv .user-add-review-tab-prev {
    margin-top: 8px;
}

.spot-sl-rv-ad.mini-list-ads {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 8px;
    padding: 8px;
    border: 0;
    border-radius: var(--spot-radius);
    box-shadow: inset 0 0 0 1px var(--spot-line);
    background: var(--spot-surface);
    cursor: pointer;
}

.spot-sl-rv-ad.mini-list-ads:focus-visible {
    outline: 2px solid var(--spot-focus);
    outline-offset: 2px;
}

.spot-sl-rv-ad .spot-sl-rv-ad-ph {
    float: none;
    flex-shrink: 0;
    width: 64px;
    height: 48px;
    overflow: hidden;
    border-radius: var(--spot-radius-s);
    background: var(--spot-bg);
}

.spot-sl-rv-ad .spot-sl-rv-ad-ph img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spot-sl-rv-ad .spot-sl-rv-ad-tx {
    display: flex;
    min-width: 0;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.spot-sl-rv-ad-t {
    overflow: hidden;
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
    color: var(--spot-ink);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.spot-sl-rv-ad .mini-list-ads-price,
.spot-sl-rv-ad .mini-list-ads-price-now {
    font-size: 14px;
    line-height: 18px;
    font-weight: 800;
    color: var(--spot-ink);
}

.spot-sl-rv-none {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 20px;
    color: var(--spot-ink-2);
}

.spot-sl-rv-rate.star-rating {
    display: flex;
    gap: 10px;
    margin: 0 0 14px;
}

.spot-sl-rv-rate.star-rating span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    font-size: 30px;
    line-height: 1;
    color: var(--spot-amber);
    cursor: pointer;
}

.spot-sl-rv-rate.star-rating span:focus-visible {
    outline: 2px solid var(--spot-focus);
    border-radius: var(--spot-radius-s);
}

.spot-sl-rv-textarea.form-control {
    min-height: 132px;
    padding: 12px 14px;
    border: 1px solid var(--spot-field-border);
    border-radius: var(--spot-radius);
    font-family: var(--spot-font);
    font-size: 15px;
    line-height: 22px;
    color: var(--spot-ink);
}

.spot-sl-rv-textarea.form-control:focus {
    border-color: var(--spot-ink);
    box-shadow: none;
}

.spot-sl-rv-attach.user-add-review-attach {
    margin: 12px 0 0;
}

.spot-sl-rv-attach-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: var(--spot-control-h-l);
    border: 1px dashed var(--spot-field-border);
    border-radius: var(--spot-radius);
    background: var(--spot-surface);
    color: var(--spot-ink);
    font-family: var(--spot-font);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.spot-sl-rv-btns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 8px;
    margin-top: 16px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.spot-sl-rv-btns .spot-sl-btn {
    min-height: var(--spot-control-h-l);
}

.spot-sl-rv-btns .user-add-review-tab-prev {
    margin-top: 0;
}

/* ================= Десктоп: профиль ================= */
@media (min-width: 992px) {
    .spot-cab .user-sidebar.spot-sl-seller {
        margin: 0 0 24px;
        border-radius: var(--spot-radius-l);
        padding: 20px;
    }

    .spot-sl-seller-top {
        flex-direction: column;
        gap: 12px;
    }

    .spot-sl-ava {
        width: 72px;
        height: 72px;
    }

    .spot-sl-btns {
        grid-template-columns: minmax(0, 1fr);
    }

    .spot-sl-acts {
        flex-direction: column;
        align-items: flex-start;
    }

    .spot-sl-rv-top {
        margin: 0 0 16px;
        padding: 0;
        background: transparent;
    }

    .spot-sl-rv-top .spot-sl-btn--red {
        width: auto;
        padding: 0 24px;
    }

    .spot-sl-rv-list {
        gap: 12px;
    }

    .spot-sl-rv .modal-custom {
        max-width: 560px;
    }
}

@media (max-width: 991.98px) {
    .spot-cab-page:not(.spot-cab-own) .spot-cab-gap {
        display: none;
    }

    .spot-cab-page:not(.spot-cab-own) .spot-sl-topbar {
        margin-bottom: 0;
    }

    .spot-cab-page:not(.spot-cab-own) .spot-cab-main {
        min-height: 0;
        padding-bottom: 24px;
    }
}

/* окно «Добавить отзыв»: поля внутри шторки, звёзды без шрифта Ionicons (он не подключён) */
.spot-sl-rv-body {
    padding: 4px 16px 0;
}

.spot-sl-rv .spot-sl-rv-textarea.form-control {
    height: auto !important;
    min-height: 132px;
    margin-top: 0;
    padding: 12px 14px;
}

.spot-sl-rv .spot-sl-btn.button-style-custom {
    width: auto;
    height: auto;
    margin: 0;
    border-radius: var(--spot-radius);
    background: var(--spot-surface);
    color: var(--spot-ink) !important;
    box-shadow: inset 0 0 0 1.5px var(--spot-ink);
    font-size: 15px;
    font-weight: 700;
}

.spot-sl-rv .spot-sl-btn--wide.button-style-custom {
    width: 100%;
}

.spot-sl-rv .spot-sl-btn--red.button-style-custom {
    background: var(--spot-red) !important; /* styles.css .color-green — фон с !important */
    color: var(--spot-on-inv) !important;
    box-shadow: none;
}

.spot-sl-rv .spot-sl-btn--red.button-style-custom[disabled] {
    opacity: .6;
}

.spot-sl-rv-rate.star-rating span.ion-ios-star,
.spot-sl-rv-rate.star-rating span.ion-ios-star-outline {
    color: var(--spot-amber);
}

.spot-sl-rv-rate.star-rating span::before {
    content: "";
    display: block;
    width: 32px;
    height: 32px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.5l2.6 5.3 5.9.9-4.3 4.1 1 5.8L12 16.9l-5.2 2.7 1-5.8-4.3-4.1 5.9-.9z' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'/%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'%3E%3Cpath d='M12 3.5l2.6 5.3 5.9.9-4.3 4.1 1 5.8L12 16.9l-5.2 2.7 1-5.8-4.3-4.1 5.9-.9z' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.spot-sl-rv-rate.star-rating span.ion-ios-star::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.5l2.6 5.3 5.9.9-4.3 4.1 1 5.8L12 16.9l-5.2 2.7 1-5.8-4.3-4.1 5.9-.9z' fill='black' stroke='black' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.5l2.6 5.3 5.9.9-4.3 4.1 1 5.8L12 16.9l-5.2 2.7 1-5.8-4.3-4.1 5.9-.9z' fill='black' stroke='black' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ================= Магазин (SellerShop, SellerStates) ================= */
.spot-sl-shop-page .spot-sl-topbar {
    margin: 0 -16px;
}

.spot-sl-shop-cover {
    margin: 0 -16px;
    overflow: hidden;
}

.spot-sl-shop-slide {
    height: 180px;
    background-position: center;
    background-size: cover;
}

.spot-sl-shop.spot-sl-card {
    margin: 0 -16px 12px;
    border-radius: 0;
    font-family: var(--spot-font);
    color: var(--spot-ink);
}

.spot-sl-shop-id {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.spot-sl-shop-logo {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: var(--spot-radius);
    background: var(--spot-bg);
    box-shadow: inset 0 0 0 1px var(--spot-line);
    color: var(--spot-ink-2);
}

.spot-sl-shop-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--spot-surface);
}

.spot-sl-shop-info {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.spot-sl-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: var(--spot-radius-s);
    background: var(--spot-bg);
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
    color: var(--spot-ink);
}

.spot-sl-stat2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
}

.spot-sl-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 8px;
    border: 0;
    border-radius: var(--spot-radius);
    background: var(--spot-bg);
    color: var(--spot-ink) !important;
    font-family: var(--spot-font);
    text-decoration: none !important;
}

.spot-sl-stat strong {
    font-size: 18px;
    line-height: 22px;
    font-weight: 800;
}

.spot-sl-stat span {
    font-size: 13px;
    line-height: 18px;
    color: var(--spot-ink-2);
}

button.spot-sl-stat {
    cursor: pointer;
}

.spot-sl-shop .spot-sl-btns {
    margin-top: 12px;
}

.spot-sl-shop-page .shop-list-pages {
    display: flex;
    gap: 4px;
    margin: 0 0 16px;
    padding: 4px;
    overflow-x: auto;
    border-radius: var(--spot-radius);
    background: var(--spot-field);
    scrollbar-width: none;
}

.spot-sl-shop-page .shop-list-pages::-webkit-scrollbar {
    display: none;
}

.spot-sl-shop-page .shop-list-pages a {
    flex: 1 0 auto;
    min-height: 40px;
    margin: 0;
    padding: 10px 16px;
    border-radius: var(--spot-radius-s);
    background: transparent;
    color: var(--spot-ink-2) !important;
    font-family: var(--spot-font);
    font-size: 15px;
    line-height: 20px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    text-decoration: none !important;
}

.spot-sl-shop-page .shop-list-pages a.active {
    background: var(--spot-surface);
    color: var(--spot-ink) !important;
    box-shadow: 0 1px 3px rgba(20, 22, 26, .08);
}

.spot-sl-shop-lh {
    margin: 0 0 12px;
}

.spot-sl-shop-lh .catalog-title {
    margin: 0 0 12px;
}

.spot-sl-shop-tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spot-sl-sort.catalog-sort {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0 12px;
    min-height: var(--spot-control-h);
    display: flex;
    align-items: center;
    border-radius: var(--spot-radius);
    background: var(--spot-surface);
    text-align: right;
}

.spot-sl-sort > div,
.spot-sl-sort .uni-dropdown {
    width: 100%;
}

.spot-sl-filters {
    flex-shrink: 0;
}

.spot-sl-state.spot-sl-empty {
    margin: 24px 0 48px;
    padding: 32px 20px;
}

.spot-sl-state .spot-sl-empty-t {
    font-family: var(--spot-font);
}

.spot-sl-state-btn {
    margin-top: 16px;
}

@media (min-width: 992px) {
    .spot-sl-shop-cover {
        margin: 16px 0 0;
        border-radius: var(--spot-radius-l) var(--spot-radius-l) 0 0;
    }

    .spot-sl-shop-slide {
        height: 320px;
    }

    .spot-sl-shop.spot-sl-card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        margin: 16px 0 16px;
        padding: 20px 24px;
        border-radius: var(--spot-radius-l);
    }

    .spot-sl-shop-cover + .spot-sl-shop.spot-sl-card {
        margin-top: 0;
        border-radius: 0 0 var(--spot-radius-l) var(--spot-radius-l);
    }

    .spot-sl-shop-logo {
        width: 80px;
        height: 80px;
    }

    .spot-sl-shop-side {
        display: grid;
        grid-template-columns: auto auto;
        align-items: center;
        gap: 8px 16px;
        flex-shrink: 0;
    }

    .spot-sl-shop .spot-sl-stat2 {
        margin: 0;
        grid-template-columns: repeat(2, 120px);
    }

    .spot-sl-shop .spot-sl-btns {
        margin: 0;
        grid-template-columns: repeat(2, minmax(150px, auto));
    }

    .spot-sl-shop .spot-sl-acts {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: flex-end;
        margin: 0;
    }

    .spot-sl-shop-lh {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }

    .spot-sl-shop-lh .catalog-title {
        margin: 0;
    }

    .spot-sl-sort.catalog-sort {
        flex: 0 0 auto;
        background: transparent;
    }
}

.spot-sl-shop-cover .shop-sliders-items {
    height: auto;
}

.spot-sl-shop-cover .slick-slide {
    margin: 0 !important;
}

body.spot-sl-shop-page {
    background: var(--spot-bg);
}

.spot-sl-shop-page .spot-sl-filters {
    background: var(--spot-surface);
}

.spot-sl-pk .spot-sl-row-ico.spot-badge--premium {
    background: var(--spot-inv);
    color: var(--spot-on-inv);
}

.spot-sl-pk .spot-sl-row-ico.spot-badge--hot,
.spot-sl-pk .spot-sl-row-ico.spot-badge--up {
    background: var(--spot-surface);
}

/* полировка: поля ввода 16px на телефоне — иначе iOS увеличивает страницу при фокусе */
@media (max-width: 991.98px) {
    .spot-sl-select, .spot-sl-rv-textarea.form-control { font-size: 16px; }
}
