/* ============================================================
   Spoilery — assets/css/pages/series.css
   Cartella: /assets/css/pages/
   Hub della serie. Progettato prima per lo smartphone
   (colonna unica, schede fisse, aree di tocco da 44 px);
   su schermi grandi la stessa interfaccia si allarga.
   ============================================================ */

.st-hub { --st-hub-max: 820px; }
.st-hub .container { max-width: var(--st-hub-max); }

/* ---------- Copertina ---------- */
.st-hub-hero {
    position: relative;
    padding-top: 1.25rem;
    overflow: hidden;
    isolation: isolate;
}
.st-hub-backdrop {
    position: absolute;
    inset: -40px;
    z-index: -1;
    background-size: cover;
    background-position: center 25%;
    filter: blur(28px) saturate(130%);
    opacity: .45;
    transform: scale(1.1);
}
.st-hub-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(10, 10, 11, .15) 0%, rgba(10, 10, 11, .75) 55%, var(--st-ink) 100%);
}

.st-hub-hero-inner {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
}
.st-hub-poster {
    width: 112px;
    height: auto;
    flex-shrink: 0;
    border-radius: var(--st-radius);
    box-shadow: 0 18px 36px -14px rgba(0, 0, 0, .8);
}
.st-hub-heading { min-width: 0; padding-bottom: .15rem; }

