/* Dizi takvimi (/dizi-takvimi). catalog-v2 değişkenlerini (.mv-page) kullanır; genişlik .mv-wrap ile sitenin standardı. */

.sc-note { margin: 8px 0 0; color: var(--mv-muted); font-size: 14px; }
.sc-day { margin-top: 22px; }
.sc-day-label {
    display: flex; align-items: center; gap: 10px; margin: 0 0 12px; color: var(--mv-muted);
    font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.sc-day-label::after { content: ""; flex: 1; height: 1px; background: var(--mv-line); }
.sc-day-label.is-today { color: var(--mv-accent-2); }

.sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(240px, 17vw, 330px), 1fr)); gap: 16px; }
.sc-card {
    display: flex; flex-direction: column; overflow: hidden; color: inherit; text-decoration: none;
    background: var(--mv-surface); border: 1px solid var(--mv-line); border-radius: var(--mv-radius);
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), border-color .25s, background .25s;
}
.sc-card:hover { transform: translateY(-3px); background: var(--mv-surface-2); border-color: rgba(192, 132, 252, .45); }
.sc-card:focus-visible { outline: 2px solid var(--mv-accent-2); outline-offset: 3px; }
.sc-card-media { display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #141a2a, #0c111d); overflow: hidden; }
.sc-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.sc-card:hover .sc-card-media img { transform: scale(1.05); }
.sc-card-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; min-width: 0; }
.sc-card-show { font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-card-ep { color: var(--mv-muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-card-ep b { color: var(--mv-accent-2); font-weight: 800; }
.sc-card-when { margin-top: 4px; color: var(--mv-faint); font-size: 12px; font-weight: 700; }
.sc-card.is-watched { opacity: .6; }
.sc-card.is-watched .sc-card-when { color: #86efac; }

.sc-empty {
    margin: 28px 0; padding: 56px 24px; text-align: center; background: var(--mv-surface);
    border: 1px solid var(--mv-line); border-radius: 24px;
}
.sc-empty > i { font-size: 34px; color: var(--mv-accent-2); }
.sc-empty h2 { margin: 14px 0 6px; font-size: 22px; font-weight: 800; }
.sc-empty p { max-width: 460px; margin: 0 auto 20px; color: var(--mv-muted); font-size: 15px; line-height: 1.55; }

/* Dizi detay sayfası: sıradaki bölüm rozeti (.sc-next) */
.sc-next {
    display: inline-flex; align-items: center; gap: 10px; margin: 10px 0 0; padding: 9px 16px; border-radius: 999px;
    background: rgba(139, 92, 246, .16); border: 1px solid rgba(192, 132, 252, .35); color: #f5f5f8; font-size: 14px; font-weight: 600;
}
.sc-next i { color: #c084fc; }
.sc-next b { font-weight: 800; }
.sc-next span { color: rgba(235, 235, 245, .62); }

@media (max-width: 700px) {
    .sc-grid { grid-template-columns: 1fr; gap: 12px; }
    .sc-card { flex-direction: row; }
    .sc-card-media { flex: 0 0 42%; aspect-ratio: 16 / 10; }
    .sc-card-body { justify-content: center; }
    .sc-next { font-size: 13px; }
}

/* ---------- Ay takvimi ---------- */
.sc-cal { margin-top: 8px; }
.sc-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 0 14px; }
.sc-month-title { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.sc-nav { display: none; align-items: center; gap: 8px; }
.sc-js .sc-nav { display: flex; }
.sc-js .sc-month-title--static { display: none; }
.sc-month-title--static { margin: 26px 0 12px; }
.sc-today-btn { height: 40px; padding: 0 16px; }
.sc-nav button:disabled { opacity: .35; cursor: default; }

.sc-weekdays, .sc-grid-month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.sc-weekdays span { padding: 6px 0; text-align: center; color: var(--mv-faint); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.sc-grid-month { margin-bottom: 8px; }

.sc-cell {
    position: relative; min-width: 0; min-height: 124px; padding: 8px; overflow: hidden; cursor: pointer;
    background: var(--mv-surface); border: 1px solid var(--mv-line); border-radius: 14px;
    transition: background .2s, border-color .2s;
}
.sc-cell.is-pad { background: transparent; border-color: transparent; cursor: default; }
.sc-cell:not(.is-pad):hover { background: var(--mv-surface-2); }
.sc-cell:focus-visible { outline: 2px solid var(--mv-accent-2); outline-offset: 2px; }
.sc-cell.is-past { opacity: .6; }
.sc-cell.is-selected { border-color: rgba(192, 132, 252, .7); background: rgba(139, 92, 246, .14); opacity: 1; }
.sc-cell-day { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; font-size: 13px; font-weight: 800; color: var(--mv-muted); }
.sc-cell.is-today .sc-cell-day { background: var(--mv-grad); color: #fff; box-shadow: 0 6px 16px rgba(139, 92, 246, .4); }
.sc-cell.has-eps .sc-cell-day { color: var(--mv-text); }

.sc-chips { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.sc-chip {
    display: flex; align-items: center; gap: 6px; min-width: 0; padding: 3px 6px 3px 3px; border-radius: 8px;
    background: rgba(139, 92, 246, .18); color: var(--mv-text); text-decoration: none; font-size: 12px; font-weight: 600;
    transition: background .2s;
}
.sc-chip:hover { background: rgba(139, 92, 246, .34); }
.sc-chip img { width: 18px; height: 27px; flex: none; border-radius: 4px; object-fit: cover; }
.sc-chip > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-chip b { color: var(--mv-accent-2); font-weight: 800; }
.sc-chip.is-watched { opacity: .55; }
.sc-more { padding: 0 4px; color: var(--mv-faint); font-size: 11px; font-weight: 700; }
.sc-dots { display: none; }

.sc-day-area { margin-top: 26px; }
.sc-day-area .sc-day-label { margin-top: 0; }
.sc-day-area .sc-note { margin: 0; }
.sc-daypanel + .sc-daypanel, .sc-daypanel + .sc-dayempty { margin-top: 22px; }

/* Tablet: etiketler sığmaz, afişler kalır */
@media (max-width: 1100px) {
    .sc-cell { min-height: 96px; }
    .sc-chip > span { display: none; }
    .sc-chips { flex-direction: row; flex-wrap: wrap; }
    .sc-chip { padding: 0; background: none; }
    .sc-chip img { width: 22px; height: 33px; }
    .sc-more { display: none; }
}

/* Mobil: sabit 7 sütun, nokta göstergesi, seçili günün listesi altta */
@media (max-width: 700px) {
    .sc-month-title { font-size: 20px; }
    .sc-weekdays, .sc-grid-month { gap: 4px; }
    .sc-weekdays span { font-size: 10px; letter-spacing: 0; }
    .sc-cell { min-height: 54px; padding: 5px 2px 4px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
    .sc-cell-day { min-width: 24px; height: 24px; font-size: 13px; }
    .sc-chips { display: none; }
    .sc-dots { display: flex; gap: 3px; }
    .sc-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--mv-accent-2); }
    .sc-today-btn { height: 36px; padding: 0 12px; font-size: 13px; }
    .sc-nav .mv-icon-btn { width: 36px; height: 36px; }
    .sc-day-area { margin-top: 18px; scroll-margin-top: 90px; }
}
