/*
 * DOSYA YOLU : /assets/core/yt.css   (MEVCUT DOSYANIN ÜZERİNE YAZ)
 * AÇIKLAMA   : SezTube YouTube tema katmanı (Modül 10). head.php en son yükler; core.css'in ve modül css'lerinin üstüne biner.
 *   1 Renk jetonları (açık / koyu, YouTube değerleri)   2 Temel, düğme, form, çip
 *   3 Üst bar + arama     4 Yan menü (tam / ray / çekmece)   5 Alt çubuk (mobil)   6 Profil menüsü, Oluştur menüsü, pencere
 *   7 Ana sayfa kartları  8 İzleme sayfası + yorumlar        9 Kanal   10 Video ekle   11 Giriş
 *   Önek: yt-.  Modül sınıfları "body " önekiyle güçlendirildi.
 */

/* ==========================================================================
   1. Jetonlar
   ========================================================================== */
:root, :root[data-theme="dark"] {
  color-scheme: dark;
  --yt-brand: #8b6dff;
  --yt-pop: #282828;
  --yt-seg: #3f3f3f;
  --st-bg: #0f0f0f; --st-bg-2: #0f0f0f; --st-surface: #181818; --st-surface-2: #272727; --st-surface-3: #3f3f3f;
  --st-glass: rgba(15, 15, 15, .96); --st-toast-bg: rgba(40, 40, 40, .98);
  --st-border: rgba(255, 255, 255, .12); --st-border-strong: rgba(255, 255, 255, .22);
  --st-text: #f1f1f1; --st-text-2: #aaaaaa; --st-text-3: #717171;
  --st-accent: #3ea6ff; --st-accent-soft: rgba(62, 166, 255, .16);
  --st-grad: linear-gradient(#065fd4, #065fd4);
  --st-live: #ff0000; --st-success: #2ba640; --st-danger: #ff4e45; --st-warning: #f9ab00; --st-info: #3ea6ff;
  --st-shadow-sm: 0 1px 3px rgba(0, 0, 0, .5); --st-shadow-lg: 0 4px 32px rgba(0, 0, 0, .6);
  --st-ring: 0 0 0 2px rgba(62, 166, 255, .45);
  --st-topbar-h: 56px; --st-tabbar-h: 49px;
  --st-font: "Roboto", "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", system-ui, sans-serif;
}
:root[data-theme="light"] {
  color-scheme: light;
  --yt-pop: #ffffff; --yt-seg: #ffffff;
  --st-bg: #ffffff; --st-bg-2: #ffffff; --st-surface: #ffffff; --st-surface-2: #f2f2f2; --st-surface-3: #e5e5e5;
  --st-glass: rgba(255, 255, 255, .96); --st-toast-bg: rgba(255, 255, 255, .98);
  --st-border: rgba(0, 0, 0, .1); --st-border-strong: rgba(0, 0, 0, .2);
  --st-text: #0f0f0f; --st-text-2: #606060; --st-text-3: #909090;
  --st-accent: #065fd4; --st-accent-soft: rgba(6, 95, 212, .1);
  --st-live: #cc0000; --st-success: #188038; --st-danger: #cc0000; --st-warning: #b06000; --st-info: #065fd4;
  --st-shadow-sm: 0 1px 3px rgba(0, 0, 0, .15); --st-shadow-lg: 0 4px 32px rgba(0, 0, 0, .14);
  --st-ring: 0 0 0 2px rgba(6, 95, 212, .3);
}

/* ==========================================================================
   2. Temel, düğme, form, çip
   ========================================================================== */
html:root body { font-family: var(--st-font); font-size: 14px; line-height: 20px; }
::selection { background: rgba(6, 95, 212, .28); color: inherit; }
html:root :focus-visible { outline: 2px solid var(--st-accent); outline-offset: 2px; }

html:root .st-btn { --st-h: 36px; min-height: 36px; padding: 0 16px; gap: 6px; border: 0; border-radius: 18px; font-size: 14px; font-weight: 500; box-shadow: none; }
html:root .st-btn--sm { --st-h: 32px; min-height: 32px; padding: 0 12px; border-radius: 16px; font-size: 13px; }
html:root .st-btn--lg { --st-h: 40px; min-height: 40px; padding: 0 20px; border-radius: 20px; font-size: 14px; }
html:root .st-btn--primary { color: #fff; background: var(--st-grad); }
html:root .st-btn--primary:hover { filter: brightness(1.12); }
html:root .st-btn--subtle { background: var(--st-surface-2); }
html:root .st-btn--subtle:hover { background: var(--st-surface-3); }
html:root .st-btn--ghost { color: var(--st-text); }
html:root .st-btn--ghost:hover { background: var(--st-surface-2); }

html:root .st-chip { height: 32px; padding: 0 12px; border-radius: 8px; border: 0; font-size: 14px; font-weight: 500; background: var(--st-surface-2); color: var(--st-text); }
html:root .st-chip:hover { background: var(--st-surface-3); }
html:root .st-chip.is-active { background: var(--st-text); color: var(--st-bg); }
html:root .st-chips { gap: 12px; }

html:root .st-input, html:root .st-select, html:root .st-textarea { min-height: 40px; border-radius: 8px; border: 1px solid var(--st-border-strong); background: var(--st-bg); }
html:root .st-input:focus, html:root .st-select:focus, html:root .st-textarea:focus { border-color: var(--st-accent); box-shadow: 0 0 0 1px var(--st-accent); }
html:root .st-textarea { padding-top: 10px; }
@media (min-width: 768px) { html:root .st-input, html:root .st-select, html:root .st-textarea { font-size: 14px; } }

html:root .st-card { border-radius: 12px; }
html:root .st-modal { border-radius: 12px; background: var(--yt-pop); }
html:root .st-toast { border-radius: 8px; }
html:root .st-badge { border-radius: 6px; }

/* ==========================================================================
   3. Üst bar + arama
   ========================================================================== */
.yt-top {
  position: fixed; z-index: 56; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 4px;
  height: calc(var(--st-topbar-h) + var(--st-safe-t)); padding: var(--st-safe-t) calc(8px + var(--st-safe-r)) 0 calc(8px + var(--st-safe-l));
  background: var(--st-bg);
}
.yt-top__start { display: flex; align-items: center; gap: 4px; flex: none; }
.yt-top__end { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }

.yt-ibtn { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; color: var(--st-text); transition: background .12s; }
.yt-ibtn:hover { background: var(--st-surface-2); }
.yt-ibtn:active { background: var(--st-surface-3); }

.yt-brand { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 40px; padding: 0 8px; }
.yt-brand__logo { width: 28px; height: 28px; }
.yt-brand__name { font-size: 20px; font-weight: 700; letter-spacing: -.04em; color: var(--st-text); }
.yt-brand__name b { font-weight: 700; color: var(--yt-brand); }

.yt-avatar { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; }
.yt-create { display: none; align-items: center; gap: 6px; height: 36px; padding: 0 16px 0 12px; border-radius: 18px; font-size: 14px; font-weight: 500; background: var(--st-surface-2); color: var(--st-text); transition: background .12s; }
.yt-create:hover { background: var(--st-surface-3); }
.yt-signin { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 15px 0 11px; border: 1px solid var(--st-border-strong); border-radius: 18px; font-size: 14px; font-weight: 500; color: var(--st-accent); white-space: nowrap; }
.yt-signin:hover { background: var(--st-accent-soft); border-color: transparent; }

.yt-search, .yt-search__back { display: none; }
.yt-search__input { -webkit-appearance: none; appearance: none; outline: 0; }
.yt-search__input::-webkit-search-cancel-button { display: none; }

/* Mobil: arama açılınca üst barı kaplar */
.yt-top.is-search-open .yt-search {
  display: flex; align-items: center; gap: 4px; position: absolute; z-index: 3; left: 0; right: 0; top: var(--st-safe-t); bottom: 0; padding: 0 8px; background: var(--st-bg);
}
.yt-top.is-search-open .yt-search__back { display: grid; }
.yt-top.is-search-open .yt-search .yt-search__input { flex: 1; min-width: 0; height: 40px; padding: 0 16px; border: 0; border-radius: 20px; background: var(--st-surface-2); color: var(--st-text); font-size: 16px; }
.yt-top.is-search-open .yt-search__submit { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--st-text); }

@media (max-width: 767px) { .yt-signin span { display: none; } .yt-signin { padding: 0 8px; } }

@media (min-width: 768px) {
  .yt-top { display: grid; grid-template-columns: minmax(max-content, 1fr) minmax(0, 640px) minmax(max-content, 1fr); gap: 0 16px; padding-inline: calc(16px + var(--st-safe-l)) calc(16px + var(--st-safe-r)); }
  .yt-top__end { justify-self: end; margin-left: 0; }
  .yt-searchbtn { display: none; }
  .yt-create { display: inline-flex; }
  .yt-search { display: flex; align-items: center; height: 40px; min-width: 0; }
  .yt-search .yt-search__input {
    flex: 1; min-width: 0; height: 40px; padding: 0 4px 0 16px; border: 1px solid var(--st-border-strong); border-right: 0; border-radius: 40px 0 0 40px;
    background: var(--st-bg); color: var(--st-text); font-size: 16px;
  }
  .yt-search:focus-within .yt-search__input { border-color: #1c62b9; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .12); }
  .yt-search__submit { display: grid; place-items: center; width: 64px; height: 40px; border: 1px solid var(--st-border-strong); border-radius: 0 40px 40px 0; background: var(--st-surface-2); color: var(--st-text); }
  .yt-search__submit:hover { background: var(--st-surface-3); }
}

/* ==========================================================================
   4. Yan menü (çekmece varsayılan; 768+ ray; 1100+ tam)
   ========================================================================== */
:root { --st-sidebar-w: 0px; }
@media (min-width: 768px) { html:root { --st-sidebar-w: 72px; } }
@media (min-width: 1100px) { html:root:not(.st-mini) { --st-sidebar-w: 240px; } }
body.st-page-view { --st-sidebar-w: 0px; }

.yt-side {
  position: fixed; z-index: 80; top: 0; left: 0; bottom: 0; width: 240px; max-width: 86vw; display: flex; flex-direction: column;
  padding: 0 12px calc(12px + var(--st-safe-b)); background: var(--st-bg); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
  transform: translateX(-105%); transition: transform .22s cubic-bezier(.2, 0, 0, 1);
}
body.is-sidebar-open .yt-side { transform: none; box-shadow: 0 4px 32px rgba(0, 0, 0, .35); }
.yt-side__head { display: flex; align-items: center; gap: 4px; flex: none; height: calc(var(--st-topbar-h) + var(--st-safe-t)); padding-top: var(--st-safe-t); margin: 0 -4px; }
.yt-side__nav { display: flex; flex-direction: column; gap: 2px; }
.yt-side__full { display: block; }
.yt-rail-only { display: none; }

.yt-item {
  display: flex; align-items: center; gap: 24px; width: 100%; height: 40px; padding: 0 12px; border-radius: 10px;
  font-size: 14px; font-weight: 400; color: var(--st-text); text-align: left; white-space: nowrap; transition: background .1s;
}
.yt-item span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.yt-item .st-icon, .yt-item .st-avatar { flex: none; }
.yt-item:hover { background: var(--st-surface-2); }
.yt-item.is-active { --yt-cut: var(--st-surface-2); background: var(--st-surface-2); font-weight: 500; }
.yt-item .ic-fill { display: none; }
.yt-item.is-active .ic-fill { display: inline-block; }
.yt-item.is-active .ic-line { display: none; }
.yt-item .st-avatar { margin: 0 0 0 0; }

.yt-sec { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; margin-top: 8px; border-top: 1px solid var(--st-border); }
.yt-sec__title { display: flex; align-items: center; gap: 4px; padding: 4px 12px 8px; font-size: 16px; font-weight: 500; color: var(--st-text); }
a.yt-sec__title:hover { color: var(--st-text-2); }
.yt-sec--promo { gap: 12px; padding: 16px 12px; }
.yt-sec--promo p { font-size: 14px; line-height: 20px; color: var(--st-text-2); }
.yt-sec--promo .yt-signin { align-self: flex-start; }
.yt-side__copy { padding: 8px 12px 0; font-size: 12px; color: var(--st-text-3); }

/* İkon rayı: 768+ (çekmece açık değilken) */
@media (min-width: 768px) {
  body:not(.is-sidebar-open) .yt-side { top: calc(var(--st-topbar-h) + var(--st-safe-t)); z-index: 55; width: 72px; padding: 0 4px; transform: none; box-shadow: none; overflow: hidden; }
  body:not(.is-sidebar-open) .yt-side__head, body:not(.is-sidebar-open) .yt-side__full { display: none; }
  body:not(.is-sidebar-open) .yt-rail-only { display: flex; }
  body:not(.is-sidebar-open) .yt-side .yt-item { flex-direction: column; justify-content: center; gap: 6px; height: 74px; padding: 0; font-size: 10px; text-align: center; }
  body:not(.is-sidebar-open) .yt-side .yt-item span { max-width: 100%; padding: 0 2px; }
}
/* Tam menü: 1100+ */
@media (min-width: 1100px) {
  html:not(.st-mini) body:not(.is-sidebar-open) .yt-side { width: 240px; padding: 12px; overflow-y: auto; }
  html:not(.st-mini) body:not(.is-sidebar-open) .yt-side__full { display: block; }
  html:not(.st-mini) body:not(.is-sidebar-open) .yt-rail-only { display: none; }
  html:not(.st-mini) body:not(.is-sidebar-open) .yt-side .yt-item { flex-direction: row; justify-content: flex-start; gap: 24px; height: 40px; padding: 0 12px; font-size: 14px; text-align: left; }
}
/* İzleme sayfasında menü gizli (hamburger ile çekmece olarak açılır) */
@media (min-width: 768px) {
  html body.st-page-view:not(.is-sidebar-open) .yt-side { transform: translateX(-105%); box-shadow: none; }
}

.yt-scrim { position: fixed; inset: 0; z-index: 70; background: rgba(0, 0, 0, .5); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
body.is-sidebar-open .yt-scrim { opacity: 1; visibility: visible; }
body.is-menu-open .yt-scrim { opacity: 1; visibility: visible; z-index: 85; }
@media (min-width: 768px) { body.is-menu-open .yt-scrim { background: transparent; } }

body[data-layout="bare"] .yt-top, body[data-layout="bare"] .yt-side, body[data-layout="bare"] .yt-tabbar,
body[data-layout="bare"] .yt-menu, body[data-layout="bare"] .yt-scrim, body[data-layout="bare"] .yt-pop { display: none !important; }
body[data-layout="bare"] { --st-sidebar-w: 0px; }

/* ==========================================================================
   5. Alt çubuk (mobil)
   ========================================================================== */
.yt-tabbar {
  position: fixed; z-index: 52; left: 0; right: 0; bottom: 0; display: flex; align-items: stretch;
  height: calc(var(--st-tabbar-h) + var(--st-safe-b)); padding: 0 calc(4px + var(--st-safe-r)) var(--st-safe-b) calc(4px + var(--st-safe-l));
  background: var(--st-bg); border-top: 1px solid var(--st-border);
}
.yt-tab { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 10px; font-weight: 400; color: var(--st-text); -webkit-tap-highlight-color: transparent; }
.yt-tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yt-tab.is-active { font-weight: 500; }
.yt-tab .ic-fill { display: none; }
.yt-tab.is-active .ic-fill { display: inline-block; }
.yt-tab.is-active .ic-line { display: none; }
.yt-tab:active .st-icon { transform: scale(.9); }
.yt-tab__plus { display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--st-text); border-radius: 50%; }
@media (min-width: 768px) { .yt-tabbar { display: none; } }

/* ==========================================================================
   6. Profil menüsü, Oluştur menüsü, pencere
   ========================================================================== */
.yt-menu {
  position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; max-height: 88vh; max-height: 88dvh; overflow: hidden;
  border-radius: 16px 16px 0 0; background: var(--yt-pop); box-shadow: var(--st-shadow-lg); padding-bottom: var(--st-safe-b);
  transform: translateY(105%); visibility: hidden; transition: transform .25s cubic-bezier(.2, 0, 0, 1), visibility 0s linear .25s;
}
.yt-menu.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.yt-menu__grab { display: block; flex: none; width: 36px; height: 4px; margin: 8px auto 2px; border-radius: 4px; background: var(--st-surface-3); }
.yt-panel { display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; padding: 4px 0 8px; }
.yt-panel[hidden] { display: none; }
.yt-menu__head { display: flex; align-items: center; gap: 16px; padding: 12px 16px; }
.yt-menu__who { min-width: 0; }
.yt-menu__who strong { display: block; font-size: 16px; font-weight: 400; line-height: 22px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yt-menu__who span { display: block; font-size: 14px; color: var(--st-text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yt-menu__who a { display: inline-block; margin-top: 6px; font-size: 14px; color: var(--st-accent); }
.yt-menu__sep { height: 1px; margin: 8px 0; background: var(--st-border); }
.yt-menu__item { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 48px; padding: 0 16px; font-size: 14px; color: var(--st-text); text-align: left; cursor: pointer; }
.yt-menu__item:hover { background: var(--st-surface-2); }
.yt-menu__item .st-icon { flex: none; }
.yt-menu__t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yt-menu__arrow { color: var(--st-text-2); }
.yt-menu__back { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 48px; padding: 0 12px; border-bottom: 1px solid var(--st-border); font-size: 16px; text-align: left; }
.yt-menu__back:hover { background: var(--st-surface-2); }
.yt-menu__note { padding: 12px 16px 8px; font-size: 12px; line-height: 18px; color: var(--st-text-2); }
.yt-menu__chk { display: grid; place-items: center; flex: none; width: 24px; height: 24px; opacity: 0; }
.yt-menu__item[aria-checked="true"] .yt-menu__chk { opacity: 1; }
.yt-menu__item.is-soon { opacity: .55; }
.yt-menu__tag { flex: none; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 500; color: var(--st-text-2); background: var(--st-surface-3); }

@media (min-width: 768px) {
  .yt-menu {
    left: auto; right: 16px; bottom: auto; top: calc(var(--st-topbar-h) + var(--st-safe-t) + 4px); width: 300px; max-height: calc(100vh - 80px);
    border-radius: 12px; opacity: 0; transform: translateY(-6px); transform-origin: top right; padding-bottom: 0;
    transition: opacity .12s, transform .15s, visibility 0s linear .15s;
  }
  .yt-menu.is-open { opacity: 1; transform: none; }
  .yt-menu__grab { display: none; }
  .yt-menu__item { min-height: 40px; }
  .yt-menu__back { min-height: 44px; }
}

.yt-pop { position: fixed; z-index: 90; left: 8px; right: 8px; bottom: calc(var(--st-tabbar-h) + var(--st-safe-b) + 8px); padding: 8px 0; border-radius: 12px; background: var(--yt-pop); box-shadow: var(--st-shadow-lg); }
.yt-pop[hidden] { display: none; }
@media (min-width: 768px) { .yt-pop { left: auto; right: auto; bottom: auto; min-width: 220px; } }

.yt-dialog { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; font-family: var(--st-font); }
.yt-dialog__bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.yt-dialog__box { position: relative; width: 100%; max-width: 660px; max-height: 86vh; display: flex; flex-direction: column; border-radius: 12px; background: var(--yt-pop); color: var(--st-text); box-shadow: var(--st-shadow-lg); }
.yt-dialog__box header { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 24px; border-bottom: 1px solid var(--st-border); }
.yt-dialog__box h2 { font-size: 18px; font-weight: 500; }
.yt-dialog__body { overflow-y: auto; padding: 8px 24px 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 32px; }
@media (min-width: 640px) { .yt-dialog__body { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.yt-dialog__body h3 { margin: 16px 0 8px; font-size: 14px; font-weight: 500; color: var(--st-text-2); }
.yt-keys { display: flex; flex-direction: column; }
.yt-keys li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; font-size: 14px; }
.yt-keys kbd { display: inline-block; min-width: 22px; padding: 2px 7px; margin-left: 4px; border: 1px solid var(--st-border-strong); border-radius: 4px; background: var(--st-surface-2); font: 500 12px/18px var(--st-font); text-align: center; }

/* ==========================================================================
   7. Ana sayfa (kategori çubuğu + video kartları)
   ========================================================================== */
body .db-bar { padding: 12px; background: var(--st-bg); border-bottom: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body .db-bar.is-stuck { border-bottom: 1px solid var(--st-border); box-shadow: none; }
body .db-head { padding: 8px 12px 0; }
body .db-page[data-db-q=""] .db-head__text { display: none; }
body .db-page[data-db-q=""] .db-head { justify-content: flex-end; }
body .db-title { font-size: 20px; font-weight: 700; }
body .db-sort { gap: 8px; padding: 0; border: 0; background: transparent; }
body .db-sort__item { height: 32px; padding: 0 12px; border-radius: 8px; font-size: 14px; font-weight: 500; background: var(--st-surface-2); color: var(--st-text); box-shadow: none; }
body .db-sort__item:hover { background: var(--st-surface-3); }
body .db-sort__item.is-active { background: var(--st-text); color: var(--st-bg); }
body .db-clear { border-radius: 8px; }

body .db-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 36px 16px; padding: 8px 12px 16px; }
body .db-card { gap: 12px; }
body .db-card__thumb { border-radius: 12px; background: var(--st-surface-2); }
body .db-card__thumb::after { display: none; }
body .db-card__thumb img { filter: none !important; }
body .db-card__body { gap: 12px; padding: 0; }
body .db-card__title { font-size: 16px; line-height: 22px; font-weight: 500; letter-spacing: 0; }
body .db-card__by { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--st-text-2); }
body .db-card__meta { margin-top: 0; font-size: 14px; line-height: 20px; color: var(--st-text-2); }
body .db-dur, body .ch-dur, body .vw-dur { right: 4px; bottom: 4px; padding: 1px 4px; border-radius: 4px; font-size: 12px; font-weight: 500; line-height: 16px; background: rgba(0, 0, 0, .8); -webkit-backdrop-filter: none; backdrop-filter: none; }
body .db-play { display: none; }
@media (hover: hover) {
  body .db-card:hover .db-card__thumb, body .ch-card:hover .ch-card__thumb { box-shadow: none; }
  body .db-card:hover .db-card__thumb img, body .ch-card:hover .ch-card__thumb img { transform: none; }
  body .db-card:hover .db-card__title a, body .ch-card:hover .ch-card__title a { color: var(--st-text); }
}
@media (max-width: 599px) {
  body .db-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 4px 0 8px; }
  body .db-card__thumb { border-radius: 0; }
  body .db-card__body { padding: 0 12px; }
}
@media (min-width: 768px) {
  body .db-bar { padding: 12px 24px; }
  body .db-bar .st-chips { margin: 0 -24px; padding: 0 24px; }
  body .db-head { padding: 8px 24px 0; }
  body .db-grid { padding: 16px 24px; }
}

/* ==========================================================================
   8. İzleme sayfası + yorumlar
   ========================================================================== */
body .vw-player { border-radius: 0; box-shadow: none; }
body .vw-info { display: flex; flex-direction: column; padding: 12px 12px 0; }
body .vw-title { order: 1; font-size: 18px; line-height: 26px; font-weight: 600; letter-spacing: 0; }
body .vw-bar { order: 2; display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-top: 12px; }
body .vw-meta { order: 3; margin: 12px 0 0; padding: 8px 12px; gap: 2px 8px; border-radius: 12px; background: var(--st-surface-2); font-size: 14px; line-height: 20px; font-weight: 500; color: var(--st-text); }
body .vw-meta i { display: none; }
body .vw-cat { height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 500; color: var(--st-text-2); background: var(--st-surface-3); }
body .vw-info:has(.vw-desc) .vw-meta { margin-bottom: 0; padding-bottom: 0; border-radius: 12px 12px 0 0; }
body .vw-desc { order: 4; margin: 0; padding: 4px 12px 12px; border: 0; border-radius: 0 0 12px 12px; background: var(--st-surface-2); }
body .vw-desc__text { font-size: 14px; line-height: 20px; color: var(--st-text); }
body .vw-desc__more { font-weight: 500; }

body .ch-owner, body .vw-owner { width: auto; justify-content: flex-start; gap: 24px; }
body .ch-owner__who { gap: 12px; }
body .ch-owner__text strong { font-size: 16px; line-height: 22px; font-weight: 500; }
body .ch-owner__text > span { font-size: 12px; line-height: 18px; color: var(--st-text-2); }
body .vw-owner__text strong { font-size: 16px; font-weight: 500; }

body .vw-actions { gap: 8px; }
body .vw-react { border: 0; border-radius: 18px; background: var(--st-surface-2); }
body .vw-act { height: 36px; padding: 0 16px; gap: 6px; font-size: 14px; font-weight: 500; }
body .vw-react .vw-act { padding: 0 14px 0 12px; border-radius: 0; }
body .vw-act--dislike { border-left: 1px solid var(--st-border-strong); }
body .vw-act--pill { padding: 0 16px 0 12px; border: 0; border-radius: 18px; background: var(--st-surface-2); }
body .vw-act:hover { background: var(--st-surface-3); }
body .vw-act.is-active, body .lb-savebtn.is-on { background: transparent; color: var(--st-text); }
body .vw-act--pill.is-active, body .lb-savebtn.is-on { background: var(--st-surface-2); }
body .vw-act.is-active .st-icon, body .lb-savebtn.is-on .st-icon { fill: currentColor; fill-opacity: 1; }

body .vw-comments { padding: 20px 12px 6px; }
body .cm-title { font-size: 20px; font-weight: 700; }
body .cm-input { min-height: 32px; padding: 4px 0; border: 0; border-bottom: 1px solid var(--st-border-strong); border-radius: 0; background: transparent; font-size: 14px; }
body .cm-input:hover { border-color: var(--st-border-strong); }
body .cm-input:focus { padding-bottom: 3px; border-bottom: 2px solid var(--st-text); box-shadow: none; background: transparent; }
body .cm-name { font-size: 13px; font-weight: 500; }
body .cm-text { font-size: 14px; line-height: 20px; }
body .cm-badge { padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 500; color: var(--st-text); background: var(--st-surface-3); }
body .cm-link { height: 32px; font-size: 12px; font-weight: 500; }
body .cm-login { border: 0; border-radius: 12px; }

body .vw-side__title { display: none; }
body .vw-side { padding-top: 16px; }
body .vw-side__list { gap: 8px; }
body .vw-rel__thumb { width: 168px; border-radius: 8px; }
body .vw-rel__thumb::after { display: none; }
body .vw-rel__title { font-size: 14px; line-height: 20px; font-weight: 500; }
body .vw-rel__by, body .vw-rel__meta { font-size: 12px; line-height: 18px; }
@media (hover: hover) { body .vw-rel:hover .vw-rel__thumb img { transform: none; } body .vw-rel:hover .vw-rel__title { color: var(--st-text); } }

@media (min-width: 768px) {
  body .vw-info { padding: 12px 0 0; }
  body .vw-title { font-size: 20px; line-height: 28px; }
  body .vw-bar { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  body .vw-comments { padding: 24px 0 6px; }
}
@media (min-width: 1000px) {
  body .vw-page { grid-template-columns: minmax(0, 1fr) 402px; gap: 24px; padding: 24px 24px 36px; }
  body .vw-player { border-radius: 12px; box-shadow: none; }
  body .vw-side { padding: 0; }
}
@media (min-width: 1500px) { body .vw-page { grid-template-columns: minmax(0, 1fr) 402px; } }

/* ==========================================================================
   9. Kanal sayfası + Abone ol
   ========================================================================== */
body .ch-sub { height: 36px; padding: 0 16px; font-size: 14px; font-weight: 500; }
body .ch-sub.is-on, body .ch-sub--manage { color: var(--st-text); background: var(--st-surface-2); border-color: transparent; }
body .ch-sub.is-on:hover, body .ch-sub--manage:hover { background: var(--st-surface-3); opacity: 1; }
body .ch-banner { border-radius: 0; }
body .ch-head { padding: 16px 12px 0; gap: 16px; }
body .ch-name { font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: 0; }
body .ch-stats { font-size: 14px; color: var(--st-text-2); }
body .ch-tabsbar { padding: 0 12px; background: var(--st-bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
body .ch-tab { height: 48px; font-size: 14px; font-weight: 500; color: var(--st-text-2); }
body .ch-tab.is-active { color: var(--st-text); }
body .ch-tab.is-active::after { left: 8px; right: 8px; height: 2px; border-radius: 0; background: var(--st-text); }
body .ch-card__thumb { border-radius: 12px; }
body .ch-card__thumb::after { display: none; }
body .ch-card__title { font-size: 16px; line-height: 22px; font-weight: 500; }
body .ch-card__by, body .ch-card__meta { font-size: 14px; color: var(--st-text-2); }
body .ch-chan { border: 0; background: transparent; border-radius: 12px; }
body .ch-chan:hover { background: var(--st-surface-2); }
body .ch-about__stats { border-radius: 12px; }
@media (min-width: 768px) {
  body .ch-banner { margin: 16px 24px 0; border-radius: 12px; }
  body .ch-head { padding: 16px 24px 0; gap: 24px; }
  body .ch-name { font-size: 36px; line-height: 50px; }
  body .ch-tabsbar { padding: 0 24px; }
}

/* ==========================================================================
   10. Video ekle
   ========================================================================== */
body .ad-title { font-size: 20px; font-weight: 700; }
body .ad-card { border-radius: 12px; background: var(--st-surface); }
body .ad-drop { border-width: 1px; border-radius: 12px; background: var(--st-surface-2); }
body .ad-drop:hover, body .ad-drop.is-drag { border-color: var(--st-accent); background: var(--st-accent-soft); }
body .ad-drop__icon { border-radius: 50%; background: var(--st-surface-3); box-shadow: none; }
body .ad-modes { border-radius: 10px; background: var(--st-surface-2); }
body .ad-modes__ind { border-radius: 8px; background: var(--yt-seg); box-shadow: 0 1px 3px rgba(0, 0, 0, .18); }
body .ad-mode.is-active .st-icon { color: var(--st-text); }
body .ad-vis__box { border-radius: 8px; }
body .ad-vis__item input:checked + .ad-vis__box { border-color: var(--st-accent); background: var(--st-accent-soft); }
body .ad-progress { border-radius: 12px; }
body .ad-progress__track i, body .ad-progress__top span { background: var(--st-accent); }
body .ad-progress__top span { background: none; color: var(--st-accent); }
body .ad-actions { background: var(--st-bg); }

/* ==========================================================================
   11. Giriş sayfası
   ========================================================================== */
body .lg-bg { display: none; }
body .lg-card { border-radius: 28px; background: var(--st-bg); border: 1px solid var(--st-border-strong); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body .lg-tabs { border-radius: 12px; }
body .lg-tabs__ind { border-radius: 9px; background: var(--yt-seg); box-shadow: 0 1px 3px rgba(0, 0, 0, .18); }
body .lg-tab { border-radius: 9px; }

@media (prefers-reduced-motion: reduce) { body .db-card, body .ch-card { animation: none; } }