.st-hub-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .55rem; }
.st-hub-tag {
    padding: .15rem .55rem;
    border-radius: 999px;
    background: rgba(242, 242, 243, .1);
    color: var(--st-text);
    font-size: .75rem;
    font-weight: 600;
}
.st-hub-tag--ongoing  { background: rgba(74, 222, 128, .14); color: #86EFAC; }
.st-hub-tag--upcoming { background: rgba(242, 181, 68, .16); color: var(--st-spoiler); }

.st-hub-title {
    margin: 0 0 .25rem;
    font-size: clamp(1.6rem, 1.2rem + 2.4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
    overflow-wrap: anywhere;
}
.st-hub-original { margin: 0 0 .2rem; color: var(--st-muted); font-size: .85rem; }
.st-hub-followers { margin: 0; color: var(--st-muted); font-size: .85rem; }

.st-hub-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding-block: 1.1rem .5rem;
}
.st-hub-follow { flex: 1 1 auto; min-height: 44px; }
.st-hub-share { flex-shrink: 0; background: var(--st-surface); border: 1px solid var(--st-line); }

/* "Da guardare" (chi non segue la serie) e stato della serie (chi la segue) */
.st-hub-todo, .st-hub-state {
    flex: 1 1 auto; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    padding: .45rem 1rem; border-radius: 999px; font-weight: 700; font-size: .95rem; white-space: nowrap; text-decoration: none;
}
.st-hub-todo { border: 1px solid var(--st-line); background: transparent; color: var(--st-text); }
.st-hub-todo:hover { border-color: #4a4a50; color: var(--st-text); background: var(--st-surface); }
.st-hub-todo[hidden], .st-hub-state[hidden] { display: none; }
.st-hub-state.is-todo    { background: rgba(242, 181, 68, .14); color: #F2B544; border: 1px solid rgba(242, 181, 68, .45); }
.st-hub-state.is-started { background: rgba(96, 165, 250, .14); color: #93C5FD; border: 1px solid rgba(96, 165, 250, .45); }
.st-hub-state.is-done    { background: rgba(34, 197, 94, .14);  color: #4ADE80; border: 1px solid rgba(34, 197, 94, .45); }
.st-hub-follow { white-space: nowrap; }

@media (min-width: 576px) {
    .st-hub-poster { width: 150px; }
    .st-hub-follow { flex: 0 0 auto; min-width: 170px; }
    .st-hub-todo, .st-hub-state { flex: 0 0 auto; min-width: 170px; }
}

/* ---------- Corpo ---------- */
.st-hub-body { padding-bottom: 2rem; }

/* Barra di avanzamento */
.st-bar {
    display: block;
    height: 6px;
    border-radius: 999px;
    background: var(--st-raised);
    overflow: hidden;
}
.st-bar > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--st-accent);
    transition: width .35s ease;
}

.st-hub-progress { margin: .5rem 0 1rem; }
.st-hub-progress-text {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .45rem;
    color: var(--st-muted);
    font-size: .88rem;
}
.st-hub-progress-text strong { color: var(--st-text); font-variant-numeric: tabular-nums; }

/* Prossimo episodio */
.st-next {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-bottom: 1rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(218, 9, 21, .45);
    border-radius: var(--st-radius);
    background: linear-gradient(135deg, rgba(218, 9, 21, .14), rgba(218, 9, 21, .04));
    color: var(--st-text);
    text-decoration: none;
}
.st-next:hover { color: var(--st-text); border-color: var(--st-accent); }
.st-next-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(218, 9, 21, .18);
    color: var(--st-accent-hi);
    font-size: 1.15rem;
}
.st-next-info { display: flex; flex-direction: column; gap: .1rem; min-width: 0; flex: 1 1 auto; }
.st-next-info small { color: var(--st-accent-hi); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.st-next-info strong { font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-next-info .st-ep-code { font-size: .72rem; margin-right: .25rem; }
.st-next-date { color: var(--st-muted); font-size: .8rem; }
.st-countdown {
    flex-shrink: 0;
    font-family: var(--st-font-display);
    font-weight: 700;
    font-size: 1.05rem;
    font-variant-numeric: tabular-nums;
    text-align: right;
    line-height: 1.1;
}
.st-countdown small { display: block; color: var(--st-muted); font-family: var(--st-font-body); font-size: .7rem; font-weight: 600; }

/* Invito ospiti */
.st-hub-guest {
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--st-line);
    border-radius: var(--st-radius);
    background: var(--st-surface);
}
.st-hub-guest p { margin: .25rem 0 .8rem; color: var(--st-muted); font-size: .9rem; }
.st-hub-guest-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ---------- Schede (fisse sotto la barra in alto) ---------- */
.st-tabs {
    position: sticky;
    top: calc(var(--st-topbar-h) + var(--st-safe-top));
    z-index: 10;
    display: flex;
    margin-inline: calc(var(--bs-gutter-x) * -.5);
    padding-inline: calc(var(--bs-gutter-x) * .5);
    background: rgba(10, 10, 11, .94);
    border-bottom: 1px solid var(--st-line);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.st-tab {
    position: relative;
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    min-height: 48px;
    border: 0;
    background: none;
    color: var(--st-muted);
    font-weight: 600;
    font-size: .95rem;
}
.st-tab.is-active { color: #fff; }
.st-tab.is-active::after {
    content: "";
    position: absolute;
    left: 20%;
    right: 20%;
    bottom: -1px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--st-accent);
}
.st-tab-count {
    padding: 0 .4rem;
    border-radius: 999px;
    background: var(--st-raised);
    font-size: .72rem;
    line-height: 1.5;
}

.st-panel { padding-top: 1.1rem; }
.st-panel:focus { outline: none; }
.st-panel-intro { color: var(--st-muted); font-size: .9rem; }
.st-panel-title { font-size: 1.05rem; margin: 1.25rem 0 .6rem; }
.st-panel-title:first-child { margin-top: 0; }

/* ---------- Stagioni ---------- */
.st-seasons {
    display: flex;
    gap: .4rem;
    margin-inline: calc(var(--bs-gutter-x) * -.5);
    padding: 0 calc(var(--bs-gutter-x) * .5) .25rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}
.st-seasons::-webkit-scrollbar { display: none; }
.st-season-chip {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 40px;
    padding: 0 .8rem;
    border: 1px solid var(--st-line);
    border-radius: 999px;
    color: var(--st-muted);
    font-family: var(--st-font-display);
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
    scroll-snap-align: start;
}
.st-season-chip:hover { color: var(--st-text); }
.st-season-chip.is-active { border-color: var(--st-accent); background: var(--st-accent); color: #fff; }

.st-season-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .25rem .75rem;
    margin: 1rem 0 .4rem;
}
.st-season-head > div { display: flex; align-items: baseline; gap: .6rem; min-width: 0; }
.st-season-title { margin: 0; font-size: 1.15rem; white-space: nowrap; }
.st-season-progress { color: var(--st-muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
.st-season-mark {
    --bs-btn-padding-x: .75rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-height: 36px;
    margin-left: auto;
    border-color: #3A3A40;
    font-size: .82rem;
    font-weight: 600;
}
.st-season-mark .bi { font-size: 1rem; color: var(--st-accent-hi); }
.st-season-mark[data-done="1"] .bi { color: var(--st-muted); }

/* "Segna tutta la serie come vista" (sopra le stagioni) */
.st-series-mark {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 40px;
    margin: .25rem 0 .9rem;
    font-weight: 600;
}
.st-series-mark .bi { font-size: 1.05rem; }

/* Computer: le stagioni vanno a capo invece di scorrere in orizzontale
   (con il mouse una fila che scorre senza barra non si può spostare) */
@media (min-width: 768px), (hover: hover) and (pointer: fine) {
    .st-seasons {
        flex-wrap: wrap;
        margin-inline: 0;
        padding: 0 0 .25rem;
        overflow: visible;
    }
}

/* ---------- Episodi ---------- */
.st-ep-list { margin: 0; padding: 0; list-style: none; }
.st-ep-list[aria-busy="true"] { opacity: .5; }

.st-ep-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(44, 44, 48, .7);
}
.st-ep-row:last-child { border-bottom: 0; }

.st-ep-link {
    display: flex;
    align-items: center;
    gap: .8rem;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 60px;
    padding: .55rem 0;
    color: var(--st-text);
    text-decoration: none;
}
.st-ep-link:hover { color: #fff; }
.st-ep-link .st-ep-code { flex-shrink: 0; min-width: 76px; justify-content: center; }
.st-ep-info { display: flex; flex-direction: column; min-width: 0; }
.st-ep-info strong { font-weight: 600; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-ep-info small { color: var(--st-muted); font-size: .78rem; }

.st-ep-row.is-watched .st-ep-code { border-color: rgba(218, 9, 21, .5); color: var(--st-accent-hi); }
.st-ep-row.is-watched .st-ep-info strong { color: var(--st-muted); }
.st-ep-row.is-upcoming .st-ep-link { opacity: .65; }

.st-watch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    color: #55555C;
    font-size: 1.35rem;
    transition: color .15s ease, transform .15s ease;
}
.st-watch:hover { color: var(--st-text); }
.st-watch[aria-pressed="true"] { color: var(--st-accent); }
.st-watch:active { transform: scale(.88); }
.st-watch.is-disabled { color: #45454B; font-size: 1.1rem; }

/* ---------- Info ---------- */
.st-overview { color: #D4D4D8; line-height: 1.65; }
.st-details {
    margin: 0;
    border: 1px solid var(--st-line);
    border-radius: var(--st-radius);
    background: var(--st-surface);
}
.st-details > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--st-line);
}
.st-details > div:last-child { border-bottom: 0; }
.st-details dt { color: var(--st-muted); font-weight: 500; }
.st-details dd { margin: 0; text-align: right; font-weight: 600; }

/* Stato vuoto delle discussioni */
#panel-discussions .st-empty .st-ico { display: block; margin: 0 auto .9rem; }

/* Pulsante "Scrivi un post" nelle discussioni */
.st-panel-action { margin-bottom: 1rem; }

/* ---------- Voti ---------- */
/* Media sotto il titolo */
.st-hub-rating { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: .3rem 0 0; color: var(--st-muted); font-size: .85rem; }
.st-hub-rating strong { color: var(--st-text); font-family: var(--st-font-display); font-size: 1rem; }

/* Riquadro "Il tuo voto" */
.st-rate {
    margin: 0 0 1rem;
    padding: .85rem 1rem;
    border: 1px solid var(--st-line);
    border-radius: var(--st-radius);
    background: var(--st-surface);
}
.st-rate.is-busy { opacity: .6; pointer-events: none; }
.st-rate-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .35rem; }
.st-rate-head strong { font-size: .95rem; }
.st-rate-remove { padding: .2rem 0; border: 0; background: none; color: var(--st-muted); font-size: .82rem; text-decoration: underline; text-underline-offset: .2em; }
.st-rate-stars { display: flex; gap: .15rem; }
.st-rate-star {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--st-spoiler);
    font-size: 1.75rem;
    transition: transform .12s ease;
}
.st-rate-star .bi-star { color: #55555C; }
.st-rate-star:not(:disabled):hover { transform: scale(1.12); }
.st-rate-star:not(:disabled):active { transform: scale(.9); }
.st-rate-star:disabled { cursor: not-allowed; opacity: .55; }
.st-rate-note { display: flex; align-items: flex-start; gap: .45rem; margin: .4rem 0 0; color: var(--st-muted); font-size: .84rem; }
.st-rate-note .bi { margin-top: .1rem; }
/* Recensione: due righe facoltative sotto le stelle (compaiono nel feed) */
.st-rate-review { margin-top: .6rem; padding-top: .7rem; border-top: 1px solid var(--st-line); }
.st-rate-review-label { display: block; margin-bottom: .35rem; font-size: .88rem; font-weight: 600; }
.st-rate-review textarea { resize: vertical; min-height: 64px; }
.st-rate-review-bar { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .75rem; margin-top: .5rem; }
.st-rate-review-spoiler { margin: 0; font-size: .85rem; }
.st-rate-review-count { margin-left: auto; color: var(--st-muted); font-size: .78rem; font-variant-numeric: tabular-nums; }
.st-rate-review-hint { margin: .5rem 0 0; color: var(--st-muted); font-size: .8rem; }
.st-rate-review-hint .bi { margin-right: .3rem; }
.st-rate-review-hint a { margin-left: .3rem; white-space: nowrap; }
.st-rate-review-hint a { color: var(--st-text); text-decoration: underline; text-underline-offset: .2em; }

/* Serie simili in fondo alle schede */
.st-panel .st-series-strip { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--st-line); }

/* ---------- Dove guardarla (TMDB/JustWatch) ---------- */
.st-wtw { margin: 0 0 1.1rem; background: var(--st-surface); border: 1px solid var(--st-line); border-radius: var(--st-radius); }
.st-wtw { padding: 0; }
.st-wtw-head {
    display: flex; align-items: center; gap: .55rem; padding: .85rem 1rem;
    list-style: none; cursor: pointer; user-select: none; border-radius: var(--st-radius);
}
.st-wtw-head::-webkit-details-marker { display: none; }
.st-wtw-head:focus-visible { outline: 2px solid var(--st-accent-hi); outline-offset: 2px; }
.st-wtw-title { display: flex; align-items: center; gap: .45rem; margin: 0; font-size: 1rem; font-weight: 700; color: var(--st-text); }
.st-wtw-peek { display: flex; margin-left: auto; }
.st-wtw-peek img { width: 24px; height: 24px; border-radius: 6px; object-fit: cover; border: 2px solid var(--st-surface); margin-left: -6px; background: var(--st-raised); }
.st-wtw[open] .st-wtw-peek { visibility: hidden; }
.st-wtw-chev { flex: 0 0 auto; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--st-raised); color: var(--st-text); font-size: .85rem; transition: transform .2s ease; }
.st-wtw-head:not(:has(.st-wtw-peek)) .st-wtw-chev { margin-left: auto; }
.st-wtw[open] .st-wtw-chev { transform: rotate(180deg); }
.st-wtw-body { padding: 0 1rem .9rem; }
.st-wtw[open] .st-wtw-body { animation: st-wtw-open .2s ease; }
@keyframes st-wtw-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.st-wtw-title .bi { color: var(--st-accent-hi); }
.st-wtw-country { color: var(--st-muted); font-size: .8rem; white-space: nowrap; }
.st-wtw-label { margin: .55rem 0 .4rem; color: var(--st-muted); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.st-wtw-list { display: flex; flex-wrap: wrap; gap: .6rem; }
.st-wtw-item { display: flex; flex-direction: column; align-items: center; gap: .25rem; width: 58px; color: var(--st-text); text-decoration: none; }
.st-wtw-item img, .st-wtw-noimg { width: 46px; height: 46px; border-radius: 11px; object-fit: cover; background: var(--st-raised); box-shadow: 0 2px 6px rgba(0, 0, 0, .35); transition: transform .15s ease; }
.st-wtw-noimg { display: grid; place-items: center; font-weight: 800; }
.st-wtw-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .7rem; color: var(--st-muted); }
.st-wtw-list.is-small .st-wtw-item { width: 46px; }
.st-wtw-list.is-small img, .st-wtw-list.is-small .st-wtw-noimg { width: 36px; height: 36px; border-radius: 9px; }
.st-wtw-foot { margin: .7rem 0 0; color: var(--st-muted); font-size: .76rem; }
.st-wtw-foot a { color: var(--st-text); }

/* Recensioni nella scheda della serie: le ultime 3 (voto + due righe) */
.st-hub-reviews { margin: 0 0 1rem; padding: .85rem 1rem; border: 1px solid var(--st-line); border-radius: var(--st-radius); background: var(--st-surface); }
.st-hub-reviews-head { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; margin-bottom: .4rem; }
.st-hub-reviews-head h2 { margin: 0; font-size: .95rem; font-weight: 700; }
.st-hub-reviews-head h2 .bi { color: var(--st-spoiler); }
.st-hub-reviews-head h2 span { color: var(--st-muted); font-weight: 500; }
.st-hub-reviews-head a { color: var(--st-text); font-size: .84rem; text-decoration: underline; text-underline-offset: .2em; white-space: nowrap; }
.st-hub-reviews-list { list-style: none; margin: 0; padding: 0; }
.st-hub-reviews-list li + li { border-top: 1px solid var(--st-line); }
.st-hub-review { display: flex; align-items: flex-start; gap: .65rem; padding: .6rem 0; color: inherit; text-decoration: none; }
.st-hub-review:hover .st-hub-review-text { color: var(--st-text); }
.st-hub-review img { flex-shrink: 0; width: 32px; height: 32px; }
.st-hub-review-main { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.st-hub-review-top { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .55rem; font-size: .9rem; }
.st-hub-review-top .st-review-stars { font-size: .85rem; gap: .1rem; }
.st-hub-review-text { color: var(--st-muted); font-size: .88rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.st-hub-review-text.is-spoiler { color: var(--st-spoiler); }

/* ============================================================
   "Segna tutta la serie come vista" accanto a Segui / Da guardare:
   su computer sulla stessa riga, su telefono sotto a tutta larghezza
   ============================================================ */
.st-hub-actions { flex-wrap: wrap; }
.st-hub-mark {
    order: 10;                       /* telefono: dopo Condividi, su una riga sua */
    flex: 1 0 100%;
    min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    padding: .45rem 1rem; border-radius: 999px; font-weight: 700; font-size: .95rem; white-space: nowrap;
    border: 1px solid rgba(218, 9, 21, .55); background: rgba(218, 9, 21, .1); color: var(--st-text);
    transition: background-color .15s ease, border-color .15s ease;
}
.st-hub-mark:hover { background: rgba(218, 9, 21, .2); border-color: var(--st-accent); }
.st-hub-mark .bi { font-size: 1.05rem; color: var(--st-accent-hi); }
.st-hub-mark.is-done { border-color: var(--st-line); background: transparent; color: var(--st-muted); }
.st-hub-mark.is-done .bi { color: var(--st-muted); }
.st-hub-mark:disabled { opacity: .6; }
@media (min-width: 576px) {
    .st-hub-mark { order: 0; flex: 0 0 auto; }
    .st-hub-share { order: 1; }
}

/* ============================================================
   Elenco delle puntate: a sinistra si apre la stanza (freccia "›"),
   a destra la pillola "Visto?" / "Visto", separate da una linea
   ============================================================ */
.st-ep-link { padding-right: .6rem; border-radius: 10px; transition: background-color .15s ease; }
.st-ep-link:hover { background: rgba(255, 255, 255, .04); }
.st-ep-info { flex: 1 1 auto; }
.st-ep-go { flex-shrink: 0; margin-left: auto; color: #6b6b73; font-size: .95rem; transition: transform .15s ease, color .15s ease; }
.st-ep-link:hover .st-ep-go { color: var(--st-text); transform: translateX(2px); }
.st-ep-posts .bi { font-size: .8em; }

.st-ep-row .st-watch {
    width: auto; height: 34px; gap: .3rem;
    margin-left: .55rem; padding: 0 .75rem 0 .6rem;
    border: 1px solid #3a3a40; border-radius: 999px;
    color: var(--st-muted); font-size: .82rem; font-weight: 700; white-space: nowrap;
    position: relative;
}
.st-ep-row .st-watch::before {     /* linea verticale tra le due zone */
    content: ''; position: absolute; left: calc(-.55rem / 2 - 1px); top: 4px; bottom: 4px;
    width: 1px; background: rgba(255, 255, 255, .08); pointer-events: none;
}
.st-ep-row .st-watch .bi { font-size: 1rem; }
.st-ep-row .st-watch:hover { color: var(--st-text); border-color: #5a5a62; background: rgba(255, 255, 255, .04); }
.st-ep-row .st-watch.is-on { border-color: rgba(34, 197, 94, .55); background: rgba(34, 197, 94, .14); color: #4ADE80; }
.st-ep-row .st-watch.is-on:hover { background: rgba(34, 197, 94, .22); }
.st-ep-row .st-watch.is-busy { opacity: .55; pointer-events: none; }
.st-ep-row .st-watch.is-disabled { width: 34px; padding: 0; border-color: transparent; }
.st-ep-row .st-watch.is-disabled::before { display: none; }
.st-ep-row.is-watched .st-ep-code { border-color: rgba(34, 197, 94, .45); color: #4ADE80; }
@media (max-width: 380px) {
    .st-ep-link .st-ep-code { min-width: 62px; }
    .st-ep-row .st-watch { padding: 0 .55rem 0 .45rem; }
}

/* Suggerimento (una volta sola) */
.st-ep-hint {
    display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .75rem;
    margin: 0 0 .9rem; padding: .7rem .9rem;
    border: 1px solid rgba(242, 181, 68, .35); border-radius: var(--st-radius-sm, 10px); background: rgba(242, 181, 68, .07);
    font-size: .88rem;
}
.st-ep-hint[hidden] { display: none; }
.st-ep-hint > .bi { color: #F2B544; font-size: 1.1rem; }
.st-ep-hint > span { flex: 1 1 200px; }

/* Finestra "Hai visto anche le puntate precedenti?" */
.st-prev-title { margin: 0 0 .5rem; font-size: 1.05rem; font-weight: 700; }
.st-prev-title .bi { color: var(--st-accent-hi); margin-right: .2rem; }
.st-prev-actions { gap: .5rem; flex-wrap: wrap; }
@media (max-width: 420px) { .st-prev-actions { flex-direction: column-reverse; align-items: stretch; } .st-prev-actions .btn { width: 100%; margin: 0; } }
