/*
 * DOSYA YOLU : /module/showcase/assets/sc.css   (YENİ DOSYA)
 * AÇIKLAMA   : Kanal vitrini stilleri (önek: sc-): öne çıkan video bölümü, yatay raflar (video / Shorts / liste kartları),
 *              oynatma listeleri ızgarası ve "Vitrini düzenle" penceresi (mobilde alttan sheet).
 *              Sadece core.css / yt.css değişkenlerine (--st-*) bağlıdır.
 */
.sc-muted { font-size: 13px; line-height: 19px; color: var(--st-text-2); }
.sc-link { font-size: 13px; font-weight: 500; color: var(--st-accent); }
.sc-link:hover { text-decoration: underline; }
.sc-ph { display: grid; place-items: center; width: 100%; height: 100%; color: rgba(255, 255, 255, .88); background: linear-gradient(135deg, hsl(var(--sc-h, 260), 62%, 42%), hsl(calc(var(--sc-h, 260) + 55), 68%, 28%)); }
.sc-dur { position: absolute; right: 6px; bottom: 6px; padding: 1px 5px; border-radius: 4px; font-size: 12px; font-weight: 500; line-height: 16px; color: #fff; background: rgba(0, 0, 0, .8); }

.sc-home { display: flex; flex-direction: column; gap: 28px; padding-bottom: 12px; }
.sc-hint { padding: 12px 14px; border-radius: 12px; font-size: 13.5px; line-height: 20px; color: var(--st-text-2); background: var(--st-surface-2); }

/* ---------- Öne çıkan video ---------- */
.sc-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.sc-hero__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: var(--st-surface-2); }
.sc-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.sc-hero__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; color: #fff; background: rgba(0, 0, 0, .55); opacity: 0; transform: scale(.85); transition: opacity .2s, transform .25s; pointer-events: none; }
.sc-hero__play svg { margin-left: 3px; }
@media (hover: hover) { .sc-hero__media:hover .sc-hero__play { opacity: 1; transform: none; } }
.sc-hero__info { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.sc-hero__lbl { font-size: 12px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: var(--st-text-2); }
.sc-hero__t { font-size: 20px; font-weight: 600; line-height: 28px; overflow-wrap: anywhere; }
.sc-hero__t a:hover { color: var(--st-accent); }
.sc-hero__meta { font-size: 13px; color: var(--st-text-2); }
.sc-hero__desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 21px; color: var(--st-text-2); }
.sc-hero .st-btn { margin-top: 6px; }
@media (min-width: 768px) {
  .sc-hero { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 24px; align-items: center; }
  .sc-hero__t { font-size: 24px; line-height: 32px; }
}

/* ---------- Raflar ---------- */
.sc-shelf__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sc-shelf__head h2 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.sc-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.sc-row::-webkit-scrollbar { display: none; }
.sc-row > .ch-card { flex: none; width: 230px; scroll-snap-align: start; }
@media (min-width: 768px) { .sc-row { gap: 16px; } .sc-row > .ch-card { width: 260px; } }

.sc-row--short { gap: 10px; }
.sc-sh { flex: none; display: flex; flex-direction: column; gap: 6px; width: 150px; scroll-snap-align: start; }
.sc-sh__thumb { display: block; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 12px; background: var(--st-surface-2); }
.sc-sh__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sc-sh__t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; font-weight: 500; line-height: 20px; }
.sc-sh__v { font-size: 12px; color: var(--st-text-2); }
@media (min-width: 768px) { .sc-sh { width: 176px; } }

/* ---------- Oynatma listeleri ---------- */
.sc-plgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
@media (min-width: 640px) { .sc-plgrid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px 16px; } }
.sc-plc { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sc-plc__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: var(--st-surface-2); }
.sc-plc__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sc-plc__n { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: flex-end; gap: 6px; padding: 18px 10px 8px; font-size: 12px; font-weight: 500; color: #fff; background: linear-gradient(to top, rgba(0, 0, 0, .75), transparent); }
.sc-plc__t { font-size: 14.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.sc-plc:hover .sc-plc__t { color: var(--st-accent); }

/* ---------- Pencere ---------- */
.sc-dialog { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-end; justify-content: center; font-family: var(--st-font, system-ui, sans-serif); }
.sc-dialog__bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .25s; }
.sc-dialog.is-open .sc-dialog__bg { opacity: 1; }
.sc-dialog__box { position: relative; display: flex; flex-direction: column; width: 100%; max-height: 90vh; max-height: 90dvh; border-radius: 16px 16px 0 0; background: var(--yt-pop, var(--st-surface-2)); color: var(--st-text); box-shadow: var(--st-shadow-lg); transform: translateY(100%); transition: transform .3s cubic-bezier(.2, 0, 0, 1); padding-bottom: var(--st-safe-b, 0px); }
.sc-dialog.is-open .sc-dialog__box { transform: none; }
.sc-dialog header { display: flex; align-items: center; justify-content: space-between; padding: 12px 8px 4px 20px; }
.sc-dialog h2 { font-size: 18px; font-weight: 600; }
.sc-dialog__close { width: 38px; height: 38px; border-radius: 50%; font-size: 26px; line-height: 1; color: inherit; }
.sc-dialog__close:hover { background: var(--st-surface-3); }
.sc-dialog__body { display: flex; flex-direction: column; gap: 14px; padding: 8px 20px 16px; overflow-y: auto; overscroll-behavior: contain; }
.sc-sec { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 12px; background: var(--st-surface-2); }
.sc-sec h3 { font-size: 15px; font-weight: 600; }
.sc-sec h3 small { font-size: 12px; font-weight: 400; color: var(--st-text-2); }
.sc-inp { width: 100%; min-height: 42px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--st-border-strong); background: var(--st-bg); color: var(--st-text); font: 16px/1.3 inherit; }
.sc-lists { display: flex; flex-direction: column; }
.sc-lrow { display: flex; align-items: center; gap: 4px; min-height: 52px; border-top: 1px solid var(--st-border); }
.sc-lrow:first-child { border-top: 0; }
.sc-lrow__l { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; cursor: pointer; }
.sc-lrow__l input { position: absolute; opacity: 0; width: 0; height: 0; }
.sc-lrow__box { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border: 2px solid var(--st-text-3); border-radius: 5px; transition: background .15s, border-color .15s; }
.sc-lrow__l input:checked + .sc-lrow__box { background: var(--st-accent); border-color: var(--st-accent); }
.sc-lrow__l input:checked + .sc-lrow__box::after { content: ""; width: 5px; height: 10px; margin-top: -2px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.sc-lrow__l input:focus-visible + .sc-lrow__box { box-shadow: var(--st-ring); }
.sc-lrow__t { display: flex; flex-direction: column; min-width: 0; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-lrow__t small { font-size: 12px; color: var(--st-text-3); }
.sc-ib { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 17px; color: var(--st-text-2); }
.sc-ib:hover:not(:disabled) { background: var(--st-surface-3); color: var(--st-text); }
.sc-ib:disabled { opacity: .3; }
.sc-err { font-size: 13px; color: var(--st-danger); }
.sc-err:empty { display: none; }
.sc-dialog footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 2px; }
.sc-btn { height: 36px; padding: 0 18px; border-radius: 18px; font-size: 14px; font-weight: 500; }
.sc-btn--ghost:hover { background: var(--st-surface-3); }
.sc-btn--primary { color: #fff; background: #065fd4; }
@media (min-width: 640px) {
  .sc-dialog { align-items: center; padding: 20px; }
  .sc-dialog__box { max-width: 520px; border-radius: 12px; opacity: 0; transform: translateY(14px) scale(.97); transition: transform .25s, opacity .2s; padding-bottom: 0; }
  .sc-dialog.is-open .sc-dialog__box { opacity: 1; transform: none; }
  .sc-inp { font-size: 14px; }
}