﻿@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&display=swap");
/*
 * Giao diá»‡n Video PEKEDU â€” dá»±ng theo YouTube hiá»‡n táº¡i (ná»n tá»‘i).
 * Tá»± chá»©a, khĂ´ng phá»¥ thuá»™c bá»™ Video-html-main. Náº¡p trong cá»­a sá»• WebOS (frame).
 */

@import url("../../../../assets/css/font-awesome.min.css");
:root {
    --yt-bg: #0f0f0f;
    --yt-bg-2: #181818;
    --yt-elevated: #212121;
    --yt-chip: #272727;
    --yt-chip-hover: #3f3f3f;
    --yt-hover: #272727;
    --yt-text: #f1f1f1;
    --yt-text-2: #aaaaaa;
    --yt-border: #303030;
    --yt-red: #ff0000;
    --yt-blue: #3ea6ff;
    --yt-header-h: 56px;
    --yt-sidebar-w: 240px;
}

* { box-sizing: border-box; }
html, body {
    margin: 0;
    padding: 0;
    background: var(--yt-bg);
}
.ytapp {
    position: fixed;
    inset: 0;
    background: var(--yt-bg);
    color: var(--yt-text);
    font-family: "Roboto", "Arial", sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
}
.ytapp a { color: inherit; text-decoration: none; }
.ytapp ::-webkit-scrollbar { width: 8px; height: 8px; }
.ytapp ::-webkit-scrollbar-thumb { background: #606060; border-radius: 8px; }
.ytapp ::-webkit-scrollbar-thumb:hover { background: #909090; }
.ytapp ::selection { background: rgba(62,166,255,.4); }
.yt-svg { width: 24px; height: 24px; fill: currentColor; display: block; }

/* ===================== HEADER ===================== */
.yt-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--yt-header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    background: var(--yt-bg);
    z-index: 90;
}
.yt-header__start { display: flex; align-items: center; gap: 8px; min-width: 200px; }
.yt-header__center { display: flex; align-items: center; gap: 12px; flex: 0 1 640px; justify-content: center; }
.yt-header__end { display: flex; align-items: center; gap: 8px; justify-content: flex-end; min-width: 200px; }

.yt-iconbtn {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border: none; background: transparent; color: var(--yt-text);
    border-radius: 50%; cursor: pointer;
    flex-shrink: 0;
}
.yt-iconbtn:hover { background: var(--yt-hover); }

.yt-logo { display: inline-flex; align-items: center; gap: 4px; padding: 0 4px; }
.yt-logo__mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 7px; overflow: hidden; flex-shrink: 0;
}
.yt-logo__mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-logo__text { font-family: "Roboto","Arial",sans-serif; font-size: 20px; font-weight: 700; letter-spacing: -1px; color: var(--yt-text); }
.yt-logo__text b { color: #fff; }
.yt-logo__sup { font-size: 10px; color: var(--yt-text-2); vertical-align: super; margin-left: 2px; }

/* Search */
.yt-search { display: flex; align-items: center; flex: 1; max-width: 540px; margin: 0; }
.yt-search__box { display: flex; flex: 1; height: 40px; }
.yt-search__input {
    flex: 1; height: 40px;
    background: #121212;
    border: 1px solid var(--yt-border);
    border-right: none;
    border-radius: 40px 0 0 40px;
    padding: 0 16px;
    color: var(--yt-text);
    font-size: 16px;
    outline: none;
}
.yt-search__input::placeholder { color: #888; }
.yt-search__input:focus { border-color: var(--yt-blue); }
.yt-search__btn {
    width: 64px; height: 40px;
    background: #222222;
    border: 1px solid var(--yt-border);
    border-radius: 0 40px 40px 0;
    color: var(--yt-text);
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
}
.yt-search__btn:hover { background: #303030; }
.yt-voice {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--yt-bg-2); border: none; color: var(--yt-text);
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
    flex-shrink: 0;
}
.yt-voice:hover { background: var(--yt-hover); }

/* Create / bell / avatar */
.yt-createbtn {
    display: inline-flex; align-items: center; gap: 6px;
    height: 36px; padding: 0 14px 0 11px;
    background: var(--yt-chip); color: var(--yt-text);
    border: none; border-radius: 18px; cursor: pointer;
    font-family: "Roboto"; font-size: 14px; font-weight: 500;
}
.yt-createbtn:hover { background: var(--yt-chip-hover); }
.yt-createbtn svg { width: 24px; height: 24px; fill: currentColor; }
.yt-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #3ea6ff, #065fd4);
    color: #fff; font-weight: 600; font-size: 14px; text-transform: uppercase;
    cursor: pointer; border: none; flex-shrink: 0;
}

/* Dropdown menus (Táº¡o / thĂ´ng bĂ¡o / user) */
.yt-pop { position: relative; }
.yt-menu {
    position: absolute; top: 48px; right: 0;
    min-width: 260px;
    background: var(--yt-elevated);
    border-radius: 12px;
    box-shadow: 0 4px 32px rgba(0,0,0,.5);
    padding: 8px 0; z-index: 200;
    display: none;
}
.yt-menu.is-open { display: block; }
.yt-menu__item {
    display: flex; align-items: center; gap: 16px;
    padding: 0 16px; height: 40px; cursor: pointer; color: var(--yt-text); font-size: 14px;
}
.yt-menu__item:hover { background: var(--yt-hover); }
.yt-menu__item svg { width: 24px; height: 24px; fill: currentColor; }
.yt-menu--notify { width: 360px; padding: 0; }
.yt-menu__head { display:flex; align-items:center; justify-content:space-between; padding: 12px 16px; border-bottom: 1px solid var(--yt-border); font-size: 16px; }
.yt-notify-empty { padding: 56px 24px; text-align: center; color: var(--yt-text-2); }
.yt-notify-empty svg { width: 72px; height: 72px; fill: #3f3f3f; margin-bottom: 12px; }
.yt-notify-empty b { display:block; color: var(--yt-text); font-weight: 500; margin-bottom: 6px; }

/* ===================== SIDEBAR ===================== */
.yt-sidebar {
    position: fixed;
    top: var(--yt-header-h); left: 0; bottom: 0;
    width: var(--yt-sidebar-w);
    background: var(--yt-bg);
    overflow-y: auto;
    padding: 12px;
    z-index: 80;
}
/* áº¨n thanh cuá»™n dá»c cá»§a sidebar; váº«n cuá»™n Ä‘Æ°á»£c báº±ng chuá»™t/touchpad. */
.yt-sidebar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.yt-sidebar::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}
.yt-sb__section { padding: 8px 0; }
.yt-sb__item {
    display: flex; align-items: center; gap: 24px;
    height: 40px; padding: 0 12px;
    border-radius: 10px; color: var(--yt-text); cursor: pointer;
}
.yt-sb__item:hover { background: var(--yt-hover); }
.yt-sb__item.is-active { background: var(--yt-hover); font-weight: 500; }
.yt-sb__icon { width: 24px; height: 24px; flex-shrink: 0; display:flex; }
.yt-sb__icon svg { width: 24px; height: 24px; fill: currentColor; }
.yt-sb__label { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yt-sb__title { font-size: 16px; font-weight: 500; color: var(--yt-text); padding: 8px 12px 4px; display:flex; align-items:center; gap:6px; }
.yt-sb__divider { height: 0; border-top: 1px solid var(--yt-border); margin: 8px 0; }
.yt-sb__chan-avatar {
    width: 24px; height: 24px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #ff6b6b, #c62828); color:#fff; font-size: 11px; font-weight: 600; text-transform: uppercase;
    flex-shrink: 0;
}
.yt-sb__footer { padding: 12px; color: #717171; font-size: 12px; line-height: 1.6; }
.yt-sb__footer a { color: #717171; margin-right: 8px; }
.yt-sb__foot-copy { margin-top: 12px; display:block; color: #717171; }

/* ===================== MAIN ===================== */
.yt-main {
    position: absolute;
    top: var(--yt-header-h); left: var(--yt-sidebar-w); right: 0; bottom: 0;
    overflow-y: auto;
    background: var(--yt-bg);
}
/* Sidebar thu gá»n */
.ytapp.is-sidebar-hidden .yt-sidebar { display: none; }
.ytapp.is-sidebar-hidden .yt-main { left: 0; }

/* Chips bar */
.yt-chips-wrap {
    position: sticky; top: 0; z-index: 30;
    background: var(--yt-bg);
    padding: 12px 24px;
    display: flex; align-items: center; gap: 8px;
}
.yt-chips { display: flex; gap: 12px; overflow-x: auto; flex: 1; scroll-behavior: smooth; scrollbar-width: none; }
.yt-chips::-webkit-scrollbar { display: none; }
.yt-chips-btn {
    flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,.06); border: none; color: var(--yt-text); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
}
.yt-chips-btn:hover { background: var(--yt-hover); }
.yt-chip {
    flex-shrink: 0;
    height: 32px; padding: 0 12px;
    display: inline-flex; align-items: center;
    background: var(--yt-chip); color: var(--yt-text);
    border-radius: 8px; font-size: 14px; white-space: nowrap; cursor: pointer;
}
.yt-chip:hover { background: var(--yt-chip-hover); }
.yt-chip.is-active { background: var(--yt-text); color: var(--yt-bg); }

/* Grid */
.yt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px 16px;
    row-gap: 40px;
    padding: 8px 24px 40px;
}
.yt-page-head { padding: 16px 24px 0; }
.yt-page-head h1 { font-size: 20px; font-weight: 700; margin: 0 0 2px; color: var(--yt-text); }
.yt-page-head p { color: var(--yt-text-2); font-size: 14px; margin: 0; }

/* Card */
.yt-card {
    display: block;
    cursor: pointer;
    position: relative;
    border-radius: 14px;
    transition: background-color .18s ease, box-shadow .18s ease;
}
.yt-card:hover {
    background: #272727;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .38);
    z-index: 1;
}
.yt-card__thumb {
    position: relative; width: 100%; aspect-ratio: 16 / 9;
    border-radius: 12px; overflow: hidden; background: #272727;
}
.yt-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.yt-card__dur {
    position: absolute; right: 8px; bottom: 8px;
    background: rgba(0,0,0,.8); color: #fff; font-size: 12px; font-weight: 500;
    padding: 1px 4px; border-radius: 4px;
}
.yt-card__body { display: flex; gap: 12px; margin-top: 12px; }
.yt-card__avatar {
    width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #ff6b6b, #c62828); color: #fff; font-weight: 600; font-size: 16px; text-transform: uppercase;
}
.yt-card__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.yt-card__meta { min-width: 0; flex: 1; }
.yt-card__title {
    font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--yt-text);
    margin: 0 0 4px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    transition: color .18s ease;
}
.yt-card:hover .yt-card__title { color: #fff; }
.yt-card__chan { font-size: 14px; color: var(--yt-text-2); margin: 0; display:flex; align-items:center; gap:4px; }
.yt-card__chan svg { width: 14px; height: 14px; fill: var(--yt-text-2); }
.yt-card__stats {
    font-size: 14px;
    font-weight: 500;
    color: #d0d0d0;
    margin: 0;
    line-height: 1.35;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.yt-card__stat,
.yt-rel__stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}
.yt-card__stat-icon,
.yt-rel__stat-icon {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    fill: currentColor;
}
.yt-card__stat-sep,
.yt-rel__stat-sep {
    color: var(--yt-text-2);
    flex-shrink: 0;
}
.yt-card:hover .yt-card__chan,
.yt-card:hover .yt-card__stats { color: #ffffff; }

/* Shorts shelf */
.yt-shelf { padding: 8px 24px 24px; }
.yt-shelf__head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.yt-shelf__head svg { width: 24px; height: 24px; }
.yt-shelf__head h2 { font-size: 16px; font-weight: 600; margin: 0; color: var(--yt-text); }
.yt-shelf .yt-shorts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: 16px; }
.yt-short { cursor: pointer; }
.yt-short__thumb { position: relative; width: 100%; aspect-ratio: 9/16; border-radius: 12px; overflow: hidden; background:#272727; }
.yt-short__thumb img { width:100%; height:100%; object-fit: cover; }
.yt-short__title { font-size: 14px; font-weight: 500; margin: 8px 0 2px; display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.yt-short__stats { font-size: 12px; color: var(--yt-text-2); }

/* Empty state */
.yt-empty { grid-column: 1/-1; text-align: center; padding: 80px 20px; color: var(--yt-text-2); }
.yt-empty svg { width: 96px; height: 96px; fill: #3f3f3f; margin-bottom: 16px; }
.yt-empty p { font-size: 16px; margin: 0 0 6px; color: var(--yt-text); }
.yt-empty span { font-size: 14px; }
.yt-empty a { color: var(--yt-text); }

/* Pager */
.yt-pager { grid-column: 1/-1; display:flex; gap: 8px; justify-content: center; margin-top: 24px; }
.yt-pager a { min-width: 36px; height: 36px; padding: 0 10px; display:inline-flex; align-items:center; justify-content:center; border-radius: 18px; background: var(--yt-chip); color: var(--yt-text); }
.yt-pager a.is-active { background: var(--yt-text); color: var(--yt-bg); }

/* ===================== WATCH ===================== */
.yt-watch {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 402px;
    gap: 24px;
    padding: 24px 24px 40px;
    max-width: 1754px; margin: 0 auto;
}
.yt-player {
    width: 100%; aspect-ratio: 16/9; background: #000;
    border-radius: 12px; overflow: hidden; margin-bottom: 12px;
}
.yt-player iframe, .yt-player video { width: 100%; height: 100%; border: none; display:block; }
.yt-player--none { display:flex; align-items:center; justify-content:center; gap:8px; color:#aaa; }
.yt-watch__title { font-size: 20px; font-weight: 700; line-height: 1.4; margin: 8px 0 12px; color: var(--yt-text); }

.yt-owner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.yt-owner__left { display: flex; align-items: center; gap: 12px; }
.yt-avatar-lg {
    width: 40px; height: 40px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #ff6b6b, #c62828); color:#fff; font-weight: 600; font-size: 18px; text-transform: uppercase; flex-shrink:0;
}
.yt-owner__name { font-size: 16px; font-weight: 500; display:flex; align-items:center; gap:4px; }
.yt-owner__name svg { width: 14px; height: 14px; fill: var(--yt-text-2); }
.yt-owner__subs { font-size: 12px; color: var(--yt-text-2); }
.yt-subbtn {
    height: 36px; padding: 0 16px; border-radius: 18px; border: none; cursor: pointer;
    background: var(--yt-text); color: var(--yt-bg); font-weight: 500; font-size: 14px;
}
.yt-subbtn.is-active { background: var(--yt-chip); color: var(--yt-text); }

.yt-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.yt-pill {
    display: inline-flex; align-items: center; gap: 8px;
    height: 36px; padding: 0 16px; border-radius: 18px;
    background: var(--yt-chip); color: var(--yt-text); border: none; cursor: pointer;
    font-size: 14px; font-weight: 500; white-space: nowrap;
}
.yt-pill:hover { background: var(--yt-chip-hover); }
.yt-pill svg { width: 22px; height: 22px; fill: currentColor; }
.yt-likepill { display: inline-flex; align-items: center; background: var(--yt-chip); border-radius: 18px; height: 36px; }
.yt-likepill button { background: transparent; border: none; color: var(--yt-text); cursor: pointer; display:inline-flex; align-items:center; gap:6px; height: 36px; padding: 0 12px; font-size: 14px; font-weight: 500; }
.yt-likepill button:hover { background: var(--yt-chip-hover); }
.yt-likepill__like { border-radius: 18px 0 0 18px; }
.yt-likepill__dislike { border-radius: 0 18px 18px 0; }
.yt-likepill__sep { width: 1px; height: 24px; background: #4d4d4d; }
.yt-likepill button svg { width: 22px; height: 22px; fill: currentColor; }
.yt-pill.is-active svg, .yt-likepill button.is-active svg { fill: var(--yt-blue); }

/* Description */
.yt-desc { background: var(--yt-chip); border-radius: 12px; padding: 12px; margin: 12px 0 24px; font-size: 14px; line-height: 1.5; }
.yt-desc__meta { font-weight: 600; margin-bottom: 8px; }
.yt-desc__text { color: var(--yt-text); white-space: pre-line; max-height: 60px; overflow: hidden; }
.yt-desc.is-open .yt-desc__text { max-height: none; }
.yt-desc__toggle { display: inline-block; margin-top: 6px; font-weight: 600; cursor: pointer; color: var(--yt-text); }

/* Comments */
.yt-comments { margin-top: 8px; }
.yt-comments__head { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; }
.yt-comments__head h2 { font-size: 20px; font-weight: 700; margin: 0; color: var(--yt-text); }
.yt-comments__sort { display:flex; align-items:center; gap:6px; color: var(--yt-text); font-size:14px; cursor:pointer; }
.yt-cmtbox { display: flex; gap: 16px; margin-bottom: 32px; }
.yt-cmtbox__field { flex: 1; }
.yt-cmtbox__input { width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--yt-border); color: var(--yt-text); font-size: 14px; padding: 6px 0; outline: none; }
.yt-cmtbox__input:focus { border-bottom-color: var(--yt-text); }
.yt-cmtbox__actions { display:flex; justify-content:flex-end; gap: 8px; margin-top: 8px; }
.yt-cmtbox__cancel { background: transparent; border: none; color: var(--yt-text); height:36px; padding: 0 16px; border-radius: 18px; cursor:pointer; font-weight:500; }
.yt-cmtbox__cancel:hover { background: var(--yt-hover); }
.yt-cmtbox__send { background: var(--yt-blue); border: none; color: #fff; height:36px; padding: 0 16px; border-radius: 18px; cursor:pointer; font-weight:500; }
.yt-cmtbox__send:disabled { background: var(--yt-chip); color: #b5b5b5; cursor: default; }
.yt-note { color: var(--yt-text-2); font-size: 14px; padding: 8px 0; }

.yt-comment { display: flex; gap: 16px; margin-bottom: 16px; }
.yt-comment__body { flex: 1; min-width: 0; }
.yt-comment__head { display:flex; align-items:center; gap:8px; margin-bottom: 2px; }
.yt-comment__name { font-size: 13px; font-weight: 500; }
.yt-comment__time { font-size: 12px; color: var(--yt-text-2); }
.yt-comment__flag { font-size: 11px; background: #443b00; color:#ffd24d; padding: 1px 8px; border-radius: 10px; }
.yt-comment__text { font-size: 14px; line-height: 1.4; margin: 0 0 6px; white-space: pre-line; }
.yt-comment__actions { display:flex; align-items:center; gap: 8px; color: var(--yt-text-2); }
.yt-comment__actions button { background:transparent;border:none;color:var(--yt-text-2);cursor:pointer;display:inline-flex;align-items:center;gap:4px; font-size:12px; padding:4px; border-radius:50%; }
.yt-comment__actions svg { width: 16px; height: 16px; fill: currentColor; }
.yt-comment__reply { font-size: 12px; font-weight: 500; color: var(--yt-text); padding: 6px 10px; border-radius: 18px; }

/* Related (secondary column) */
.yt-secondary__title { font-size: 16px; font-weight: 600; margin: 0 0 12px; color: var(--yt-text); }
.yt-rel {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    color: var(--yt-text);
    text-decoration: none;
    border-radius: 12px;
    transition: background-color .18s ease, box-shadow .18s ease;
}
.yt-rel:hover {
    background: #272727;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .30);
}
.yt-rel__thumb { position: relative; width: 168px; height: 94px; border-radius: 8px; overflow: hidden; background:#272727; flex-shrink: 0; }
.yt-rel__thumb img { width:100%; height:100%; object-fit: cover; }
.yt-rel__dur { position:absolute; right:4px; bottom:4px; background: rgba(0,0,0,.8); color:#fff; font-size:11px; padding:1px 4px; border-radius:4px; }
.yt-rel__info { min-width: 0; flex: 1; }
.yt-rel__title { font-size: 14px; font-weight: 500; line-height: 1.3; margin: 0 0 4px; color: var(--yt-text); display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; transition: color .18s ease; }
.yt-rel:hover .yt-rel__title { color: #fff; }
.yt-rel__chan, .yt-rel__stats { font-size: 12px; color: var(--yt-text-2); margin: 0; }
.yt-rel__stats {
    font-weight: 500;
    color: #d0d0d0;
    line-height: 1.35;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.yt-rel:hover .yt-rel__chan,
.yt-rel:hover .yt-rel__stats { color: #ffffff; }

/* ===================== FORM Táº¢I LĂN ===================== */
.yt-uploadwrap { padding: 24px; display: flex; justify-content: center; }
.yt-upload {
    width: 100%; max-width: 1000px;
    background: var(--yt-elevated);
    border-radius: 12px; overflow: hidden;
    box-shadow: 0 4px 40px rgba(0,0,0,.5);
}
.yt-upload__bar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px 12px 24px; border-bottom: 1px solid var(--yt-border);
}
.yt-upload__title { font-size: 18px; font-weight: 500; margin: 0; color: var(--yt-text); }
.yt-form { padding: 20px 24px 24px; }
.yt-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.yt-form__col { min-width: 0; }
.yt-field { margin-bottom: 16px; }
.yt-field > label { display: block; font-size: 13px; font-weight: 500; color: var(--yt-text-2); margin-bottom: 6px; }
.yt-req { color: #ff4e45; }
.yt-input {
    width: 100%; background: #121212; border: 1px solid var(--yt-border);
    border-radius: 8px; color: var(--yt-text); font-size: 14px; padding: 10px 12px;
    outline: none; font-family: inherit;
}
.yt-input::placeholder { color: #717171; }
.yt-input:focus { border-color: var(--yt-blue); }
textarea.yt-input { resize: vertical; min-height: 90px; }
select.yt-input { cursor: pointer; }
input.yt-input[type="file"] { padding: 8px; color: var(--yt-text-2); }
.yt-field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.yt-field--row > div { display: flex; flex-direction: column; }
.yt-field--row label { font-size: 13px; font-weight: 500; color: var(--yt-text-2); margin-bottom: 6px; }
.yt-field__hint { font-size: 12px; color: var(--yt-text-2); margin: 6px 0 0; }
.yt-source { display: flex; gap: 8px; flex-wrap: wrap; }
.yt-source__opt {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--yt-chip); border-radius: 18px; padding: 7px 14px;
    cursor: pointer; font-size: 14px;
}
.yt-source__opt:hover { background: var(--yt-chip-hover); }
.yt-source__opt input { accent-color: var(--yt-blue); }
.yt-dropzone {
    border: 2px dashed var(--yt-border); border-radius: 12px;
    padding: 28px 16px; text-align: center;
}
.yt-dropzone [data-yt-file] { display: none !important; }
.yt-dropzone.is-drag { border-color: var(--yt-blue); background: rgba(62,166,255,.06); }
.yt-dropzone__icon {
    width: 80px; height: 80px; border-radius: 50%; background: #3f3f3f;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
}
.yt-dropzone__icon svg { width: 40px; height: 40px; fill: #f1f1f1; }
.yt-dropzone__title { font-size: 14px; margin: 0 0 4px; color: var(--yt-text); }
.yt-dropzone__hint { font-size: 12px; color: var(--yt-text-2); margin: 0 0 14px; }
.yt-dropzone__btn { background: #f1f1f1; color: #0f0f0f; border: none; border-radius: 18px; padding: 9px 18px; font-weight: 500; cursor: pointer; }
.yt-dropzone__name { font-size: 13px; color: var(--yt-text); margin: 12px 0 0; }
.yt-thumbprev img { max-width: 100%; margin-top: 8px; border-radius: 8px; }
.yt-form__foot {
    display: flex; align-items: center; justify-content: flex-end; gap: 16px;
    margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--yt-border);
}
.yt-savebtn {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--yt-blue); color: #fff; border: none; border-radius: 20px;
    padding: 10px 20px; font-weight: 600; font-size: 14px; cursor: pointer;
}
.yt-savebtn svg { width: 20px; height: 20px; fill: currentColor; }
.yt-savebtn:disabled { opacity: .6; cursor: default; }
.yt-form__msg { font-size: 13px; color: var(--yt-text-2); }
.yt-form__msg.is-ok { color: #4caf50; }
.yt-form__msg.is-error { color: #ff6b6b; }
.pv-form__alert { color: #ff6b6b !important; background: rgba(255,107,107,.12) !important; border-color: rgba(255,107,107,.3) !important; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) { .yt-form__grid { grid-template-columns: 1fr; } }
@media (max-width: 1050px) {
    .yt-watch { grid-template-columns: 1fr; }
    .yt-watch__secondary { order: 3; }
}
@media (max-width: 1000px) {
    .yt-sidebar { display: none; }
    .yt-main { left: 0; }
}
@media (max-width: 680px) {
    .yt-header__center { flex: 1; }
    .yt-createbtn__text, .yt-logo__sup { display: none; }
    .yt-grid { grid-template-columns: 1fr; }
}

/* ===================== TRANG QUáº¢N TRá» (manage/channel/playlist) â€” ná»n tá»‘i ===================== */
.pv-admin { padding: 24px; }
.pv-admin__head { margin-bottom: 20px; }
.pv-admin__head h1 { font-size: 22px; font-weight: 700; margin: 0 0 4px; color: var(--yt-text); }
.pv-admin__head p { color: var(--yt-text-2); font-size: 14px; margin: 0; }

/* NĂºt chung ná»n tá»‘i */
.pv-btn {
    display: inline-flex; align-items: center; gap: 8px;
    height: 36px; padding: 0 16px; border-radius: 18px;
    background: var(--yt-chip); color: var(--yt-text); border: none; cursor: pointer;
    font-size: 14px; font-weight: 500; text-decoration: none;
}
.pv-btn:hover { background: var(--yt-chip-hover); }
.pv-btn--primary { background: var(--yt-blue); color: #0f0f0f; }
.pv-btn--primary:hover { background: #5cb6ff; }
.pv-followbtn.is-active { background: var(--yt-chip); color: var(--yt-text); }

/* Tháº» thá»‘ng kĂª */
.yt-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 24px; }
.yt-stat { position: relative; background: var(--yt-elevated); border-radius: 12px; padding: 16px 18px; }
.yt-stat__num { display: block; font-size: 28px; font-weight: 700; line-height: 1.1; }
.yt-stat__label { display: block; font-size: 13px; color: var(--yt-text-2); margin-top: 4px; }
.yt-stat__dot { position: absolute; top: 16px; right: 16px; width: 8px; height: 8px; border-radius: 50%; }

/* Báº£ng video */
.pv-table-wrap { background: var(--yt-elevated); border-radius: 12px; overflow: hidden; }
.pv-table { width: 100%; border-collapse: collapse; }
.pv-table th {
    text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .4px;
    color: var(--yt-text-2); font-weight: 500; padding: 14px 16px; border-bottom: 1px solid var(--yt-border);
}
.pv-table td { padding: 12px 16px; border-bottom: 1px solid var(--yt-border); font-size: 14px; vertical-align: middle; }
.pv-table tr:last-child td { border-bottom: none; }
.pv-table tbody tr:hover { background: rgba(255,255,255,.03); }
.pv-table__video { display: flex; align-items: center; gap: 14px; }
.pv-table__thumb { width: 120px; height: 68px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: #000; }
.pv-table__vt { min-width: 0; }
.pv-table__vt b { display: block; font-weight: 500; color: var(--yt-text); margin-bottom: 2px; }
.pv-table__vt small { color: var(--yt-text-2); }
.pv-table__th-act, .pv-table__act { text-align: right; white-space: nowrap; }
.pv-badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 500; }
.pv-badge.is-visible { background: rgba(76,175,80,.18); color: #6ede73; }
.pv-badge.is-hidden { background: rgba(170,170,170,.16); color: #cfcfcf; }
.pv-badge.is-pending { background: rgba(255,193,7,.18); color: #ffcf4d; }
.pv-actbtn { width: 34px; height: 34px; border-radius: 50%; border: none; background: transparent; color: var(--yt-text-2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.pv-actbtn:hover { background: var(--yt-hover); color: var(--yt-text); }
.pv-actbtn--danger:hover { color: #ff6b6b; }
tr.is-removing { opacity: 0; transition: opacity .25s; }

/* KĂªnh */
.pv-channel__cover { height: 160px; border-radius: 12px; background: linear-gradient(120deg, #0f5f5f, #1b3a6b); margin: 16px 24px -40px; }
.pv-channel__bar { display: flex; align-items: center; gap: 20px; padding: 0 24px; }
.pv-channel__avatar { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 4px solid var(--yt-bg); display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #ff6b6b, #c62828); color: #fff; font-size: 40px; font-weight: 600; text-transform: uppercase; }
.pv-channel__avatar img { width: 100%; height: 100%; object-fit: cover; }
.pv-channel__meta { flex: 1; padding-top: 40px; }
.pv-channel__name { font-size: 24px; font-weight: 700; margin: 0 0 4px; color: var(--yt-text); }
.pv-channel__stats { color: var(--yt-text-2); font-size: 14px; }
.pv-channel__actions { padding-top: 40px; }
.pv-channeledit { background: var(--yt-elevated); border-radius: 12px; padding: 16px; margin: 16px 24px 0; }
.pv-channeledit .pv-field { margin-bottom: 12px; }
.pv-channeledit label { display: block; font-size: 13px; color: var(--yt-text-2); margin-bottom: 6px; }
.pv-channeledit input, .pv-channeledit textarea { width: 100%; background: #121212; border: 1px solid var(--yt-border); border-radius: 8px; color: var(--yt-text); padding: 10px 12px; outline: none; }
.pv-channel__tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--yt-border); margin: 20px 24px 0; }
.pv-tab { padding: 12px 4px; color: var(--yt-text-2); font-weight: 500; font-size: 14px; border-bottom: 2px solid transparent; }
.pv-tab:hover { color: var(--yt-text); }
.pv-tab.is-active { color: var(--yt-text); border-bottom-color: var(--yt-text); }
.pv-channel__about { padding: 20px 24px; color: var(--yt-text); white-space: pre-line; max-width: 900px; }
.pv-channel .pv-grid, .pv-channel .pv-plgrid { padding: 20px 24px; }
.pv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 16px 16px; row-gap: 40px; }

/* LÆ°á»›i kĂªnh (subscriptions) */
.pv-channelgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 16px; }
.pv-chcard { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; background: var(--yt-elevated); border-radius: 12px; padding: 24px 16px; }
.pv-chcard:hover { background: #2a2a2a; }
.pv-chcard__avatar { width: 72px; height: 72px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #ff6b6b, #c62828); color: #fff; font-size: 30px; font-weight: 600; text-transform: uppercase; }
.pv-chcard__name { font-size: 16px; font-weight: 500; color: var(--yt-text); }
.pv-chcard__meta { font-size: 12px; color: var(--yt-text-2); }

/* Playlist */
.pv-plgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 16px; }
.pv-plcard { position: relative; }
.pv-plcard__thumb { position: relative; display: block; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: #272727; }
.pv-plcard__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pv-plcard__count { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.8); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 4px; }
.pv-plcard__body { position: relative; padding-top: 10px; }
.pv-plcard__title { font-size: 15px; font-weight: 500; margin: 0 0 2px; color: var(--yt-text); }
.pv-plcard__meta { font-size: 12px; color: var(--yt-text-2); }
.pv-plcard__del { position: absolute; top: 8px; right: 0; background: transparent; border: none; color: var(--yt-text-2); cursor: pointer; }
.pv-plcard__del:hover { color: #ff6b6b; }
.pv-plcreate { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; background: var(--yt-elevated); border-radius: 12px; padding: 14px 16px; margin-bottom: 20px; }
.pv-plcreate input[name="title"] { flex: 1; min-width: 200px; background: #121212; border: 1px solid var(--yt-border); border-radius: 8px; color: var(--yt-text); padding: 10px 12px; outline: none; }
.pv-plcreate select { background: #121212; border: 1px solid var(--yt-border); border-radius: 8px; color: var(--yt-text); padding: 10px; }
.pv-plcreate__msg { font-size: 13px; color: var(--yt-text-2); }
.pv-pllist { display: flex; flex-direction: column; }
.pv-plrow { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: 10px; }
.pv-plrow:hover { background: rgba(255,255,255,.04); }
.pv-plrow__index { width: 24px; text-align: center; color: var(--yt-text-2); font-size: 13px; }
.pv-plrow__thumb { position: relative; width: 160px; height: 90px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: #272727; }
.pv-plrow__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pv-plrow__dur { position: absolute; right: 4px; bottom: 4px; background: rgba(0,0,0,.8); color: #fff; font-size: 11px; padding: 1px 4px; border-radius: 4px; }
.pv-plrow__info { flex: 1; min-width: 0; }
.pv-plrow__info a { font-size: 14px; font-weight: 500; color: var(--yt-text); }
.pv-plrow__info small { display: block; color: var(--yt-text-2); margin-top: 2px; }
.pv-plrow__remove { background: transparent; border: none; color: var(--yt-text-2); cursor: pointer; width: 34px; height: 34px; border-radius: 50%; }
.pv-plrow__remove:hover { background: var(--yt-hover); color: #ff6b6b; }
.pv-pldetail__desc { color: var(--yt-text-2); font-size: 14px; margin-top: 8px; }

/* App Video PEKEDU â€” nĂºt tÆ°Æ¡ng tĂ¡c, bĂ¬nh luáº­n, bĂ¡o cĂ¡o, thanh tiáº¿n trĂ¬nh. */

/* NĂºt hĂ nh Ä‘á»™ng trĂªn trang xem */
.pv-watch__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pv-actbtn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, .1);
    background: rgba(255, 255, 255, .9);
    color: var(--pv-ink);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.pv-actbtn:hover { background: #fff; border-color: rgba(0, 102, 255, .25); }
.pv-like.is-active { background: var(--pv-blue-soft); border-color: rgba(0, 102, 255, .35); color: var(--pv-blue); }

.pv-savewrap { position: relative; }
.pv-savemenu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 40;
    min-width: 200px;
    background: #fff;
    border: 1px solid var(--pv-line);
    border-radius: 12px;
    box-shadow: 0 18px 44px rgba(16, 24, 40, .18);
    padding: 6px;
}
.pv-savemenu[hidden] { display: none; }
.pv-savemenu__item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 10px;
    border: none;
    background: transparent;
    border-radius: 9px;
    font-size: 13.5px;
    color: #334155;
    cursor: pointer;
    text-align: left;
}
.pv-savemenu__item i { width: 18px; text-align: center; color: var(--pv-muted); }
.pv-savemenu__item:hover { background: #f1f5f9; }
.pv-savemenu__item.is-active { color: var(--pv-teal); font-weight: 700; }
.pv-savemenu__item.is-active i { color: var(--pv-teal); }
.pv-savemenu__item.is-active::after { content: "\f00c"; font-family: FontAwesome; margin-left: auto; color: var(--pv-teal); }

/* BĂ¬nh luáº­n */
.pv-comments { margin-top: 26px; }
.pv-comments__title { font-size: 17px; font-weight: 800; margin: 0 0 16px; }
.pv-comments__note { color: var(--pv-muted); font-size: 14px; background: #f8fafc; padding: 12px 14px; border-radius: 12px; }

.pv-commentbox { display: flex; gap: 12px; margin-bottom: 22px; }
.pv-commentbox__avatar,
.pv-comment__avatar {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--pv-blue), var(--pv-purple));
}
.pv-commentbox__field { flex: 1 1 auto; }
.pv-commentbox__field textarea {
    width: 100%;
    border: none;
    border-bottom: 2px solid var(--pv-line);
    background: transparent;
    resize: none;
    padding: 8px 2px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    color: var(--pv-ink);
}
.pv-commentbox__field textarea:focus { border-bottom-color: var(--pv-blue); }
.pv-commentbox__foot { display: flex; align-items: center; gap: 12px; margin-top: 8px; justify-content: flex-end; }
.pv-commentbox__msg { font-size: 12.5px; font-weight: 600; margin-right: auto; }
.pv-commentbox__msg.is-ok { color: #15803d; }
.pv-commentbox__msg.is-error { color: #dc2626; }

.pv-comments__list { display: flex; flex-direction: column; gap: 18px; }
.pv-comment { display: flex; gap: 12px; }
.pv-comment.is-pending-row { opacity: .8; }
.pv-comment.is-hidden-row { opacity: .5; }
.pv-comment__avatar { background: linear-gradient(135deg, var(--pv-teal), var(--pv-blue)); }
.pv-comment__body { flex: 1 1 auto; min-width: 0; }
.pv-comment__head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 3px; }
.pv-comment__name { font-weight: 700; font-size: 13.5px; }
.pv-comment__time { color: var(--pv-muted); font-size: 12px; }
.pv-comment__badge { font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: rgba(234, 179, 8, .18); color: #b45309; }
.pv-comment__badge.is-hidden { background: rgba(107, 114, 128, .18); color: #4b5563; }
.pv-comment__text { font-size: 14px; line-height: 1.55; color: #1f2937; word-break: break-word; }
.pv-comment__actions { display: flex; gap: 12px; margin-top: 6px; }
.pv-comment__act { border: none; background: transparent; color: var(--pv-muted); font-size: 12.5px; font-weight: 600; cursor: pointer; padding: 2px 0; }
.pv-comment__act:hover { color: var(--pv-blue); }
.pv-comment__act--danger:hover { color: #dc2626; }
.pv-comments__more { margin-top: 18px; }

/* Modal bĂ¡o cĂ¡o */
.pv-reportmodal[hidden] { display: none; }
.pv-modal__dialog--sm { max-width: 480px; }
.pv-reportform { padding: 18px 20px 20px; }
.pv-reportform__foot { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.pv-reportform__msg { font-size: 12.5px; font-weight: 600; }
.pv-reportform__msg.is-ok { color: #15803d; }
.pv-reportform__msg.is-error { color: #dc2626; }

/* Thanh tiáº¿n trĂ¬nh trĂªn thumbnail (Tiáº¿p tá»¥c xem / Lá»‹ch sá»­) */
.pv-card__progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: rgba(0, 0, 0, .35);
}
.pv-card__progress > span {
    display: block;
    height: 100%;
    background: var(--pv-red, #e65b5b);
}

/* Tab lá»c trang cĂ¡ nhĂ¢n (Ä‘Ă£ lÆ°u) */
.pv-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.pv-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--pv-line);
    background: #fff;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}
.pv-tab.is-active { background: var(--pv-ink); border-color: var(--pv-ink); color: #fff; }

.pv-lib__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }

/* Thanh kĂªnh trĂªn trang xem */
.pv-watch__channel { display: flex; align-items: center; gap: 12px; margin: 16px 0; padding: 12px 0; border-top: 1px solid var(--pv-line); border-bottom: 1px solid var(--pv-line); }
.pv-watch__channelinfo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: 1 1 auto; min-width: 0; }
.pv-watch__chavatar { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; color: #fff; text-transform: uppercase; background: linear-gradient(135deg, var(--pv-teal), var(--pv-blue)); }
.pv-watch__chname { display: block; font-weight: 700; color: var(--pv-ink); }
.pv-watch__chsub { display: block; font-size: 12.5px; color: var(--pv-muted); }
.pv-followbtn.is-active { background: rgba(0, 153, 153, .12); border-color: rgba(0, 153, 153, .35); color: var(--pv-teal); }

/* Popup thĂªm vĂ o playlist (trong menu LÆ°u) */
.pv-plpicker { position: absolute; top: calc(100% + 6px); left: 0; z-index: 45; min-width: 260px; background: #fff; border: 1px solid var(--pv-line); border-radius: 12px; box-shadow: 0 18px 44px rgba(16, 24, 40, .18); padding: 10px; }
.pv-plpicker[hidden] { display: none; }
.pv-plpicker__head { font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.pv-plpicker__list { max-height: 220px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.pv-plpicker__item { display: flex; align-items: center; gap: 9px; width: 100%; border: none; background: transparent; border-radius: 8px; padding: 8px 10px; font-size: 13.5px; text-align: left; cursor: pointer; color: #334155; }
.pv-plpicker__item:hover { background: #f1f5f9; }
.pv-plpicker__item.is-active { color: var(--pv-teal); font-weight: 600; }
.pv-plpicker__empty, .pv-plpicker__loading { padding: 10px; color: var(--pv-muted); font-size: 13px; }
.pv-plpicker__new { display: flex; gap: 6px; margin-top: 8px; border-top: 1px solid var(--pv-line); padding-top: 8px; }
.pv-plpicker__new input { flex: 1 1 auto; border: 1px solid var(--pv-line); border-radius: 8px; padding: 7px 10px; font-size: 13px; }
.pv-plpicker__new button { border: none; background: var(--pv-blue); color: #fff; border-radius: 8px; padding: 0 12px; cursor: pointer; }


/* PEKEDU-YOUTOBE standalone additions */
.ytapp{position:fixed!important;inset:0!important;width:100%!important;height:100%!important;border-radius:0!important;}
.yt-main{min-width:0;}
.yt-grid .yt-card{min-width:0;}
.yt-card__fallback{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(135deg,#1967d2,#8b1cff);color:#fff;font-size:42px;}
.yt-source-badge{display:inline-flex;align-items:center;padding:1px 5px;margin-left:5px;border-radius:5px;background:#272727;color:#aaa;font-size:10px;text-transform:uppercase;}
.yt-comment-form{display:flex;gap:16px;margin-bottom:30px}.yt-comment-form__field{flex:1}.yt-comment-form textarea{width:100%;min-height:42px;max-height:140px;resize:vertical;background:transparent;color:#f1f1f1;border:0;border-bottom:1px solid #303030;padding:8px 0;outline:none}.yt-comment-form textarea:focus{border-bottom-color:#f1f1f1}.yt-comment-form__actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}.yt-comment-form button{height:36px;border:0;border-radius:18px;padding:0 16px;cursor:pointer}.yt-comment-form .cancel{background:transparent;color:#f1f1f1}.yt-comment-form .send{background:#3ea6ff;color:#07131d;font-weight:600}.yt-comment__moderate{display:flex;gap:6px;margin-top:4px}.yt-comment__moderate button{border:0;background:transparent;color:#aaa;font-size:12px;cursor:pointer;padding:3px 6px}.yt-comment__moderate button:hover{color:#fff}.yt-comment__moderate .danger:hover{color:#ff6b6b}.yt-comment.is-pending{opacity:.72}.yt-comment__flag{display:inline-flex}.yt-page-form{padding:20px 24px 40px;max-width:1200px}.yt-page-form .py-form-card{background:#181818}.yt-page-form .py-section-title h2{color:#f1f1f1}.yt-page-form .py-field label{color:#ddd}.yt-page-form .py-field input,.yt-page-form .py-field textarea,.yt-page-form .py-field select{background:#121212;color:#f1f1f1;border-color:#303030}.yt-page-form .py-tabs{border-color:#303030}.yt-page-form .py-tab-btn{background:#272727;color:#f1f1f1;border-color:#303030}.yt-page-form .py-tab-btn.active{background:#f1f1f1;color:#0f0f0f}.yt-page-form .py-drive-list{background:#121212;border-color:#303030}.yt-page-form .py-drive-row{border-color:#303030}.yt-page-form .py-btn-primary{background:#3ea6ff;color:#07131d}.yt-page-form .py-meta{color:#aaa}.yt-page-form .py-empty{background:#181818;color:#aaa;border-color:#303030}

/* Compatibility for secondary pages/forms */
:root {
    --py-bg: #0f0f0f;
    --py-bg-2: #181818;
    --py-bg-3: #212121;
    --py-bg-4: #272727;
    --py-line: #303030;
    --py-line-soft: rgba(255,255,255,.08);
    --py-text: #f1f1f1;
    --py-text-soft: #aaaaaa;
    --py-brand: #ff0000;
    --py-accent: #3ea6ff;
    --py-radius: 16px;
    --py-sidebar: 240px;
    --py-shadow: 0 12px 30px rgba(0,0,0,.28);
}

.py-app, .py-app * { box-sizing: border-box; }
.py-app {
    font-family: Roboto, Arial, Helvetica, sans-serif;
    color: var(--py-text);
    background: var(--py-bg);
    min-height: 72vh;
    border-radius: 14px;
    overflow: hidden;
}
.py-app a { color: inherit; text-decoration: none; }
.py-app button, .py-app input, .py-app textarea, .py-app select { font: inherit; }
.py-app ::-webkit-scrollbar { width: 10px; height: 10px; }
.py-app ::-webkit-scrollbar-thumb { background: #555; border-radius: 999px; }
.py-app ::selection { background: rgba(62,166,255,.32); }

.py-shell {
    display: grid;
    grid-template-columns: var(--py-sidebar) minmax(0, 1fr);
    min-height: 72vh;
    background: var(--py-bg);
}

.py-sidebar {
    background: #000;
    border-right: 1px solid var(--py-line);
    padding: 14px 12px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.py-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px 14px;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.03em;
}
.py-brand-mark {
    width: 36px;
    height: 26px;
    border-radius: 9px;
    background: var(--py-brand);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(255,0,0,.18);
    flex-shrink: 0;
}
.py-brand span:last-child {
    font-size: 18px;
    font-weight: 800;
}
.py-nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.py-nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    color: var(--py-text);
    font-size: 14px;
    transition: background-color .18s ease, transform .18s ease;
}
.py-nav a:hover {
    background: var(--py-bg-4);
}
.py-nav a.active {
    background: var(--py-bg-4);
    font-weight: 700;
}
.py-nav i {
    width: 20px;
    text-align: center;
    color: #fff;
}
.py-nav-sep {
    height: 1px;
    background: var(--py-line);
    margin: 10px 6px;
}
.py-sidebar::after {
    content: 'Giá»›i thiá»‡u   Trá»£ giĂºp\A\AÂ© 2026 PEKEDU Video';
    display: block;
    white-space: pre-line;
    margin-top: auto;
    padding: 14px 12px 4px;
    color: #717171;
    font-size: 12px;
    line-height: 1.6;
    border-top: 1px solid var(--py-line);
}

.py-content {
    min-width: 0;
    background: var(--py-bg);
}
.py-topbar {
    position: sticky;
    top: 0;
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 24px;
    background: rgba(15,15,15,.96);
    border-bottom: 1px solid var(--py-line-soft);
    backdrop-filter: blur(10px);
}
.py-search {
    flex: 1;
    max-width: 760px;
    margin: 0 auto 0 0;
    display: flex;
    align-items: center;
}
.py-search input {
    width: 100%;
    height: 42px;
    border: 1px solid var(--py-line);
    border-right: 0;
    border-radius: 24px 0 0 24px;
    padding: 0 16px;
    background: #121212;
    color: var(--py-text);
    outline: none;
    font-size: 15px;
}
.py-search input::placeholder { color: #888; }
.py-search input:focus { border-color: var(--py-accent); }
.py-search button {
    width: 54px;
    height: 42px;
    border: 1px solid var(--py-line);
    border-radius: 0 24px 24px 0;
    background: #222;
    color: var(--py-text);
    cursor: pointer;
}
.py-search button:hover { background: #303030; }
.py-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 14px;
    border-radius: 19px;
    background: var(--py-bg-4);
    color: var(--py-text);
    border: 1px solid var(--py-line);
    white-space: nowrap;
    font-weight: 600;
}
.py-add-btn:hover { background: #343434; }

.py-page {
    padding: 12px 24px 28px;
    max-width: 1700px;
}
.py-chips {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 8px 0 18px;
    scrollbar-width: none;
}
.py-chips::-webkit-scrollbar { display: none; }
.py-chip {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 10px;
    background: var(--py-bg-4);
    color: var(--py-text);
    border: 1px solid var(--py-line);
    font-size: 14px;
}
.py-chip:hover { background: #3a3a3a; }
.py-chip.active,
.py-chip[class*='active'] {
    background: #f1f1f1;
    color: #111;
    border-color: #f1f1f1;
}
.py-chip small { color: inherit; opacity: .78; }

.py-section { margin-bottom: 22px; }
.py-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 2px 0 14px;
}
.py-section-title h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--py-text);
}
.py-section-title a,
.py-section-title span {
    color: var(--py-text-soft);
    font-size: 13px;
}
.py-section-title a:hover { color: var(--py-text); }

.py-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(282px, 1fr));
    gap: 16px;
    row-gap: 26px;
}
.py-card {
    display: block;
    min-width: 0;
    border-radius: 16px;
    transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
    padding: 0 0 8px;
}
.py-card:hover {
    background: #1a1a1a;
    box-shadow: var(--py-shadow);
    transform: translateY(-1px);
}
.py-thumb {
    display: block;
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 16px;
    background: #202020;
}
.py-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.py-thumb-empty {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #1d4ed8 0%, #9333ea 100%);
    color: rgba(255,255,255,.95);
    font-size: 42px;
}
.py-duration {
    position: absolute;
    right: 8px;
    bottom: 8px;
    background: rgba(0,0,0,.8);
    color: #fff;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.2;
}
.py-card-body {
    display: grid;
    grid-template-columns: 40px minmax(0,1fr);
    gap: 10px;
    padding: 12px 4px 0;
}
.py-card-body.no-avatar {
    grid-template-columns: 1fr;
    padding-left: 4px;
}
.py-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, #ff6b6b, #c62828);
}
.py-card-title {
    margin: 0 0 6px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.py-card-title a:hover { color: #fff; }
.py-meta {
    color: var(--py-text-soft);
    font-size: 13px;
    line-height: 1.55;
}
.py-meta a:hover { color: #fff; }
.py-source {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #d8d8d8;
    border: 1px solid rgba(255,255,255,.08);
    font-size: 10px;
    vertical-align: middle;
}

.py-empty {
    padding: 30px 24px;
    border: 1px dashed rgba(255,255,255,.12);
    background: #161616;
    border-radius: 16px;
    color: var(--py-text-soft);
    text-align: center;
}
.py-empty p { margin: 10px 0 14px; }
.py-empty .py-btn { margin-top: 8px; }

.py-message {
    padding: 12px 14px;
    border-radius: 14px;
    margin-bottom: 16px;
    border: 1px solid transparent;
}
.py-message.success { background: rgba(22,163,74,.16); color: #b7ffcf; border-color: rgba(22,163,74,.24); }
.py-message.danger { background: rgba(220,38,38,.16); color: #fecaca; border-color: rgba(220,38,38,.24); }

.py-form-card,
.py-playlist-card,
.py-search-playlist,
.py-channel-search-card,
.py-channel-mini {
    background: #181818;
    border: 1px solid var(--py-line);
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,.14);
}
.py-form-card { padding: 18px; }
.py-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    border-bottom: 1px solid var(--py-line);
    margin-bottom: 16px;
    padding-bottom: 10px;
}
.py-tab-btn {
    border: 1px solid var(--py-line);
    background: #222;
    color: var(--py-text-soft);
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}
.py-tab-btn.active {
    background: #f1f1f1;
    color: #111;
    border-color: #f1f1f1;
}
.py-tab-panel { display: none; }
.py-tab-panel.active { display: block; }
.py-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
}
.py-field { margin-bottom: 14px; }
.py-field.full { grid-column: 1/-1; }
.py-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #d8d8d8;
    font-weight: 600;
}
.py-field input,
.py-field textarea,
.py-field select {
    width: 100%;
    border: 1px solid var(--py-line);
    border-radius: 12px;
    background: #121212;
    color: var(--py-text);
    padding: 11px 12px;
    outline: none;
}
.py-field textarea { min-height: 96px; resize: vertical; }
.py-field input:focus,
.py-field textarea:focus,
.py-field select:focus {
    border-color: var(--py-accent);
}
.py-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 600;
}
.py-btn-primary {
    background: var(--py-accent);
    color: #00111f;
}
.py-btn-primary:hover { filter: brightness(1.06); }
.py-btn-soft {
    background: #272727;
    color: var(--py-text);
    border-color: var(--py-line);
}
.py-btn-soft:hover { background: #313131; }
.py-btn-danger {
    background: rgba(220,38,38,.18);
    color: #fecaca;
    border-color: rgba(220,38,38,.28);
}
.py-btn-danger:hover { background: rgba(220,38,38,.26); }

.py-drive-list {
    max-height: 360px;
    overflow: auto;
    border: 1px solid var(--py-line);
    border-radius: 14px;
    background: #121212;
}
.py-drive-row {
    display: grid;
    grid-template-columns: 24px 24px minmax(0,1fr);
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border-bottom: 1px solid var(--py-line);
    color: var(--py-text);
}
.py-drive-row:last-child { border-bottom: 0; }
.py-drive-row:hover { background: rgba(255,255,255,.04); }
.py-upload-progress { margin-top: 14px; }
.py-upload-track {
    height: 10px;
    border-radius: 999px;
    background: #121212;
    border: 1px solid var(--py-line);
    overflow: hidden;
    margin-bottom: 8px;
}
.py-upload-track span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #3ea6ff, #7c3aed);
}

.py-watch-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
}
.py-player-wrap {
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
}
.py-player-wrap iframe,
.py-player-wrap video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.py-watch-title {
    margin: 16px 0 10px;
    font-size: 24px;
    line-height: 1.35;
    color: var(--py-text);
}
.py-watch-channel {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 0 18px;
    border-bottom: 1px solid var(--py-line);
}
.py-watch-channel .grow { flex: 1; min-width: 220px; }
.py-watch-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.py-action {
    border: 1px solid var(--py-line);
    background: #272727;
    color: var(--py-text);
    border-radius: 999px;
    padding: 9px 14px;
    cursor: pointer;
}
.py-action:hover { background: #343434; }
.py-action.active { background: #f1f1f1; color: #111; border-color: #f1f1f1; }
.py-description {
    margin-top: 14px;
    border: 1px solid var(--py-line);
    background: #181818;
    border-radius: 16px;
    padding: 14px 16px;
    color: #dedede;
    line-height: 1.65;
}
.py-related .py-card {
    display: grid;
    grid-template-columns: 176px minmax(0,1fr);
    gap: 10px;
    margin-bottom: 12px;
    padding: 0;
}
.py-related .py-thumb { border-radius: 14px; }
.py-related .py-card-body { display: block; padding: 2px 0 0; }
.py-related .py-card-title { font-size: 15px; margin-bottom: 5px; }

.py-channel-hero {
    margin-bottom: 20px;
}
.py-channel-banner {
    height: 200px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0ea5e9, #7c3aed);
    background-size: cover;
    background-position: center;
    margin-bottom: 14px;
}
.py-channel-head {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.py-channel-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    background: #202020;
}
.py-channel-title {
    margin: 0 0 4px;
    font-size: 28px;
    color: var(--py-text);
}
.py-channel-stats,
.py-channel-desc {
    color: var(--py-text-soft);
    font-size: 14px;
    line-height: 1.6;
}
.py-channel-manage { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }

.py-channel-strip {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}
.py-channel-mini {
    padding: 14px;
    text-align: center;
}
.py-channel-mini img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    background: #202020;
    display: block;
    margin: 0 auto 10px;
}
.py-channel-mini strong { display: block; margin-bottom: 4px; }
.py-channel-mini span { font-size: 12px; color: var(--py-text-soft); }

.py-channel-search-grid,
.py-search-playlists {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 14px;
}
.py-channel-search-card {
    display: grid;
    grid-template-columns: 72px minmax(0,1fr);
    gap: 14px;
    padding: 14px;
}
.py-channel-search-card img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    background: #202020;
}
.py-channel-search-card strong { display: block; margin-bottom: 5px; font-size: 16px; }
.py-channel-search-card span,
.py-channel-search-card p {
    display: block;
    margin: 0;
    color: var(--py-text-soft);
    font-size: 13px;
    line-height: 1.5;
}
.py-search-playlist {
    display: grid;
    grid-template-columns: 44px minmax(0,1fr);
    gap: 12px;
    padding: 14px;
    color: var(--py-text);
}
.py-search-playlist i {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #272727;
}
.py-search-playlist strong,
.py-search-playlist small,
.py-search-playlist em {
    display: block;
}
.py-search-playlist small,
.py-search-playlist em {
    color: var(--py-text-soft);
    font-size: 12px;
    font-style: normal;
    margin-top: 3px;
}

.py-playlist-layout {
    display: grid;
    grid-template-columns: 320px minmax(0,1fr);
    gap: 20px;
}
.py-playlist-card {
    padding: 14px;
    margin-bottom: 12px;
}
.py-playlist-card h3 { margin: 0 0 6px; font-size: 16px; }

.py-list-table {
    width: 100%;
    border-collapse: collapse;
    background: #181818;
    border: 1px solid var(--py-line);
    border-radius: 16px;
    overflow: hidden;
}
.py-list-table th,
.py-list-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--py-line);
    text-align: left;
    vertical-align: middle;
    color: var(--py-text);
}
.py-list-table th {
    background: #141414;
    font-size: 13px;
    color: var(--py-text-soft);
    font-weight: 700;
}
.py-list-table tr:last-child td { border-bottom: 0; }
.py-list-thumb {
    display: block;
    width: 132px;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 12px;
    background: #202020;
}
.py-list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.py-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    border: 1px solid var(--py-line);
    background: #222;
}
.py-status.success {
    background: rgba(22,163,74,.16);
    color: #b7ffcf;
    border-color: rgba(22,163,74,.26);
}
.py-status-note {
    color: var(--py-text-soft);
    font-size: 12px;
}
.py-pagination,
.py-studio-pagination {
    margin-top: 18px;
    display: flex;
    justify-content: center;
}
.py-pagination ul,
.py-pagination ol,
.py-studio-pagination ul,
.py-studio-pagination ol {
    list-style: none !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}
.py-pagination li,
.py-studio-pagination li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}
.py-pagination a,
.py-pagination strong,
.py-pagination span,
.py-pagination li > a,
.py-pagination li > strong,
.py-pagination li > span,
.py-studio-pagination a,
.py-studio-pagination strong,
.py-studio-pagination span,
.py-studio-pagination li > a,
.py-studio-pagination li > strong,
.py-studio-pagination li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 12px;
    background: #181818;
    border: 1px solid var(--py-line);
    color: var(--py-text);
    text-decoration: none;
    font-weight: 600;
    line-height: 1;
}
.py-pagination strong,
.py-pagination li > strong,
.py-studio-pagination strong,
.py-studio-pagination li > strong {
    background: #f1f1f1;
    color: #111;
    border-color: #f1f1f1;
}

@media (max-width: 1280px) {
    .py-watch-layout { grid-template-columns: minmax(0,1fr) 320px; }
    .py-channel-search-grid, .py-search-playlists { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 1024px) {
    .py-shell { grid-template-columns: 86px minmax(0,1fr); }
    .py-brand { justify-content: center; }
    .py-brand span:last-child,
    .py-nav a span,
    .py-sidebar::after { display: none; }
    .py-nav a { justify-content: center; padding: 0; }
    .py-topbar { padding: 10px 16px; }
    .py-page { padding: 12px 16px 24px; }
    .py-playlist-layout, .py-watch-layout, .py-form-grid { grid-template-columns: 1fr; }
    .py-channel-head { flex-direction: column; }
}
@media (max-width: 720px) {
    .py-shell { display: block; }
    .py-sidebar {
        border-right: 0;
        border-bottom: 1px solid var(--py-line);
        padding: 8px 10px;
    }
    .py-brand { display: none; }
    .py-nav {
        flex-direction: row;
        overflow-x: auto;
    }
    .py-nav a {
        flex-direction: column;
        min-width: 74px;
        min-height: auto;
        padding: 8px 6px;
        gap: 6px;
        font-size: 12px;
    }
    .py-nav a span { display: block; }
    .py-nav-sep { display: none; }
    .py-topbar {
        gap: 10px;
        padding: 8px 12px;
    }
    .py-add-btn span { display: none; }
    .py-page { padding: 12px; }
    .py-grid { grid-template-columns: 1fr; row-gap: 20px; }
    .py-channel-search-grid, .py-search-playlists { grid-template-columns: 1fr; }
    .py-related .py-card { grid-template-columns: 150px minmax(0,1fr); }
    .py-list-table,
    .py-list-table thead,
    .py-list-table tbody,
    .py-list-table tr,
    .py-list-table th,
    .py-list-table td { display: block; }
    .py-list-table thead { display: none; }
    .py-list-table tr { border-bottom: 1px solid var(--py-line); }
    .py-list-table td { border: 0; padding-top: 8px; padding-bottom: 8px; }
}

/* Unified subpage shell: all module pages share the same full-screen YouTube frame as Home. */
.yt-subpage{
    min-height:100%;
    padding:18px 24px 40px;
    background:var(--yt-bg);
    color:var(--yt-text);
}
.yt-subpage .py-section-title{margin:0 0 16px}
.yt-subpage .py-section-title h2{color:var(--yt-text);font-size:22px}
.yt-subpage .py-chips{padding:0 0 18px}
.yt-subpage .py-form-card,
.yt-subpage .py-list-table,
.yt-subpage .py-playlist-card,
.yt-subpage .py-channel-search-card,
.yt-subpage .py-search-playlist{box-shadow:none}
.yt-subpage .py-grid{grid-template-columns:repeat(auto-fill,minmax(270px,1fr))}
@media(max-width:900px){.yt-subpage{padding:14px 16px 32px}}
@media(max-width:600px){.yt-subpage{padding:12px 10px 28px}}

/* ===== PEKEDU YouTube: smooth comment experience ===== */
.yt-comments {
    margin-top: 28px;
    padding-bottom: 32px;
}
.yt-comments__head {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 22px;
}
.yt-comments__head h2 {
    margin: 0;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--yt-text);
}
.yt-comments__sort {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--yt-text);
    font-size: 13px;
    user-select: none;
}
.yt-comment-form {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 28px;
}
.yt-comment-form .yt-avatar-lg {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
}
.yt-comment-form__field {
    flex: 1 1 auto;
    min-width: 0;
}
.yt-comment-form textarea {
    display: block;
    width: 100%;
    min-height: 36px;
    max-height: 160px;
    overflow-y: auto;
    resize: none;
    border: 0;
    border-bottom: 1px solid #4b4b4b;
    border-radius: 0;
    background: transparent;
    color: var(--yt-text);
    padding: 7px 2px 8px;
    outline: none;
    font-size: 14px;
    line-height: 1.45;
    transition: border-color .15s ease;
}
.yt-comment-form textarea::placeholder { color: #aaa; }
.yt-comment-form textarea:focus { border-bottom: 2px solid #f1f1f1; }
.yt-comment-form__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-height: 42px;
    padding-top: 7px;
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity .14s ease, transform .14s ease;
}
.yt-comment-form.is-active .yt-comment-form__actions,
.yt-comment-form.is-sending .yt-comment-form__actions {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}
.yt-comment-form__msg {
    margin-right: auto;
    min-height: 18px;
    color: var(--yt-text-2);
    font-size: 12px;
    line-height: 18px;
}
.yt-comment-form__msg.is-ok { color: #66d58a; }
.yt-comment-form__msg.is-error { color: #ff8a8a; }
.yt-comment-form button {
    height: 36px;
    border: 0;
    border-radius: 18px;
    padding: 0 15px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: background-color .15s ease, color .15s ease, opacity .15s ease;
}
.yt-comment-form .cancel {
    background: transparent;
    color: var(--yt-text);
}
.yt-comment-form .cancel:hover { background: #272727; }
.yt-comment-form .send {
    background: #3ea6ff;
    color: #06131d;
}
.yt-comment-form .send:hover:not(:disabled) { background: #65b8ff; }
.yt-comment-form .send:disabled {
    background: #272727;
    color: #717171;
    cursor: default;
}

.video-list-comments {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.yt-comment {
    display: flex;
    gap: 14px;
    margin: 0;
    opacity: 1;
    transform: none;
    transition: opacity .18s ease, transform .18s ease, background-color .18s ease;
}
.yt-comment > .yt-avatar-lg {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    font-size: 14px;
}
.yt-comment__body {
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 1px;
}
.yt-comment__head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 4px;
}
.yt-comment__name {
    color: #f1f1f1;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
}
.yt-comment__time {
    color: #aaa;
    font-size: 12px;
    line-height: 1.4;
}
.yt-comment__flag {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}
.yt-comment__flag.is-pending {
    background: rgba(234,179,8,.16);
    color: #facc15;
}
.yt-comment__flag.is-hidden {
    background: rgba(148,163,184,.13);
    color: #b8c0cc;
}
.yt-comment__text {
    color: #f1f1f1;
    font-size: 14px;
    line-height: 1.52;
    white-space: pre-line;
    word-break: break-word;
}
.yt-comment__moderate {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    min-height: 26px;
    margin-top: 4px;
}
.yt-comment__moderate:empty { display: none; }
.yt-comment__moderate button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 0;
    background: transparent;
    color: #aaa;
    padding: 3px 0;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: color .15s ease, opacity .15s ease;
}
.yt-comment__moderate button:hover { color: #3ea6ff; }
.yt-comment__moderate button.danger:hover { color: #ff6b6b; }
.yt-comment__moderate button:disabled { opacity: .45; cursor: wait; }
.yt-comment.is-pending { opacity: .78; }
.yt-comment.is-hidden { opacity: .48; }
.yt-comment.is-hidden:hover { opacity: .72; }

@media (max-width: 720px) {
    .yt-comments { margin-top: 20px; }
    .yt-comments__head { gap: 14px; margin-bottom: 18px; }
    .yt-comments__head h2 { font-size: 17px; }
    .yt-comment-form { gap: 10px; }
    .yt-comment-form .yt-avatar-lg,
    .yt-comment > .yt-avatar-lg { width: 36px; height: 36px; flex-basis: 36px; }
    .yt-comment-form__actions { flex-wrap: wrap; }
    .yt-comment-form__msg { width: 100%; order: 2; }
}

/* ===== Comments 1.1.3: bĂ¡m Ä‘Ăºng cĂ¡ch dĂ¹ng cá»§a Video PEKEDU cÅ© ===== */
.yt-cmtbox { display:flex; gap:16px; margin:0 0 30px; }
.yt-cmtbox__field { flex:1 1 auto; min-width:0; }
.yt-cmtbox__input {
    width:100%; height:38px; padding:7px 0;
    background:transparent; color:#f1f1f1;
    border:0; border-bottom:1px solid #3a3a3a;
    outline:none; font-size:14px;
}
.yt-cmtbox__input::placeholder { color:#8d8d8d; }
.yt-cmtbox__input:focus { border-bottom:2px solid #f1f1f1; }
.yt-cmtbox__actions {
    display:none; align-items:center; justify-content:flex-end;
    gap:8px; margin-top:8px; min-height:36px;
}
.yt-cmtbox.is-active .yt-cmtbox__actions,
.yt-cmtbox.is-sending .yt-cmtbox__actions { display:flex; }
.yt-cmtbox__msg { margin-right:auto; color:#ff8a8a; font-size:12.5px; font-weight:600; }
.yt-cmtbox__cancel,
.yt-cmtbox__send {
    height:36px; padding:0 16px; border:0; border-radius:18px;
    font-size:14px; font-weight:600; cursor:pointer;
}
.yt-cmtbox__cancel { background:transparent; color:#f1f1f1; }
.yt-cmtbox__cancel:hover { background:#272727; }
.yt-cmtbox__send { background:#3ea6ff; color:#fff; }
.yt-cmtbox__send:hover:not(:disabled) { background:#65b8ff; }
.yt-cmtbox__send:disabled { background:#272727; color:#808080; cursor:default; }
.yt-comment { transition:opacity .18s ease, transform .18s ease; }
.yt-comment__actions { display:flex; align-items:center; gap:12px; margin-top:6px; color:#aaa; }
.yt-comment__actions > button {
    display:inline-flex; align-items:center; justify-content:center;
    min-width:28px; height:28px; padding:0 4px; border:0; border-radius:14px;
    background:transparent; color:#aaa; cursor:pointer;
}
.yt-comment__actions > button:hover { background:#272727; color:#fff; }
.yt-comment__reply { font-size:12px; font-weight:600; color:#d0d0d0; cursor:pointer; }
.yt-comment__moderate { display:inline-flex; align-items:center; gap:4px; }
.yt-comment__moderate button {
    border:0; background:transparent; color:#8f8f8f;
    padding:3px 6px; font-size:12px; cursor:pointer;
}
.yt-comment__moderate button:hover { color:#fff; }
.yt-comment__moderate .danger:hover { color:#ff7a7a; }
@keyframes ytCommentIn {
    from { opacity:0; transform:translateY(-7px); }
    to { opacity:1; transform:translateY(0); }
}


/* ===== Comments interactions / replies 1.1.4 ===== */
.yt-watch__primary { min-width: 0; }
.yt-watch__secondary { min-width: 0; align-self: start; position: sticky; top: 12px; }
.yt-comment.is-hidden { opacity: .52; }
.yt-comment.is-reply { margin-left: 56px; position: relative; }
.yt-comment.is-reply::before { content: ''; position: absolute; left: -26px; top: 0; bottom: 8px; width: 2px; background: #303030; border-radius: 2px; }
.yt-comment__react.is-active { color: #3ea6ff; background: rgba(62,166,255,.12); border-radius: 18px; }
.yt-comment__react span { min-width: 8px; text-align: left; }
.yt-comment__reply { background: transparent; border: 0; color: var(--yt-text); cursor: pointer; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 18px; }
.yt-comment__reply:hover { background: var(--yt-hover); }
.yt-comment__moderate { display: inline-flex; align-items: center; gap: 4px; }
.yt-comment__moderate button { border-radius: 16px; padding: 5px 8px; }
.yt-comment__moderate button:hover { background: var(--yt-hover); }
.yt-comment__moderate .danger:hover { color: #ff6b6b; }
.yt-comment__replyhost { margin-top: 8px; }
.yt-replybox { padding: 8px 0 2px; }
.yt-replybox textarea { width: 100%; min-height: 34px; max-height: 140px; resize: none; overflow-y: auto; background: transparent; color: var(--yt-text); border: 0; border-bottom: 1px solid var(--yt-border); outline: none; padding: 7px 2px; font: inherit; font-size: 14px; }
.yt-replybox textarea:focus { border-bottom-color: var(--yt-text); }
.yt-replybox__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.yt-replybox__actions button { height: 34px; padding: 0 14px; border: 0; border-radius: 17px; background: transparent; color: var(--yt-text); cursor: pointer; font-weight: 600; }
.yt-replybox__actions button:hover { background: var(--yt-hover); }
.yt-replybox__actions .is-send { background: var(--yt-blue); color: #fff; }
.yt-replybox__actions .is-send:disabled { background: var(--yt-chip); color: #888; cursor: default; }
@media (max-width: 1050px) { .yt-watch__secondary { position: static; } }
@media (max-width: 680px) { .yt-comment.is-reply { margin-left: 28px; } }

/* =========================================================
 * PEKEDU Video 1.1.5 â€” card polish + unified theme selector
 * ======================================================= */
.ytapp,
.ytapp .yt-main,
.ytapp .yt-header,
.ytapp .yt-sidebar,
.ytapp .py-card,
.ytapp .py-form-card,
.ytapp .py-playlist-card,
.ytapp .py-channel-search-card,
.ytapp .py-search-playlist,
.ytapp .py-channel-mini {
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

/* Account / theme menu */
.yt-account { position: relative; display: inline-flex; align-items: center; }
.yt-account__button { border: 0; cursor: pointer; }
.yt-account-menu {
    position: absolute;
    top: 46px;
    right: 0;
    width: 286px;
    padding: 8px 0;
    border: 1px solid var(--yt-border);
    border-radius: 14px;
    background: var(--yt-elevated);
    color: var(--yt-text);
    box-shadow: 0 10px 36px rgba(0,0,0,.48);
    z-index: 260;
}
.yt-account-menu[hidden] { display: none !important; }
.yt-account-menu__head { display:flex; align-items:center; gap:12px; padding:12px 16px; }
.yt-account-menu__avatar {
    width:40px; height:40px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center;
    background:linear-gradient(135deg,#3ea6ff,#065fd4); color:#fff; font-weight:700; flex-shrink:0;
}
.yt-account-menu__head strong { display:block; font-size:14px; color:var(--yt-text); }
.yt-account-menu__head small { display:block; margin-top:3px; color:var(--yt-text-2); font-size:12px; }
.yt-account-menu__sep { height:1px; background:var(--yt-border); margin:4px 0 8px; }
.yt-account-menu__label { display:flex; align-items:center; gap:12px; padding:8px 16px; color:var(--yt-text-2); font-size:12px; font-weight:600; }
.yt-account-menu__label i { width:20px; text-align:center; }
.yt-theme-choice {
    width:100%; height:42px; display:grid; grid-template-columns:24px minmax(0,1fr) 20px; align-items:center; gap:12px;
    padding:0 16px; border:0; background:transparent; color:var(--yt-text); text-align:left; cursor:pointer;
}
.yt-theme-choice:hover { background:var(--yt-hover); }
.yt-theme-choice > i:first-child { width:20px; text-align:center; color:var(--yt-text-2); }
.yt-theme-choice__check { opacity:0; color:var(--yt-blue); }
.yt-theme-choice.is-active .yt-theme-choice__check { opacity:1; }

/* Video card: match legacy PEKEDU Video layout */
.yt-card__body { grid-template-columns:40px minmax(0,1fr) !important; gap:10px !important; padding-top:10px !important; }
.yt-card__avatar {
    width:40px !important; height:40px !important; border-radius:50% !important; display:inline-flex !important;
    align-items:center !important; justify-content:center !important; background:#ef4444 !important; color:#fff !important;
    font-size:16px !important; font-weight:600 !important; flex-shrink:0 !important; text-transform:uppercase;
}
.yt-card__title,
.ytapp .yt-card__title,
.ytapp .py-card-title,
.ytapp .py-card-title a {
    color:var(--yt-text) !important;
    text-decoration:none !important;
}
.yt-card__title { font-size:16px !important; line-height:1.35 !important; font-weight:700 !important; }
.yt-card__chan {
    color:var(--yt-text-2) !important; font-size:13px !important; line-height:1.35; margin-top:4px !important;
    display:flex; align-items:center; gap:4px;
}
.yt-card__verified,
.py-channel-link .fa-check-circle { color:var(--yt-text-2); font-size:12px; }
.yt-card__stats,
.ytapp .py-meta {
    color:var(--yt-text-2) !important;
}
.yt-card__stats { display:flex !important; align-items:center; flex-wrap:nowrap !important; gap:5px; margin-top:4px !important; font-size:12px !important; white-space:nowrap !important; overflow:hidden !important; text-overflow:ellipsis !important; }
.yt-card__stat { display:inline-flex; align-items:center; gap:4px; white-space:nowrap; min-width:0; flex-shrink:1; }
.yt-card__stat i { width:13px; text-align:center; font-size:11px; color:var(--yt-text-2); }
.yt-card__dot { opacity:.85; }
.yt-source-badge,
.py-source { margin-left:4px; }

/* Legacy-style cards on sub pages: same anatomy as home cards */
.ytapp .py-grid { gap:16px !important; row-gap:30px !important; }
.ytapp .py-card { background:transparent !important; border:0 !important; box-shadow:none !important; padding:0 !important; }
.ytapp .py-card:hover { background:transparent !important; box-shadow:none !important; transform:none !important; }
.ytapp .py-thumb { border-radius:12px !important; background:#202020 !important; }
.ytapp .py-card-body { grid-template-columns:40px minmax(0,1fr) !important; gap:10px !important; padding:10px 4px 0 !important; }
.ytapp .py-card-title { margin:0 0 4px !important; font-size:16px !important; line-height:1.35 !important; font-weight:700 !important; }
.ytapp .py-meta { display:flex !important; align-items:center !important; flex-wrap:nowrap !important; gap:5px !important; font-size:12px !important; line-height:1.55 !important; white-space:nowrap !important; overflow:hidden !important; text-overflow:ellipsis !important; min-width:0 !important; }
.ytapp .py-meta .yt-card__stat { margin-right:1px; min-width:0; flex-shrink:1; }
.ytapp .py-meta .yt-card__stat span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ytapp .py-channel-link { color:var(--yt-text-2) !important; font-size:13px; }
.ytapp .py-channel-link:hover { color:var(--yt-text) !important; }

/* Never inherit Bootstrap/NukeViet blue links inside the video app */
.ytapp a,
.ytapp a:visited,
.ytapp .py-card a,
.ytapp .py-section a,
.ytapp .py-playlist-card a,
.ytapp .py-channel-search-card,
.ytapp .py-search-playlist {
    text-decoration:none !important;
}
.ytapp .py-card-title a,
.ytapp .py-playlist-card h3 a,
.ytapp .py-search-playlist strong,
.ytapp .py-channel-search-card strong,
.ytapp .py-section-title h2,
.ytapp .py-channel-title {
    color:var(--yt-text) !important;
}
.ytapp .py-section-title > a { color:var(--yt-text-2) !important; }
.ytapp .py-section-title > a:hover { color:var(--yt-text) !important; }

/* LIGHT THEME ------------------------------------------------ */
.ytapp[data-theme="light"] {
    --yt-bg:#ffffff;
    --yt-bg-2:#f8f8f8;
    --yt-elevated:#ffffff;
    --yt-chip:#f2f2f2;
    --yt-chip-hover:#e5e5e5;
    --yt-hover:#f2f2f2;
    --yt-text:#0f0f0f;
    --yt-text-2:#606060;
    --yt-border:#d9d9d9;
    --yt-blue:#065fd4;
    background:#fff;
    color:#0f0f0f;
}
.ytapp[data-theme="light"] .yt-header,
.ytapp[data-theme="light"] .yt-sidebar,
.ytapp[data-theme="light"] .yt-main { background:#fff !important; color:#0f0f0f !important; }
.ytapp[data-theme="light"] .yt-search__input { background:#fff !important; color:#0f0f0f !important; border-color:#c6c6c6 !important; }
.ytapp[data-theme="light"] .yt-search__btn { background:#f8f8f8 !important; color:#0f0f0f !important; border-color:#c6c6c6 !important; }
.ytapp[data-theme="light"] .yt-voice,
.ytapp[data-theme="light"] .yt-createbtn { background:#f2f2f2 !important; color:#0f0f0f !important; }
.ytapp[data-theme="light"] .yt-iconbtn { color:#0f0f0f !important; }
.ytapp[data-theme="light"] .yt-logo__text,
.ytapp[data-theme="light"] .yt-logo__text b { color:#0f0f0f !important; }
.ytapp[data-theme="light"] .yt-sb__item,
.ytapp[data-theme="light"] .yt-sb__title { color:#0f0f0f !important; }
.ytapp[data-theme="light"] .yt-sb__divider { border-color:#e5e5e5 !important; }
.ytapp[data-theme="light"] .yt-chip { background:#f2f2f2 !important; color:#0f0f0f !important; border-color:transparent !important; }
.ytapp[data-theme="light"] .yt-chip.is-active { background:#0f0f0f !important; color:#fff !important; }
.ytapp[data-theme="light"] .yt-card__thumb,
.ytapp[data-theme="light"] .py-thumb { background:#eee !important; }
.ytapp[data-theme="light"] .yt-card:hover { background:transparent !important; box-shadow:none !important; }
.ytapp[data-theme="light"] .yt-card__title,
.ytapp[data-theme="light"] .py-card-title,
.ytapp[data-theme="light"] .py-card-title a,
.ytapp[data-theme="light"] .py-section-title h2,
.ytapp[data-theme="light"] .py-channel-title { color:#0f0f0f !important; }
.ytapp[data-theme="light"] .yt-card__chan,
.ytapp[data-theme="light"] .yt-card__stats,
.ytapp[data-theme="light"] .py-meta,
.ytapp[data-theme="light"] .py-channel-link { color:#606060 !important; }
.ytapp[data-theme="light"] .py-form-card,
.ytapp[data-theme="light"] .py-playlist-card,
.ytapp[data-theme="light"] .py-channel-search-card,
.ytapp[data-theme="light"] .py-search-playlist,
.ytapp[data-theme="light"] .py-channel-mini,
.ytapp[data-theme="light"] .py-description,
.ytapp[data-theme="light"] .yt-description,
.ytapp[data-theme="light"] .yt-comment-box,
.ytapp[data-theme="light"] .py-list-table { background:#fff !important; color:#0f0f0f !important; border-color:#e5e5e5 !important; }
.ytapp[data-theme="light"] .py-field input,
.ytapp[data-theme="light"] .py-field textarea,
.ytapp[data-theme="light"] .py-field select,
.ytapp[data-theme="light"] .yt-page-form .py-field input,
.ytapp[data-theme="light"] .yt-page-form .py-field textarea,
.ytapp[data-theme="light"] .yt-page-form .py-field select { background:#fff !important; color:#0f0f0f !important; border-color:#cfcfcf !important; }
.ytapp[data-theme="light"] .py-tab-btn,
.ytapp[data-theme="light"] .py-btn-soft,
.ytapp[data-theme="light"] .yt-action,
.ytapp[data-theme="light"] .yt-comment-action { background:#f2f2f2 !important; color:#0f0f0f !important; border-color:#e2e2e2 !important; }
.ytapp[data-theme="light"] .py-tab-btn.active { background:#0f0f0f !important; color:#fff !important; }
.ytapp[data-theme="light"] .py-list-table th { background:#f7f7f7 !important; color:#606060 !important; border-color:#e5e5e5 !important; }
.ytapp[data-theme="light"] .py-list-table td { color:#0f0f0f !important; border-color:#e5e5e5 !important; }
.ytapp[data-theme="light"] .yt-account-menu { box-shadow:0 10px 32px rgba(0,0,0,.16); }
.ytapp[data-theme="light"] .yt-comment-form textarea,
.ytapp[data-theme="light"] .video-input,
.ytapp[data-theme="light"] textarea { color:#0f0f0f; }
.ytapp[data-theme="light"] .yt-comment-form textarea { border-bottom-color:#d5d5d5; }

@media (max-width: 720px) {
    .yt-account-menu { position:fixed; top:58px; right:10px; width:min(286px, calc(100vw - 20px)); }
    .yt-card__title, .ytapp .py-card-title { font-size:15px !important; }
}

/* ========================================================================== */
/* PEKEDU Video 1.1.8 â€” Home recommendations, sidebar subscriptions, Shorts  */
/* ========================================================================== */
.yt-sb__subscriptions {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 2px 0 4px;
}
.yt-sb__channel,
.yt-sb__more {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    color: var(--yt-text);
    font-size: 13px;
    text-decoration: none !important;
}
.yt-sb__channel:hover,
.yt-sb__more:hover { background: var(--yt-hover); color: var(--yt-text) !important; }
.yt-sb__chan-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #333;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    flex: 0 0 26px;
}
.yt-sb__chan-avatar img { width: 100%; height: 100%; object-fit: cover; display:block; }
.yt-sb__channel .yt-sb__label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.yt-sb__more { color: var(--yt-text-2); font-size: 12px; }
.yt-sb__more i { margin-left: auto; }

.yt-home-section { margin-bottom: 28px; }
.yt-home-section--feed { padding-bottom: 30px; }
.yt-page-head--row { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; }
.yt-page-head--row p { display:none; }

/* Shorts */
.yt-shorts {
    margin: 8px 24px 34px;
    padding: 18px 0 22px;
    border-top: 1px solid var(--yt-border);
    border-bottom: 1px solid var(--yt-border);
}
.yt-shorts__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.yt-shorts__head h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--yt-text);
    font-size: 22px;
    font-weight: 700;
}
.yt-shorts__mark {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #ff1744;
    font-size: 20px;
}
.yt-shorts__all {
    height: 38px;
    padding: 0 16px;
    border: 0;
    border-radius: 20px;
    background: rgba(62,166,255,.18);
    color: #3ea6ff;
    font-weight: 600;
    cursor: pointer;
}
.yt-shorts__all:hover { background: rgba(62,166,255,.28); }
.yt-shorts__rail {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}
.yt-short-card {
    display: block;
    min-width: 0;
    position: relative;
    color: var(--yt-text) !important;
    text-decoration: none !important;
}
.yt-short-card:nth-child(n+6) { display: none; }
.yt-shorts.is-expanded .yt-short-card:nth-child(n+6) { display: block; }
.yt-shorts.is-expanded .yt-shorts__rail { grid-auto-flow: row; }
.yt-short-card::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 14px;
    background: var(--yt-hover);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease;
    pointer-events: none;
    z-index: 0;
}
.yt-short-card:hover::before { opacity: 1; transform: translateY(0); }
.yt-short-card > * { position: relative; z-index: 1; }
.yt-short-card__thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 14;
    overflow: hidden;
    border-radius: 12px;
    background: #202020;
}
.yt-short-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.yt-short-card__body {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 32px;
    align-items: start;
    gap: 9px;
    padding: 10px 2px 6px;
}
.yt-short-card__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    background: var(--yt-hover);
    color: var(--yt-text);
    font-size: 14px;
    font-weight: 700;
}
.yt-short-card__avatar img { width:100%;height:100%;object-fit:cover;display:block;border-radius:50%; }
.yt-short-card__meta { min-width:0; }
.yt-short-card__body h3 {
    margin: 0 0 4px;
    color: var(--yt-text);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.yt-short-card__chan,
.yt-short-card__stats { margin:0;color:var(--yt-text-2);font-size:12px;line-height:1.35; }
.yt-short-card__chan { display:flex;align-items:center;gap:4px;min-width:0;margin-bottom:3px; }
.yt-short-card__chan>span { min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.yt-short-card__chan>.fa-user-circle-o { flex:0 0 auto;font-size:12px;opacity:.78; }
.yt-short-card__stats { display:flex;align-items:center;gap:7px;min-width:0;white-space:nowrap;overflow:hidden; }
.yt-short-card__stats .yt-card__stat { display:inline-flex;align-items:center;gap:4px;min-width:0; }
.yt-short-card__stats .yt-card__stat>span { overflow:hidden;text-overflow:ellipsis; }
.yt-short-card__menu { display:flex; justify-content:center; padding-top:2px; color:var(--yt-text); }
.yt-short-card__menu-btn {
    width:32px;
    height:32px;
    border:0;
    border-radius:50%;
    padding:0;
    display:flex;
    align-items:center;
    justify-content:center;
    background:transparent;
    color:var(--yt-text);
    cursor:pointer;
    opacity:.72;
    transition:opacity .14s ease,background-color .14s ease,color .14s ease!important;
}
.yt-short-card__menu-btn i { font-size:18px;line-height:1; }
.yt-short-card:hover .yt-short-card__menu-btn,
.yt-short-card:focus-within .yt-short-card__menu-btn,
.yt-short-card__menu-btn:hover,
.yt-short-card__menu-btn.is-open { opacity:1; }
.yt-short-card__menu-btn:hover,
.yt-short-card__menu-btn.is-open { background:var(--yt-hover); }

/* Infinite home loader */
.yt-home-loader {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    opacity: 0;
    transition: opacity .15s ease;
}
.yt-home-loader.is-active { opacity: 1; }
.yt-home-loader span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--yt-text-2);
    animation: pekHomeDot .9s infinite ease-in-out alternate;
}
.yt-home-loader span:nth-child(2) { animation-delay: .15s; }
.yt-home-loader span:nth-child(3) { animation-delay: .3s; }
.yt-home-sentinel { height: 2px; }
@keyframes pekHomeDot { from { opacity:.25; transform:translateY(0); } to { opacity:1; transform:translateY(-5px); } }

/* Light theme */
.ytapp[data-theme="light"] .yt-sb__channel,
.ytapp[data-theme="light"] .yt-sb__more,
.ytapp[data-theme="light"] .yt-short-card,
.ytapp[data-theme="light"] .yt-short-card__body h3 { color: var(--yt-text) !important; }
.ytapp[data-theme="light"] .yt-short-card::before { background:#f2f2f2; }
.ytapp[data-theme="light"] .yt-shorts__all { background:#def0ff; color:#065fd4; }

@media (max-width: 1280px) {
    .yt-shorts__rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .yt-short-card:nth-child(5) { display:none; }
    .yt-shorts.is-expanded .yt-short-card:nth-child(5) { display:block; }
}
@media (max-width: 980px) {
    .yt-sb__subscriptions { display:none; }
    .yt-shorts { margin-left:16px; margin-right:16px; }
    .yt-shorts__rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .yt-short-card:nth-child(4), .yt-short-card:nth-child(5) { display:none; }
    .yt-shorts.is-expanded .yt-short-card:nth-child(n) { display:block; }
}
@media (max-width: 680px) {
    .yt-shorts { margin: 6px 12px 24px; }
    .yt-shorts__rail {
        display:flex;
        overflow-x:auto;
        gap:12px;
        scrollbar-width:none;
    }
    .yt-shorts__rail::-webkit-scrollbar { display:none; }
    .yt-short-card,
    .yt-short-card:nth-child(n) { display:block; flex:0 0 68vw; max-width:250px; }
    .yt-shorts__all { display:none; }
    .yt-short-card::before { display:none; }
}

/* ===== Watch page closer to current YouTube layout â€” 1.1.9 ===== */
.ytapp--watch .yt-sidebar { display: none; }
.ytapp--watch .yt-main { left: 0; }
.ytapp--watch .yt-header { padding-left: 18px; padding-right: 18px; }
.ytapp--watch .yt-watch {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 24px;
    padding: 20px 20px 44px;
    max-width: 1900px;
    margin: 0 auto;
}
.ytapp--watch .yt-watch__primary { min-width: 0; }
.ytapp--watch .yt-watch__secondary { min-width: 0; position: static; }
.ytapp--watch .yt-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: calc(100vh - 150px);
    margin: 0 0 12px;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}
.ytapp--watch .yt-player iframe,
.ytapp--watch .yt-player video { width: 100%; height: 100%; object-fit: contain; }
.yt-player-tools {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 5;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .16s ease, transform .16s ease;
    pointer-events: none;
}
.yt-player:hover .yt-player-tools,
.yt-player:focus-within .yt-player-tools { opacity: 1; transform: none; pointer-events: auto; }
.yt-player-tool {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.68);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(8px);
}
.yt-player-tool:hover { background: rgba(0,0,0,.86); }
.yt-watch__title {
    margin: 10px 0 10px;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
}
.yt-watch-meta { margin-bottom: 12px; }
.ytapp--watch .yt-owner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    flex-wrap: nowrap;
}
.yt-owner__left {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 1 auto;
}
.yt-owner__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#ef4444,#dc2626);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}
.yt-owner__avatar img { width:100%; height:100%; object-fit:cover; display:block; }
.yt-owner__identity { min-width: 0; }
.yt-owner__name { font-size: 14px; font-weight: 700; line-height: 1.25; }
.yt-owner__name a { color: var(--yt-text); }
.yt-owner__subs { margin-top: 2px; font-size: 12px; color: var(--yt-text-2); }
.yt-subbtn { flex-shrink: 0; margin-left: 2px; height: 36px; border-radius: 18px; padding: 0 16px; font-weight: 700; }
.ytapp--watch .yt-actions {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}
.ytapp--watch .yt-actions::-webkit-scrollbar { display:none; }
.yt-likepill,
.yt-pill,
.yt-save-combo select,
.yt-save-combo__button {
    height: 36px;
    border-radius: 18px;
}
.yt-pill { padding: 0 14px; flex-shrink: 0; }
.yt-pill--icon { width: 36px; padding: 0; justify-content:center; }
.yt-save-combo { display:flex; align-items:center; gap:6px; flex-shrink:0; }
.yt-save-combo select {
    max-width: 170px;
    border: 0;
    padding: 0 12px;
    background: var(--yt-chip);
    color: var(--yt-text);
    outline: none;
}
.yt-save-combo__button { padding: 0 14px; }
.ytapp--watch .yt-desc {
    margin: 12px 0 24px;
    padding: 12px;
    border-radius: 12px;
    background: var(--yt-chip);
}
.ytapp--watch .yt-secondary__title { display:none; }
.ytapp--watch .yt-rel { margin-bottom: 10px; padding: 0; background: transparent; box-shadow:none; }
.ytapp--watch .yt-rel:hover { background: transparent; box-shadow:none; }
.ytapp--watch .yt-rel__thumb { width: 168px; height: 94px; border-radius: 8px; }
.ytapp--watch .yt-rel__title { font-size: 14px; line-height: 1.35; margin: 0 0 4px; }
.ytapp--watch .yt-rel__chan,
.ytapp--watch .yt-rel__stats { font-size: 12px; line-height: 1.4; color: var(--yt-text-2); }

/* Theater mode: player and metadata span the page, recommendations continue below. */
.ytapp--watch .yt-watch.is-theater { grid-template-columns: 1fr; max-width: 100%; padding-left: 0; padding-right: 0; }
.ytapp--watch .yt-watch.is-theater .yt-watch__primary { width: 100%; }
.ytapp--watch .yt-watch.is-theater .yt-player { border-radius: 0; max-height: calc(100vh - 76px); }
.ytapp--watch .yt-watch.is-theater .yt-watch__title,
.ytapp--watch .yt-watch.is-theater .yt-watch-meta,
.ytapp--watch .yt-watch.is-theater .yt-desc,
.ytapp--watch .yt-watch.is-theater .yt-comments { margin-left: 24px; margin-right: 24px; }
.ytapp--watch .yt-watch.is-theater .yt-watch__secondary {
    padding: 0 24px 30px;
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 14px;
}
.ytapp--watch .yt-watch.is-theater .yt-rel { display:grid; grid-template-columns: 168px minmax(0,1fr); }

/* Browser fullscreen fallback for iframe/HTML5 player. */
.yt-player:fullscreen,
.yt-player:-webkit-full-screen { width:100vw; height:100vh; max-height:none; border-radius:0; background:#000; }
.yt-player:fullscreen iframe,
.yt-player:fullscreen video,
.yt-player:-webkit-full-screen iframe,
.yt-player:-webkit-full-screen video { width:100%; height:100%; }
.yt-player:fullscreen .yt-player-tools,
.yt-player:-webkit-full-screen .yt-player-tools { opacity:1; pointer-events:auto; }

@media (max-width: 1320px) {
    .ytapp--watch .yt-watch { grid-template-columns: minmax(0,1fr) 360px; gap:18px; padding:18px; }
    .ytapp--watch .yt-owner { align-items:flex-start; }
    .ytapp--watch .yt-actions { max-width: 58%; }
}
@media (max-width: 1080px) {
    .ytapp--watch .yt-watch { grid-template-columns: 1fr; }
    .ytapp--watch .yt-watch__secondary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 16px; }
    .ytapp--watch .yt-owner { flex-wrap:wrap; }
    .ytapp--watch .yt-actions { width:100%; max-width:none; justify-content:flex-start; }
}
@media (max-width: 720px) {
    .ytapp--watch .yt-header__start .yt-logo { display:none; }
    .ytapp--watch .yt-watch { padding: 8px 0 28px; }
    .ytapp--watch .yt-player { border-radius:0; margin-bottom:10px; }
    .ytapp--watch .yt-watch__title,
    .ytapp--watch .yt-watch-meta,
    .ytapp--watch .yt-desc,
    .ytapp--watch .yt-comments { margin-left:12px; margin-right:12px; }
    .ytapp--watch .yt-watch__secondary { display:block; padding:0 12px; }
    .ytapp--watch .yt-rel__thumb { width: 160px; height:90px; }
    .yt-owner__left { width:100%; }
    .ytapp--watch .yt-actions { width:100%; overflow-x:auto; padding-bottom:2px; }
    .yt-pill span { display:inline; }
}
.ytapp--watch.is-watch-sidebar-open .yt-sidebar { display:block; }
.ytapp--watch.is-watch-sidebar-open .yt-main { left: var(--yt-sidebar-w); }
@media(max-width:1000px){.ytapp--watch.is-watch-sidebar-open .yt-main{left:0}.ytapp--watch.is-watch-sidebar-open .yt-sidebar{display:block;position:fixed;z-index:120;box-shadow:14px 0 32px rgba(0,0,0,.45)}}

/* ===== Watch page rebuilt to mirror current YouTube â€” 1.2.0 ===== */
.ytapp--watch .yt-sidebar{display:none}
.ytapp--watch .yt-main--watch{left:0;top:var(--yt-header-h);right:0;bottom:0;overflow-y:auto;background:var(--yt-bg)}
.ytapp--watch .yt-main--watch,
.ytapp--watch .yt-watch-page{
    overflow-x:hidden !important;
}
.yt-watch-page{display:grid;grid-template-columns:minmax(0,1fr) 402px;gap:24px;max-width:1800px;margin:0 auto;padding:20px 24px 48px}
.yt-watch-column{min-width:0}
.yt-watch-player{position:relative;width:100%;aspect-ratio:16/9;background:#000;border-radius:12px;overflow:hidden;isolation:isolate}
.yt-watch-player__media{display:block;width:100%;height:100%;border:0;background:#000;object-fit:contain}
.yt-watch-player__fallback-controls{position:absolute;right:10px;bottom:10px;z-index:4;display:flex;align-items:center;gap:4px;opacity:0;transition:opacity .15s ease;pointer-events:none}
.yt-watch-player:hover .yt-watch-player__fallback-controls,.yt-watch-player:focus-within .yt-watch-player__fallback-controls{opacity:1;pointer-events:auto}
.yt-watch-player__fallback-controls button{width:36px;height:36px;border:0;border-radius:50%;background:rgba(0,0,0,.48);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:16px;backdrop-filter:blur(4px)}
.yt-watch-player__fallback-controls button:hover,.yt-watch-player__fallback-controls button.is-active{background:rgba(0,0,0,.82)}
/* YouTube iframe already has its own native fullscreen/settings controls. Keep only theater/fallback lightly visible. */
.ytapp--watch[data-source="youtube"] .yt-watch-player__fallback-controls{right:52px;bottom:8px}
.yt-watch-title{font-size:20px;line-height:1.35;font-weight:700;margin:12px 0 10px;color:var(--yt-text)}
.yt-watch-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;margin-bottom:12px}
.yt-watch-channel{display:flex;align-items:center;gap:10px;min-width:0;flex:0 1 auto}
.yt-watch-channel__avatar{width:42px;height:42px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;flex:0 0 42px;background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;font-size:18px;font-weight:700}
.yt-watch-channel__avatar img{width:100%;height:100%;object-fit:cover;display:block}
.yt-watch-channel__identity{min-width:0}
.yt-watch-channel__name{display:flex;align-items:center;gap:5px;font-size:14px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yt-watch-channel__name a{color:var(--yt-text)!important}
.yt-watch-channel__name i{font-size:12px;color:var(--yt-text-2)}
.yt-watch-channel__subs{margin-top:2px;color:var(--yt-text-2);font-size:12px;white-space:nowrap}
.yt-watch-subscribe{height:36px;padding:0 16px;border:0;border-radius:18px;background:var(--yt-text);color:var(--yt-bg);font-weight:700;cursor:pointer;white-space:nowrap;flex-shrink:0}
.yt-watch-subscribe:hover{filter:brightness(.92)}
.yt-watch-subscribe.is-active{background:var(--yt-chip);color:var(--yt-text)}
.yt-watch-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;overflow-x:auto;scrollbar-width:none}
.yt-watch-actions::-webkit-scrollbar{display:none}
.yt-watch-action{height:36px;padding:0 14px;border:0;border-radius:18px;background:var(--yt-chip);color:var(--yt-text);display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;font-size:14px;font-weight:600;white-space:nowrap;flex-shrink:0}
.yt-watch-action:hover{background:var(--yt-chip-hover)}
.yt-watch-action.is-active{background:#3a3a3a}
.yt-watch-action.is-active i{color:var(--yt-blue)}
.yt-watch-action.is-busy{opacity:.65;cursor:wait}
.yt-watch-action--icon{width:36px;padding:0}
.yt-watch-vote{display:flex;align-items:center;height:36px;border-radius:18px;background:var(--yt-chip);overflow:hidden;flex-shrink:0}
.yt-watch-vote .yt-watch-action{border-radius:0;background:transparent;height:36px}
.yt-watch-vote .yt-watch-action:hover{background:var(--yt-chip-hover)}
.yt-watch-vote__like{padding-left:14px;padding-right:12px}
.yt-watch-vote__dislike{padding-left:12px;padding-right:14px}
.yt-watch-vote__line{width:1px;height:24px;background:var(--yt-border);flex-shrink:0}
.yt-watch-save{display:flex;align-items:center;gap:6px;flex-shrink:0}
.yt-watch-save select{height:36px;max-width:170px;border:0;border-radius:18px;padding:0 12px;background:var(--yt-chip);color:var(--yt-text);outline:none}
.yt-watch-desc{margin:12px 0 24px;padding:12px;border-radius:12px;background:var(--yt-chip);color:var(--yt-text);font-size:14px;line-height:1.5;cursor:default}
.yt-watch-desc__meta{font-weight:700;margin-bottom:7px}
.yt-watch-desc__text{max-height:62px;overflow:hidden;white-space:pre-line}
.yt-watch-desc.is-open .yt-watch-desc__text{max-height:none}
.yt-watch-desc__toggle{display:inline-block;margin-top:4px;padding:0;border:0;background:transparent;color:var(--yt-text);font-weight:700;cursor:pointer}
.yt-watch-related{min-width:0;align-self:start}
.yt-watch-related__item{position:relative;display:grid;grid-template-columns:168px minmax(0,1fr) 20px;gap:8px;margin-bottom:10px;color:var(--yt-text)!important;text-decoration:none!important;min-width:0}
.yt-watch-related__thumb{position:relative;width:168px;height:94px;border-radius:8px;overflow:hidden;background:var(--yt-chip)}
.yt-watch-related__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.yt-watch-related__duration{position:absolute;right:4px;bottom:4px;padding:1px 4px;border-radius:4px;background:rgba(0,0,0,.82);color:#fff;font-size:11px;font-weight:600}
.yt-watch-related__info{min-width:0;padding-top:1px}
.yt-watch-related__info h3{margin:0 0 5px;color:var(--yt-text);font-size:14px;line-height:1.35;font-weight:700;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.yt-watch-related__channel{color:var(--yt-text-2);font-size:12px;line-height:1.35;margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yt-watch-related__stats{display:flex;align-items:center;gap:4px;flex-wrap:nowrap!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:var(--yt-text-2);font-size:11.5px;line-height:1.3}
.yt-watch-related__stats > span{display:inline-flex!important;align-items:center!important;gap:3px!important;white-space:nowrap!important;flex-shrink:0!important}
.yt-watch-related__stats > span:not(:last-child)::after{content:"·";margin:0 2px 0 4px;opacity:.7}
.yt-watch-related__stats i{font-size:11px}
.yt-watch-related__more{width:20px;height:32px;border:0;background:transparent;color:var(--yt-text);opacity:0;cursor:pointer;border-radius:16px;padding:0}
.yt-watch-related__item:hover .yt-watch-related__more{opacity:1}
.yt-watch-related__more:hover{background:var(--yt-chip)}
.yt-watch-toast{position:fixed;left:50%;bottom:28px;z-index:500;transform:translate(-50%,18px);opacity:0;pointer-events:none;min-width:180px;max-width:min(520px,calc(100vw - 32px));padding:11px 16px;border-radius:10px;background:#272727;color:#fff;font-size:13px;font-weight:600;text-align:center;box-shadow:0 10px 34px rgba(0,0,0,.4);transition:opacity .18s ease,transform .18s ease}
.yt-watch-toast.is-show{opacity:1;transform:translate(-50%,0)}
.yt-watch-toast.is-success{background:#16883f}.yt-watch-toast.is-error{background:#b3261e}
.yt-watch-drawer{display:block!important;transform:translateX(-102%);transition:transform .2s ease;z-index:160;box-shadow:16px 0 34px rgba(0,0,0,.35)}
.yt-watch-drawer-backdrop{position:fixed;inset:var(--yt-header-h) 0 0 0;z-index:150;background:rgba(0,0,0,.52);opacity:0;pointer-events:none;transition:opacity .2s ease}
.ytapp--watch.is-watch-sidebar-open .yt-watch-drawer{transform:translateX(0)}
.ytapp--watch.is-watch-sidebar-open .yt-watch-drawer-backdrop{opacity:1;pointer-events:auto}

/* Theater mode follows YouTube: player becomes a wide strip, metadata remains constrained below. */
.ytapp--watch.is-theater .yt-main--watch{overflow-y:auto}
.ytapp--watch.is-theater .yt-watch-page{display:block;max-width:none;padding:0 0 48px}
.ytapp--watch.is-theater .yt-watch-column{max-width:1800px;margin:0 auto;padding:0 24px}
.ytapp--watch.is-theater .yt-watch-player{width:100vw;max-width:none;margin-left:50%;transform:translateX(-50%);border-radius:0;aspect-ratio:auto;height:min(calc(100vh - var(--yt-header-h)),56.25vw)}
.ytapp--watch.is-theater .yt-watch-related{max-width:1800px;margin:24px auto 0;padding:0 24px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 18px}
.ytapp--watch.is-theater .yt-watch-related__item{grid-template-columns:168px minmax(0,1fr) 20px}

/* True fullscreen. If PEKEDU is inside WebOS iframe and browser blocks child fullscreen,
   JS fullscreens the hosting frame and this class stretches only the video over it. */
.yt-watch-player:fullscreen,.yt-watch-player:-webkit-full-screen{width:100vw!important;height:100vh!important;aspect-ratio:auto!important;border-radius:0!important;background:#000!important}
.yt-watch-player:fullscreen .yt-watch-player__media,.yt-watch-player:-webkit-full-screen .yt-watch-player__media{width:100%!important;height:100%!important}
.ytapp--watch.is-frame-fullscreen .yt-watch-player,.ytapp--watch.is-css-fullscreen .yt-watch-player{position:fixed!important;inset:0!important;z-index:99999!important;width:100vw!important;height:100vh!important;aspect-ratio:auto!important;border-radius:0!important;background:#000!important}
.ytapp--watch.is-frame-fullscreen .yt-watch-player__media,.ytapp--watch.is-css-fullscreen .yt-watch-player__media{width:100%!important;height:100%!important}
.ytapp--watch.is-frame-fullscreen .yt-header,.ytapp--watch.is-css-fullscreen .yt-header{display:none!important}
.ytapp--watch.is-frame-fullscreen .yt-watch-player__fallback-controls,.ytapp--watch.is-css-fullscreen .yt-watch-player__fallback-controls{opacity:1;pointer-events:auto}

@media(max-width:1320px){
  .yt-watch-toolbar{align-items:flex-start;flex-wrap:wrap}
  .yt-watch-actions{width:100%;justify-content:flex-start}
}
@media(max-width:1000px){
  .yt-watch-page{grid-template-columns:1fr!important}
  .yt-watch-related{display:block!important;max-width:100%!important}
  .yt-watch-related__item{grid-template-columns:160px minmax(0,1fr) 20px}
  .yt-watch-related__thumb{width:160px;height:90px}
}
@media(max-width:720px){
  .ytapp--watch .yt-header__start .yt-logo{display:none}
  .ytapp--watch .yt-header__start{min-width:44px}.ytapp--watch .yt-header__end{min-width:auto}.ytapp--watch .yt-createbtn span{display:none}
  .yt-watch-page{display:block;padding:0 0 28px}
  .yt-watch-player{border-radius:0}
  .yt-watch-title,.yt-watch-toolbar,.yt-watch-desc,.yt-comments{margin-left:12px;margin-right:12px}
  .yt-watch-toolbar{display:block}
  .yt-watch-channel{margin-bottom:10px}
  .yt-watch-actions{width:100%;overflow-x:auto;justify-content:flex-start}
  .yt-watch-related{display:block;padding:0 12px}
  .yt-watch-related__item{grid-template-columns:160px minmax(0,1fr) 18px}
  .yt-watch-related__thumb{width:160px;height:90px}
  .yt-watch-save select{max-width:145px}
  .ytapp--watch.is-theater .yt-watch-column{padding:0}
  .ytapp--watch.is-theater .yt-watch-title,.ytapp--watch.is-theater .yt-watch-toolbar,.ytapp--watch.is-theater .yt-watch-desc,.ytapp--watch.is-theater .yt-comments{margin-left:12px;margin-right:12px}
  .ytapp--watch.is-theater .yt-watch-related{display:block;padding:0 12px}
}
/* 1.2.0: never cover native player controls. YouTube/HTML5 keeps its own settings, theater/fullscreen surface. */
.ytapp--watch .yt-watch-player__fallback-controls{display:none!important}
.ytapp--watch.is-watch-sidebar-open .yt-main--watch{left:0!important}
.yt-watch-more-wrap{position:relative;flex-shrink:0}
.yt-watch-more-menu{position:absolute;right:0;top:42px;z-index:80;min-width:220px;padding:8px 0;border-radius:12px;background:var(--yt-elevated);box-shadow:0 8px 30px rgba(0,0,0,.42);overflow:hidden}
.yt-watch-more-menu[hidden]{display:none!important}
.yt-watch-more-menu button{width:100%;height:40px;padding:0 14px;border:0;background:transparent;color:var(--yt-text);display:flex;align-items:center;gap:12px;text-align:left;cursor:pointer;font-size:14px}
.yt-watch-more-menu button:hover{background:var(--yt-hover)}
.yt-watch-more-menu button i{width:18px;text-align:center}
.yt-watch-save-wrap{position:relative;flex-shrink:0}
.yt-watch-save-menu{position:absolute;right:0;top:42px;z-index:80;min-width:230px;max-height:320px;overflow:auto;padding:8px 0;border-radius:12px;background:var(--yt-elevated);box-shadow:0 8px 30px rgba(0,0,0,.42)}
.yt-watch-save-menu[hidden]{display:none!important}
.yt-watch-save-menu button{width:100%;height:40px;padding:0 14px;border:0;background:transparent;color:var(--yt-text);display:grid;grid-template-columns:20px minmax(0,1fr) 18px;align-items:center;gap:10px;text-align:left;cursor:pointer;font-size:14px}
.yt-watch-save-menu button:hover{background:var(--yt-hover)}
.yt-watch-save-menu button>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.yt-watch-save-menu button.is-active .yt-watch-save-menu__check{opacity:1}
.yt-watch-save-menu__check{opacity:0;color:var(--yt-blue)}
.yt-watch-save-menu__sep{height:1px;background:var(--yt-border);margin:6px 0}
.yt-watch-save-menu__label{padding:6px 14px;color:var(--yt-text-2);font-size:12px;font-weight:700}

/* ======================================================================
   PEKEDU Video 1.2.1 â€” final visual/interaction pass
   ====================================================================== */

/* Metadata: each metric gets its own clear row, with icon. */
.yt-card__stats,
.py-card .py-meta,
.yt-watch-related__stats {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:3px;
}
.yt-card__stat,
.py-info-line,
.yt-watch-related__stats > span,
.py-channel-stats--icons > span {
    display:inline-flex;
    align-items:center;
    gap:6px;
    min-height:18px;
    color:var(--yt-text-2);
    font-size:12px;
    line-height:1.35;
}
.yt-card__stat i,
.py-info-line i,
.yt-watch-related__stats i,
.py-channel-stats--icons i {
    width:14px;
    flex:0 0 14px;
    text-align:center;
    color:var(--yt-text-2);
    font-size:12px;
}
.yt-card__dot { display:none!important; }
.py-card .py-channel-link { display:inline-flex;align-items:center;gap:5px;margin-bottom:3px; }
.py-card .yt-card__avatar img { width:100%;height:100%;object-fit:cover;display:block;border-radius:50%; }

/* Make headings / helper rows visually unambiguous. */
.py-section-title h2 { display:flex;align-items:center;gap:8px; }
.py-section-title h2 > i { color:var(--yt-text-2);font-size:.88em; }
.py-section-title .py-meta { display:inline-flex;flex-direction:row;align-items:center;gap:6px; }
.py-info-line { margin-top:3px; }

/* Related videos: chip rail and compact YouTube rows. */
.yt-watch-page { grid-template-columns:minmax(0,1fr) 440px;gap:24px; }
.yt-watch-related { min-width:0; }
.yt-watch-related__chips {
    display:flex;
    align-items:center;
    gap:8px;
    overflow-x:auto;
    scrollbar-width:none;
    margin:0 0 14px;
    padding:2px 0;
    position:sticky;
    top:0;
    z-index:10;
    background:var(--yt-bg);
}
.yt-watch-related__chips::-webkit-scrollbar { display:none; }
.yt-watch-related__chips button {
    border:0;
    min-height:32px;
    padding:0 12px;
    border-radius:9px;
    background:var(--yt-chip);
    color:var(--yt-text);
    white-space:nowrap;
    font-size:13px;
    font-weight:600;
    cursor:pointer;
}
.yt-watch-related__chips button:hover { background:var(--yt-chip-hover); }
.yt-watch-related__chips button.is-active { background:var(--yt-text);color:var(--yt-bg); }
.yt-watch-related__list { min-width:0; }
.yt-watch-related__item {
    grid-template-columns: 240px minmax(0, 1fr) 24px !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
}
.yt-watch-related__thumb { width: 240px !important; height: 135px !important; border-radius: 12px !important; }
.yt-watch-related__channel { display:flex;align-items:center;gap:5px;margin-bottom:4px; }
.yt-watch-related__channel i { font-size:11px;color:var(--yt-text-2); }
.yt-watch-related__stats { gap:2px; }
.yt-watch-related__stats > span { font-size:11.5px; }
.yt-watch-related__item[hidden] { display:none!important; }

/* Watch description + comments â€” clearer labels/icons. */
.yt-watch-desc__meta { display:flex;align-items:center;gap:16px;flex-wrap:wrap; }
.yt-watch-desc__meta span { display:inline-flex;align-items:center;gap:7px;color:var(--yt-text); }
.yt-watch-desc__meta i { color:var(--yt-text-2);width:14px;text-align:center; }
.yt-comments__head h2 { display:flex;align-items:center;gap:8px; }
.yt-comments__head h2 > i { color:var(--yt-text-2);font-size:18px; }
.yt-comments__sort { color:var(--yt-text)!important;background:transparent!important; }
.yt-cmtbox__input { color:var(--yt-text)!important;background:transparent!important;border-bottom-color:var(--yt-border)!important; }
.yt-cmtbox__input::placeholder { color:var(--yt-text-2)!important;opacity:1; }

/* Channel page: no stretched blurry banner; align all action buttons on one row. */
.py-channel-hero--clean { padding:18px 4px 22px;border-bottom:1px solid var(--yt-border);margin-bottom:22px; }
.py-channel-hero--clean .py-channel-head { display:flex;align-items:flex-start;justify-content:space-between;gap:24px; }
.py-channel-profile { display:flex;align-items:flex-start;gap:18px;min-width:0;flex:1; }
.py-channel-profile__text { min-width:0;max-width:980px; }
.py-channel-hero--clean .py-channel-avatar { width:96px;height:96px;flex:0 0 96px;border:0;box-shadow:none; }
.py-channel-hero--clean .py-channel-title { margin:2px 0 7px;font-size:28px;line-height:1.2; }
.py-channel-stats--icons { display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;margin-bottom:8px; }
.py-channel-desc { max-width:980px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden; }
.py-channel-actions-row { display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:nowrap;flex:0 0 auto;padding-top:2px; }
.py-channel-action-form,.py-channel-manage--row,.py-channel-manage--row form { display:flex;align-items:center;gap:8px;margin:0; }
.py-channel-manage--row { margin:0!important; }
.py-btn-channel { height:38px;white-space:nowrap;border-radius:19px!important;padding:0 15px!important; }

/* Subscription page gets channel list + random videos. */
.py-subscriptions-channels { margin-bottom:30px; }
.py-subscription-videos { border-top:1px solid var(--yt-border);padding-top:22px; }
.py-channel-search-card .py-info-line { display:flex!important; }

/* Dark/light contrast: override hard-coded legacy colors at the very end. */
.ytapp { color:var(--yt-text);background:var(--yt-bg); }
.ytapp .yt-subpage,
.ytapp .py-section,
.ytapp .py-channel-hero,
.ytapp .py-form-card,
.ytapp .py-playlist-card,
.ytapp .py-channel-search-card,
.ytapp .py-search-playlist,
.ytapp .py-list-table,
.ytapp .yt-watch-desc,
.ytapp .yt-comments { color:var(--yt-text); }
.ytapp .py-card-title,
.ytapp .py-card-title a,
.ytapp .py-channel-title,
.ytapp .py-section-title h2,
.ytapp .py-channel-search-card strong,
.ytapp .yt-comment__name,
.ytapp .yt-comment__text { color:var(--yt-text)!important; }
.ytapp .py-meta,
.ytapp .py-channel-desc,
.ytapp .py-channel-stats,
.ytapp .py-channel-search-card span,
.ytapp .py-channel-search-card p,
.ytapp .yt-comment__time { color:var(--yt-text-2)!important; }
.ytapp .py-channel-search-card,
.ytapp .py-search-playlist,
.ytapp .py-playlist-card { background:var(--yt-bg-2)!important;border-color:var(--yt-border)!important; }
.ytapp[data-theme="light"] .yt-watch-action.is-active,
.ytapp[data-theme="light"] .yt-watch-subscribe.is-active { background:#e5e5e5!important;color:#0f0f0f!important; }
.ytapp[data-theme="light"] .yt-watch-desc,
.ytapp[data-theme="light"] .py-channel-search-card,
.ytapp[data-theme="light"] .py-search-playlist,
.ytapp[data-theme="light"] .py-playlist-card { background:#f2f2f2!important;color:#0f0f0f!important;border-color:#dedede!important; }
.ytapp[data-theme="light"] .yt-watch-related__chips { background:#fff; }
.ytapp[data-theme="light"] .yt-watch-related__chips button { background:#f2f2f2;color:#0f0f0f; }
.ytapp[data-theme="light"] .yt-watch-related__chips button.is-active { background:#0f0f0f;color:#fff; }
.ytapp[data-theme="light"] .yt-cmtbox__input { color:#0f0f0f!important;border-bottom-color:#d7d7d7!important; }
.ytapp[data-theme="light"] .yt-cmtbox__input::placeholder { color:#606060!important; }
.ytapp[data-theme="light"] .yt-comments__sort { color:#0f0f0f!important; }

/* Fullscreen control is always discoverable but does not cover YouTube native controls. */
.ytapp--watch .yt-watch-player__fallback-controls {
    display:flex!important;
    right:10px!important;
    top:10px!important;
    bottom:auto!important;
    opacity:0;
    pointer-events:none;
}
.ytapp--watch .yt-watch-player:hover .yt-watch-player__fallback-controls,
.ytapp--watch .yt-watch-player:focus-within .yt-watch-player__fallback-controls,
.ytapp--watch.is-webos-fullscreen .yt-watch-player__fallback-controls {
    opacity:1;
    pointer-events:auto;
}
.ytapp--watch .yt-watch-player__fallback-controls button { background:rgba(0,0,0,.58);box-shadow:0 2px 10px rgba(0,0,0,.25); }

/* WebOS multi-iframe fullscreen fallback: player fills the actual browser viewport. */
html.pek-video-no-scroll,body.pek-video-no-scroll { overflow:hidden!important; }
.ytapp--watch.is-webos-fullscreen { position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;z-index:2147483646!important;background:#000!important; }
.ytapp--watch.is-webos-fullscreen .yt-header,
.ytapp--watch.is-webos-fullscreen .yt-sidebar,
.ytapp--watch.is-webos-fullscreen .yt-watch-drawer-backdrop { display:none!important; }
.ytapp--watch.is-webos-fullscreen .yt-main--watch { position:fixed!important;inset:0!important;overflow:hidden!important;background:#000!important; }
.ytapp--watch.is-webos-fullscreen .yt-watch-page { display:block!important;position:fixed!important;inset:0!important;max-width:none!important;padding:0!important;margin:0!important; }
.ytapp--watch.is-webos-fullscreen .yt-watch-column { position:fixed!important;inset:0!important;max-width:none!important;padding:0!important;margin:0!important; }
.ytapp--watch.is-webos-fullscreen .yt-watch-player { position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;aspect-ratio:auto!important;border-radius:0!important;z-index:2147483647!important; }
.ytapp--watch.is-webos-fullscreen .yt-watch-player__media { width:100%!important;height:100%!important; }
.ytapp--watch.is-webos-fullscreen .yt-watch-title,
.ytapp--watch.is-webos-fullscreen .yt-watch-toolbar,
.ytapp--watch.is-webos-fullscreen .yt-watch-desc,
.ytapp--watch.is-webos-fullscreen .yt-comments,
.ytapp--watch.is-webos-fullscreen .yt-watch-related { display:none!important; }

@media(max-width:1380px){
    .yt-watch-page{grid-template-columns:minmax(0,1fr) 390px;gap:18px;padding:18px;}
    .yt-watch-related__item{grid-template-columns:166px minmax(0,1fr) 18px;}
    .yt-watch-related__thumb{width:166px;height:93px;}
    .py-channel-hero--clean .py-channel-head{flex-direction:column;}
    .py-channel-actions-row{width:100%;justify-content:flex-start;}
}
@media(max-width:1040px){
    .yt-watch-related__chips{grid-column:1/-1;}
    .yt-watch-related__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;}
    .yt-watch-related__item{margin:0;}
}
@media(max-width:720px){
    .yt-watch-related__list{display:block;}
    .py-channel-profile{align-items:center;}
    .py-channel-hero--clean .py-channel-avatar{width:72px;height:72px;flex-basis:72px;}
    .py-channel-hero--clean .py-channel-title{font-size:22px;}
    .py-channel-actions-row,.py-channel-action-form,.py-channel-manage--row,.py-channel-manage--row form{flex-wrap:wrap;}
}

/* ==================== PEKEDU VIDEO AI 1.3 ==================== */
.yt-watch-action--ai{background:linear-gradient(135deg,rgba(62,166,255,.20),rgba(168,85,247,.18))!important;border:1px solid rgba(126,154,255,.28)!important}
.yt-watch-action--ai i{color:#9cc8ff}
.yt-ai-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.34);z-index:2050;backdrop-filter:blur(2px)}
.yt-ai-panel{position:fixed;top:0;right:0;bottom:0;width:min(440px,94vw);z-index:2051;background:var(--yt-bg);color:var(--yt-text);border-left:1px solid var(--yt-border);box-shadow:-18px 0 50px rgba(0,0,0,.35);display:flex;flex-direction:column;animation:ytAiSlide .18s ease-out}
@keyframes ytAiSlide{from{transform:translateX(28px);opacity:.3}to{transform:translateX(0);opacity:1}}
.yt-ai-panel__head{min-height:64px;padding:12px 14px 10px 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--yt-border)}
.yt-ai-panel__head>div{display:flex;flex-direction:column;gap:3px}.yt-ai-panel__head strong{display:flex;align-items:center;gap:8px;font-size:17px}.yt-ai-panel__head strong i{color:#7ab8ff}.yt-ai-panel__head small{font-size:12px;color:var(--yt-text-2)}
.yt-ai-panel__head>button{width:38px;height:38px;border:0;border-radius:50%;background:transparent;color:var(--yt-text);cursor:pointer}.yt-ai-panel__head>button:hover{background:var(--yt-hover)}
.yt-ai-panel__quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px 14px 4px}
.yt-ai-panel__quick button{min-height:52px;border:1px solid var(--yt-border);background:var(--yt-bg-2);color:var(--yt-text);border-radius:12px;padding:8px 10px;display:flex;align-items:center;gap:9px;text-align:left;cursor:pointer;transition:background .15s ease,transform .15s ease}
.yt-ai-panel__quick button:hover{background:var(--yt-hover);transform:translateY(-1px)}.yt-ai-panel__quick button i{width:18px;text-align:center;color:#8ec5ff}.yt-ai-panel__quick .yt-ai-transcribe{grid-column:1/-1}
.yt-ai-note{margin:8px 14px 2px;padding:9px 10px;border-radius:10px;background:rgba(62,166,255,.08);color:var(--yt-text-2);font-size:12px;line-height:1.45;display:flex;gap:8px}.yt-ai-note i{margin-top:2px;color:#6fb7ff}
.yt-ai-chat{flex:1;min-height:0;overflow:auto;padding:14px;display:flex;flex-direction:column;gap:12px}
.yt-ai-welcome{display:flex;gap:12px;padding:18px 12px;color:var(--yt-text)}.yt-ai-welcome p{margin:4px 0 0;color:var(--yt-text-2);font-size:13px}.yt-ai-spark{width:38px;height:38px;flex:0 0 38px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#3ea6ff,#8b5cf6);color:#fff}
.yt-ai-msg{max-width:92%;padding:10px 12px;border-radius:14px;line-height:1.55;white-space:pre-wrap;font-size:14px;word-break:break-word}.yt-ai-msg.is-user{align-self:flex-end;background:#3ea6ff;color:#071018;border-bottom-right-radius:4px}.yt-ai-msg.is-ai{align-self:flex-start;background:var(--yt-bg-2);border:1px solid var(--yt-border);color:var(--yt-text);border-bottom-left-radius:4px}.yt-ai-msg.is-error{align-self:flex-start;background:rgba(220,38,38,.14);border:1px solid rgba(220,38,38,.28);color:#ffb4b4}.yt-ai-msg.is-loading{color:var(--yt-text-2);font-style:italic}
.yt-ai-composer{padding:10px 12px 14px;border-top:1px solid var(--yt-border);display:flex;align-items:flex-end;gap:8px;background:var(--yt-bg)}
.yt-ai-composer textarea{flex:1;min-height:42px;max-height:120px;resize:none;border:1px solid var(--yt-border);border-radius:20px;background:var(--yt-bg-2);color:var(--yt-text);padding:10px 14px;outline:none;line-height:1.35}.yt-ai-composer textarea:focus{border-color:#3ea6ff}.yt-ai-composer textarea::placeholder{color:var(--yt-text-2)}
.yt-ai-composer button{width:42px;height:42px;flex:0 0 42px;border:0;border-radius:50%;background:#3ea6ff;color:#06121a;cursor:pointer}.yt-ai-composer button:disabled{opacity:.45;cursor:default}
.yt-ai-badge{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:600;color:#8bc5ff;border:1px solid rgba(62,166,255,.28);border-radius:999px;padding:2px 7px;margin-left:6px;vertical-align:middle}
.ytapp[data-theme="light"] .yt-ai-panel{background:#fff;color:#0f0f0f;border-color:#ddd}.ytapp[data-theme="light"] .yt-ai-panel__quick button,.ytapp[data-theme="light"] .yt-ai-msg.is-ai,.ytapp[data-theme="light"] .yt-ai-composer textarea{background:#f2f2f2;color:#0f0f0f;border-color:#ddd}.ytapp[data-theme="light"] .yt-ai-composer{background:#fff;border-color:#ddd}.ytapp[data-theme="light"] .yt-ai-note{background:#eef6ff;color:#4b5563}.ytapp[data-theme="light"] .yt-ai-panel__head small,.ytapp[data-theme="light"] .yt-ai-welcome p{color:#606060}
@media(max-width:600px){.yt-ai-panel{width:100vw}.yt-ai-panel__quick{grid-template-columns:1fr}.yt-ai-panel__quick .yt-ai-transcribe{grid-column:auto}}


/* ======================================================================
   PEKEDU Video 1.3.1 â€” Sidebar polish + reliable watch drawer
   Gá»n nhÆ° module Video cÅ©, trĂ¡nh chá»“ng vá»›i thanh cĂ´ng cá»¥ WebOS bĂªn trĂ¡i.
   ====================================================================== */
.ytapp {
    --yt-sidebar-w: 240px;
}
.ytapp .yt-sidebar {
    width: var(--yt-sidebar-w);
    padding: 10px 10px 16px 22px;
    background: var(--yt-bg);
    border-right: 1px solid var(--yt-border);
}
.ytapp .yt-sb__section {
    padding: 6px 0;
}
.ytapp .yt-sb__item {
    height: 40px;
    min-height: 40px;
    padding: 0 10px;
    gap: 16px;
    border-radius: 10px;
    color: var(--yt-text);
    font-size: 14px;
    font-weight: 400;
    transition: background-color .14s ease, color .14s ease;
}
.ytapp .yt-sb__item:hover {
    background: var(--yt-hover);
    color: var(--yt-text);
    transform: none;
}
.ytapp .yt-sb__item.is-active {
    background: #272727;
    color: #fff;
    font-weight: 600;
}
.ytapp .yt-sb__icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    font-size: 18px;
}
.ytapp .yt-sb__icon i {
    width: 22px;
    text-align: center;
    line-height: 22px;
}
.ytapp .yt-sb__label {
    min-width: 0;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ytapp .yt-sb__divider {
    margin: 10px 2px;
    border-color: var(--yt-border);
}
.ytapp .yt-sb__title {
    padding: 8px 10px 6px;
    color: var(--yt-text);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
}
.ytapp .yt-sb__subscriptions {
    gap: 1px;
    margin: 2px 0 5px;
}
.ytapp .yt-sb__channel,
.ytapp .yt-sb__more {
    min-height: 38px;
    padding: 0 10px;
    gap: 16px;
    border-radius: 10px;
    color: var(--yt-text);
    font-size: 13px;
    transition: background-color .14s ease;
}
.ytapp .yt-sb__channel:hover,
.ytapp .yt-sb__more:hover {
    background: var(--yt-hover);
}
.ytapp .yt-sb__chan-avatar {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}
.ytapp .yt-sb__more {
    color: var(--yt-text-2);
    font-size: 12px;
    font-weight: 600;
}
.ytapp .yt-sb__footer {
    padding: 12px 10px 4px;
    color: #717171;
    font-size: 12px;
    line-height: 1.65;
}
.ytapp .yt-sb__footer a {
    color: #8c8c8c;
}
.ytapp .yt-sb__footer a:hover {
    color: var(--yt-text);
}
.ytapp .yt-sb__foot-copy {
    margin-top: 10px;
    color: #717171;
}

/* Light theme keeps the same hierarchy/contrast. */
.ytapp[data-theme="light"] .yt-sidebar {
    background: #fff;
    border-right-color: #e5e5e5;
}
.ytapp[data-theme="light"] .yt-sb__item.is-active {
    background: #f2f2f2;
    color: #0f0f0f;
}
.ytapp[data-theme="light"] .yt-sb__item:hover,
.ytapp[data-theme="light"] .yt-sb__channel:hover,
.ytapp[data-theme="light"] .yt-sb__more:hover {
    background: #f2f2f2;
}
.ytapp[data-theme="light"] .yt-sb__chan-avatar {
    box-shadow: 0 0 0 1px rgba(0,0,0,.10);
}
.ytapp[data-theme="light"] .yt-sb__footer,
.ytapp[data-theme="light"] .yt-sb__foot-copy {
    color: #606060;
}
.ytapp[data-theme="light"] .yt-sb__footer a {
    color: #606060;
}

/* Watch page: sidebar is a real off-canvas drawer. It starts closed but can
   always be reopened by the hamburger button, without moving/reloading player. */
.ytapp--watch .yt-sidebar.yt-watch-drawer {
    display: block !important;
    position: fixed !important;
    top: var(--yt-header-h) !important;
    left: 0 !important;
    bottom: 0 !important;
    width: var(--yt-sidebar-w) !important;
    z-index: 170 !important;
    transform: translateX(-104%) !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: transform .20s cubic-bezier(.2,0,0,1) !important;
    box-shadow: 14px 0 34px rgba(0,0,0,.34);
}
.ytapp--watch.is-watch-sidebar-open .yt-sidebar.yt-watch-drawer {
    transform: translateX(0) !important;
}
.ytapp--watch .yt-watch-drawer-backdrop {
    display: block;
    position: fixed;
    inset: var(--yt-header-h) 0 0 0;
    z-index: 160;
    background: rgba(0,0,0,.52);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .20s ease, visibility .20s ease;
}
.ytapp--watch.is-watch-sidebar-open .yt-watch-drawer-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.ytapp--watch.is-watch-sidebar-open .yt-main--watch,
.ytapp--watch .yt-main--watch {
    left: 0 !important;
}
.ytapp--watch .yt-header__start [data-yt-toggle-sidebar] {
    position: relative;
    z-index: 190;
}

@media (max-width: 720px) {
    .ytapp .yt-sidebar,
    .ytapp--watch .yt-sidebar.yt-watch-drawer {
        width: min(240px, 84vw) !important;
        padding-left: 18px;
    }
}

/* ======================================================================
   PEKEDU Video 1.3.2 â€” YouTube-clean player controls + opt-in AI panel
   ====================================================================== */

/* AI recommendation still powers ranking in the backend, but the homepage
   deliberately does not advertise/internal-label it to users. */
.yt-ai-badge { display:none!important; }

/* The viewing surface must not add a second toolbar on top of YouTube's own
   native controls. Old cached markup is neutralized too. */
.ytapp--watch .yt-watch-player__fallback-controls { display:none!important; }
.ytapp--watch .yt-watch-player { position:relative;overflow:hidden;background:#000; }
.ytapp--watch .yt-watch-player__media { display:block;background:#000; }
.ytapp--watch .yt-watch-player.is-player-idle { cursor:none; }

/* Below-player actions follow YouTube's one-row pill system. AI is just one
   optional action â€” no special glowing/persistent treatment. */
.ytapp--watch .yt-watch-actions {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
    min-width:0;
}
.ytapp--watch .yt-watch-action,
.ytapp--watch .yt-watch-vote {
    min-height:36px;
}
.ytapp--watch .yt-watch-action--question,
.ytapp--watch .yt-watch-action--ai {
    background:var(--yt-chip)!important;
    border:0!important;
    color:var(--yt-text)!important;
    box-shadow:none!important;
}
.ytapp--watch .yt-watch-action--question:hover,
.ytapp--watch .yt-watch-action--ai:hover,
.ytapp--watch .yt-watch-action--question.is-active {
    background:var(--yt-chip-hover)!important;
}
.ytapp--watch .yt-watch-action--question i,
.ytapp--watch .yt-watch-action--ai i { color:currentColor!important; }

/* hidden is authoritative. Previous CSS declared display:flex on the panel,
   which overrode the browser's [hidden] rule and made AI impossible to close. */
.yt-ai-panel[hidden],
.yt-ai-backdrop[hidden] { display:none!important; }
.yt-ai-panel { transform:translateX(0); }
.yt-ai-panel__close {
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    width:40px!important;
    height:40px!important;
    border-radius:50%!important;
    cursor:pointer!important;
    flex:0 0 40px;
}
.yt-ai-panel__close:hover { background:var(--yt-hover)!important; }

/* Light mode parity for the same controls. */
.ytapp[data-theme="light"] .yt-watch-action--question,
.ytapp[data-theme="light"] .yt-watch-action--ai {
    background:#f2f2f2!important;
    color:#0f0f0f!important;
}
.ytapp[data-theme="light"] .yt-watch-action--question:hover,
.ytapp[data-theme="light"] .yt-watch-action--question.is-active,
.ytapp[data-theme="light"] .yt-watch-action--ai:hover { background:#e5e5e5!important; }

@media (max-width:900px) {
    .ytapp--watch .yt-watch-toolbar { align-items:flex-start; }
    .ytapp--watch .yt-watch-actions { justify-content:flex-start;overflow-x:auto;scrollbar-width:none; }
    .ytapp--watch .yt-watch-actions::-webkit-scrollbar { display:none; }
}
/* Invisible hit area exactly over the player's native fullscreen position.
   It preserves YouTube's visible toolbar but routes the click through PEKEDU's
   WebOS-aware fullscreen routine, which works across nested same-origin frames. */
.ytapp--watch .yt-watch-player__fullscreen-hotspot {
    position:absolute;
    right:0;
    bottom:0;
    z-index:7;
    width:58px;
    height:54px;
    padding:0;
    margin:0;
    border:0;
    outline:0;
    background:transparent;
    opacity:0;
    cursor:pointer;
}
.ytapp--watch.is-webos-fullscreen .yt-watch-player__fullscreen-hotspot { position:fixed;right:0;bottom:0; }

/* ========================================================================
   PEKEDU Video 1.3.3 â€” single custom player layer
   Native YouTube/browser controls are intentionally disabled. All controls
   below belong to PEKEDU, preventing old iframe UI/hotspots from covering or
   overriding the requested YouTube-like layout.
   ======================================================================== */
.ytapp--watch .yt-watch-player__fullscreen-hotspot,
.ytapp--watch .yt-watch-player__fallback-controls { display:none!important; }

.ytapp--watch .yt-custom-player {
    position:relative;
    isolation:isolate;
    background:#000;
    overflow:hidden;
    user-select:none;
    -webkit-user-select:none;
    touch-action:manipulation;
}
.ytapp--watch .yt-custom-player .yt-watch-player__media {
    position:absolute;
    inset:0;
    width:100%!important;
    height:100%!important;
    border:0;
    display:block;
    object-fit:contain;
    background:#000;
    z-index:1;
}
/* The cross-origin YouTube iframe no longer receives pointer input. Its
   playback is driven through IFrame Player API, so no internal overlay can
   capture clicks or visually compete with PEKEDU controls. */
.ytapp--watch .yt-custom-player iframe.yt-watch-player__media { pointer-events:none; }

.yt-player-clicklayer {
    position:absolute;
    inset:0;
    z-index:2;
    cursor:pointer;
    background:transparent;
}
.yt-player-bigplay {
    position:absolute;
    left:50%;top:50%;
    transform:translate(-50%,-50%);
    z-index:5;
    width:64px;height:64px;
    border:0;border-radius:50%;
    display:flex;align-items:center;justify-content:center;
    background:rgba(0,0,0,.52);
    color:#fff;
    font-size:26px;
    cursor:pointer;
    opacity:0;
    pointer-events:none;
    transition:opacity .13s ease,background .13s ease,transform .13s ease;
    backdrop-filter:blur(2px);
    box-shadow:0 4px 24px rgba(0,0,0,.25);
}
.yt-player-bigplay i { margin-left:3px; }
.yt-player-bigplay:hover { background:rgba(0,0,0,.72);transform:translate(-50%,-50%) scale(1.04); }
.yt-custom-player.is-paused .yt-player-bigplay,
.yt-custom-player:not(.is-player-ready) .yt-player-bigplay { opacity:1;pointer-events:auto; }
.yt-custom-player.is-playing .yt-player-bigplay { opacity:0;pointer-events:none; }

.yt-player-controls {
    position:absolute;
    left:0;right:0;bottom:0;
    z-index:6;
    padding:32px 12px 8px;
    color:#fff;
    background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.12) 28%,rgba(0,0,0,.72) 100%);
    opacity:0;
    transform:translateY(7px);
    pointer-events:none;
    transition:opacity .12s linear,transform .12s ease;
}
.yt-custom-player.is-controls-visible .yt-player-controls,
.yt-custom-player.is-paused .yt-player-controls,
.yt-custom-player:not(.is-player-ready) .yt-player-controls,
.yt-player-controls:focus-within,
.yt-player-controls:hover {
    opacity:1;
    transform:none;
    pointer-events:auto;
}
.yt-custom-player.is-controls-hidden.is-playing { cursor:none; }
.yt-custom-player.is-controls-hidden.is-playing .yt-player-controls { opacity:0;transform:translateY(7px);pointer-events:none; }

.yt-player-seek {
    position:relative;
    height:14px;
    margin:0 2px 2px;
    cursor:pointer;
    touch-action:none;
    display:flex;
    align-items:center;
}
.yt-player-seek__track {
    position:relative;
    width:100%;height:3px;
    background:rgba(255,255,255,.28);
    transition:height .1s ease;
}
.yt-player-seek:hover .yt-player-seek__track,
.yt-player-seek:focus .yt-player-seek__track { height:5px; }
.yt-player-seek__buffer,
.yt-player-seek__fill {
    position:absolute;left:0;top:0;bottom:0;width:0;
}
.yt-player-seek__buffer { background:rgba(255,255,255,.42); }
.yt-player-seek__fill { background:#f03; }
.yt-player-seek__handle {
    position:absolute;top:50%;left:0;
    width:12px;height:12px;border-radius:50%;
    background:#f03;
    transform:translate(-50%,-50%) scale(0);
    transition:transform .1s ease;
}
.yt-player-seek:hover .yt-player-seek__handle,
.yt-player-seek:focus .yt-player-seek__handle { transform:translate(-50%,-50%) scale(1); }

.yt-player-controls__row {
    display:flex;align-items:center;gap:3px;
    min-height:40px;
}
.yt-player-ctrl {
    width:40px;height:40px;
    flex:0 0 40px;
    border:0;border-radius:50%;
    background:transparent;
    color:#fff;
    display:inline-flex;align-items:center;justify-content:center;
    cursor:pointer;
    font-size:17px;
    opacity:.96;
    transition:background .12s ease,opacity .12s ease;
}
.yt-player-ctrl:hover,.yt-player-ctrl:focus-visible,.yt-player-ctrl.is-active { background:rgba(255,255,255,.15);opacity:1;outline:0; }
.yt-player-ctrl--cc { width:auto;min-width:38px;padding:0 7px;border-radius:4px;font-size:11px;font-weight:800;letter-spacing:.04em; }
.yt-player-ctrl--cc.is-active { background:#fff;color:#111; }

.yt-player-volume { display:flex;align-items:center;min-width:40px; }
.yt-player-volume input[type="range"] {
    width:0;opacity:0;
    margin:0 4px 0 0;
    accent-color:#fff;
    cursor:pointer;
    transition:width .14s ease,opacity .14s ease;
}
.yt-player-volume:hover input[type="range"],
.yt-player-volume:focus-within input[type="range"] { width:68px;opacity:1; }
.yt-player-time { color:#fff;font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap;margin-left:3px;text-shadow:0 1px 2px #000; }
.yt-player-spacer { flex:1 1 auto; }

.yt-player-autoplay { width:42px;height:24px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex:0 0 42px;margin-right:1px; }
.yt-player-autoplay input { position:absolute;opacity:0;pointer-events:none; }
.yt-player-autoplay__track { position:relative;width:30px;height:14px;border-radius:8px;background:rgba(255,255,255,.42);transition:background .12s ease; }
.yt-player-autoplay__track span { position:absolute;top:-3px;left:-1px;width:20px;height:20px;border-radius:50%;background:#bdbdbd;box-shadow:0 1px 4px rgba(0,0,0,.45);transition:transform .15s ease,background .15s ease; }
.yt-player-autoplay input:checked + .yt-player-autoplay__track { background:rgba(62,166,255,.65); }
.yt-player-autoplay input:checked + .yt-player-autoplay__track span { transform:translateX(13px);background:#fff; }

.yt-player-settings-wrap { position:relative; }
.yt-player-settings {
    position:absolute;
    right:0;bottom:46px;
    width:210px;
    padding:8px 0;
    border-radius:10px;
    background:rgba(28,28,28,.98);
    color:#fff;
    box-shadow:0 6px 24px rgba(0,0,0,.45);
    overflow:hidden;
}
.yt-player-settings[hidden] { display:none!important; }
.yt-player-settings__title { padding:7px 14px 9px;font-size:13px;font-weight:700;border-bottom:1px solid rgba(255,255,255,.12); }
.yt-player-rate { display:block;width:100%;height:36px;border:0;background:transparent;color:#fff;text-align:left;padding:0 14px;cursor:pointer;font-size:13px; }
.yt-player-rate:hover { background:rgba(255,255,255,.1); }
.yt-player-rate.is-active::after { content:'âœ“';float:right;font-weight:700; }

/* Fullscreen keeps the single control system, no second overlay. */
.ytapp--watch.is-webos-fullscreen .yt-player-controls,
.yt-watch-player:fullscreen .yt-player-controls,
.yt-watch-player:-webkit-full-screen .yt-player-controls { z-index:2147483647; }
.ytapp--watch.is-webos-fullscreen .yt-player-settings { bottom:50px; }

@media(max-width:760px){
    .yt-player-controls{padding-left:7px;padding-right:7px;padding-bottom:5px}
    .yt-player-ctrl{width:36px;height:36px;flex-basis:36px;font-size:15px}
    .yt-player-time{font-size:12px}
    .yt-player-volume input[type="range"]{display:none}
    .yt-player-autoplay{display:none}
}

/* ========================================================================
   PEKEDU Video 1.3.4 â€” native fullscreen first + fullscreen-safe controls
   ======================================================================== */
.yt-watch-player:fullscreen,
.yt-watch-player:-webkit-full-screen {
    width:100vw!important;
    height:100vh!important;
    max-width:none!important;
    max-height:none!important;
    aspect-ratio:auto!important;
    border-radius:0!important;
    background:#000!important;
    overflow:hidden!important;
}
.yt-watch-player:fullscreen .yt-watch-player__media,
.yt-watch-player:-webkit-full-screen .yt-watch-player__media {
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
}
.yt-watch-player:fullscreen .yt-player-controls,
.yt-watch-player:-webkit-full-screen .yt-player-controls {
    position:absolute!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    z-index:2147483647!important;
    padding-bottom:calc(10px + env(safe-area-inset-bottom, 0px))!important;
}
.yt-watch-player:fullscreen .yt-player-settings,
.yt-watch-player:-webkit-full-screen .yt-player-settings {
    bottom:52px!important;
}
/* If browser policy rejects native fullscreen and PEKEDU must use the WebOS
   viewport fallback, keep the controls above a visible Windows taskbar. */
.ytapp--watch.is-webos-fullscreen .yt-player-controls {
    bottom:48px!important;
    padding-bottom:8px!important;
}
.ytapp--watch.is-webos-fullscreen .yt-player-settings { bottom:98px!important; }
.ytapp--watch.is-native-player-fullscreen .yt-player-controls { z-index:2147483647!important; }
.ytapp--watch .yt-watch-action--question { flex:0 0 auto; }

/* ======================================================================
   PEKEDU Video 1.3.6 â€” smooth cards + compact metadata + related chip nav
   ====================================================================== */

/* Card metadata: channel stays on its own line, views + time share one line. */
.ytapp .yt-grid .yt-card__stats,
.ytapp .py-grid .py-card .py-meta {
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    flex-wrap:nowrap !important;
    white-space:nowrap !important;
    overflow:visible !important;
    text-overflow:clip !important;
    gap:4px 10px !important;
}
.ytapp .py-grid .py-card .py-channel-link {
    flex:0 0 100%;
    width:100%;
    margin-bottom:0;
}
.ytapp .yt-grid .yt-card__stat,
.ytapp .py-grid .py-card .yt-card__stat,
.ytapp .yt-watch-related__stats > span {
    display:inline-flex !important;
    align-items:center !important;
    gap:5px !important;
    min-height:17px !important;
    white-space:nowrap;
}
.ytapp .yt-grid .yt-card__stat + .yt-card__stat::before,
.ytapp .py-grid .py-card .yt-card__stat + .yt-card__stat::before,
.ytapp .yt-watch-related__stats > span + span::before {
    content:"·";
    color:var(--yt-text-2);
    margin-right:2px;
    font-weight:700;
}

/* One single, smooth hover layer. Neutralise the older stacked transforms. */
.ytapp .yt-card,
.ytapp .py-card,
.ytapp .yt-short-card,
.ytapp .py-channel-search-card,
.ytapp .py-search-playlist,
.ytapp .py-playlist-card,
.ytapp .yt-watch-related__item,
.ytapp .yt-channel-card {
    transform:translate3d(0,0,0) scale(1) !important;
    transform-origin:center center !important;
    will-change:transform;
    backface-visibility:hidden;
    -webkit-font-smoothing:antialiased;
    transition:transform 180ms cubic-bezier(.2,.72,.2,1), box-shadow 180ms ease, background-color 180ms ease !important;
}
.ytapp .yt-card::before,
.ytapp .py-card::before,
.ytapp .yt-short-card::before,
.ytapp .py-channel-search-card::before,
.ytapp .py-search-playlist::before,
.ytapp .py-playlist-card::before,
.ytapp .yt-watch-related__item::before {
    opacity:0 !important;
    transform:scale(.985) !important;
    transition:opacity 150ms ease, transform 180ms cubic-bezier(.2,.72,.2,1) !important;
}
.ytapp .yt-card__thumb,
.ytapp .py-thumb,
.ytapp .yt-short-card__thumb,
.ytapp .yt-watch-related__thumb,
.ytapp .yt-card__thumb img,
.ytapp .py-thumb img,
.ytapp .yt-short-card__thumb img,
.ytapp .yt-watch-related__thumb img {
    transform:none !important;
    transition:none !important;
}
@media (hover:hover) and (pointer:fine) {
    .ytapp .yt-card:hover,
    .ytapp .py-card:hover,
    .ytapp .yt-short-card:hover,
    .ytapp .py-channel-search-card:hover,
    .ytapp .py-search-playlist:hover,
    .ytapp .py-playlist-card:hover,
    .ytapp .yt-watch-related__item:hover,
    .ytapp .yt-channel-card:hover {
        transform:translate3d(0,-1px,0) scale(1.012) !important;
        box-shadow:0 10px 26px rgba(0,0,0,.24) !important;
        z-index:5;
    }
    .ytapp .yt-card:hover::before,
    .ytapp .py-card:hover::before,
    .ytapp .yt-short-card:hover::before,
    .ytapp .py-channel-search-card:hover::before,
    .ytapp .py-search-playlist:hover::before,
    .ytapp .py-playlist-card:hover::before,
    .ytapp .yt-watch-related__item:hover::before {
        opacity:1 !important;
        transform:scale(1) !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ytapp .yt-card,.ytapp .py-card,.ytapp .yt-short-card,.ytapp .py-channel-search-card,
    .ytapp .py-search-playlist,.ytapp .py-playlist-card,.ytapp .yt-watch-related__item,.ytapp .yt-channel-card {
        transition:none !important;
        transform:none !important;
    }
}

/* YouTube-like horizontal filter rail with left/right arrows. */
.yt-watch-related__chiprow {
    position:sticky;
    top:0;
    z-index:12;
    display:grid;
    grid-template-columns:36px minmax(0,1fr) 36px;
    align-items:center;
    gap:4px;
    margin:0 0 14px;
    padding:2px 0;
    background:var(--yt-bg);
}
.yt-watch-related__chips {
    position:relative !important;
    top:auto !important;
    z-index:auto !important;
    margin:0 !important;
    padding:2px 3px !important;
    scroll-behavior:smooth;
    overscroll-behavior-inline:contain;
}
.yt-watch-related__chips button i { margin-right:5px; }
.yt-watch-related__chipnav {
    width:34px;
    height:34px;
    border:0;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:var(--yt-chip);
    color:var(--yt-text);
    cursor:pointer;
    transition:background-color 140ms ease, opacity 140ms ease, transform 140ms ease;
}
.yt-watch-related__chipnav:hover { background:var(--yt-chip-hover); transform:scale(1.04); }
.yt-watch-related__chipnav.is-disabled { opacity:0; pointer-events:none; }
.yt-watch-related__chipnav i { font-size:13px; }

/* Keep light/dark contrast consistent in the new rail. */
.ytapp[data-theme="light"] .yt-watch-related__chiprow { background:var(--yt-bg); }
.ytapp[data-theme="light"] .yt-watch-related__chipnav { border:1px solid var(--yt-border); }

@media(max-width:720px){
    .yt-watch-related__chiprow{grid-template-columns:32px minmax(0,1fr) 32px;gap:2px}
    .yt-watch-related__chipnav{width:30px;height:30px}
    .ytapp .yt-grid .yt-card__stats,
    .ytapp .py-grid .py-card .py-meta,
    .ytapp .yt-watch-related__stats{gap:3px 8px !important}
}


/* 1.3.9 â€” native media controls for maximum cross-browser reliability. */
.yt-player-native [data-player-controls],
.yt-player-native [data-player-clicklayer],
.yt-player-native [data-player-bigplay] { display:none !important; pointer-events:none !important; }
.yt-player-native .yt-watch-player__media { pointer-events:auto !important; }
.yt-player-native--youtube iframe.yt-watch-player__media,
.yt-player-native--html5 video.yt-watch-player__media {
    width:100% !important; height:100% !important; display:block !important; border:0 !important;
    background:#000; object-fit:contain;
}
.yt-player-native--youtube { background:#000; }

/* 2.3.73: per-card paint containment removed; section-level content-visibility below remains. */
/* ========================================================================
   PEKEDU Video player â€” restored custom player, refined auto-hide/settings
   ======================================================================== */
.ytapp--watch .yt-player-custom { position:relative; background:#000; overflow:hidden; }
.ytapp--watch .yt-player-custom .yt-watch-player__media { position:absolute; inset:0; width:100%!important; height:100%!important; border:0; display:block; background:#000; object-fit:contain; z-index:1; }
.ytapp--watch .yt-youtube-host { overflow:hidden; }
.ytapp--watch .yt-youtube-host > div,
.ytapp--watch .yt-youtube-host iframe { position:absolute!important; inset:0!important; width:100%!important; height:100%!important; border:0!important; display:block!important; }
.ytapp--watch .yt-youtube-host iframe { pointer-events:none!important; }
.ytapp--watch .yt-player-custom [data-player-controls],
.ytapp--watch .yt-player-custom [data-player-clicklayer],
.ytapp--watch .yt-player-custom [data-player-bigplay] { display:block; }
.ytapp--watch .yt-player-custom .yt-player-controls { display:block!important; }
.ytapp--watch .yt-player-custom .yt-player-clicklayer { display:block!important; }
.ytapp--watch .yt-player-custom .yt-player-bigplay { display:flex!important; }

/* Faster, calmer show/hide: reveal on pointer movement, disappear almost immediately after exit. */
.ytapp--watch .yt-player-controls {
    padding:34px 12px calc(8px + env(safe-area-inset-bottom,0px));
    opacity:0;
    transform:translate3d(0,5px,0);
    transition:opacity 90ms linear,transform 120ms cubic-bezier(.2,.7,.2,1);
    will-change:opacity,transform;
}
.ytapp--watch .yt-player-custom.is-controls-visible .yt-player-controls,
.ytapp--watch .yt-player-custom.is-paused .yt-player-controls,
.ytapp--watch .yt-player-custom:not(.is-player-ready) .yt-player-controls,
.ytapp--watch .yt-player-controls:hover,
.ytapp--watch .yt-player-controls:focus-within {
    opacity:1!important;
    transform:none!important;
    pointer-events:auto!important;
}
.ytapp--watch .yt-player-custom.is-controls-hidden.is-playing .yt-player-controls { opacity:0!important; transform:translate3d(0,5px,0)!important; pointer-events:none!important; }
.ytapp--watch .yt-player-custom.is-controls-hidden.is-playing { cursor:none; }
.ytapp--watch .yt-player-custom.is-controls-visible { cursor:default; }

.ytapp--watch .yt-player-bigplay { width:58px;height:58px;font-size:23px;background:rgba(0,0,0,.54);transition:opacity 90ms linear,transform 120ms ease,background 120ms ease; }
.ytapp--watch .yt-player-bigplay:hover { transform:translate(-50%,-50%) scale(1.045);background:rgba(0,0,0,.7); }

/* Settings menu: YouTube-like main menu + nested panels. */
.ytapp--watch .yt-player-settings { width:286px;max-width:min(286px,calc(100vw - 24px));padding:8px 0;border-radius:12px;background:rgba(28,28,28,.985);backdrop-filter:blur(12px); }
.ytapp--watch .yt-player-settings__home[hidden],
.ytapp--watch .yt-player-settings__panel[hidden] { display:none!important; }
.ytapp--watch .yt-player-setting-row,
.ytapp--watch .yt-player-settings__back {
    width:100%;min-height:44px;border:0;background:transparent;color:#fff;display:grid;align-items:center;cursor:pointer;text-align:left;
}
.ytapp--watch .yt-player-setting-row { grid-template-columns:minmax(0,1fr) auto 14px;gap:9px;padding:0 13px; }
.ytapp--watch .yt-player-setting-row > span { display:flex;align-items:center;gap:11px;min-width:0;font-size:13px; }
.ytapp--watch .yt-player-setting-row > span i { width:17px;text-align:center;font-size:14px;opacity:.92; }
.ytapp--watch .yt-player-setting-row > strong { font-size:12px;font-weight:500;color:rgba(255,255,255,.74);white-space:nowrap;max-width:112px;overflow:hidden;text-overflow:ellipsis; }
.ytapp--watch .yt-player-setting-row:hover,
.ytapp--watch .yt-player-settings__back:hover { background:rgba(255,255,255,.1); }
.ytapp--watch .yt-player-settings__back { grid-template-columns:28px minmax(0,1fr);padding:0 12px;border-bottom:1px solid rgba(255,255,255,.1);font-size:13px;font-weight:700; }
.ytapp--watch .yt-player-settings__back i { font-size:18px; }
.ytapp--watch .yt-player-rate { min-height:38px;height:auto;padding:9px 14px;font-size:13px; }
.ytapp--watch .yt-player-rate:disabled { opacity:.62;cursor:default; }
.ytapp--watch .yt-player-rate:disabled:hover { background:transparent; }
.ytapp--watch .yt-player-settings__note { padding:8px 14px 10px;color:rgba(255,255,255,.6);font-size:11px;line-height:1.4;border-top:1px solid rgba(255,255,255,.08); }

/* CC and settings active states. */
.ytapp--watch .yt-player-ctrl--cc { border:1px solid rgba(255,255,255,.5);height:24px;min-width:31px;margin:0 4px;padding:0 5px;align-self:center; }
.ytapp--watch .yt-player-ctrl--cc.is-active { color:#fff;background:transparent;border-bottom:3px solid #f03; }
.ytapp--watch .yt-player-ctrl[data-player-settings].is-active { background:rgba(255,255,255,.14);transform:rotate(24deg); }

/* Native media must never leak its own toolbar into the custom skin. */
.ytapp--watch .yt-player-custom video::-webkit-media-controls { display:none!important; }
.ytapp--watch .yt-player-custom video { outline:0; }

/* Fullscreen keeps PEKEDU controls reachable and above safe/taskbar areas. */
.yt-watch-player:fullscreen .yt-player-controls,
.yt-watch-player:-webkit-full-screen .yt-player-controls { bottom:0!important;padding-bottom:calc(14px + env(safe-area-inset-bottom,0px))!important; }
.yt-watch-player:fullscreen .yt-player-settings,
.yt-watch-player:-webkit-full-screen .yt-player-settings { bottom:56px!important; }
.ytapp--watch.is-webos-fullscreen .yt-player-controls { bottom:0!important;padding-bottom:calc(14px + env(safe-area-inset-bottom,0px))!important; }
.ytapp--watch.is-webos-fullscreen .yt-player-settings { bottom:58px!important; }

@media(max-width:760px){
    .ytapp--watch .yt-player-settings{width:252px}
    .ytapp--watch .yt-player-autoplay{display:none}
    .ytapp--watch .yt-player-time{font-size:11px}
}


/* ======================================================================
   PEKEDU Video home/Shorts â€” canonical Shorts shelf + instant-home skeleton
   ====================================================================== */
.ytapp .yt-shorts {
    display:block;
    width:auto;
    min-width:0;
    margin:8px 24px 34px;
    padding:18px 0 22px;
    border-top:1px solid var(--yt-border);
    border-bottom:1px solid var(--yt-border);
}
.ytapp .yt-shorts__head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:16px;
}
.ytapp .yt-shorts__rail {
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:16px;
    width:100%;
    min-width:0;
}
.ytapp .yt-short-card {
    display:block;
    min-width:0;
    color:var(--yt-text)!important;
    text-decoration:none!important;
}
.ytapp .yt-short-card:nth-child(n+6){display:none}
.ytapp .yt-shorts.is-expanded .yt-short-card:nth-child(n+6){display:block}
.ytapp .yt-short-card__thumb {
    position:relative;
    width:100%;
    aspect-ratio:9/16;
    border-radius:12px;
    overflow:hidden;
    background:#202020;
}
.ytapp .yt-short-card__thumb img { width:100%;height:100%;object-fit:cover;display:block; }
.ytapp .yt-short-card__body { display:grid;grid-template-columns:36px minmax(0,1fr) 32px;align-items:start;gap:9px;padding:10px 2px 6px; }
.ytapp .yt-short-card__avatar { width:36px;height:36px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;background:var(--yt-hover);color:var(--yt-text);font-size:14px;font-weight:700; }
.ytapp .yt-short-card__avatar img { width:100%;height:100%;object-fit:cover;display:block;border-radius:50%; }
.ytapp .yt-short-card__meta { min-width:0; }
.ytapp .yt-short-card__body h3 { margin:0 0 4px;font-size:14px;line-height:1.35;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.ytapp .yt-short-card__chan,.ytapp .yt-short-card__stats { margin:0;color:var(--yt-text-2);font-size:12px;line-height:1.35; }
.ytapp .yt-short-card__chan { display:flex;align-items:center;gap:4px;min-width:0;margin-bottom:3px; }
.ytapp .yt-short-card__chan>span { min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.ytapp .yt-short-card__chan>.fa-user-circle-o { flex:0 0 auto;font-size:12px;opacity:.78; }
.ytapp .yt-short-card__stats { display:flex;align-items:center;gap:7px;min-width:0;white-space:nowrap;overflow:hidden; }
.ytapp .yt-short-card__stats .yt-card__stat { display:inline-flex;align-items:center;gap:4px;min-width:0; }
.ytapp .yt-short-card__stats .yt-card__stat>span { overflow:hidden;text-overflow:ellipsis; }
.ytapp .yt-short-card__menu { display:flex;align-items:flex-start;justify-content:center;padding-top:3px;color:var(--yt-text); }
.ytapp .yt-short-card__menu-btn { width:32px;height:32px;border:0;border-radius:50%;padding:0;display:flex;align-items:center;justify-content:center;background:transparent;color:var(--yt-text);cursor:pointer;opacity:.72;transition:opacity .14s ease,background-color .14s ease,color .14s ease!important; }
.ytapp .yt-short-card__menu-btn i { font-size:18px;line-height:1; }
.ytapp .yt-short-card:hover .yt-short-card__menu-btn,.ytapp .yt-short-card:focus-within .yt-short-card__menu-btn,.ytapp .yt-short-card__menu-btn:hover,.ytapp .yt-short-card__menu-btn.is-open { opacity:1; }
.ytapp .yt-short-card__menu-btn:hover,.ytapp .yt-short-card__menu-btn.is-open { background:var(--yt-hover); }
.ytapp .yt-shorts__skeleton { display:contents; }
.ytapp .yt-shorts__skel-card { min-width:0; }
.ytapp .yt-shorts__skel-thumb { aspect-ratio:9/16;border-radius:12px;background:linear-gradient(90deg,var(--yt-hover),rgba(255,255,255,.10),var(--yt-hover));background-size:220% 100%;animation:pekShortSkel 1.15s linear infinite; }
.ytapp .yt-shorts__skel-line { height:12px;border-radius:6px;margin-top:10px;background:var(--yt-hover);width:88%; }
.ytapp .yt-shorts__skel-line.short { width:55%;margin-top:7px; }
@keyframes pekShortSkel { from{background-position:200% 0} to{background-position:-20% 0} }
.ytapp .yt-home-section--feed.is-initial-loading .yt-grid:empty::before {
    content:'Äang chuáº©n bá»‹ videoâ€¦'; color:var(--yt-text-2); font-size:13px; display:block; padding:4px 0 10px;
}
@media(max-width:1280px){
    .ytapp .yt-shorts__rail{grid-template-columns:repeat(4,minmax(0,1fr))}
    .ytapp .yt-short-card:nth-child(5){display:none}
    .ytapp .yt-shorts.is-expanded .yt-short-card:nth-child(5){display:block}
    .ytapp .yt-shorts__skel-card:nth-child(5){display:none}
}
@media(max-width:980px){
    .ytapp .yt-shorts__rail{grid-template-columns:repeat(3,minmax(0,1fr))}
    .ytapp .yt-short-card:nth-child(4),.ytapp .yt-short-card:nth-child(5){display:none}
    .ytapp .yt-shorts.is-expanded .yt-short-card:nth-child(n){display:block}
    .ytapp .yt-shorts__skel-card:nth-child(n+4){display:none}
}
@media(max-width:680px){
    .ytapp .yt-shorts{margin:6px 12px 24px}
    .ytapp .yt-shorts__rail{display:flex;overflow-x:auto;gap:12px;scroll-snap-type:x proximity;scrollbar-width:none}
    .ytapp .yt-shorts__rail::-webkit-scrollbar{display:none}
    .ytapp .yt-short-card,.ytapp .yt-short-card:nth-child(n),.ytapp .yt-shorts__skel-card{display:block;flex:0 0 66vw;max-width:245px;scroll-snap-align:start}
    .ytapp .yt-shorts__all{display:none}
}

@media(max-width:680px){
    .ytapp .yt-short-card__body{grid-template-columns:34px minmax(0,1fr) 30px;gap:8px;padding-top:9px}
    .ytapp .yt-short-card__avatar{width:34px;height:34px}
    .ytapp .yt-short-card__body h3{font-size:13.5px}
    .ytapp .yt-short-card__stats{gap:5px}
}

/* 1.4.3: lower shelves do not participate in initial layout/paint until needed. */
.ytapp .yt-shorts,.ytapp .yt-home-section--feed{content-visibility:auto;contain-intrinsic-size:720px;}
@media(max-width:680px){.ytapp .yt-shorts,.ytapp .yt-home-section--feed{contain-intrinsic-size:620px;}}


/* ===== 1.4.4 header polish ===== */
.yt-header__end { gap: 10px; min-width: auto; }
.yt-iconbtn, .yt-voice, .yt-search__btn { transition: background-color .18s ease, transform .18s ease; }
.yt-iconbtn:hover, .yt-voice:hover, .yt-search__btn:hover, .yt-createbtn:hover { transform: translateY(-1px); }
.yt-createbtn {
    height: 36px;
    padding: 0 16px 0 13px;
    border-radius: 999px;
    font-weight: 600;
    gap: 8px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}
.yt-createbtn i { font-size: 18px; line-height: 1; }
.yt-iconbtn--notify i { font-size: 22px; }
.yt-avatar {
    overflow: hidden;
    background: #2f73ff;
    box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset;
}
.yt-avatar img,
.yt-account-menu__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}
.yt-pop, .yt-account { position: relative; }
.yt-menu,
.yt-account-menu {
    position: absolute;
    top: 48px;
    right: 0;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 12px;
    background: #282828;
    color: var(--yt-text);
    box-shadow: 0 8px 28px rgba(0,0,0,.45);
    z-index: 280;
}
.yt-menu[hidden],
.yt-account-menu[hidden] { display: none !important; }
.yt-menu { min-width: 210px; padding: 8px 0; }
.yt-menu--create { width: 210px; }
.yt-menu--notify {
    width: min(480px, calc(100vw - 24px));
    padding: 0;
    overflow: hidden;
}
.yt-menu__head {
    display:flex; align-items:center; justify-content:space-between;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 16px;
    font-weight: 500;
}
.yt-menu__gear {
    width: 32px; height: 32px; border-radius: 50%; border: 0;
    background: transparent; color: var(--yt-text); cursor: pointer;
}
.yt-menu__gear:hover { background: rgba(255,255,255,.08); }
.yt-menu__item,
.yt-account-menu__item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 40px;
    padding: 10px 16px;
    border: 0;
    background: transparent;
    color: var(--yt-text);
    font-size: 14px;
    text-align: left;
    cursor: pointer;
}
.yt-menu__item:hover,
.yt-account-menu__item:hover,
.yt-theme-choice:hover,
.yt-account-menu__back:hover { background: rgba(255,255,255,.08); }
.yt-menu__item i,
.yt-account-menu__item > i:first-child,
.yt-theme-choice > i:first-child {
    width: 20px;
    text-align: center;
    color: #f1f1f1;
    font-size: 18px;
    flex-shrink: 0;
}
.yt-menu__item span,
.yt-account-menu__item span { flex: 1; }
.yt-notify-empty {
    min-height: 540px;
    padding: 48px 24px 56px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    color: var(--yt-text-2);
}
.yt-notify-empty__icon { font-size: 86px; color: #6b6b6b; margin-bottom: 16px; }
.yt-notify-empty b { display:block; color:var(--yt-text); font-size: 26px; font-weight: 600; margin-bottom: 12px; }
.yt-notify-empty span { max-width: 280px; line-height: 1.45; }
.yt-account-menu {
    width: min(300px, calc(100vw - 20px));
    padding: 8px 0;
    overflow: hidden;
}
.yt-account-menu__head {
    display:flex;
    align-items:flex-start;
    gap: 12px;
    padding: 16px;
}
.yt-account-menu__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items:center;
    justify-content:center;
    background: linear-gradient(135deg,#3ea6ff,#065fd4);
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
}
.yt-account-menu__head strong { display:block; font-size:16px; margin-bottom:4px; color:var(--yt-text); }
.yt-account-menu__head small { display:block; color:var(--yt-text-2); font-size:14px; margin-bottom:8px; }
.yt-account-menu__link { color:#3ea6ff !important; font-size:14px; }
.yt-account-menu__sep { height:1px; background: rgba(255,255,255,.08); margin: 6px 0; }
.yt-account-menu__group { padding: 2px 0; }
.yt-account-menu__chev { margin-left: auto; color: var(--yt-text-2) !important; width: auto !important; font-size: 16px !important; }
.yt-account-menu__backbar {
    display:flex; align-items:center; gap:8px;
    padding: 8px 10px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.yt-account-menu__backbar strong { font-size: 16px; font-weight: 500; }
.yt-account-menu__back {
    width: 36px; height: 36px; border-radius: 50%; border: 0;
    background: transparent; color: var(--yt-text); cursor: pointer;
}
.yt-account-pane[hidden] { display:none !important; }
.yt-theme-choice {
    width: 100%;
    display:flex;
    align-items:center;
    gap: 16px;
    min-height: 40px;
    padding: 10px 16px;
    border: 0;
    background: transparent;
    color: var(--yt-text);
    text-align:left;
    cursor:pointer;
    font-size:14px;
}
.yt-theme-choice span { flex: 1; }
.yt-theme-choice__check { margin-left:auto; color:#3ea6ff; opacity: 0; }
.yt-theme-choice.is-active .yt-theme-choice__check { opacity: 1; }
.yt-search__kbd {
    width: 32px; height: 32px; border-radius: 4px; border:0; background:transparent; color: var(--yt-text-2);
    display:inline-flex; align-items:center; justify-content:center; cursor:pointer;
}
.yt-voice-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    display:flex;
    align-items:flex-start;
    justify-content:center;
    z-index: 400;
    padding-top: 64px;
}
.yt-voice-modal[hidden] { display:none !important; }
.yt-voice-modal__dialog {
    width: min(600px, calc(100vw - 32px));
    min-height: 340px;
    background: #212121;
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(0,0,0,.45);
    padding: 28px 32px 36px;
    position: relative;
}
.yt-voice-modal__close {
    position:absolute; top:14px; right:14px; width: 36px; height: 36px; border:0; border-radius:50%;
    background: transparent; color: var(--yt-text); cursor:pointer; font-size: 18px;
}
.yt-voice-modal__title { font-size: 22px; font-weight: 600; color: var(--yt-text); margin-bottom: 24px; }
.yt-voice-modal__micwrap { display:flex; align-items:center; justify-content:center; min-height: 200px; }
.yt-voice-modal__mic {
    width: 84px; height: 84px; border-radius: 50%; border:0; background:#ff0033; color:#fff; cursor:pointer;
    display:flex; align-items:center; justify-content:center; font-size: 34px; box-shadow: 0 10px 24px rgba(255,0,51,.28);
}
.yt-top-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    background: rgba(33,33,33,.96);
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    z-index: 420;
    font-size: 14px;
}
.yt-top-toast[hidden] { display:none !important; }
.ytapp[data-theme="light"] .yt-menu,
.ytapp[data-theme="light"] .yt-account-menu,
.ytapp[data-theme="light"] .yt-voice-modal__dialog { background: #fff; color: #0f0f0f; border-color: rgba(0,0,0,.08); }
.ytapp[data-theme="light"] .yt-menu__item,
.ytapp[data-theme="light"] .yt-account-menu__item,
.ytapp[data-theme="light"] .yt-theme-choice,
.ytapp[data-theme="light"] .yt-account-menu__back,
.ytapp[data-theme="light"] .yt-menu__gear,
.ytapp[data-theme="light"] .yt-voice-modal__close { color: #0f0f0f; }
.ytapp[data-theme="light"] .yt-account-menu__sep,
.ytapp[data-theme="light"] .yt-menu__head,
.ytapp[data-theme="light"] .yt-account-menu__backbar { border-color: rgba(0,0,0,.08); background: transparent; }
.ytapp[data-theme="light"] .yt-notify-empty__icon { color: #8a8a8a; }
@media (max-width: 768px) {
    .yt-header { padding: 0 12px; }
    .yt-header__center { flex: 1 1 auto; min-width: 0; }
    .yt-search { max-width: none; }
    .yt-search__btn { width: 52px; }
    .yt-menu--notify { right: -8px; }
    .yt-account-menu { right: -6px; }
    .yt-createbtn span { display: inline; }
}
@media (max-width: 560px) {
    .yt-header__start { min-width: auto; }
    .yt-header__end { gap: 6px; }
    .yt-logo__sup { display:none; }
    .yt-notify-empty { min-height: 420px; }
}


/* ===== PEKEDU Video header â€” YouTube-like header final override ===== */
.ytapp .yt-header{
  height:56px!important;
  padding:0 16px!important;
  background:#0f0f0f!important;
  border:0!important;
  box-shadow:none!important;
}
.ytapp .yt-header__center{flex:0 1 720px!important;gap:12px!important;}
.ytapp .yt-header__end{display:flex!important;align-items:center!important;gap:8px!important;min-width:196px!important;}
.ytapp .yt-search{max-width:640px!important;}
.ytapp .yt-search__box{height:40px!important;align-items:stretch!important;}
.ytapp .yt-search__input{
  height:40px!important;
  background:#121212!important;
  border:1px solid #303030!important;
  border-right:0!important;
  border-radius:20px 0 0 20px!important;
  padding:0 8px 0 16px!important;
  font-size:16px!important;
}
.ytapp .yt-search__kbd{
  width:42px!important;height:40px!important;
  border-top:1px solid #303030!important;border-bottom:1px solid #303030!important;
  border-left:0!important;border-right:0!important;
  border-radius:0!important;background:#121212!important;color:#aaa!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  font-size:16px!important;cursor:pointer!important;
}
.ytapp .yt-search__kbd:hover{color:#f1f1f1!important;}
.ytapp .yt-search__btn{
  width:64px!important;height:40px!important;
  border-radius:0 20px 20px 0!important;
  background:#222!important;border:1px solid #303030!important;
  color:#f1f1f1!important;font-size:20px!important;
}
.ytapp .yt-search__btn:hover{background:#2a2a2a!important;transform:none!important;}
.ytapp .yt-voice{
  width:40px!important;height:40px!important;border-radius:50%!important;
  background:#181818!important;color:#f1f1f1!important;font-size:18px!important;
}
.ytapp .yt-voice:hover{background:#2b2b2b!important;transform:none!important;}
.ytapp .yt-createbtn{
  height:36px!important;min-width:78px!important;
  padding:0 14px 0 11px!important;border-radius:18px!important;
  background:#272727!important;color:#f1f1f1!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:7px!important;font-size:14px!important;font-weight:600!important;
  box-shadow:none!important;transition:background-color .12s ease!important;
}
.ytapp .yt-createbtn:hover{background:#3f3f3f!important;transform:none!important;}
.ytapp .yt-createbtn .fa-plus{font-size:21px!important;font-weight:400!important;line-height:1!important;}
.ytapp .yt-iconbtn--notify{
  width:40px!important;height:40px!important;border-radius:50%!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  background:transparent!important;color:#f1f1f1!important;
}
.ytapp .yt-iconbtn--notify:hover{background:#272727!important;transform:none!important;}
.ytapp .yt-iconbtn--notify .fa-bell-o{font-size:21px!important;line-height:1!important;}
.ytapp .yt-avatar.yt-account__button{
  width:32px!important;height:32px!important;min-width:32px!important;padding:0!important;margin-left:2px!important;
  border:0!important;border-radius:50%!important;overflow:hidden!important;
  background:#065fd4!important;color:#fff!important;font-size:14px!important;font-weight:600!important;
  box-shadow:none!important;
}
.ytapp .yt-avatar.yt-account__button:hover{filter:brightness(1.06);}
.ytapp .yt-avatar.yt-account__button img{width:32px!important;height:32px!important;object-fit:cover!important;border-radius:50%!important;display:block!important;}
.ytapp .yt-menu,.ytapp .yt-account-menu{top:44px!important;background:#282828!important;border:0!important;border-radius:12px!important;box-shadow:0 8px 30px rgba(0,0,0,.5)!important;}
.ytapp .yt-menu--create{width:220px!important;}
.ytapp .yt-menu--notify{width:min(480px,calc(100vw - 24px))!important;}
.ytapp .yt-account-menu{width:300px!important;max-height:calc(100vh - 66px)!important;overflow-y:auto!important;}
.ytapp .yt-menu__item,.ytapp .yt-account-menu__item{min-height:40px!important;padding:9px 16px!important;font-size:14px!important;}
.ytapp .yt-menu__item i,.ytapp .yt-account-menu__item>i:first-child{font-size:19px!important;width:22px!important;}
.ytapp .yt-account-menu__head{padding:16px!important;}
.ytapp .yt-account-menu__avatar{width:40px!important;height:40px!important;overflow:hidden!important;}
.ytapp .yt-account-menu__avatar img{width:40px!important;height:40px!important;object-fit:cover!important;}
.ytapp .yt-notify-empty{min-height:520px!important;}
.ytapp .yt-notify-empty b{font-size:16px!important;font-weight:500!important;}
.ytapp .yt-notify-empty span{font-size:14px!important;color:#aaa!important;}
.ytapp .yt-notify-empty__icon{font-size:72px!important;}
@media(max-width:900px){
  .ytapp .yt-header__start{min-width:auto!important;}
  .ytapp .yt-header__end{min-width:auto!important;}
  .ytapp .yt-search__kbd{display:none!important;}
}


/* ===== PEKEDU Video create/notifications/upload â€” create/notifications/upload refinement ===== */
.ytapp .yt-createbtn{
  min-width:80px!important;height:36px!important;padding:0 15px 0 12px!important;
  border-radius:999px!important;background:#272727!important;border:0!important;
  transition:background-color .14s ease, transform .14s ease, box-shadow .14s ease!important;
}
.ytapp .yt-createbtn:hover{background:#3a3a3a!important;transform:none!important;}
.ytapp .yt-createbtn:active{background:#444!important;transform:scale(.97)!important;}
.ytapp .yt-createbtn[aria-expanded="true"]{background:#3a3a3a!important;}
.ytapp .yt-menu,.ytapp .yt-account-menu{
  display:block!important;opacity:0;visibility:hidden;pointer-events:none;
  transform:translateY(-7px) scale(.985);transform-origin:top right;
  transition:opacity .14s ease,transform .14s ease,visibility 0s linear .14s!important;
}
.ytapp .yt-menu.is-open,.ytapp .yt-account-menu.is-open{
  opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) scale(1);
  transition:opacity .14s ease,transform .14s ease,visibility 0s!important;
}
.ytapp .yt-menu[hidden],.ytapp .yt-account-menu[hidden]{display:none!important;}
.ytapp .yt-menu--create{padding:8px 0!important;width:210px!important;overflow:hidden!important;}
.ytapp .yt-menu--create .yt-menu__item{height:42px!important;min-height:42px!important;padding:0 16px!important;gap:16px!important;}
.ytapp .yt-menu--create .yt-menu__item i{font-size:20px!important;width:22px!important;}

.ytapp .yt-menu--notify{width:min(470px,calc(100vw - 24px))!important;max-height:min(650px,calc(100vh - 72px))!important;overflow:hidden!important;}
.yt-notification-list{max-height:560px;overflow-y:auto;padding:8px 0;}
.yt-notification-item{
  position:relative;width:100%;border:0;background:transparent;color:var(--yt-text);display:grid;
  grid-template-columns:48px minmax(0,1fr) 28px;gap:12px;align-items:start;text-align:left;
  padding:12px 12px 12px 16px;cursor:pointer;transition:background-color .12s ease;
}
.yt-notification-item:hover{background:rgba(255,255,255,.08);}
.yt-notification-item.is-unread:before{content:"";position:absolute;left:5px;top:50%;width:5px;height:5px;border-radius:50%;background:#3ea6ff;transform:translateY(-50%);}
.yt-notification-item__icon{width:44px;height:44px;border-radius:50%;background:#3a3a3a;color:#f1f1f1;display:flex;align-items:center;justify-content:center;font-size:19px;}
.yt-notification-item__body{min-width:0;display:flex;flex-direction:column;gap:6px;}
.yt-notification-item__body strong{font-size:14px;line-height:1.45;font-weight:500;color:var(--yt-text);}
.yt-notification-item__body small{font-size:12px;color:var(--yt-text-2);}
.yt-notification-item__more{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--yt-text-2);opacity:0;}
.yt-notification-item:hover .yt-notification-item__more{opacity:1;}
.ytapp[data-theme="light"] .yt-notification-item:hover{background:rgba(0,0,0,.06);}
.ytapp[data-theme="light"] .yt-notification-item__icon{background:#eee;color:#111;}

/* Add / upload page */
.yt-add-page{max-width:1260px!important;margin:0 auto!important;padding:28px 32px 56px!important;}
.yt-add-heading{display:flex;align-items:flex-start;gap:16px;margin:8px 0 24px;padding:18px 20px;border:1px solid var(--yt-border);border-radius:24px;background:linear-gradient(135deg, rgba(62,166,255,.08), rgba(37,183,92,.08));box-shadow:0 10px 26px rgba(15,23,42,.05);}
.yt-add-heading__icon{width:54px;height:54px;border-radius:18px;background:linear-gradient(135deg, #e8f5ff, #e6f7ea);color:#177c42;display:flex;align-items:center;justify-content:center;font-size:22px;flex:0 0 54px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.25);}
.yt-add-heading h1{margin:0 0 6px;font-size:28px;line-height:1.2;font-weight:700;color:var(--yt-text);}
.yt-add-heading p{margin:0;color:var(--yt-text-2);font-size:14px;line-height:1.7;max-width:980px;}
.yt-add-card{padding:0!important;border-radius:18px!important;overflow:hidden!important;border:1px solid var(--yt-border)!important;background:#181818!important;box-shadow:none!important;}
.yt-add-tabs{margin:0!important;padding:14px 16px!important;border-bottom:1px solid var(--yt-border)!important;gap:8px!important;background:#151515;}
.yt-add-tabs .py-tab-btn{height:40px;padding:0 14px!important;border-radius:10px!important;border:0!important;background:#272727!important;color:#ddd!important;display:inline-flex;align-items:center;gap:8px;transition:background-color .12s ease,color .12s ease!important;}
.yt-add-tabs .py-tab-btn:hover{background:#353535!important;color:#fff!important;}
.yt-add-tabs .py-tab-btn.active{background:#f1f1f1!important;color:#0f0f0f!important;}
.yt-add-card .py-tab-panel{padding:26px 28px 30px;}
.yt-add-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px;}
.yt-add-panel-head h2{margin:0 0 6px;font-size:20px;font-weight:700;color:var(--yt-text);}
.yt-add-panel-head p{margin:0;color:var(--yt-text-2);font-size:13px;line-height:1.5;}
.yt-add-panel-badge{flex-shrink:0;height:30px;padding:0 10px;border-radius:999px;background:#272727;color:#ddd;display:flex;align-items:center;font-size:12px;font-weight:600;}
.yt-upload-dropzone{position:relative;min-height:235px;border:1.5px dashed #4a4a4a;border-radius:16px;background:#121212;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:32px 24px;cursor:pointer;transition:border-color .15s ease,background-color .15s ease,transform .15s ease;}
.yt-upload-dropzone:hover{border-color:#777;background:#171717;}
.yt-upload-dropzone.is-dragover{border-color:#3ea6ff;background:rgba(62,166,255,.07);transform:scale(.997);}
.yt-upload-dropzone__icon{width:68px;height:68px;border-radius:50%;background:#272727;color:#f1f1f1;display:flex;align-items:center;justify-content:center;font-size:27px;margin-bottom:16px;}
.yt-upload-dropzone strong{font-size:18px;color:var(--yt-text);margin-bottom:7px;}
.yt-upload-dropzone>span:not(.yt-upload-dropzone__icon):not(.yt-upload-dropzone__button){color:var(--yt-text-2);font-size:13px;}
.yt-upload-dropzone__button{margin-top:18px;height:38px;padding:0 16px;border-radius:999px;background:#3ea6ff;color:#07131d;display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:13px;}
.yt-upload-file-input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;}
.yt-upload-file-name{margin:12px 0 22px;min-height:40px;padding:9px 12px;border-radius:10px;background:#202020;color:var(--yt-text-2);display:flex;align-items:center;gap:9px;font-size:13px;}
.yt-upload-file-name.has-file{color:var(--yt-text);}
.yt-upload-file-name i{color:#3ea6ff;}
.yt-add-details{border-top:1px solid var(--yt-border);padding-top:22px;}
.yt-add-details__title{display:flex;align-items:center;gap:8px;margin-bottom:16px;color:var(--yt-text);font-weight:700;font-size:15px;}
.yt-add-details__title i{color:#3ea6ff;}
.yt-add-card .py-form-grid{gap:16px 18px!important;}
.yt-add-card .py-field{margin-bottom:2px!important;}
.yt-add-card .py-field label{margin-bottom:8px!important;font-size:13px!important;}
.yt-add-card .py-field input,.yt-add-card .py-field textarea,.yt-add-card .py-field select{min-height:44px!important;border-radius:10px!important;padding:10px 12px!important;}
.yt-add-card .py-field textarea{min-height:112px!important;}
.yt-add-actions{display:flex;align-items:center;gap:14px;margin-top:20px;padding-top:20px;border-top:1px solid var(--yt-border);}
.py-btn-lg{min-height:42px!important;padding:0 18px!important;border-radius:999px!important;}
.yt-add-page .py-upload-progress{margin-top:18px!important;}
.yt-add-page .py-upload-track{height:8px!important;}
.yt-add-page .py-drive-list{max-height:420px!important;}
.ytapp[data-theme="light"] .yt-add-heading{background:linear-gradient(135deg, rgba(62,166,255,.06), rgba(37,183,92,.06));box-shadow:0 8px 20px rgba(15,23,42,.04);}
.ytapp[data-theme="light"] .yt-add-heading__icon{background:linear-gradient(135deg, #edf7ff, #edf9f0);color:#1c7b43;}
.ytapp[data-theme="light"] .yt-add-card,.ytapp[data-theme="light"] .yt-add-tabs{background:#fff!important;}
.ytapp[data-theme="light"] .yt-upload-dropzone{background:#fafafa;border-color:#bbb;}
.ytapp[data-theme="light"] .yt-upload-dropzone:hover{background:#f5f5f5;border-color:#8a8a8a;}
.ytapp[data-theme="light"] .yt-upload-dropzone__icon,.ytapp[data-theme="light"] .yt-add-heading__icon{background:#eee;color:#111;}
.ytapp[data-theme="light"] .yt-upload-file-name{background:#f2f2f2;}
@media(max-width:760px){
  .yt-add-page{padding:18px 14px 40px!important;}
  .yt-add-heading{align-items:flex-start;padding:14px 14px 16px;border-radius:20px;}
  .yt-add-heading h1{font-size:22px;}
  .yt-add-card .py-tab-panel{padding:20px 16px 24px;}
  .yt-add-tabs{padding:10px!important;}
  .yt-add-tabs .py-tab-btn span{display:inline;}
  .yt-add-card .py-form-grid{grid-template-columns:1fr!important;}
  .yt-add-card .py-field.full{grid-column:auto!important;}
  .yt-add-panel-head{flex-direction:column;}
  .yt-add-actions{align-items:flex-start;flex-direction:column;}
}


/* ===== PEKEDU Video voice search â€” instant voice listening + sound waves ===== */
.yt-voice-modal__dialog {
    min-height: 340px;
    overflow: hidden;
}
.yt-voice-modal__title {
    margin-bottom: 6px;
    min-height: 32px;
    line-height: 1.35;
}
.yt-voice-modal__hint {
    color: var(--yt-text-2);
    font-size: 14px;
    line-height: 1.45;
    min-height: 22px;
}
.yt-voice-modal__micwrap {
    position: relative;
    min-height: 205px;
    isolation: isolate;
}
.yt-voice-modal__waves {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 86px;
    height: 86px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}
.yt-voice-modal__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(255, 0, 51, .38);
    background: rgba(255, 0, 51, .055);
    opacity: 0;
    transform: scale(.72);
    will-change: transform, opacity;
}
.yt-voice-modal.is-listening .yt-voice-modal__ring {
    animation: pekVoiceRing 1.75s cubic-bezier(.22,.61,.36,1) infinite;
}
.yt-voice-modal.is-listening .yt-voice-modal__ring--2 { animation-delay: .48s; }
.yt-voice-modal.is-listening .yt-voice-modal__ring--3 { animation-delay: .96s; }
@keyframes pekVoiceRing {
    0%   { opacity: .58; transform: scale(.72); }
    55%  { opacity: .24; }
    100% { opacity: 0; transform: scale(2.45); }
}
.yt-voice-modal__mic {
    position: relative;
    z-index: 2;
    transition: transform .16s ease, box-shadow .2s ease, background-color .2s ease;
}
.yt-voice-modal__mic:hover { transform: scale(1.045); }
.yt-voice-modal__mic:active { transform: scale(.97); }
.yt-voice-modal.is-listening .yt-voice-modal__mic {
    box-shadow: 0 0 0 8px rgba(255,0,51,.10), 0 12px 30px rgba(255,0,51,.34);
    animation: pekVoiceMicPulse 1.15s ease-in-out infinite;
}
@keyframes pekVoiceMicPulse {
    0%,100% { transform: scale(1); }
    50% { transform: scale(1.055); }
}
.yt-voice-modal__status {
    min-height: 20px;
    margin-top: -8px;
    text-align: center;
    color: var(--yt-text-2);
    font-size: 13px;
    transition: color .18s ease;
}
.yt-voice-modal.is-listening .yt-voice-modal__status { color: #ff6b83; }
.yt-voice-modal.is-error .yt-voice-modal__mic { background: #606060; box-shadow: none; }
.yt-voice-modal.is-ready .yt-voice-modal__mic { background: #ff0033; box-shadow: 0 8px 22px rgba(255,0,51,.2); }
.ytapp[data-theme="light"] .yt-voice-modal__hint,
.ytapp[data-theme="light"] .yt-voice-modal__status { color: #606060; }
.ytapp[data-theme="light"] .yt-voice-modal.is-listening .yt-voice-modal__status { color: #d9002b; }
@media (prefers-reduced-motion: reduce) {
    .yt-voice-modal.is-listening .yt-voice-modal__ring,
    .yt-voice-modal.is-listening .yt-voice-modal__mic { animation: none !important; }
}

/* ========================================================================== */
/* PEKEDU Video â€” CURRENT UI (1.4.22)                                         */
/* Single consolidated visual layer. No historical version override blocks.   */
/* ========================================================================== */

/* Typography */
.ytapp,
.ytapp button,
.ytapp input,
.ytapp select,
.ytapp textarea,
.ytapp a {
    font-family: "Roboto", Arial, sans-serif !important;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.ytapp .fa,
.ytapp [class^="fa-"],
.ytapp [class*=" fa-"] { font-family: FontAwesome !important; }

/* Create button: slim, balanced plus drawn by SVG only. */
.ytapp .yt-createbtn {
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:7px !important;
    height:36px !important;
    min-width:72px !important;
    padding:0 14px 0 12px !important;
    border:0 !important;
    border-radius:18px !important;
    background:var(--yt-chip) !important;
    color:var(--yt-text) !important;
    font-size:14px !important;
    font-weight:500 !important;
    letter-spacing:0 !important;
    line-height:36px !important;
    box-shadow:none !important;
    transform:none !important;
}
.ytapp .yt-createbtn:hover { background:var(--yt-chip-hover) !important; }
.ytapp .yt-createbtn__plus {
    position:static !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:18px !important;
    height:18px !important;
    min-width:18px !important;
    flex:0 0 18px !important;
    line-height:0 !important;
    overflow:visible !important;
    color:currentColor !important;
}
.ytapp .yt-createbtn__plus::before,
.ytapp .yt-createbtn__plus::after { content:none !important; display:none !important; }
.ytapp .yt-createbtn__plus svg {
    display:block !important;
    width:18px !important;
    height:18px !important;
    fill:none !important;
    stroke:currentColor !important;
    stroke-width:1.55 !important;
    stroke-linecap:round !important;
    stroke-linejoin:round !important;
    overflow:visible !important;
}
.ytapp .yt-createbtn__plus svg path { fill:none !important; stroke:currentColor !important; }
.ytapp .yt-createbtn__text { font-size:14px !important; font-weight:500 !important; letter-spacing:0 !important; }

/* Account/notification menus */
.ytapp .yt-account-menu,
.ytapp .yt-menu { border-radius:14px !important; overflow:hidden !important; }
.ytapp .yt-account-menu__group { padding:2px 0 !important; }
.ytapp .yt-account-menu__sep {
    display:block !important;
    width:100% !important;
    height:1px !important;
    min-height:1px !important;
    margin:7px 0 !important;
    padding:0 !important;
    border:0 !important;
    background:rgba(255,255,255,.10) !important;
    opacity:1 !important;
}
.ytapp .yt-account-menu__item,
.ytapp .yt-account-menu__back,
.ytapp .yt-menu__item { font-weight:400 !important; }
.ytapp .yt-account-menu__head strong { font-weight:600 !important; }

/* Sidebar */
.ytapp .yt-sb__title { font-weight:600 !important; }
.ytapp .yt-sb__item,
.ytapp .yt-sb__channel,
.ytapp .yt-sb__moretoggle,
.ytapp .yt-sb__label { font-weight:400 !important; }
.ytapp .yt-sb__item.is-active { font-weight:500 !important; }
.ytapp .yt-sb__active-dot {
    width:6px !important;
    height:6px !important;
    min-width:6px !important;
    border-radius:50% !important;
    background:#1a73e8 !important;
    box-shadow:none !important;
}

/* Watch layout: wide primary column and larger related thumbnails. */
.yt-watch-page {
    width:100% !important;
    max-width:none !important;
    grid-template-columns:minmax(0,1fr) 430px !important;
    gap:22px !important;
    padding:12px 16px 40px !important;
}
.yt-watch-player { border-radius:12px !important; }
.yt-watch-related__list { display:flex !important; flex-direction:column !important; gap:8px !important; }
.yt-watch-related__item {
    grid-template-columns:180px minmax(0,1fr) 22px !important;
    gap:10px !important;
    align-items:start !important;
    padding:4px !important;
    border-radius:12px !important;
}
.yt-watch-related__thumb {
    width:180px !important;
    height:101px !important;
    border-radius:10px !important;
    overflow:hidden !important;
}
.yt-watch-related__info h3 { font-size:15px !important; line-height:1.35 !important; font-weight:500 !important; margin:0 0 4px !important; }
.yt-watch-related__channel { font-size:12.5px !important; font-weight:400 !important; margin-bottom:2px !important; }
.yt-watch-related__stats { display:flex !important; flex-wrap:wrap !important; gap:3px 8px !important; font-size:12px !important; font-weight:400 !important; }
.yt-watch-related__more { opacity:0 !important; transition:opacity .14s ease, background-color .14s ease !important; }
.yt-watch-related__item:hover .yt-watch-related__more { opacity:1 !important; }
@media (max-width:1320px) {
    .yt-watch-page { grid-template-columns:minmax(0,1fr) 390px !important; gap:18px !important; }
    .yt-watch-related__item { grid-template-columns:164px minmax(0,1fr) 20px !important; }
    .yt-watch-related__thumb { width:164px !important; height:92px !important; }
}
@media (max-width:1040px) { .yt-watch-page { grid-template-columns:1fr !important; } }

/* Comments: YouTube-like underline composer, no rectangular browser-focus box. */
.ytapp .yt-comments { margin-top:22px !important; padding-top:4px !important; }
.ytapp .yt-comments__head {
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:22px !important;
    margin-bottom:18px !important;
}
.ytapp .yt-comments__head h2 { margin:0 !important; font-size:20px !important; line-height:1.35 !important; font-weight:600 !important; color:var(--yt-text) !important; }
.ytapp .yt-comments__sortwrap { position:relative !important; }
.ytapp .yt-comments__sort {
    display:inline-flex !important;
    align-items:center !important;
    gap:8px !important;
    height:34px !important;
    padding:0 10px !important;
    border:0 !important;
    border-radius:17px !important;
    background:transparent !important;
    color:var(--yt-text) !important;
    font-size:14px !important;
    font-weight:500 !important;
    box-shadow:none !important;
    outline:none !important;
}
.ytapp .yt-comments__sort:hover,
.ytapp .yt-comments__sortwrap.is-open .yt-comments__sort { background:var(--yt-hover) !important; }
.ytapp .yt-comments__sortmenu {
    position:absolute !important;
    top:calc(100% + 6px) !important;
    left:0 !important;
    z-index:80 !important;
    width:270px !important;
    min-width:270px !important;
    padding:8px 0 !important;
    border:1px solid var(--yt-border) !important;
    border-radius:12px !important;
    background:var(--yt-bg-2) !important;
    box-shadow:0 10px 28px rgba(0,0,0,.22) !important;
    overflow:hidden !important;
}
.ytapp .yt-comments__sortitem {
    width:100% !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:2px !important;
    padding:11px 16px !important;
    border:0 !important;
    background:transparent !important;
    color:var(--yt-text) !important;
    text-align:left !important;
}
.ytapp .yt-comments__sortitem:hover,
.ytapp .yt-comments__sortitem.is-active { background:var(--yt-hover) !important; }
.ytapp .yt-comments__sortitem strong { font-size:14px !important; font-weight:500 !important; }
.ytapp .yt-comments__sortitem small { font-size:12px !important; line-height:1.4 !important; color:var(--yt-text-2) !important; }

.ytapp .yt-cmtbox {
    display:flex !important;
    align-items:flex-start !important;
    gap:14px !important;
    margin:0 0 28px !important;
}
.ytapp .yt-cmtbox .yt-avatar-lg {
    width:40px !important;
    min-width:40px !important;
    height:40px !important;
    border-radius:50% !important;
    box-shadow:none !important;
}
.ytapp .yt-cmtbox__field { flex:1 1 auto !important; min-width:0 !important; padding-top:2px !important; }
.ytapp .yt-cmtbox__input,
.ytapp .video-input.yt-cmtbox__input,
.ytapp input.yt-cmtbox__input,
.ytapp[data-theme="light"] .yt-cmtbox__input,
.ytapp[data-theme="light"] .video-input.yt-cmtbox__input,
.ytapp[data-theme="light"] input.yt-cmtbox__input {
    appearance:none !important;
    -webkit-appearance:none !important;
    display:block !important;
    width:100% !important;
    height:34px !important;
    min-height:34px !important;
    padding:2px 0 9px !important;
    margin:0 !important;
    background:transparent !important;
    border:0 !important;
    border-bottom:1px solid var(--yt-border) !important;
    border-radius:0 !important;
    outline:0 !important;
    box-shadow:none !important;
    color:var(--yt-text) !important;
    font-size:14px !important;
    font-weight:400 !important;
    line-height:21px !important;
}
.ytapp .yt-cmtbox__input::placeholder { color:var(--yt-text-2) !important; opacity:1 !important; }
.ytapp .yt-cmtbox:focus-within .yt-cmtbox__input,
.ytapp .yt-cmtbox__input:focus,
.ytapp .video-input.yt-cmtbox__input:focus {
    border:0 !important;
    border-bottom:2px solid var(--yt-text) !important;
    padding-bottom:8px !important;
    outline:0 !important;
    box-shadow:none !important;
}
.ytapp .yt-cmtbox__actions {
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:8px !important;
    min-height:36px !important;
    margin-top:8px !important;
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    transition:opacity .14s ease, visibility .14s ease !important;
}
.ytapp .yt-cmtbox.is-active .yt-cmtbox__actions,
.ytapp .yt-cmtbox.is-sending .yt-cmtbox__actions,
.ytapp .yt-cmtbox:focus-within .yt-cmtbox__actions {
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
}
.ytapp .yt-cmtbox__msg { margin-right:auto !important; min-height:18px !important; font-size:12px !important; color:var(--yt-text-2) !important; }
.ytapp .yt-cmtbox__cancel,
.ytapp .yt-cmtbox__send {
    height:36px !important;
    min-width:72px !important;
    padding:0 16px !important;
    border:0 !important;
    border-radius:18px !important;
    outline:0 !important;
    box-shadow:none !important;
    font-size:14px !important;
    font-weight:500 !important;
    line-height:36px !important;
}
.ytapp .yt-cmtbox__cancel { background:transparent !important; color:var(--yt-text) !important; }
.ytapp .yt-cmtbox__cancel:hover { background:var(--yt-hover) !important; }
.ytapp .yt-cmtbox__send { background:#065fd4 !important; color:#fff !important; }
.ytapp .yt-cmtbox__send:hover:not(:disabled) { background:#0556bf !important; }
.ytapp .yt-cmtbox__send:disabled { background:var(--yt-chip) !important; color:var(--yt-text-2) !important; cursor:default !important; }

/* Light theme: softer text, clearer hover, not harsh black. */
.ytapp[data-theme="light"] {
    --yt-bg:#ffffff;
    --yt-bg-2:#ffffff;
    --yt-elevated:#ffffff;
    --yt-chip:#f2f2f2;
    --yt-chip-hover:#e6e9ed;
    --yt-hover:#eaf0f7;
    --yt-text:#3f454b;
    --yt-text-2:#737980;
    --yt-border:#dfe3e7;
    color-scheme:light;
}
.ytapp[data-theme="light"],
.ytapp[data-theme="light"] .yt-header,
.ytapp[data-theme="light"] .yt-sidebar,
.ytapp[data-theme="light"] .yt-main,
.ytapp[data-theme="light"] .yt-chips-wrap { background:#fff !important; color:var(--yt-text) !important; }
.ytapp[data-theme="light"] .yt-account-menu,
.ytapp[data-theme="light"] .yt-menu,
.ytapp[data-theme="light"] .yt-comments__sortmenu { background:#fff !important; color:var(--yt-text) !important; }
.ytapp[data-theme="light"] .yt-account-menu__sep { background:#e2e5e8 !important; }
.ytapp[data-theme="light"] .yt-logo__text,
.ytapp[data-theme="light"] .yt-page-head h1,
.ytapp[data-theme="light"] .yt-watch-title,
.ytapp[data-theme="light"] .yt-comments__head h2,
.ytapp[data-theme="light"] .yt-sb__title,
.ytapp[data-theme="light"] .py-section-title h2 { color:#30363c !important; }
.ytapp[data-theme="light"] .yt-sb__item,
.ytapp[data-theme="light"] .yt-sb__channel,
.ytapp[data-theme="light"] .yt-sb__moretoggle,
.ytapp[data-theme="light"] .yt-sb__label,
.ytapp[data-theme="light"] .yt-card__title,
.ytapp[data-theme="light"] .yt-watch-related__info h3,
.ytapp[data-theme="light"] .yt-comment__text,
.ytapp[data-theme="light"] .yt-comment__name,
.ytapp[data-theme="light"] .yt-chip,
.ytapp[data-theme="light"] .py-chip,
.ytapp[data-theme="light"] .yt-createbtn,
.ytapp[data-theme="light"] .yt-iconbtn,
.ytapp[data-theme="light"] .yt-voice,
.ytapp[data-theme="light"] .yt-menu__item,
.ytapp[data-theme="light"] .yt-account-menu__item { color:#4a5057 !important; }
.ytapp[data-theme="light"] .yt-card__chan,
.ytapp[data-theme="light"] .yt-card__stats,
.ytapp[data-theme="light"] .yt-watch-related__channel,
.ytapp[data-theme="light"] .yt-watch-related__stats,
.ytapp[data-theme="light"] .yt-comment__time,
.ytapp[data-theme="light"] .yt-page-head p,
.ytapp[data-theme="light"] .yt-account-menu__head small { color:#747b82 !important; }
.ytapp[data-theme="light"] .yt-account-menu__item:hover,
.ytapp[data-theme="light"] .yt-menu__item:hover,
.ytapp[data-theme="light"] .yt-sb__item:hover,
.ytapp[data-theme="light"] .yt-sb__channel:hover,
.ytapp[data-theme="light"] .yt-sb__moretoggle:hover,
.ytapp[data-theme="light"] .yt-chip:hover,
.ytapp[data-theme="light"] .py-chip:hover,
.ytapp[data-theme="light"] .yt-createbtn:hover,
.ytapp[data-theme="light"] .yt-iconbtn:hover,
.ytapp[data-theme="light"] .yt-voice:hover { background:#eef1f4 !important; }
.ytapp[data-theme="light"] .yt-sb__item.is-active { background:#f0f2f4 !important; }
.ytapp[data-theme="light"] .yt-cmtbox__input,
.ytapp[data-theme="light"] .video-input.yt-cmtbox__input,
.ytapp[data-theme="light"] input.yt-cmtbox__input { color:#3f454b !important; border-bottom-color:#c9ced3 !important; }
.ytapp[data-theme="light"] .yt-cmtbox:focus-within .yt-cmtbox__input,
.ytapp[data-theme="light"] .yt-cmtbox__input:focus { border-bottom-color:#4a5057 !important; }
.ytapp[data-theme="light"] .yt-cmtbox__send:disabled { background:#eef0f2 !important; color:#9aa0a6 !important; }



/* ========================================================================== */
/* PEKEDU Video 1.4.23 â€” refine subscriptions, menu icons, chips, light search */
/* ========================================================================== */
.ytapp .yt-sb__subscriptions:not(.is-expanded) .yt-sb__channel:nth-of-type(n+6) {
    display: none !important;
}
.ytapp .yt-sb__moretoggle {
    width: calc(100% - 8px) !important;
    margin: 4px 4px 0 !important;
    min-height: 32px !important;
    border: 1px solid var(--yt-border) !important;
    border-radius: 4px !important;
    background: transparent !important;
    color: var(--yt-text) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    font-size: 13px !important;
    cursor: pointer !important;
}
.ytapp .yt-sb__moretoggle:hover {
    background: var(--yt-hover) !important;
}
.ytapp .yt-sb__moretoggle i {
    font-size: 14px !important;
}

/* Category rail with arrows like YouTube */
.ytapp .yt-chiprail {
    display: grid !important;
    grid-template-columns: 36px minmax(0,1fr) 36px !important;
    align-items: center !important;
    gap: 6px !important;
}
.ytapp .yt-chiprail .yt-chips {
    min-width: 0 !important;
    gap: 10px !important;
    padding: 2px 0 !important;
    scroll-behavior: smooth;
    overscroll-behavior-inline: contain;
}
.ytapp .yt-chipnav {
    width: 34px !important;
    height: 34px !important;
    border: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--yt-chip) !important;
    color: var(--yt-text) !important;
    cursor: pointer !important;
    transition: background-color .16s ease, opacity .16s ease, transform .16s ease !important;
}
.ytapp .yt-chipnav:hover {
    background: var(--yt-chip-hover) !important;
    transform: scale(1.04) !important;
}
.ytapp .yt-chipnav.is-disabled {
    opacity: 0 !important;
    pointer-events: none !important;
}
.ytapp .yt-chipnav[hidden] { display: none !important; }
.ytapp .yt-chipnav i { font-size: 13px !important; }
@media (max-width: 640px) {
    .ytapp .yt-chiprail {
        grid-template-columns: 32px minmax(0,1fr) 32px !important;
        gap: 4px !important;
    }
    .ytapp .yt-chipnav {
        width: 30px !important;
        height: 30px !important;
    }
}

/* Put a small icon before channel name in cards */
.ytapp .yt-card__chan {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    flex-wrap: wrap !important;
}
.ytapp .yt-card__chanicon {
    font-size: 13px !important;
    color: inherit !important;
    opacity: .82 !important;
}

/* Make account-menu icons stand out more in light mode */
.ytapp[data-theme="light"] .yt-account-menu__item > i:first-child,
.ytapp[data-theme="light"] .yt-account-menu__back > i:first-child,
.ytapp[data-theme="light"] .yt-account-menu__label i {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f1f3f5 !important;
    color: #5a626b !important;
    font-size: 15px !important;
}
.ytapp[data-theme="light"] .yt-account-menu__item:hover > i:first-child,
.ytapp[data-theme="light"] .yt-account-menu__back:hover > i:first-child {
    background: #e4e9ee !important;
    color: #39414a !important;
}

/* Light theme search box + keyboard area like Image 7 */
.ytapp[data-theme="light"] .yt-search__input {
    background: #fff !important;
    border: 1px solid #d2d7dd !important;
    border-right: 0 !important;
    color: #40464d !important;
}
.ytapp[data-theme="light"] .yt-search__input::placeholder {
    color: #7b848d !important;
}
.ytapp[data-theme="light"] .yt-search__kbd {
    width: 54px !important;
    height: 40px !important;
    background: #fff !important;
    border-top: 1px solid #d2d7dd !important;
    border-bottom: 1px solid #d2d7dd !important;
    border-left: 0 !important;
    border-right: 0 !important;
    color: #727b84 !important;
}
.ytapp[data-theme="light"] .yt-search__kbd:hover {
    background: #f7f8fa !important;
    color: #48515a !important;
}
.ytapp[data-theme="light"] .yt-search__btn {
    background: #f3f4f6 !important;
    border: 1px solid #d2d7dd !important;
    color: #15191e !important;
}
.ytapp[data-theme="light"] .yt-search__btn:hover {
    background: #eceff2 !important;
}
.ytapp[data-theme="light"] .yt-voice {
    background: #f3f4f6 !important;
    color: #4b535b !important;
}
.ytapp[data-theme="light"] .yt-voice:hover {
    background: #e8edf2 !important;
    color: #2f3740 !important;
}


/* ========================================================================== */
/* PEKEDU Video 1.4.24 â€” chip weight, clearer light icons, spacing tune */
/* ========================================================================== */
.ytapp[data-theme="light"] .yt-chip {
    color: #4b535a !important;
    font-weight: 500 !important;
}
.ytapp[data-theme="light"] .yt-chip.is-active {
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* Theme panel icons clearer in light mode */
.ytapp[data-theme="light"] .yt-theme-choice > i:first-child,
.ytapp[data-theme="light"] .yt-account-menu__back {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.ytapp[data-theme="light"] .yt-theme-choice > i:first-child {
    background: #f1f3f5 !important;
    color: #6b737c !important;
    font-size: 18px !important;
}
.ytapp[data-theme="light"] .yt-theme-choice:hover > i:first-child {
    background: #e6ebf0 !important;
    color: #3d454d !important;
}
.ytapp[data-theme="light"] .yt-account-menu__back {
    background: #eef1f4 !important;
    color: #444c55 !important;
}
.ytapp[data-theme="light"] .yt-account-menu__back:hover {
    background: #e2e7ec !important;
    color: #2f3740 !important;
}
.ytapp[data-theme="light"] .yt-theme-choice__check {
    color: #1a73e8 !important;
    opacity: 1 !important;
}
.ytapp[data-theme="light"] .yt-theme-choice:not(.is-active) .yt-theme-choice__check {
    opacity: 0 !important;
}

/* Sidebar subscriptions more-label wording fits better */
.ytapp .yt-sb__moretoggle {
    font-size: 14px !important;
    min-height: 38px !important;
}

/* Reduce the gap between recommendations and Shorts */
.ytapp .yt-home-section {
    margin-bottom: 14px !important;
}
.ytapp .yt-shorts {
    margin-top: 0 !important;
    margin-bottom: 28px !important;
    padding-top: 12px !important;
    padding-bottom: 18px !important;
}
.ytapp .yt-shorts__head {
    margin-bottom: 12px !important;
}
@media (max-width: 900px) {
    .ytapp .yt-home-section {
        margin-bottom: 12px !important;
    }
    .ytapp .yt-shorts {
        margin-bottom: 22px !important;
        padding-top: 10px !important;
        padding-bottom: 16px !important;
    }
}


/* ========================================================================== */
/* PEKEDU Video 1.4.25 â€” sidebar dots alignment, light subpages, channel icons */
/* ========================================================================== */
.ytapp .yt-sb__channel {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}
.ytapp .yt-sb__channel .yt-sb__label {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}
.ytapp .yt-sb__active-dot {
    margin-left: auto !important;
    flex: 0 0 6px !important;
}

/* Fix light-mode chips and subpage cards on library/search pages */
.ytapp[data-theme="light"] .py-chip {
    background: #f2f2f2 !important;
    border-color: transparent !important;
    color: #4a5057 !important;
}
.ytapp[data-theme="light"] .py-chip:hover {
    background: #e7eaee !important;
    color: #343a40 !important;
}
.ytapp[data-theme="light"] .py-chip.active,
.ytapp[data-theme="light"] .py-chip[class*='active'] {
    background: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
}
.ytapp[data-theme="light"] .py-section,
.ytapp[data-theme="light"] .py-form-card,
.ytapp[data-theme="light"] .py-list-table,
.ytapp[data-theme="light"] .py-playlist-card,
.ytapp[data-theme="light"] .py-channel-search-card,
.ytapp[data-theme="light"] .py-search-playlist,
.ytapp[data-theme="light"] .py-card {
    background: #ffffff !important;
    color: #3f454b !important;
    border-color: #e1e5ea !important;
}
.ytapp[data-theme="light"] .py-channel-search-card,
.ytapp[data-theme="light"] .py-search-playlist,
.ytapp[data-theme="light"] .py-card {
    box-shadow: none !important;
}
.ytapp[data-theme="light"] .py-channel-search-card:hover,
.ytapp[data-theme="light"] .py-search-playlist:hover,
.ytapp[data-theme="light"] .py-card:hover {
    background: #f8fafc !important;
}
.ytapp[data-theme="light"] .py-section-title h2,
.ytapp[data-theme="light"] .py-card-title a,
.ytapp[data-theme="light"] .py-channel-search-card strong,
.ytapp[data-theme="light"] .py-search-playlist strong {
    color: #30363c !important;
}
.ytapp[data-theme="light"] .py-info-line,
.ytapp[data-theme="light"] .py-channel-search-card p,
.ytapp[data-theme="light"] .py-search-playlist small,
.ytapp[data-theme="light"] .py-search-playlist em,
.ytapp[data-theme="light"] .py-meta,
.ytapp[data-theme="light"] .yt-card__stat {
    color: #747b82 !important;
}
.ytapp[data-theme="light"] .yt-studio-page .py-studio-head,
.ytapp[data-theme="light"] .yt-studio-page .py-studio-stat-card,
.ytapp[data-theme="light"] .yt-studio-page .py-studio-table-wrap,
.ytapp[data-theme="light"] .yt-studio-page .py-studio-empty {
    background: #f5f6f8 !important;
    border-color: #dde3ea !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04) !important;
}
.ytapp[data-theme="light"] .yt-studio-page {
    --yt-text: #2b3138;
    --yt-text-2: #6b7480;
}
.ytapp[data-theme="light"] .yt-studio-page .py-studio-head__title h1,
.ytapp[data-theme="light"] .yt-studio-page .py-studio-stat-card__num,
.ytapp[data-theme="light"] .yt-studio-page .py-studio-empty p {
    color: #2b3138 !important;
}
.ytapp[data-theme="light"] .yt-studio-page .py-studio-stat-card__label {
    color: #66717d !important;
}
.ytapp[data-theme="light"] .yt-studio-page .py-studio-head__action,
.ytapp[data-theme="light"] .yt-studio-page .py-studio-iconbtn {
    background: #eceff3 !important;
    color: #1f2937 !important;
    border-color: #d5dbe2 !important;
}
.ytapp[data-theme="light"] .yt-studio-page .py-studio-head__action:hover,
.ytapp[data-theme="light"] .yt-studio-page .py-studio-iconbtn:hover {
    background: #e2e8ee !important;
}
.ytapp[data-theme="light"] .yt-studio-page .py-studio-table th {
    background: #eef2f5 !important;
    color: #3b4450 !important;
    border-color: #dfe5eb !important;
}
.ytapp[data-theme="light"] .yt-studio-page .py-studio-table td {
    color: #1f2937 !important;
    border-color: #e6ebf0 !important;
}
.ytapp[data-theme="light"] .yt-studio-page .py-studio-pill {
    background: #e9eef3 !important;
    color: #374151 !important;
}
.ytapp[data-theme="light"] .yt-studio-page .py-studio-badge--public {
    background: rgba(37, 183, 92, 0.15) !important;
}
.ytapp[data-theme="light"] .yt-studio-page .py-studio-badge--private {
    background: rgba(255, 179, 0, 0.18) !important;
}

/* Add small icon before channel names across non-home cards */
.ytapp .py-channel-link,
.ytapp .yt-watch-related__channel {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    flex-wrap: wrap !important;
}
.ytapp .py-channel-link__icon,
.ytapp .yt-watch-related__chanicon {
    font-size: 13px !important;
    color: inherit !important;
    opacity: .82 !important;
}


/* ========================================================================== */
/* PEKEDU Video 1.5.0 — streamlined direct iframe preview                    */
/* ========================================================================== */
.ytapp [data-hover-preview] .yt-card__thumb,
.ytapp [data-hover-preview] .py-thumb,
.ytapp [data-hover-preview] .yt-watch-related__thumb {
    position: relative !important;
    isolation: isolate;
}
.yt-hover-preview {
    position: absolute;
    inset: 0;
    z-index: 8;
    overflow: hidden;
    border-radius: inherit;
    background: #000;
    opacity: 0;
    transition: opacity 35ms linear !important;
    pointer-events: none;
}
.yt-hover-preview[hidden] { display: none !important; }
.yt-hover-preview.is-visible { opacity: 1; }
.yt-hover-preview__stage,
.yt-hover-preview__youtube-frame {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block;
    border: 0 !important;
}
.yt-hover-preview__stage {
    background: #000;
    opacity: 0;
    transition: opacity 140ms ease !important;
}
.yt-hover-preview.is-playing .yt-hover-preview__stage { opacity: 1; }
.yt-hover-preview__muted {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.68);
    color: #fff;
    font-size: 15px;
    opacity: 0;
    transform: translateY(-2px);
    transition: opacity 140ms ease, transform 140ms ease;
}
.yt-hover-preview.is-playing .yt-hover-preview__muted {
    opacity: 1;
    transform: translateY(0);
}
.yt-hover-preview__progress {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 8px;
    height: 3px;
    border-radius: 3px;
    overflow: hidden;
    background: rgba(255,255,255,.35);
    opacity: 0;
    transition: opacity 140ms ease;
}
.yt-hover-preview.is-playing .yt-hover-preview__progress { opacity: 1; }
.yt-hover-preview__progress > span {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: 0 50%;
    background: #ff0033;
    will-change: transform;
}
.yt-hover-preview__warmbox {
    position: fixed !important;
    right: 1px !important;
    bottom: 1px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: .01 !important;
    pointer-events: none !important;
    z-index: 0 !important;
    clip-path: inset(0) !important;
}
.yt-hover-preview__warmbox .yt-hover-preview__youtube-frame {
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 356px !important;
    height: 200px !important;
    border: 0 !important;
    display: block !important;
}

/* ========================================================================== */
/* PEKEDU Video 2.0 - Modern YouTube Aesthetics & Educational Tools Upgrade   */
/* ========================================================================== */

/* 1. YouTube Ambient Glow Effect */
.yt-watch-ambient {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 24px;
    opacity: 0.65;
    transition: opacity 0.5s ease;
    filter: blur(70px);
}
.yt-watch-ambient__canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    background: radial-gradient(circle, rgba(37,183,92,0.3) 0%, rgba(15,15,15,0) 70%);
}

/* 2. Voice Search Modal & Audio Pulse Animation */
.yt-voice-modal {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(8px) !important;
    z-index: 10000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
}
.yt-voice-modal[hidden] {
    display: none !important;
}
.yt-voice-modal__dialog,
.yt-voice-modal-content {
    background: var(--yt-elevated, #212121) !important;
    color: var(--yt-text, #f1f1f1) !important;
    width: 100% !important;
    max-width: 480px !important;
    padding: 36px 28px !important;
    border-radius: 24px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75) !important;
    text-align: center !important;
    position: relative !important;
    border: 1px solid var(--yt-border, rgba(255, 255, 255, 0.12)) !important;
    animation: ytVoiceModalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
@keyframes ytVoiceModalIn {
    from { opacity: 0; transform: scale(0.92) translateY(12px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.yt-voice-modal__close {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    background: transparent !important;
    border: none !important;
    color: var(--yt-text-2, #aaa) !important;
    font-size: 20px !important;
    cursor: pointer !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.yt-voice-modal__close:hover {
    background: var(--yt-hover, #272727) !important;
    color: #ffffff !important;
}
.yt-voice-modal__title {
    font-size: 22px !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    color: var(--yt-text, #fff) !important;
}
.yt-voice-modal__hint {
    font-size: 13.5px !important;
    color: var(--yt-text-2, #aaa) !important;
    margin-bottom: 24px !important;
}
.yt-voice-modal__micwrap,
.yt-voice-modal__mic-wrap {
    width: 90px !important;
    height: 90px !important;
    margin: 0 auto 20px !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.yt-voice-modal__mic {
    width: 68px !important;
    height: 68px !important;
    border-radius: 50% !important;
    background: #cc0000 !important;
    color: #ffffff !important;
    font-size: 26px !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 4px 20px rgba(204, 0, 0, 0.4) !important;
    position: relative !important;
    z-index: 2 !important;
    transition: transform 0.2s ease, background-color 0.2s ease !important;
}
.yt-voice-modal__mic:hover {
    transform: scale(1.06) !important;
    background: #ff0000 !important;
}
.yt-voice-modal.is-listening .yt-voice-modal__mic,
.yt-voice-modal__mic.is-listening {
    animation: ytMicPulse 1.5s infinite !important;
}
@keyframes ytMicPulse {
    0% { box-shadow: 0 0 0 0 rgba(204, 0, 0, 0.7); }
    70% { box-shadow: 0 0 0 24px rgba(204, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(204, 0, 0, 0); }
}
.yt-voice-modal__status {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--yt-text-2, #aaa) !important;
}

@keyframes ytFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

/* 3. Search Autocomplete Popover */
.yt-search-container { position: relative; flex: 1; display: flex; }
.yt-search__suggestions {
    position: absolute;
    top: 44px;
    left: 0;
    right: 0;
    background: var(--yt-elevated, #212121);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    padding: 8px 0;
    z-index: 500;
    overflow: hidden;
    border: 1px solid var(--yt-border, #303030);
}
.yt-search__suggestion-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 16px;
    color: var(--yt-text, #f1f1f1);
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s ease;
}
.yt-search__suggestion-item:hover,
.yt-search__suggestion-item.is-selected {
    background: var(--yt-hover, #3f3f3f);
}
.yt-search__suggestion-item i { color: var(--yt-text-2, #aaa); font-size: 14px; width: 16px; text-align: center; }

/* 5. AI Quiz Card Component */
.yt-quiz-card {
    background: var(--yt-bg-2, #181818);
    border: 1px solid rgba(37, 183, 92, 0.3);
    border-radius: 14px;
    padding: 16px;
    margin: 12px 0;
}
.yt-quiz-card__question { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.yt-quiz-card__option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--yt-chip, #272727);
    border: 1px solid var(--yt-border, #303030);
    border-radius: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 13.5px;
    color: var(--yt-text, #f1f1f1);
}
.yt-quiz-card__option:hover { background: var(--yt-chip-hover, #3f3f3f); border-color: #25b75c; }
.yt-quiz-card__option.is-correct { background: rgba(37, 183, 92, 0.2); border-color: #25b75c; color: #25b75c; font-weight: 500; }
.yt-quiz-card__option.is-wrong { background: rgba(255, 78, 78, 0.2); border-color: #ff4e4e; color: #ff4e4e; }
.yt-quiz-card__feedback {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
}
.yt-quiz-card__feedback.is-correct { background: rgba(37, 183, 92, 0.15); color: #25b75c; }
.yt-quiz-card__feedback.is-wrong { background: rgba(255, 78, 78, 0.15); color: #ff4e4e; }

/* 6. YouTube Share Modal */
.yt-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(3px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.yt-share-modal {
    background: var(--yt-elevated, #212121);
    color: var(--yt-text, #f1f1f1);
    width: 90%;
    max-width: 520px;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.6);
}
.yt-share-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.yt-share-modal__head h3 { margin: 0; font-size: 18px; font-weight: 600; }
.yt-share-modal__close {
    background: transparent;
    border: none;
    color: var(--yt-text-2, #aaa);
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 50%;
}
.yt-share-modal__close:hover { background: var(--yt-hover, #272727); color: #fff; }
.yt-share-modal__apps {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 20px;
}
.yt-share-app {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--yt-text, #f1f1f1);
    font-size: 12px;
    cursor: pointer;
    text-decoration: none;
}
.yt-share-app__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
}
.yt-share-app__icon--fb { background: #1877f2; }
.yt-share-app__icon--zalo { background: #0068ff; }
.yt-share-app__icon--mail { background: #ea4335; }
.yt-share-app__icon--embed { background: #5f6368; }
.yt-share-modal__linkbox {
    display: flex;
    align-items: center;
    background: var(--yt-bg, #0f0f0f);
    border: 1px solid var(--yt-border, #303030);
    border-radius: 8px;
    padding: 4px 6px 4px 14px;
    margin-bottom: 16px;
}
.yt-share-modal__input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 13px;
    outline: none;
}
.yt-share-modal__copy {
    background: #3ea6ff;
    color: #0f0f0f;
    border: none;
    padding: 8px 16px;
    border-radius: 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.yt-share-modal__copy:hover { background: #65b8ff; }
.yt-share-modal__startat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--yt-text-2, #aaa);
}

/* 7. Verified Badge for Educational Channels */
.yt-card__verified,
.yt-watch-channel__name i,
.yt-watch-related__channel i.fa-check-circle {
    color: #25b75c !important;
    margin-left: 3px;
    font-size: 13px;
}

/* 8. YouTube Top Floating Bar & Watermark (ChĂ­nh xĂ¡c theo áº£nh chá»¥p) */
.yt-player-topbar {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 25;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.yt-watch-player:hover .yt-player-topbar,
.yt-watch-player.is-controls-visible .yt-player-topbar {
    opacity: 1;
    pointer-events: auto;
}
.yt-player-topbtn {
    height: 32px;
    padding: 0 12px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.yt-player-topbtn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}
.yt-player-topbtn--ai {
    background: rgba(37, 183, 92, 0.85);
    border-color: rgba(255, 255, 255, 0.3);
    font-weight: 600;
}
.yt-player-topbtn--ai:hover {
    background: #25b75c;
    box-shadow: 0 0 16px rgba(37, 183, 92, 0.6);
}

/* Watermark ÄÄƒng kĂ½ gĂ³c dÆ°á»›i bĂªn pháº£i */
.yt-player-watermark {
    position: absolute;
    right: 16px;
    bottom: 56px;
    z-index: 22;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.yt-player-watermark:hover {
    opacity: 1;
    transform: scale(1.05);
}
.yt-player-watermark__badge {
    background: rgba(204, 0, 0, 0.85);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Time Indicator Badge dáº¡ng Pill tá»‘i bĂ³ng nhÆ° trong áº£nh chá»¥p */
.yt-player-time {
    background: rgba(0, 0, 0, 0.65) !important;
    backdrop-filter: blur(4px) !important;
    padding: 4px 12px !important;
    border-radius: 14px !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    margin: 0 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
}

/* 9. YouTube Studio Management Dashboard Styling */
.py-studio-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.py-studio-stat-card {
    background: var(--yt-bg-2, #181818);
    border: 1px solid var(--yt-border, #303030);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.py-studio-stat-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(37, 183, 92, 0.15);
    color: #25b75c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.py-studio-stat-card__info { min-width: 0; }
.py-studio-stat-card__num { font-size: 24px; font-weight: 700; color: #fff; margin: 0; }
.py-studio-stat-card__label { font-size: 13px; color: var(--yt-text-2, #aaa); margin: 0; }

.yt-studio-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px;
}
.py-studio-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding: 18px 20px;
    border: 1px solid var(--yt-border, #303030);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
}
.py-studio-head__title {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}
.py-studio-head__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(37, 183, 92, 0.16);
    color: #25b75c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex: 0 0 auto;
}
.py-studio-head__title h1 {
    margin: 0;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--yt-text, #f1f1f1);
}
.py-studio-head__action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--yt-border, #303030);
    background: var(--yt-chip, #272727);
    color: var(--yt-text, #f1f1f1);
    text-decoration: none;
    font-weight: 600;
    flex: 0 0 auto;
}
.py-studio-head__action:hover { background: var(--yt-chip-hover, #3f3f3f); }
.py-studio-head__action--inline {
    height: 38px;
    margin-top: 2px;
}
.py-studio-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.05);
    color: var(--yt-text-2, #aaa);
    font-size: 12px;
    font-weight: 600;
}
.py-studio-pill i { color: #25b75c; }
.py-studio-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.py-studio-iconbtn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--yt-border, #303030);
    border-radius: 12px;
    background: var(--yt-chip, #272727);
    color: var(--yt-text, #f1f1f1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.py-studio-iconbtn:hover { background: var(--yt-chip-hover, #3f3f3f); }
.py-studio-iconbtn--danger {
    background: rgba(211, 47, 47, 0.16);
    border-color: rgba(211, 47, 47, 0.35);
    color: #ff8f8f;
}
.py-studio-iconbtn--danger:hover { background: rgba(211, 47, 47, 0.24); }
.py-studio-iconbtn--toggle.success {
    background: rgba(37, 183, 92, 0.16);
    border-color: rgba(37, 183, 92, 0.35);
    color: #25b75c;
}
.py-studio-iconbtn--toggle.success:hover { background: rgba(37, 183, 92, 0.24); }
.py-studio-iconbtn--toggle.muted {
    background: rgba(62, 166, 255, 0.14);
    border-color: rgba(62, 166, 255, 0.30);
    color: #3ea6ff;
}
.py-studio-iconbtn--toggle.muted:hover { background: rgba(62, 166, 255, 0.22); }

.py-studio-table-wrap {
    background: var(--yt-bg-2, #181818);
    border-radius: 16px;
    border: 1px solid var(--yt-border, #303030);
    overflow: hidden;
}
.py-studio-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--yt-text, #f1f1f1);
    font-size: 13.5px;
}
.py-studio-table th {
    background: var(--yt-elevated, #212121);
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--yt-text-2, #aaa);
    border-bottom: 1px solid var(--yt-border, #303030);
}
.py-studio-table th i {
    margin-right: 6px;
    color: #25b75c;
}
.py-studio-table th span { white-space: nowrap; }
.py-studio-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--yt-border, #303030);
    vertical-align: middle;
}
.py-studio-table tr:hover { background: var(--yt-hover, #272727); }
.py-studio-badge { 
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.py-studio-badge--public { background: rgba(37, 183, 92, 0.2); color: #25b75c; }
.py-studio-badge--private { background: rgba(255, 179, 0, 0.2); color: #ffb300; }

.py-studio-empty {
    text-align: center;
    padding: 48px 24px;
    background: var(--yt-bg-2, #181818);
    border-radius: 16px;
    border: 1px solid var(--yt-border, #303030);
    margin-top: 16px;
}
.py-studio-empty i {
    font-size: 36px;
    color: var(--yt-text-2, #aaa);
    margin-bottom: 12px;
}
.py-studio-empty p {
    font-size: 15px;
    color: var(--yt-text, #f1f1f1);
    margin: 0 0 12px;
}

/* 10. Force Views and Time to stay on a SINGLE ROW in related videos list & cards */
.yt-watch-related__stats,
.yt-rel__stats,
.yt-card__stats,
.py-meta {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    gap: 2px !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
}

.yt-watch-related__stats > span,
.yt-rel__stats > span,
.yt-card__stats > span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.yt-watch-related__stats > span:not(:last-child)::after,
.yt-rel__stats > span:not(:last-child)::after {
    content: "·";
    margin: 0 3px 0 5px;
    opacity: 0.7;
    display: inline-block;
}
.yt-watch-related__stats{
    display:flex !important;
    align-items:center !important;
    flex-wrap:nowrap !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    gap:6px !important;
    margin-top:5px !important;
}
.yt-watch-related__stats > span + span::before,
.yt-watch-related__stats > span:not(:last-child)::after{
    content:"·";
    display:inline-block;
    margin:0 4px 0 6px;
    opacity:.7;
}

/* Hard override for watch sidebar related stats: always single row, never wrap. */
.ytapp--watch .yt-watch-related__stats{
    display:block !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    line-height:1.25 !important;
    gap:0 !important;
}
.ytapp--watch .yt-watch-related__stats > span{
    display:inline !important;
    white-space:nowrap !important;
    vertical-align:baseline !important;
    flex-shrink:0 !important;
}
.ytapp--watch .yt-watch-related__stats > span + span{
    margin-left:6px !important;
}
.ytapp--watch .yt-watch-related__stats > span + span::before{
    content:none !important;
    display:none !important;
}

/* ==========================================================================
   PEKEDU Video 2.1 â€” ZERO Horizontal Overflow & Subpage Layout Perfection
   ========================================================================== */

/* 1. Global Container Clamp & Full 100% Width Main Viewport */
html, body, #ytapp, .ytapp {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
}

.yt-main {
    position: absolute !important;
    top: var(--yt-header-h, 56px) !important;
    left: var(--yt-sidebar-w, 240px) !important;
    right: 0 !important;
    bottom: 0 !important;
    width: auto !important;
    max-width: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background: var(--yt-bg) !important;
    box-sizing: border-box !important;
    transition: left 300ms cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

body.is-sidebar-hidden .yt-main,
#ytapp.is-sidebar-hidden .yt-main,
.ytapp.is-sidebar-hidden .yt-main,
.yt-main.is-sidebar-hidden {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.yt-home-section, .yt-subpage, .py-page, .py-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* 2. Subpage Container Styling */
.yt-subpage, .py-page, .py-content {
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
    padding: 16px 24px 32px !important;
    box-sizing: border-box !important;
}

/* 3. Subpage Chips Bar (Thanh tháº» danh má»¥c cuá»™n mÆ°á»£t khĂ´ng hiá»‡n thanh trÆ°á»£t) */
.py-chips, .yt-chips {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-bottom: 8px !important;
    margin-bottom: 20px !important;
}
.py-chips::-webkit-scrollbar, .yt-chips::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
.py-chip, .yt-chip {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

/* 4. Channel Search Cards & Playlists Grid (Äáº£m báº£o tá»± co giĂ£n chuáº©n nhÆ° trang chá»§) */
.py-channel-search-grid,
.py-search-playlists {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 16px !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-bottom: 24px !important;
}

.py-channel-search-card,
.py-search-playlist {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.py-channel-search-card p,
.py-channel-search-card span,
.py-channel-search-card strong,
.py-search-playlist strong,
.py-search-playlist em {
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    min-width: 0 !important;
}

.py-channel-search-card p {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* 5. Responsive Main Grids matching YouTube 100% (3 cards when menu open, 4 cards when menu closed) */
.ytapp .yt-grid,
.ytapp .py-grid,
.yt-grid,
.py-grid,
[data-home-recommend-grid],
[data-home-feed-grid] {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    column-gap: 16px !important;
    row-gap: 40px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

body.is-sidebar-hidden .yt-grid,
body.is-sidebar-hidden .py-grid,
body.is-sidebar-hidden [data-home-recommend-grid],
body.is-sidebar-hidden [data-home-feed-grid],
#ytapp.is-sidebar-hidden .yt-grid,
#ytapp.is-sidebar-hidden .py-grid,
#ytapp.is-sidebar-hidden [data-home-recommend-grid],
#ytapp.is-sidebar-hidden [data-home-feed-grid],
.ytapp.is-sidebar-hidden .yt-grid,
.ytapp.is-sidebar-hidden .py-grid,
.ytapp.is-sidebar-hidden [data-home-recommend-grid],
.ytapp.is-sidebar-hidden [data-home-feed-grid] {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    column-gap: 16px !important;
    row-gap: 40px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

@media (max-width: 1200px) {
    .ytapp .yt-grid,
    .ytapp .py-grid,
    .yt-grid,
    .py-grid,
    [data-home-recommend-grid],
    [data-home-feed-grid] {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    body.is-sidebar-hidden .yt-grid,
    body.is-sidebar-hidden .py-grid,
    body.is-sidebar-hidden [data-home-recommend-grid],
    body.is-sidebar-hidden [data-home-feed-grid],
    #ytapp.is-sidebar-hidden .yt-grid,
    #ytapp.is-sidebar-hidden .py-grid,
    #ytapp.is-sidebar-hidden [data-home-recommend-grid],
    #ytapp.is-sidebar-hidden [data-home-feed-grid],
    .ytapp.is-sidebar-hidden .yt-grid,
    .ytapp.is-sidebar-hidden .py-grid,
    .ytapp.is-sidebar-hidden [data-home-recommend-grid],
    .ytapp.is-sidebar-hidden [data-home-feed-grid] {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    .ytapp .yt-grid,
    .ytapp .py-grid,
    .yt-grid,
    .py-grid,
    [data-home-recommend-grid],
    [data-home-feed-grid],
    body.is-sidebar-hidden .yt-grid,
    body.is-sidebar-hidden .py-grid,
    body.is-sidebar-hidden [data-home-recommend-grid],
    body.is-sidebar-hidden [data-home-feed-grid],
    #ytapp.is-sidebar-hidden .yt-grid,
    #ytapp.is-sidebar-hidden .py-grid,
    #ytapp.is-sidebar-hidden [data-home-recommend-grid],
    #ytapp.is-sidebar-hidden [data-home-feed-grid],
    .ytapp.is-sidebar-hidden .yt-grid,
    .ytapp.is-sidebar-hidden .py-grid,
    .ytapp.is-sidebar-hidden [data-home-recommend-grid],
    .ytapp.is-sidebar-hidden [data-home-feed-grid] {
        grid-template-columns: 1fr !important;
    }
}

/* YouTube Card Precision Formatting (Chuáº©n 100% theo áº¢nh 1 YouTube) */
.yt-card__thumb {
    border-radius: 12px !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    background: #272727 !important;
}
.yt-card__title {
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: var(--yt-text, #f1f1f1) !important;
    margin: 0 0 4px 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}
.yt-card__chan {
    font-size: 13.5px !important;
    color: #aaaaaa !important;
    margin: 0 0 2px 0 !important;
}
.yt-card__stats {
    font-size: 13.5px !important;
    color: #aaaaaa !important;
    margin: 0 !important;
}

/* Table Responsive Container */
.py-list-table-wrap, .yt-table-wrap {
    max-width: 100% !important;
    overflow-x: auto !important;
}

/* ==========================================================================
   PEKEDU Video 2.2 â€” YouTube Watch Page Precision Styling (Chuáº©n 100% áº¢nh 1)
   ========================================================================== */

/* 1. Hide unwanted top floating pills inside the video player container */
.yt-player-topbar {
    display: none !important;
}

/* ==========================================================================
   PEKEDU Video 2.6 â€” YouTube Watch Page Precision 16:9 Aspect Fit & 580px Related Column
   (Khung video vá»«a khĂ­t 16:9 khĂ´ng viá»n Ä‘en, nhÆ°á»ng diá»‡n tĂ­ch cho cá»™t video liĂªn quan 580px, áº£nh 220px)
   ========================================================================== */

/* 1. Hide top floating pills overlay inside video player */
.yt-player-topbar {
    display: none !important;
}

/* 2. Full-Width Watch Container with Flex Layout */
.ytapp--watch .yt-main--watch {
    left: 0 !important;
    top: var(--yt-header-h) !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-y: auto !important;
    background: var(--yt-bg) !important;
}

.yt-watch-page {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 10px 10px 38px 10px !important;
    box-sizing: border-box !important;
}

/* Video Column: Expanded 16:9 player height & width -> ZERO side black bars! */
.yt-watch-column {
    min-width: 0 !important;
    flex: 0 1 calc(100% - 440px - 10px) !important;
    width: calc(100% - 440px - 10px) !important;
    max-width: calc(100% - 440px - 10px) !important;
}

.yt-watch-player {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    max-height: calc(100vh - 100px) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #000000 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

.yt-watch-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: var(--yt-text, #f1f1f1) !important;
    margin: 12px 0 10px 0 !important;
}

/* 3. Channel Row & Subscribe Pill Button */
.yt-watch-toolbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    margin-bottom: 14px !important;
}

.yt-watch-channel__avatar {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
}

.yt-watch-channel__name {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
}

.yt-watch-channel__subs {
    font-size: 12px !important;
    color: #aaaaaa !important;
}

/* YouTube Subscribe Pill Button: Bold White for Unsubscribed, Dark Gray for Subscribed */
.yt-watch-subscribe {
    height: 36px !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 18px !important;
    background: #f1f1f1 !important;
    color: #0f0f0f !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    margin-left: 12px !important;
    transition: background-color 0.15s ease, opacity 0.15s ease !important;
}
.yt-watch-subscribe:hover {
    background: #e5e5e5 !important;
}
.yt-watch-subscribe.is-active {
    background: #272727 !important;
    color: #f1f1f1 !important;
}
.yt-watch-subscribe.is-active:hover {
    background: #3f3f3f !important;
}

/* 4. Action Buttons (ThĂ­ch, Chia sáº», Äáº·t cĂ¢u há»i, LÆ°u, ...) - Sleek YouTube Dark Pill #272727 */
.yt-watch-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
}

.yt-watch-action,
.yt-watch-vote {
    height: 36px !important;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 18px !important;
    background: #272727 !important;
    color: #f1f1f1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    transition: background-color 0.15s ease !important;
}

.yt-watch-action:hover,
.yt-watch-vote .yt-watch-action:hover {
    background: #3f3f3f !important;
    color: #ffffff !important;
}

.yt-watch-vote .yt-watch-action {
    background: transparent !important;
}

.yt-watch-vote__line {
    width: 1px !important;
    height: 20px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    flex-shrink: 0 !important;
}

.yt-watch-action--icon {
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border-radius: 50% !important;
}

/* 5. Description Container (`.yt-watch-desc`) */
.yt-watch-desc {
    margin: 14px 0 24px !important;
    padding: 12px 16px !important;
    border-radius: 12px !important;
    background: #272727 !important;
    color: #f1f1f1 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    border: 0 !important;
}

.yt-watch-desc__meta {
    font-weight: 700 !important;
    color: #f1f1f1 !important;
    margin-bottom: 6px !important;
    font-size: 14px !important;
}

/* 6. Related Videos Column (`.yt-watch-related`) - Right-aligned 420px YouTube standard column */
.yt-watch-related {
    min-width: 0 !important;
    flex: 0 0 440px !important;
    width: 440px !important;
    max-width: 440px !important;
    margin-left: auto !important;
}

.yt-watch-related__list {
    width: 100% !important;
}

.yt-watch-related__item {
    display: grid !important;
    grid-template-columns: 168px minmax(0, 1fr) 20px !important;
    gap: 12px !important;
    width: 100% !important;
    margin-bottom: 16px !important;
    color: var(--yt-text, #f1f1f1) !important;
    text-decoration: none !important;
    align-items: start !important;
}

.yt-watch-related__thumb {
    width: 168px !important;
    height: 94px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
}

.yt-watch-related__thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.yt-watch-related__info h3 {
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    margin: 0 0 5px 0 !important;
    color: var(--yt-text, #ffffff) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.yt-watch-related__channel {
    font-size: 13.5px !important;
    color: #aaaaaa !important;
    margin-bottom: 4px !important;
}

.yt-watch-related__stats {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: #aaaaaa !important;
    font-size: 13.5px !important;
    line-height: 1.3 !important;
}

.yt-watch-related__stats i {
    font-size: 12px !important;
    margin-right: 5px !important;
}

.yt-watch-related__stats > span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.yt-watch-related__stats > span:not(:last-child)::after {
    content: "·" !important;
    margin: 0 4px 0 6px !important;
    opacity: 0.7 !important;
}

@media (max-width: 1100px) {
    .yt-watch-page {
        flex-direction: column !important;
        padding: 12px 12px 36px 12px !important;
    }
    .yt-watch-column {
        max-width: 100% !important;
    }
    .yt-watch-related {
        max-width: 100% !important;
    }
}

/* 7. Precision Vertical Alignment for Chips Navigation Rails & Arrow Buttons */
.yt-chips-wrap,
.yt-chiprail,
.yt-watch-related__chiprow,
.py-chips-bar,
.py-chips {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    position: relative !important;
}

.yt-chips,
.yt-watch-related__chips {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    overflow-x: auto !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding: 2px 0 !important;
    margin: 0 !important;
    scrollbar-width: none !important;
}

.yt-chips::-webkit-scrollbar,
.yt-watch-related__chips::-webkit-scrollbar {
    display: none !important;
}

/* Arrow buttons 100% aligned with chip pills center axis */
.yt-chipnav,
.yt-chips-btn,
.yt-watch-related__chipnav,
.py-chip-nav {
    flex: 0 0 32px !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    border-radius: 50% !important;
    border: none !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--yt-text, #ffffff) !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 6px 0 0 !important;
    padding: 0 !important;
    align-self: center !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
    transition: background-color 0.15s ease, opacity 0.15s ease !important;
}

.yt-chipnav:last-child,
.yt-watch-related__chipnav:last-child {
    margin: 0 0 0 6px !important;
}

.yt-chipnav i,
.yt-chips-btn i,
.yt-watch-related__chipnav i,
.py-chip-nav i {
    font-size: 12px !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.yt-chipnav:hover,
.yt-chips-btn:hover,
.yt-watch-related__chipnav:hover,
.py-chip-nav:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

.yt-chip,
.py-chip,
.yt-watch-related__chips button {
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 12px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    align-self: center !important;
}

/* 8. Tight Top Spacing for Video Grid underneath Chips Menu Bar (100% YouTube Parity) */
.yt-chips-wrap {
    padding: 12px 24px 8px 24px !important;
}

.yt-grid {
    padding: 12px 24px 36px 24px !important;
}

.yt-home-section {
    margin-bottom: 20px !important;
}

.yt-page-head {
    display: none !important;
}

/* 9. YouTube Studio & Official Desktop 100% Matching Left Sidebar Styling */
.yt-sidebar {
    width: 240px !important;
    padding: 12px 12px 32px 12px !important;
    background: var(--yt-bg) !important;
    scrollbar-width: none !important;
    box-sizing: border-box !important;
}

.yt-sidebar::-webkit-scrollbar {
    display: none !important;
}

.yt-sb__section {
    padding: 4px 0 !important;
}

.yt-sb__divider {
    height: 1px !important;
    background: var(--yt-border, rgba(255, 255, 255, 0.1)) !important;
    border: none !important;
    margin: 12px 0 !important;
}

.yt-sb__title {
    padding: 8px 12px 6px 12px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--yt-text, #ffffff) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.yt-sb__title-link,
.yt-sb__title a {
    color: var(--yt-text-2, #aaaaaa) !important;
    font-size: 14px !important;
}

.yt-sb__item,
.yt-sb__channel {
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 12px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
    color: var(--yt-text, #f1f1f1) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    margin-bottom: 2px !important;
    transition: background-color 0.12s ease !important;
}

.yt-sb__item:hover,
.yt-sb__channel:hover,
.yt-sb__moretoggle:hover {
    background: var(--yt-hover, rgba(255, 255, 255, 0.1)) !important;
    color: var(--yt-text, #ffffff) !important;
}

/* Active Pill (e.g. Trang chá»§) */
.yt-sb__item.is-active {
    background: #272727 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

.ytapp[data-theme="light"] .yt-sb__item.is-active {
    background: #f2f2f2 !important;
    color: #0f0f0f !important;
    font-weight: 600 !important;
}

.yt-sb__icon {
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    color: inherit !important;
}

.yt-sb__chan-avatar {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
}

.yt-sb__chan-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.yt-sb__active-dot {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #065fd4 !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
}

/* Remove rectangular button frame on "Hiá»ƒn thá»‹ thĂªm" to match YouTube 100% */
.yt-sb__moretoggle {
    height: 40px !important;
    min-height: 40px !important;
    width: 100% !important;
    padding: 0 12px !important;
    border-radius: 10px !important;
    border: none !important;
    background: transparent !important;
    color: var(--yt-text, #ffffff) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
    cursor: pointer !important;
    text-align: left !important;
    margin-top: 2px !important;
}

.yt-sb__moretoggle i {
    width: 24px !important;
    font-size: 16px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
}

/* 10. Sticky Chips Category Navigation Bar on Scroll (Chuáº©n YouTube) */
.yt-chips-wrap {
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    background: var(--yt-bg, #0f0f0f) !important;
    padding: 12px 24px 10px 24px !important;
    margin: 0 !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35) !important;
    transition: background-color 0.15s ease, box-shadow 0.15s ease !important;
}

.ytapp[data-theme="light"] .yt-chips-wrap {
    background: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}

.py-chips {
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    background: var(--yt-bg, #0f0f0f) !important;
    padding: 12px 0 10px 0 !important;
    margin: 0 0 16px 0 !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35) !important;
}

.ytapp[data-theme="light"] .py-chips {
    background: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}

/* 11. Unified Master Header & Sticky Chips Bar Alignment Across All Pages */
.yt-header {
    height: var(--yt-header-h, 56px) !important;
    padding: 0 16px !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background: var(--yt-bg) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-shadow: none !important;
    border-bottom: 1px solid var(--yt-border, rgba(255, 255, 255, 0.08)) !important;
}

.yt-main {
    position: absolute !important;
    top: var(--yt-header-h, 56px) !important;
    left: var(--yt-sidebar-w, 240px) !important;
    right: 0 !important;
    bottom: 0 !important;
    overflow-y: auto !important;
    background: var(--yt-bg) !important;
}

.ytapp.is-sidebar-hidden .yt-main {
    left: 0 !important;
}

.yt-chips-wrap {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 100 !important;
    background: var(--yt-bg, #0f0f0f) !important;
    padding: 12px 24px 10px 24px !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35) !important;
}

.ytapp[data-theme="light"] .yt-chips-wrap {
    background: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}

.yt-subpage {
    padding: 16px 24px 40px 24px !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 12. Pure Solid Background for Watch Page (Ná»n thuáº§n 100% Äen/Tráº¯ng khĂ´ng pha mĂ u) */
.yt-watch-ambient,
.yt-watch-ambient__canvas {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.ytapp--watch,
.ytapp--watch .yt-main--watch,
.ytapp--watch .yt-watch-page {
    background: #0f0f0f !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.ytapp[data-theme="light"].ytapp--watch,
.ytapp[data-theme="light"].ytapp--watch .yt-main--watch,
.ytapp[data-theme="light"].ytapp--watch .yt-watch-page {
    background: #ffffff !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.ytapp[data-theme="light"] .yt-watch-title {
    color: #0f0f0f !important;
}

.ytapp[data-theme="light"] .yt-watch-channel__name {
    color: #0f0f0f !important;
}

.ytapp[data-theme="light"] .yt-watch-channel__subs {
    color: #606060 !important;
}

.ytapp[data-theme="light"] .yt-watch-action,
.ytapp[data-theme="light"] .yt-watch-vote {
    background: #f2f2f2 !important;
    color: #0f0f0f !important;
}

.ytapp[data-theme="light"] .yt-watch-action:hover {
    background: #e5e5e5 !important;
}

.ytapp[data-theme="light"] .yt-watch-desc {
    background: #f2f2f2 !important;
    color: #0f0f0f !important;
}

.ytapp[data-theme="light"] .yt-watch-desc__meta {
    color: #0f0f0f !important;
}

.ytapp[data-theme="light"] .yt-watch-related__info h3 {
    color: #0f0f0f !important;
}

.ytapp[data-theme="light"] .yt-watch-related__info p {
    color: #606060 !important;
}

/* 14. Watch layout balance: crop player bars, widen related column, enlarge thumbnails */
.ytapp--watch .yt-watch-page {
    gap: 8px !important;
    padding: 10px 10px 36px 10px !important;
}
.ytapp--watch .yt-watch-column {
    flex: 0 1 calc(100% - 500px - 8px) !important;
    width: calc(100% - 500px - 8px) !important;
    max-width: calc(100% - 500px - 8px) !important;
}
.ytapp--watch .yt-watch-related {
    flex: 0 0 500px !important;
    width: 500px !important;
    max-width: 500px !important;
}
.ytapp--watch .yt-watch-player__media {
    object-fit: cover !important;
}
.ytapp--watch .yt-custom-player iframe.yt-watch-player__media {
    width: 112% !important;
    height: 112% !important;
    left: -6% !important;
    top: -6% !important;
    max-width: none !important;
    max-height: none !important;
    transform: none !important;
}
.ytapp--watch .yt-watch-related__item {
    grid-template-columns: 196px minmax(0, 1fr) 20px !important;
    gap: 14px !important;
}
.ytapp--watch .yt-watch-related__thumb {
    width: 196px !important;
    height: 110px !important;
}

/* 13. Comprehensive Light Mode Theme Alignment (Chuáº©n 100% Giao diá»‡n SĂ¡ng YouTube) */
.ytapp[data-theme="light"] {
    --yt-bg: #ffffff !important;
    --yt-bg-2: #f9f9f9 !important;
    --yt-elevated: #ffffff !important;
    --yt-chip: #f2f2f2 !important;
    --yt-chip-hover: #e5e5e5 !important;
    --yt-hover: #f2f2f2 !important;
    --yt-text: #0f0f0f !important;
    --yt-text-2: #606060 !important;
    --yt-border: #e5e5e5 !important;
    background: #ffffff !important;
    color: #0f0f0f !important;
}

.ytapp[data-theme="light"] .yt-header {
    background: #ffffff !important;
    border-bottom: 1px solid #e5e5e5 !important;
}

.ytapp[data-theme="light"] .yt-iconbtn {
    color: #0f0f0f !important;
}
.ytapp[data-theme="light"] .yt-iconbtn:hover {
    background: #f2f2f2 !important;
}

.ytapp[data-theme="light"] .yt-logo__text {
    color: #0f0f0f !important;
}
.ytapp[data-theme="light"] .yt-logo__text b {
    color: #0f0f0f !important;
}

/* Light Mode Search Bar */
.ytapp[data-theme="light"] .yt-search__input {
    background: #ffffff !important;
    border-color: #ccc !important;
    color: #0f0f0f !important;
}
.ytapp[data-theme="light"] .yt-search__input::placeholder {
    color: #606060 !important;
}
.ytapp[data-theme="light"] .yt-search__btn {
    background: #f8f8f8 !important;
    border-color: #ccc !important;
    color: #0f0f0f !important;
}
.ytapp[data-theme="light"] .yt-search__btn:hover {
    background: #f0f0f0 !important;
}
.ytapp[data-theme="light"] .yt-voice {
    background: #f2f2f2 !important;
    color: #0f0f0f !important;
}
.ytapp[data-theme="light"] .yt-voice:hover {
    background: #e5e5e5 !important;
}

/* Light Mode "+ Táº¡o" Button */
.ytapp[data-theme="light"] .yt-createbtn {
    background: #f2f2f2 !important;
    color: #0f0f0f !important;
}
.ytapp[data-theme="light"] .yt-createbtn:hover {
    background: #e5e5e5 !important;
}
.ytapp[data-theme="light"] .yt-createbtn svg,
.ytapp[data-theme="light"] .yt-createbtn__plus {
    color: #0f0f0f !important;
    fill: #0f0f0f !important;
    stroke: #0f0f0f !important;
}

/* Light Mode Dropdown Menus (Táº¡o / ThĂ´ng bĂ¡o / Account) */
.ytapp[data-theme="light"] .yt-menu,
.ytapp[data-theme="light"] .yt-account-menu {
    background: #ffffff !important;
    box-shadow: 0 4px 28px rgba(0, 0, 0, 0.16) !important;
    border: 1px solid #e5e5e5 !important;
}

.ytapp[data-theme="light"] .yt-menu__item,
.ytapp[data-theme="light"] .yt-account-menu__item {
    color: #0f0f0f !important;
}
.ytapp[data-theme="light"] .yt-menu__item i,
.ytapp[data-theme="light"] .yt-menu__item svg,
.ytapp[data-theme="light"] .yt-account-menu__item i,
.ytapp[data-theme="light"] .yt-account-menu__item svg {
    color: #0f0f0f !important;
    fill: #0f0f0f !important;
}
.ytapp[data-theme="light"] .yt-menu__item:hover,
.ytapp[data-theme="light"] .yt-account-menu__item:hover {
    background: #f2f2f2 !important;
}

/* Light Mode Sidebar */
.ytapp[data-theme="light"] .yt-sidebar {
    background: #ffffff !important;
}
.ytapp[data-theme="light"] .yt-sb__item {
    color: #0f0f0f !important;
}
.ytapp[data-theme="light"] .yt-sb__item:hover {
    background: #f2f2f2 !important;
}
.ytapp[data-theme="light"] .yt-sb__item.is-active {
    background: #f2f2f2 !important;
    color: #0f0f0f !important;
}
.ytapp[data-theme="light"] .yt-sb__moretoggle {
    color: #0f0f0f !important;
}
.ytapp[data-theme="light"] .yt-sb__moretoggle:hover {
    background: #f2f2f2 !important;
}
.ytapp[data-theme="light"] .yt-sb__title {
    color: #0f0f0f !important;
}
.ytapp[data-theme="light"] .yt-sb__channel {
    color: #0f0f0f !important;
}
.ytapp[data-theme="light"] .yt-sb__channel:hover {
    background: #f2f2f2 !important;
}

/* Light Mode Chips Navigation Arrows & Pills */
.ytapp[data-theme="light"] .yt-chip {
    background: #f2f2f2 !important;
    color: #0f0f0f !important;
}
.ytapp[data-theme="light"] .yt-chip:hover {
    background: #e5e5e5 !important;
}
.ytapp[data-theme="light"] .yt-chip.is-active {
    background: #0f0f0f !important;
    color: #ffffff !important;
}
.ytapp[data-theme="light"] .yt-chipnav {
    background: #ffffff !important;
    color: #0f0f0f !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}
.ytapp[data-theme="light"] .yt-chipnav:hover {
    background: #f2f2f2 !important;
}

/* 14. Smooth GPU-Accelerated Liquid Sidebar Toggle Transition (300ms cubic-bezier) */
.yt-sidebar {
    position: fixed !important;
    top: var(--yt-header-h, 56px) !important;
    left: 0 !important;
    bottom: 0 !important;
    width: var(--yt-sidebar-w, 240px) !important;
    background: var(--yt-bg) !important;
    overflow-y: auto !important;
    padding: 12px !important;
    z-index: 80 !important;
    transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 300ms cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    will-change: transform, opacity !important;
    transform: translateX(0);
    opacity: 1;
}

.yt-main {
    position: absolute !important;
    top: var(--yt-header-h, 56px) !important;
    left: var(--yt-sidebar-w, 240px) !important;
    right: 0 !important;
    bottom: 0 !important;
    overflow-y: auto !important;
    background: var(--yt-bg) !important;
    transition: left 300ms cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    will-change: left !important;
}

body.is-sidebar-hidden .yt-sidebar,
#ytapp.is-sidebar-hidden .yt-sidebar,
.ytapp.is-sidebar-hidden .yt-sidebar,
.yt-sidebar.is-hidden {
    transform: translateX(-100%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body.is-sidebar-hidden .yt-main,
#ytapp.is-sidebar-hidden .yt-main,
.ytapp.is-sidebar-hidden .yt-main,
.yt-main.is-sidebar-hidden {
    left: 0 !important;
}

/* 15. Responsive Dynamic 4-Column Grid Reflow on Sidebar Collapse (Chuáº©n 100% YouTube - KhĂ´ng khoáº£ng trá»‘ng bĂªn pháº£i) */
body.is-sidebar-hidden .yt-grid,
body.is-sidebar-hidden .py-grid,
body.is-sidebar-hidden [data-home-recommend-grid],
body.is-sidebar-hidden [data-home-feed-grid],
#ytapp.is-sidebar-hidden .yt-grid,
#ytapp.is-sidebar-hidden .py-grid,
#ytapp.is-sidebar-hidden [data-home-recommend-grid],
#ytapp.is-sidebar-hidden [data-home-feed-grid],
.ytapp.is-sidebar-hidden .yt-grid,
.ytapp.is-sidebar-hidden .py-grid,
.ytapp.is-sidebar-hidden [data-home-recommend-grid],
.ytapp.is-sidebar-hidden [data-home-feed-grid] {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 100% !important;
    transition: grid-template-columns 300ms cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

@media (min-width: 1800px) {
    body.is-sidebar-hidden .yt-grid,
    body.is-sidebar-hidden .py-grid,
    body.is-sidebar-hidden [data-home-recommend-grid],
    body.is-sidebar-hidden [data-home-feed-grid],
    #ytapp.is-sidebar-hidden .yt-grid,
    #ytapp.is-sidebar-hidden .py-grid,
    #ytapp.is-sidebar-hidden [data-home-recommend-grid],
    #ytapp.is-sidebar-hidden [data-home-feed-grid],
    .ytapp.is-sidebar-hidden .yt-grid,
    .ytapp.is-sidebar-hidden .py-grid,
    .ytapp.is-sidebar-hidden [data-home-recommend-grid],
    .ytapp.is-sidebar-hidden [data-home-feed-grid] {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 1200px) {
    body.is-sidebar-hidden .yt-grid,
    body.is-sidebar-hidden .py-grid,
    body.is-sidebar-hidden [data-home-recommend-grid],
    body.is-sidebar-hidden [data-home-feed-grid],
    #ytapp.is-sidebar-hidden .yt-grid,
    #ytapp.is-sidebar-hidden .py-grid,
    #ytapp.is-sidebar-hidden [data-home-recommend-grid],
    #ytapp.is-sidebar-hidden [data-home-feed-grid],
    .ytapp.is-sidebar-hidden .yt-grid,
    .ytapp.is-sidebar-hidden .py-grid,
    .ytapp.is-sidebar-hidden [data-home-recommend-grid],
    .ytapp.is-sidebar-hidden [data-home-feed-grid] {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 800px) {
    body.is-sidebar-hidden .yt-grid,
    body.is-sidebar-hidden .py-grid,
    body.is-sidebar-hidden [data-home-recommend-grid],
    body.is-sidebar-hidden [data-home-feed-grid],
    #ytapp.is-sidebar-hidden .yt-grid,
    #ytapp.is-sidebar-hidden .py-grid,
    #ytapp.is-sidebar-hidden [data-home-recommend-grid],
    #ytapp.is-sidebar-hidden [data-home-feed-grid],
    .ytapp.is-sidebar-hidden .yt-grid,
    .ytapp.is-sidebar-hidden .py-grid,
    .ytapp.is-sidebar-hidden [data-home-recommend-grid],
    .ytapp.is-sidebar-hidden [data-home-feed-grid] {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* 16. Final watch-page responsive balance */
.ytapp--watch .yt-watch-page {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    padding: 10px 10px 36px 10px !important;
}

.ytapp--watch .yt-watch-column {
    flex: 1 1 0 !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
}

.ytapp--watch .yt-watch-related {
    flex: 0 0 clamp(300px, 26vw, 520px) !important;
    width: clamp(300px, 26vw, 520px) !important;
    max-width: clamp(300px, 26vw, 520px) !important;
}

.ytapp--watch .yt-watch-player {
    aspect-ratio: 16 / 9 !important;
}

.ytapp--watch .yt-watch-player__media {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.ytapp--watch .yt-watch-related__item {
    grid-template-columns: clamp(136px, 14vw, 196px) minmax(0, 1fr) 20px !important;
    gap: 12px !important;
}

.ytapp--watch .yt-watch-related__thumb {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
}

@media (max-width: 1320px) {
    .ytapp--watch .yt-watch-related {
        flex-basis: clamp(280px, 24vw, 380px) !important;
        width: clamp(280px, 24vw, 380px) !important;
        max-width: clamp(280px, 24vw, 380px) !important;
    }

    .ytapp--watch .yt-watch-related__item {
        grid-template-columns: clamp(128px, 13vw, 176px) minmax(0, 1fr) 20px !important;
    }
}

@media (max-width: 1120px) {
    .ytapp--watch .yt-watch-page {
        display: block !important;
        padding: 10px 10px 28px 10px !important;
    }

    .ytapp--watch .yt-watch-column,
    .ytapp--watch .yt-watch-related {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }

    .ytapp--watch .yt-watch-related {
        margin-top: 14px !important;
    }
}

.ytapp[data-guide-enabled="0"] .yt-guide-link { display:none !important; }
.yt-guide-page { display:flex;flex-direction:column;gap:18px;padding:24px 0 44px; }
.yt-guide-hero { position:relative;overflow:hidden;border:1px solid var(--yt-border,#e3e8ef);border-radius:24px;padding:24px;background:linear-gradient(135deg, rgba(62,166,255,.10), rgba(37,183,92,.08) 48%, rgba(255,179,0,.10));box-shadow:0 14px 34px rgba(15,23,42,.06); }
.ytapp[data-theme="dark"] .yt-guide-hero { background:linear-gradient(135deg, rgba(62,166,255,.12), rgba(37,183,92,.10) 46%, rgba(255,179,0,.08));box-shadow:0 16px 32px rgba(0,0,0,.36); }
.yt-guide-hero::after { content:"";position:absolute;inset:auto -70px -90px auto;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle, rgba(62,166,255,.18), transparent 68%);pointer-events:none; }
.yt-guide-hero__top { position:relative;z-index:1;display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:18px; }
.yt-guide-hero__copy { max-width:760px; }
.yt-guide-kicker { display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:999px;background:rgba(37,183,92,.12);color:#1d7b42;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase; }
.ytapp[data-theme="dark"] .yt-guide-kicker { background:rgba(37,183,92,.18);color:#8cf0b1; }
.yt-guide-title { margin:10px 0 0;font-size:30px;line-height:1.2;color:var(--yt-text,#1f2937); }
.ytapp[data-theme="dark"] .yt-guide-title { color:#f8fafc; }
.yt-guide-lead { margin:10px 0 0;color:var(--yt-text-2,#5b6470);font-size:15px;line-height:1.8; }
.yt-guide-actions { position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:10px; }
.yt-guide-grid { display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px; }
.yt-guide-card { height:100%;background:rgba(255,255,255,.82);border:1px solid var(--yt-border,#e3e8ef);border-radius:22px;padding:20px;box-shadow:0 10px 26px rgba(15,23,42,.05);backdrop-filter:blur(6px); }
.ytapp[data-theme="dark"] .yt-guide-card { background:rgba(24,24,24,.92);box-shadow:0 12px 28px rgba(0,0,0,.24); }
.yt-guide-card__head { display:flex;align-items:center;gap:12px;margin-bottom:12px; }
.yt-guide-card__icon { width:44px;height:44px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18); }
.yt-guide-card__title { margin:0;font-size:18px;line-height:1.35;color:var(--yt-text,#1f2937); }
.ytapp[data-theme="dark"] .yt-guide-card__title { color:#f8fafc; }
.yt-guide-card__list { margin:0;padding-left:18px;color:var(--yt-text-2,#5b6470);line-height:1.8; }
.yt-guide-card__list li + li { margin-top:8px; }
.yt-guide-card__list strong { color:var(--yt-text,#1f2937); }
.ytapp[data-theme="dark"] .yt-guide-card__list strong { color:#fff; }
.yt-guide-callout { display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;padding:20px 22px;border:1px solid var(--yt-border,#e3e8ef);border-radius:22px;background:linear-gradient(135deg, rgba(37,183,92,.08), rgba(62,166,255,.08));box-shadow:0 10px 24px rgba(15,23,42,.05); }
.ytapp[data-theme="dark"] .yt-guide-callout { background:linear-gradient(135deg, rgba(37,183,92,.12), rgba(62,166,255,.10));box-shadow:0 12px 28px rgba(0,0,0,.24); }
.yt-guide-callout__copy strong { display:block;color:var(--yt-text,#1f2937);font-size:16px; }
.ytapp[data-theme="dark"] .yt-guide-callout__copy strong { color:#fff; }
.yt-guide-callout__copy span { display:block;margin-top:4px;color:var(--yt-text-2,#5b6470);line-height:1.7; }

/* Shared subpage contrast for light and dark themes */
.ytapp .py-form-card,
.ytapp .py-playlist-card,
.ytapp .py-search-playlist,
.ytapp .py-channel-search-card,
.ytapp .py-list-table,
.ytapp .py-empty,
.ytapp .yt-page-form .py-empty {
    background: #1b1d20 !important;
    border-color: #2e333a !important;
    color: var(--yt-text) !important;
}
.ytapp .py-empty,
.ytapp .yt-page-form .py-empty {
    border-style: solid !important;
    border-width: 1px !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16) !important;
}
.ytapp .py-empty p,
.ytapp .py-empty span,
.ytapp .py-info-line,
.ytapp .py-channel-search-card p,
.ytapp .py-channel-search-card span,
.ytapp .py-search-playlist small,
.ytapp .py-search-playlist em,
.ytapp .py-meta {
    color: var(--yt-text-2) !important;
}
.ytapp .py-section-title h2,
.ytapp .py-card-title a,
.ytapp .py-channel-search-card strong,
.ytapp .py-search-playlist strong {
    color: var(--yt-text) !important;
}
.ytapp .py-chip {
    background: var(--yt-chip) !important;
    border-color: var(--yt-border) !important;
    color: var(--yt-text) !important;
}
.ytapp .py-chip:hover {
    background: var(--yt-chip-hover) !important;
}
.ytapp .py-chip.active,
.ytapp .py-chip[class*='active'] {
    background: var(--yt-text) !important;
    border-color: var(--yt-text) !important;
    color: var(--yt-bg) !important;
}
.ytapp[data-theme="light"] .py-form-card,
.ytapp[data-theme="light"] .py-playlist-card,
.ytapp[data-theme="light"] .py-search-playlist,
.ytapp[data-theme="light"] .py-channel-search-card,
.ytapp[data-theme="light"] .py-list-table,
.ytapp[data-theme="light"] .py-empty,
.ytapp[data-theme="light"] .yt-page-form .py-empty {
    background: #f7f8fb !important;
    border-color: #dfe5ec !important;
    color: #2f3740 !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04) !important;
}
.ytapp[data-theme="light"] .py-empty p,
.ytapp[data-theme="light"] .py-empty span,
.ytapp[data-theme="light"] .py-info-line,
.ytapp[data-theme="light"] .py-channel-search-card p,
.ytapp[data-theme="light"] .py-channel-search-card span,
.ytapp[data-theme="light"] .py-search-playlist small,
.ytapp[data-theme="light"] .py-search-playlist em,
.ytapp[data-theme="light"] .py-meta {
    color: #5f6770 !important;
}
.ytapp[data-theme="light"] .py-section-title h2,
.ytapp[data-theme="light"] .py-card-title a,
.ytapp[data-theme="light"] .py-channel-search-card strong,
.ytapp[data-theme="light"] .py-search-playlist strong {
    color: #2d333a !important;
}
.ytapp[data-theme="light"] .py-chip {
    background: #f2f4f7 !important;
    border-color: #dde3ea !important;
    color: #49515a !important;
}
.ytapp[data-theme="light"] .py-chip:hover {
    background: #e7ebf0 !important;
}
.ytapp[data-theme="light"] .py-chip.active,
.ytapp[data-theme="light"] .py-chip[class*='active'] {
    background: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
}


/* ==== PEKEDU Youtobe 2.2.18 - Watch action bar redesign (default + pekedu) ==== */
.ytapp--watch .yt-watch-toolbar{
    display:flex!important;
    align-items:flex-start!important;
    justify-content:space-between!important;
    gap:16px!important;
    flex-wrap:wrap!important;
    margin-top:6px!important;
}
.ytapp--watch .yt-watch-actions{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    flex-wrap:nowrap!important;
    justify-content:flex-end!important;
    margin-left:auto!important;
    min-width:0!important;
    overflow-x:auto!important;
    scrollbar-width:none!important;
    padding:2px 0!important;
}
.ytapp--watch .yt-watch-actions::-webkit-scrollbar{display:none!important}
.ytapp--watch .yt-watch-action,
.ytapp--watch .yt-watch-vote{
    height:40px!important;
    min-height:40px!important;
    border:0!important;
    border-radius:999px!important;
    background:var(--yt-chip)!important;
    color:var(--yt-text)!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    padding:0 16px!important;
    font-size:15px!important;
    font-weight:600!important;
    line-height:1!important;
    box-shadow:none!important;
    white-space:nowrap!important;
    flex:0 0 auto!important;
    transition:background-color .18s ease,color .18s ease,transform .12s ease!important;
}
.ytapp--watch .yt-watch-action:hover,
.ytapp--watch .yt-watch-vote:hover,
.ytapp--watch .yt-watch-vote .yt-watch-action:hover{
    background:var(--yt-chip-hover)!important;
    color:var(--yt-text)!important;
}
.ytapp--watch .yt-watch-action:active,
.ytapp--watch .yt-watch-vote .yt-watch-action:active{transform:translateY(1px)!important}
.ytapp--watch .yt-watch-action i,
.ytapp--watch .yt-watch-vote .yt-watch-action i,
.ytapp--watch .yt-watch-more-menu button i,
.ytapp--watch .yt-watch-save-menu button i{
    width:18px!important;
    text-align:center!important;
    font-size:17px!important;
    flex:0 0 18px!important;
}
.ytapp--watch .yt-watch-vote{
    gap:0!important;
    padding:0 4px!important;
    overflow:hidden!important;
}
.ytapp--watch .yt-watch-vote .yt-watch-action{
    height:40px!important;
    padding:0 14px!important;
    border-radius:0!important;
    background:transparent!important;
}
.ytapp--watch .yt-watch-vote__line{
    width:1px!important;
    height:20px!important;
    background:var(--yt-border)!important;
    opacity:.9!important;
    flex:0 0 1px!important;
}
.ytapp--watch .yt-watch-vote__like.is-active,
.ytapp--watch .yt-watch-vote__dislike.is-active,
.ytapp--watch .yt-watch-action.is-active{
    color:var(--yt-blue)!important;
}
.ytapp--watch .yt-watch-action--question{
    background:linear-gradient(135deg,rgba(62,166,255,.18),rgba(168,85,247,.14))!important;
    border:1px solid rgba(126,154,255,.25)!important;
}
.ytapp--watch .yt-watch-action--question:hover{
    background:linear-gradient(135deg,rgba(62,166,255,.28),rgba(168,85,247,.20))!important;
}
.ytapp--watch .yt-watch-action--question i{color:#7fc0ff!important}
.ytapp--watch .yt-watch-action--save i{color:#111!important}
.ytapp--watch .yt-watch-action--save{background:#f1f1f1!important;color:#111!important}
.ytapp--watch .yt-watch-action--save:hover{background:#e5e5e5!important;color:#111!important}
.ytapp--watch .yt-watch-action--icon,
.ytapp--watch .yt-watch-action--more{
    width:40px!important;
    min-width:40px!important;
    padding:0!important;
}
.ytapp--watch .yt-watch-save-wrap,
.ytapp--watch .yt-watch-more-wrap{position:relative!important;display:inline-flex!important;align-items:center!important;flex:0 0 auto!important}
.ytapp--watch .yt-watch-more-menu,
.ytapp--watch .yt-watch-save-menu{
    top:48px!important;
    right:0!important;
    border:1px solid var(--yt-border)!important;
    border-radius:18px!important;
    background:var(--yt-elevated)!important;
    box-shadow:0 12px 34px rgba(0,0,0,.22)!important;
    padding:8px!important;
}
.ytapp--watch .yt-watch-more-menu button,
.ytapp--watch .yt-watch-save-menu button{
    height:42px!important;
    border-radius:12px!important;
    background:transparent!important;
    color:var(--yt-text)!important;
    font-size:14px!important;
}
.ytapp--watch .yt-watch-more-menu button:hover,
.ytapp--watch .yt-watch-save-menu button:hover{background:var(--yt-hover)!important}
.ytapp--watch .yt-watch-save-menu__label{
    padding:8px 14px 6px!important;
    font-size:12px!important;
    font-weight:700!important;
    letter-spacing:.02em!important;
}
.ytapp--watch .yt-watch-save-menu__sep{margin:8px 0!important}
.ytapp--watch .yt-watch-more-menu button span,
.ytapp--watch .yt-watch-save-menu button span{white-space:nowrap!important}

.ytapp[data-theme="light"] .ytapp--watch .yt-watch-action--save,
.ytapp[data-theme="light"] .yt-watch-action--save{background:#0f0f0f!important;color:#fff!important}
.ytapp[data-theme="light"] .ytapp--watch .yt-watch-action--save:hover,
.ytapp[data-theme="light"] .yt-watch-action--save:hover{background:#272727!important;color:#fff!important}
.ytapp[data-theme="light"] .yt-watch-action--save i{color:#fff!important}
.ytapp[data-theme="light"] .yt-watch-vote,
.ytapp[data-theme="light"] .yt-watch-action,
.ytapp[data-theme="light"] .yt-watch-action--more{background:#f2f2f2!important;color:#0f0f0f!important}
.ytapp[data-theme="light"] .yt-watch-action:hover,
.ytapp[data-theme="light"] .yt-watch-vote:hover,
.ytapp[data-theme="light"] .yt-watch-vote .yt-watch-action:hover{background:#e5e5e5!important;color:#0f0f0f!important}
.ytapp[data-theme="light"] .yt-watch-vote .yt-watch-action{background:transparent!important}
.ytapp[data-theme="light"] .yt-watch-vote__line{background:#d6d6d6!important}
.ytapp[data-theme="light"] .yt-watch-action--question{background:linear-gradient(135deg,rgba(62,166,255,.14),rgba(168,85,247,.12))!important;border:1px solid rgba(126,154,255,.22)!important}

@media (max-width: 1280px){
    .ytapp--watch .yt-watch-toolbar{align-items:flex-start!important}
    .ytapp--watch .yt-watch-actions{width:100%!important;justify-content:flex-start!important;margin-left:0!important}
}
@media (max-width: 767px){
    .ytapp--watch .yt-watch-action,
    .ytapp--watch .yt-watch-vote{height:38px!important;min-height:38px!important}
    .ytapp--watch .yt-watch-action{padding:0 14px!important;font-size:14px!important}
}


/* ==== PEKEDU Youtobe 2.2.19 - real 3-dot actions / report dialog ==== */
.ytapp--watch .yt-watch-more-menu{min-width:208px!important}
.ytapp--watch .yt-watch-more-menu button{display:flex!important;grid-template-columns:none!important;align-items:center!important;gap:14px!important;padding:0 14px!important;text-align:left!important}
.ytapp--watch .yt-watch-more-menu button i{font-size:20px!important;width:22px!important;flex:0 0 22px!important;color:var(--yt-text)!important}
.ytapp--watch .yt-watch-more-menu button span{font-size:15px!important;font-weight:500!important}
.ytapp--watch .yt-watch-save-menu{min-width:250px!important;top:48px!important}

.yt-watch-report-modal[hidden]{display:none!important}
.yt-watch-report-modal{position:fixed!important;inset:0!important;z-index:10050!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:20px!important}
.yt-watch-report-modal__backdrop{position:absolute!important;inset:0!important;background:rgba(0,0,0,.52)!important}
.yt-watch-report-dialog{position:relative!important;z-index:1!important;width:min(520px,calc(100vw - 32px))!important;max-height:min(720px,calc(100vh - 40px))!important;overflow:auto!important;background:var(--yt-elevated)!important;color:var(--yt-text)!important;border:1px solid var(--yt-border)!important;border-radius:16px!important;box-shadow:0 20px 60px rgba(0,0,0,.35)!important}
.yt-watch-report-dialog__head{height:58px!important;padding:0 18px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;border-bottom:1px solid var(--yt-border)!important}
.yt-watch-report-dialog__head h3{margin:0!important;font-size:18px!important;font-weight:700!important}
.yt-watch-report-dialog__head button{width:38px!important;height:38px!important;border:0!important;border-radius:50%!important;background:transparent!important;color:var(--yt-text)!important;font-size:18px!important}
.yt-watch-report-dialog__head button:hover{background:var(--yt-hover)!important}
.yt-watch-report-dialog form{padding:16px 18px 18px!important}
.yt-watch-report-dialog__hint{margin:0 0 12px!important;color:var(--yt-text-2)!important;font-size:13px!important;line-height:1.45!important}
.yt-watch-report-option{min-height:42px!important;display:flex!important;align-items:center!important;gap:12px!important;margin:0!important;padding:6px 8px!important;border-radius:10px!important;cursor:pointer!important;font-size:14px!important;font-weight:500!important}
.yt-watch-report-option:hover{background:var(--yt-hover)!important}
.yt-watch-report-option input{width:17px!important;height:17px!important;margin:0!important;accent-color:#065fd4!important}
.yt-watch-report-dialog textarea{width:100%!important;min-height:82px!important;margin-top:12px!important;padding:10px 12px!important;resize:vertical!important;border:1px solid var(--yt-border)!important;border-radius:10px!important;background:var(--yt-bg)!important;color:var(--yt-text)!important;outline:none!important;font:inherit!important}
.yt-watch-report-dialog textarea:focus{border-color:var(--yt-blue)!important}
.yt-watch-report-dialog__actions{display:flex!important;justify-content:flex-end!important;gap:8px!important;margin-top:16px!important}
.yt-watch-report-dialog__actions button{height:38px!important;padding:0 16px!important;border:0!important;border-radius:19px!important;font-size:14px!important;font-weight:700!important;cursor:pointer!important}
.yt-watch-report-cancel{background:transparent!important;color:var(--yt-blue)!important}
.yt-watch-report-cancel:hover{background:var(--yt-hover)!important}
.yt-watch-report-submit{background:#065fd4!important;color:#fff!important}
.yt-watch-report-submit:hover{background:#0556bf!important}
.yt-watch-report-submit:disabled{opacity:.55!important;cursor:wait!important}
body.yt-watch-report-open{overflow:hidden!important}


/* PEKEDU Video 2.2.19 — preserve unified related cards from 2.2.15–2.2.17 */
.ytapp--watch .yt-watch-related__item{align-items:start!important}
.ytapp--watch .yt-watch-related__info{min-width:0!important;display:flex!important;flex-direction:column!important;align-self:stretch!important;padding-top:0!important}
.ytapp--watch .yt-watch-related__info h3{margin:0 0 5px!important;min-height:40px!important;max-height:40px!important;font-size:15px!important;line-height:20px!important;font-weight:500!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.ytapp--watch .yt-watch-related__channel{display:flex!important;align-items:center!important;gap:5px!important;flex-wrap:nowrap!important;min-width:0!important;width:100%!important;height:18px!important;margin:0 0 3px!important;padding-left:0!important;color:var(--yt-text-2)!important;font-size:12.5px!important;line-height:18px!important;white-space:nowrap!important;overflow:hidden!important}
.ytapp--watch .yt-watch-related__verified{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;box-sizing:border-box!important;flex:0 0 14px!important;width:14px!important;min-width:14px!important;color:#25b75c!important;font-size:13px!important;line-height:1!important;text-align:left!important;margin:0!important;padding:0!important;position:static!important;transform:none!important}
.ytapp--watch .yt-watch-related__channel-name{display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.ytapp--watch .yt-watch-related__chanicon{display:none!important}
.ytapp--watch .yt-watch-related__stats{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;flex-wrap:nowrap!important;gap:2px!important;width:100%!important;margin:0!important;overflow:hidden!important;color:var(--yt-text-2)!important;font-size:12px!important;line-height:18px!important}
.ytapp--watch .yt-watch-related__stats>span{display:flex!important;align-items:center!important;gap:5px!important;width:100%!important;min-width:0!important;height:18px!important;margin:0!important;padding-left:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.ytapp--watch .yt-watch-related__stats>span+span{margin-left:0!important}
.ytapp--watch .yt-watch-related__stats>span>i{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;box-sizing:border-box!important;flex:0 0 14px!important;width:14px!important;min-width:14px!important;font-size:12px!important;text-align:left!important;margin:0!important;padding:0!important;position:static!important;transform:none!important}
.ytapp--watch .yt-watch-related__views i{color:#3b82f6!important}
.ytapp--watch .yt-watch-related__published i{color:#f59e0b!important}
.ytapp--watch .yt-watch-related__stats>span>span{display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.ytapp--watch .yt-watch-related__stats>span::before,.ytapp--watch .yt-watch-related__stats>span::after,.ytapp--watch .yt-watch-related__stats>span+span::before,.ytapp--watch .yt-watch-related__stats>span:not(:last-child)::after{content:none!important;display:none!important;margin:0!important;padding:0!important}


/* ==== PEKEDU Youtobe 2.2.20 - visible three-dot popup + separated action pills ==== */
.ytapp--watch .yt-watch-toolbar,
.ytapp--watch .yt-watch-actions,
.ytapp--watch .yt-watch-more-wrap{
    background:transparent!important;
    box-shadow:none!important;
}
.ytapp--watch .yt-watch-actions{
    position:relative!important;
    z-index:120!important;
    overflow:visible!important;
    overflow-x:visible!important;
    overflow-y:visible!important;
    padding:2px 0!important;
    gap:10px!important;
}
.ytapp--watch .yt-watch-action--question{
    margin:0!important;
    border-radius:999px!important;
    background:var(--yt-chip)!important;
    border:0!important;
    box-shadow:none!important;
}
.ytapp--watch .yt-watch-action--question:hover{
    background:var(--yt-chip-hover)!important;
}
.ytapp--watch .yt-watch-more-wrap{
    position:relative!important;
    z-index:140!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    overflow:visible!important;
}
.ytapp--watch .yt-watch-action--more{
    position:relative!important;
    z-index:2!important;
    margin:0!important;
    background:var(--yt-chip)!important;
    border:0!important;
    box-shadow:none!important;
    border-radius:50%!important;
}
.ytapp--watch .yt-watch-action--more:hover,
.ytapp--watch .yt-watch-more-wrap.is-menu-open .yt-watch-action--more{
    background:var(--yt-chip-hover)!important;
}
.ytapp--watch .yt-watch-more-menu,
.ytapp--watch .yt-watch-save-menu{
    position:absolute!important;
    right:0!important;
    left:auto!important;
    top:48px!important;
    z-index:9999!important;
    min-width:224px!important;
    overflow:visible!important;
    transform:none!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    border:1px solid var(--yt-border)!important;
    border-radius:14px!important;
    background:var(--yt-elevated)!important;
    box-shadow:0 10px 30px rgba(0,0,0,.28)!important;
}
.ytapp--watch .yt-watch-more-menu[hidden],
.ytapp--watch .yt-watch-save-menu[hidden]{
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
}
.ytapp--watch .yt-watch-more-menu button,
.ytapp--watch .yt-watch-save-menu button{
    position:relative!important;
    z-index:1!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
}
.ytapp[data-theme="light"] .yt-watch-action--question,
.ytapp[data-theme="light"] .yt-watch-action--more{
    background:#f2f2f2!important;
    color:#0f0f0f!important;
}
.ytapp[data-theme="light"] .yt-watch-action--question:hover,
.ytapp[data-theme="light"] .yt-watch-action--more:hover,
.ytapp[data-theme="light"] .yt-watch-more-wrap.is-menu-open .yt-watch-action--more{
    background:#e5e5e5!important;
}
.ytapp[data-theme="light"] .yt-watch-more-menu,
.ytapp[data-theme="light"] .yt-watch-save-menu{
    background:#ffffff!important;
    border-color:#e5e5e5!important;
    box-shadow:0 8px 28px rgba(0,0,0,.18)!important;
}

@media (max-width:1280px){
    .ytapp--watch .yt-watch-actions{
        overflow:visible!important;
        flex-wrap:wrap!important;
    }
}

/* ==== PEKEDU Video 2.2.23 - YouTube-like desktop playlists ==== */
.yt-playlists-page{max-width:1600px!important;margin:0 auto!important;padding:28px 28px 56px!important}
.yt-playlists-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}
.yt-playlists-head h1{margin:0;color:var(--yt-text);font-size:28px;line-height:1.2;font-weight:700}
.yt-playlists-head p{margin:6px 0 0;color:var(--yt-text-2);font-size:14px}
.yt-playlists-message{margin:0 0 14px!important}
.yt-playlist-createbar{display:grid;grid-template-columns:minmax(260px,1fr) 150px auto;align-items:center;gap:10px;width:100%;padding:10px 12px;margin-bottom:28px;border:1px solid var(--yt-border);border-radius:14px;background:var(--yt-bg);box-shadow:0 2px 8px rgba(0,0,0,.04)}
.yt-playlist-createbar__input{height:42px;display:flex;align-items:center;gap:10px;min-width:0;padding:0 13px;border:1px solid var(--yt-border);border-radius:10px;background:var(--yt-elevated);color:var(--yt-text-2)}
.yt-playlist-createbar__input i{font-size:16px;flex:0 0 auto}
.yt-playlist-createbar__input input{width:100%;min-width:0;height:40px;padding:0;border:0;outline:0;background:transparent;color:var(--yt-text);font-size:15px}
.yt-playlist-createbar__input input::placeholder{color:var(--yt-text-2)}
.yt-playlist-createbar select{height:42px;padding:0 34px 0 12px;border:1px solid var(--yt-border);border-radius:10px;background:var(--yt-elevated);color:var(--yt-text);font-size:14px;outline:0}
.yt-playlist-createbar>button{height:42px;padding:0 18px;border:0;border-radius:21px;background:var(--yt-text);color:var(--yt-bg);display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:700;cursor:pointer;white-space:nowrap;transition:opacity .15s ease,transform .12s ease}
.yt-playlist-createbar>button:hover{opacity:.88}.yt-playlist-createbar>button:active{transform:scale(.98)}
.yt-playlists-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:34px 20px;align-items:start}
.yt-playlist-tile{min-width:0;position:relative}
.yt-playlist-tile__cover{position:relative;display:block;width:100%;aspect-ratio:16/9;margin-top:8px;border-radius:12px;color:#fff;text-decoration:none;isolation:isolate}
.yt-playlist-tile__stack{position:absolute;left:14px;right:14px;height:6px;border-radius:9px 9px 0 0;background:color-mix(in srgb,var(--yt-text-2) 42%,var(--yt-bg));z-index:-2}
.yt-playlist-tile__stack--2{top:-8px;left:28px;right:28px;opacity:.42}.yt-playlist-tile__stack--1{top:-4px;opacity:.7;z-index:-1}
.yt-playlist-tile__media{position:absolute;inset:0;overflow:hidden;border-radius:12px;background:#272727}
.yt-playlist-tile__media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s ease,filter .2s ease}
.yt-playlist-tile__empty{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#413d50,#242327);color:#aaa;font-size:42px}
.yt-playlist-tile__count{position:absolute;right:8px;bottom:8px;z-index:2;display:inline-flex;align-items:center;gap:5px;padding:5px 7px;border-radius:5px;background:rgba(0,0,0,.72);color:#fff;font-size:12px;font-weight:700;line-height:1}
.yt-playlist-tile__play{position:absolute;inset:0;z-index:3;border-radius:12px;background:rgba(0,0,0,.56);display:flex;align-items:center;justify-content:center;gap:8px;color:#fff;font-size:14px;opacity:0;transition:opacity .18s ease}
.yt-playlist-tile__play i{font-size:18px}.yt-playlist-tile__cover:hover .yt-playlist-tile__play{opacity:1}.yt-playlist-tile__cover:hover img{transform:scale(1.015);filter:brightness(.82)}
.yt-playlist-tile__body{padding-top:12px;min-width:0;position:relative}
.yt-playlist-tile__title-row{display:grid;grid-template-columns:minmax(0,1fr) 36px;align-items:start;gap:4px}
.yt-playlist-tile__title-row h2{min-width:0;margin:0;font-size:16px;line-height:1.35;font-weight:700;color:var(--yt-text)}
.yt-playlist-tile__title-row h2 a{color:inherit;text-decoration:none;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.yt-playlist-tile__meta{display:flex;align-items:center;gap:5px;margin-top:5px;color:var(--yt-text-2);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yt-playlist-tile__desc{margin:5px 0 0;color:var(--yt-text-2);font-size:13px;line-height:1.35;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}.yt-playlist-tile__desc:empty{display:none}
.yt-playlist-tile__all{display:inline-block;margin-top:5px;color:var(--yt-text-2);font-size:13px;font-weight:700;text-decoration:none}.yt-playlist-tile__all:hover{color:var(--yt-text)}
.yt-playlist-tile__menu{position:relative;width:36px;height:36px}
.yt-playlist-tile__menu summary{list-style:none;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--yt-text);cursor:pointer;font-size:18px}.yt-playlist-tile__menu summary::-webkit-details-marker{display:none}.yt-playlist-tile__menu summary:hover,.yt-playlist-tile__menu[open] summary{background:var(--yt-hover)}
.yt-playlist-tile__menu-pop{position:absolute;right:0;top:38px;z-index:50;width:220px;padding:8px;border:1px solid var(--yt-border);border-radius:12px;background:var(--yt-elevated);box-shadow:0 10px 30px rgba(0,0,0,.25)}
.yt-playlist-tile__menu-pop a,.yt-playlist-tile__menu-pop button{width:100%;min-height:40px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:var(--yt-text);display:flex;align-items:center;gap:12px;text-align:left;text-decoration:none;font-size:14px;cursor:pointer}.yt-playlist-tile__menu-pop a:hover,.yt-playlist-tile__menu-pop button:hover{background:var(--yt-hover)}.yt-playlist-tile__menu-pop i{width:18px;text-align:center;font-size:17px}.yt-playlist-tile__menu-pop form{margin:0}
.yt-playlist-selected{margin-top:40px;padding-top:24px;border-top:1px solid var(--yt-border)}.yt-playlist-selected__head h2{margin:0 0 16px;color:var(--yt-text);font-size:20px}
.ytapp[data-theme="light"] .yt-playlist-createbar{background:#fff}.ytapp[data-theme="light"] .yt-playlist-createbar__input,.ytapp[data-theme="light"] .yt-playlist-createbar select{background:#fff}.ytapp[data-theme="light"] .yt-playlist-createbar>button{background:#0f0f0f;color:#fff}
@media(max-width:1250px){.yt-playlists-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.yt-playlists-page{padding:22px 18px 44px!important}.yt-playlists-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.yt-playlist-createbar{grid-template-columns:minmax(0,1fr) 140px}.yt-playlist-createbar>button{grid-column:1/-1}}
@media(max-width:620px){.yt-playlists-head h1{font-size:24px}.yt-playlist-createbar{grid-template-columns:1fr}.yt-playlist-createbar select,.yt-playlist-createbar>button{width:100%;grid-column:auto}.yt-playlists-grid{grid-template-columns:1fr;gap:30px}.yt-playlists-page{padding-left:12px!important;padding-right:12px!important}}

.yt-playlists-empty{min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--yt-text-2);border:1px dashed var(--yt-border);border-radius:16px;padding:30px}.yt-playlists-empty>span{width:58px;height:58px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--yt-chip);color:var(--yt-text);font-size:22px}.yt-playlists-empty h2{margin:14px 0 4px;color:var(--yt-text);font-size:18px}.yt-playlists-empty p{margin:0;font-size:14px}

/* ==== PEKEDU Video 2.2.24 - playlist success toast ==== */
.yt-playlists-toast{z-index:12000!important;bottom:28px!important;min-width:280px!important;max-width:min(560px,calc(100vw - 32px))!important;padding:13px 20px!important;border-radius:12px!important;background:#16883f!important;color:#fff!important;font-size:14px!important;font-weight:700!important;box-shadow:0 12px 34px rgba(0,0,0,.28)!important}
@media(max-width:620px){.yt-playlists-toast{bottom:18px!important;min-width:0!important;width:max-content!important;max-width:calc(100vw - 24px)!important}}


/* ==== PEKEDU Youtobe 2.2.27 - YouTube-like playlist queue on Watch ==== */
.ytapp--watch .yt-watch-playlistqueue{
    border:1px solid var(--yt-border)!important;
    border-radius:16px!important;
    background:var(--yt-elevated)!important;
    overflow:hidden!important;
    margin:0 0 12px!important;
    box-shadow:none!important;
}
.ytapp--watch .yt-watch-playlistqueue__head{
    min-height:72px!important;
    padding:14px 14px 10px 16px!important;
    display:flex!important;
    align-items:flex-start!important;
    justify-content:space-between!important;
    gap:12px!important;
}
.ytapp--watch .yt-watch-playlistqueue__titlewrap{min-width:0!important;display:flex!important;flex-direction:column!important;gap:5px!important}
.ytapp--watch .yt-watch-playlistqueue__title{
    font-size:18px!important;
    line-height:1.25!important;
    font-weight:700!important;
    color:var(--yt-text)!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    max-width:100%!important;
}
.ytapp--watch .yt-watch-playlistqueue__meta{font-size:13px!important;color:var(--yt-text-2)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.ytapp--watch .yt-watch-playlistqueue__close{
    width:36px!important;height:36px!important;min-width:36px!important;border-radius:50%!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    color:var(--yt-text)!important;text-decoration:none!important;font-size:21px!important;background:transparent!important;
}
.ytapp--watch .yt-watch-playlistqueue__close:hover{background:var(--yt-hover)!important}
.ytapp--watch .yt-watch-playlistqueue__tools{
    height:42px!important;padding:0 12px 8px 12px!important;display:flex!important;align-items:center!important;gap:4px!important;
}
.ytapp--watch .yt-watch-playlistqueue__tools button{
    width:36px!important;height:36px!important;border:0!important;border-radius:50%!important;background:transparent!important;color:var(--yt-text)!important;
    display:flex!important;align-items:center!important;justify-content:center!important;font-size:17px!important;cursor:pointer!important;
}
.ytapp--watch .yt-watch-playlistqueue__tools button:hover{background:var(--yt-hover)!important}
.ytapp--watch .yt-watch-playlistqueue__tools button:disabled{opacity:.32!important;cursor:default!important;background:transparent!important}
.ytapp--watch .yt-watch-playlistqueue__list{
    max-height:470px!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    scrollbar-width:thin!important;
    border-top:1px solid var(--yt-border)!important;
}
.ytapp--watch .yt-watch-playlistqueue__item{
    min-height:82px!important;
    display:grid!important;
    grid-template-columns:22px 126px minmax(0,1fr)!important;
    align-items:center!important;
    gap:10px!important;
    padding:7px 10px 7px 7px!important;
    color:var(--yt-text)!important;
    text-decoration:none!important;
    background:transparent!important;
    position:relative!important;
}
.ytapp--watch .yt-watch-playlistqueue__item:hover{background:var(--yt-hover)!important}
.ytapp--watch .yt-watch-playlistqueue__item.is-current{background:rgba(127,127,127,.18)!important}
.ytapp--watch .yt-watch-playlistqueue__index{
    width:22px!important;text-align:center!important;color:var(--yt-text-2)!important;font-size:12px!important;display:flex!important;align-items:center!important;justify-content:center!important;
}
.ytapp--watch .yt-watch-playlistqueue__index>i{display:none!important;color:var(--yt-text)!important;font-size:11px!important}
.ytapp--watch .yt-watch-playlistqueue__item.is-current .yt-watch-playlistqueue__number{display:none!important}
.ytapp--watch .yt-watch-playlistqueue__item.is-current .yt-watch-playlistqueue__index>i{display:inline-block!important}
.ytapp--watch .yt-watch-playlistqueue__thumb{
    width:126px!important;aspect-ratio:16/9!important;border-radius:8px!important;overflow:hidden!important;background:#222!important;position:relative!important;display:block!important;
}
.ytapp--watch .yt-watch-playlistqueue__thumb img{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important}
.ytapp--watch .yt-watch-playlistqueue__thumb>b{
    position:absolute!important;right:4px!important;bottom:4px!important;background:rgba(0,0,0,.82)!important;color:#fff!important;border-radius:4px!important;
    font-size:11px!important;line-height:18px!important;height:18px!important;padding:0 4px!important;font-weight:700!important;
}
.ytapp--watch .yt-watch-playlistqueue__info{min-width:0!important;align-self:center!important;display:flex!important;flex-direction:column!important;gap:5px!important}
.ytapp--watch .yt-watch-playlistqueue__info strong{
    display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;
    font-size:14px!important;line-height:1.32!important;font-weight:600!important;color:var(--yt-text)!important;
}
.ytapp--watch .yt-watch-playlistqueue__info small{font-size:12px!important;line-height:1.2!important;color:var(--yt-text-2)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.ytapp--watch .yt-watch-related:has(.yt-watch-playlistqueue) .yt-watch-related__chiprow{margin-top:8px!important}
.ytapp--watch .yt-watch-player.is-playlist-advancing:after{
    content:'Đang phát video tiếp theo…';position:absolute;left:50%;bottom:74px;transform:translateX(-50%);z-index:20;
    background:rgba(0,0,0,.78);color:#fff;border-radius:18px;padding:8px 14px;font-size:13px;font-weight:600;pointer-events:none;
}
@media(max-width:1100px){
    .ytapp--watch .yt-watch-playlistqueue__list{max-height:360px!important}
}


/* ==== PEKEDU Youtobe 2.2.28 - Playlist Repeat All + Shuffle ==== */
.ytapp--watch .yt-watch-playlistqueue__tools button.is-active{
    background:var(--yt-text)!important;
    color:var(--yt-bg)!important;
}
.ytapp--watch .yt-watch-playlistqueue__tools button.is-active:hover{
    background:var(--yt-text)!important;
    color:var(--yt-bg)!important;
    opacity:.9!important;
}
.ytapp--watch .yt-watch-playlistqueue__tools button[data-playlist-repeat-all].is-active,
.ytapp--watch .yt-watch-playlistqueue__tools button[data-playlist-shuffle].is-active{
    box-shadow:inset 0 0 0 1px rgba(127,127,127,.2)!important;
}

/* ==== PEKEDU Video 2.2.29 - System playlists: Watch Later + Liked Videos ==== */
.yt-playlist-tile--system .yt-playlist-tile__empty--system{
    background:linear-gradient(135deg,#2f3446,#191b24)!important;
    color:#d6d8df!important;
}
.yt-playlist-tile--system .yt-playlist-tile__empty--system i{font-size:44px!important}

.yt-library-standard[hidden]{display:none!important}
.yt-system-playlist-page{
    display:grid;
    grid-template-columns:minmax(320px,400px) minmax(0,1fr);
    gap:38px;
    align-items:start;
    max-width:1500px;
    margin:0 auto;
    padding:26px 24px 52px;
}
.yt-system-playlist-hero{
    position:sticky;
    top:76px;
    min-height:610px;
    padding:28px;
    border-radius:24px;
    overflow:hidden;
    color:#fff;
    background:
      radial-gradient(circle at 28% 14%,rgba(255,255,255,.18),transparent 38%),
      linear-gradient(160deg,#665247 0%,#443229 45%,#2e211c 100%);
    box-shadow:0 16px 42px rgba(0,0,0,.18);
}
.yt-system-playlist-hero:before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:linear-gradient(to bottom,rgba(255,255,255,.035),rgba(0,0,0,.16));
}
.yt-system-playlist-hero>*{position:relative;z-index:1}
.yt-system-playlist-hero__cover{
    width:100%;
    aspect-ratio:16/9;
    border-radius:14px;
    overflow:hidden;
    background:rgba(0,0,0,.28);
    box-shadow:0 10px 26px rgba(0,0,0,.24);
}
.yt-system-playlist-hero__cover img{width:100%;height:100%;object-fit:cover;display:block}
.yt-system-playlist-hero__empty{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:58px;color:rgba(255,255,255,.76);background:linear-gradient(135deg,#4d465b,#282532)}
.yt-system-playlist-hero h1{margin:24px 0 14px;font-size:30px;line-height:1.12;font-weight:800;color:#fff}
.yt-system-playlist-hero__owner{display:block;font-size:15px;font-weight:700;color:#fff;margin-bottom:8px}
.yt-system-playlist-hero__meta{display:flex;align-items:center;gap:7px;color:rgba(255,255,255,.76);font-size:13px}
.yt-system-playlist-hero__tools{display:flex;gap:10px;margin-top:20px}
.yt-system-playlist-iconbtn{width:42px;height:42px;border:0;border-radius:50%;background:rgba(255,255,255,.16);color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;cursor:pointer}
.yt-system-playlist-iconbtn:hover{background:rgba(255,255,255,.24)}
.yt-system-playlist-hero__actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}
.yt-system-playlist-hero__actions a{height:46px;border-radius:23px;display:flex;align-items:center;justify-content:center;gap:9px;text-decoration:none;font-size:14px;font-weight:700}
.yt-system-playlist-play{background:#fff;color:#111}
.yt-system-playlist-play:hover{background:#ececec;color:#111}
.yt-system-playlist-shuffle{background:rgba(255,255,255,.17);color:#fff}
.yt-system-playlist-shuffle:hover{background:rgba(255,255,255,.25);color:#fff}

.yt-system-playlist-content{min-width:0;padding-top:2px}
.yt-system-playlist-filters{display:flex;align-items:center;gap:8px;margin:0 0 16px}
.yt-system-playlist-filters span{height:36px;padding:0 14px;border-radius:9px;background:var(--yt-chip);color:var(--yt-text);display:inline-flex;align-items:center;font-size:14px;font-weight:700}
.yt-system-playlist-filters span.is-active{background:var(--yt-text);color:var(--yt-bg)}
.yt-system-playlist-list{display:flex;flex-direction:column;gap:2px;min-width:0}
.yt-system-playlist-item{
    display:grid;
    grid-template-columns:30px 220px minmax(0,1fr) 42px;
    gap:12px;
    align-items:center;
    min-width:0;
    padding:6px 4px;
    border-radius:12px;
    color:var(--yt-text);
    text-decoration:none;
}
.yt-system-playlist-item:hover{background:var(--yt-hover);color:var(--yt-text)}
.yt-system-playlist-item__index{font-size:14px;color:var(--yt-text-2);text-align:center;font-variant-numeric:tabular-nums}
.yt-system-playlist-item__thumb{position:relative;width:220px;aspect-ratio:16/9;border-radius:9px;overflow:hidden;background:#252525}
.yt-system-playlist-item__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.yt-system-playlist-item__thumb>b{position:absolute;right:5px;bottom:5px;padding:2px 4px;border-radius:4px;background:rgba(0,0,0,.78);color:#fff;font-size:11px;line-height:1}
.yt-system-playlist-item__info{min-width:0;display:flex;flex-direction:column;align-self:start;padding-top:4px;gap:7px}
.yt-system-playlist-item__info strong{font-size:16px;line-height:1.3;font-weight:700;color:var(--yt-text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.yt-system-playlist-item__info small{font-size:13px;line-height:1.35;color:var(--yt-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yt-system-playlist-item__more{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--yt-text);opacity:.86}
.yt-system-playlist-item:hover .yt-system-playlist-item__more{background:var(--yt-hover)}
.yt-system-playlist-empty{min-height:360px;border:1px dashed var(--yt-border);border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--yt-text-2);gap:8px}
.yt-system-playlist-empty>i{font-size:46px;color:var(--yt-text-2);margin-bottom:4px}
.yt-system-playlist-empty strong{font-size:18px;color:var(--yt-text)}
.yt-system-playlist-empty span{font-size:14px}

.ytapp[data-theme="light"] .yt-system-playlist-hero{
    color:#fff;
    background:
      radial-gradient(circle at 28% 14%,rgba(255,255,255,.22),transparent 38%),
      linear-gradient(160deg,#8b6a56 0%,#675044 48%,#49382f 100%);
}
.ytapp[data-theme="light"] .yt-system-playlist-filters span.is-active{background:#0f0f0f;color:#fff}

@media(max-width:1150px){
  .yt-system-playlist-page{grid-template-columns:330px minmax(0,1fr);gap:24px;padding-left:18px;padding-right:18px}
  .yt-system-playlist-item{grid-template-columns:26px 180px minmax(0,1fr) 38px;gap:10px}
  .yt-system-playlist-item__thumb{width:180px}
}
@media(max-width:850px){
  .yt-system-playlist-page{grid-template-columns:1fr;padding:18px 14px 44px}
  .yt-system-playlist-hero{position:relative;top:auto;min-height:auto}
  .yt-system-playlist-hero__cover{max-width:540px}
}
@media(max-width:620px){
  .yt-system-playlist-hero{padding:18px;border-radius:18px}
  .yt-system-playlist-hero h1{font-size:24px}
  .yt-system-playlist-item{grid-template-columns:22px 136px minmax(0,1fr);gap:8px;padding:6px 0}
  .yt-system-playlist-item__thumb{width:136px}
  .yt-system-playlist-item__more{display:none}
  .yt-system-playlist-item__info strong{font-size:14px;-webkit-line-clamp:2}
  .yt-system-playlist-item__info small{font-size:12px}
}


/* ==== PEKEDU Video 2.2.30 - System playlist polish + drag reorder ==== */
.yt-system-playlist-hero__tools{display:none!important}
.yt-system-playlist-hero__actions{margin-top:26px!important}
.yt-system-playlist-play{
    background:#fff!important;
    color:#0f0f0f!important;
    border:0!important;
    opacity:1!important;
    text-shadow:none!important;
}
.yt-system-playlist-play i,
.yt-system-playlist-play span{
    color:#0f0f0f!important;
    opacity:1!important;
    visibility:visible!important;
    font-weight:800!important;
}
.yt-system-playlist-play:hover,
.yt-system-playlist-play:hover i,
.yt-system-playlist-play:hover span{background:#ececec!important;color:#0f0f0f!important}

.yt-system-playlist-item{
    grid-template-columns:42px 220px minmax(0,1fr) 42px!important;
    cursor:default!important;
    transition:background-color .12s ease,transform .12s ease,opacity .12s ease!important;
}
.yt-system-playlist-item__drag{
    width:38px;height:52px;display:flex;align-items:center;justify-content:center;
    color:var(--yt-text-2);cursor:grab;user-select:none;touch-action:none;position:relative;
}
.yt-system-playlist-item__drag:active{cursor:grabbing}
.yt-system-playlist-item__drag i{font-size:18px;line-height:1}
.yt-system-playlist-item__drag em{
    position:absolute;right:1px;bottom:1px;font-style:normal;font-size:10px;color:var(--yt-text-2);opacity:.7;
}
.yt-system-playlist-item__thumb,
.yt-system-playlist-item__info{text-decoration:none!important;color:inherit!important}
.yt-system-playlist-item.is-dragging{opacity:.42!important;background:var(--yt-hover)!important}
.yt-system-playlist-item.is-drag-over{box-shadow:inset 0 2px 0 var(--yt-blue)!important}
.yt-system-playlist-list.is-saving .yt-system-playlist-item__drag{cursor:wait!important;opacity:.55}
@media(max-width:1150px){
  .yt-system-playlist-item{grid-template-columns:38px 180px minmax(0,1fr) 38px!important}
}
@media(max-width:620px){
  .yt-system-playlist-item{grid-template-columns:34px 136px minmax(0,1fr)!important}
  .yt-system-playlist-item__drag{width:32px!important}
}

/* ==== PEKEDU Video 2.2.32 - youtube-like system playlist menu ==== */
.yt-system-playlist-item__more{
    border:0!important;
    background:transparent!important;
    cursor:pointer;
}
.yt-system-playlist-item__more.is-open,
.yt-system-playlist-item__more:hover{background:var(--yt-hover)!important}
.yt-system-item-menu-backdrop{
    position:fixed;
    inset:0;
    z-index:1110;
    background:transparent;
}
.yt-system-item-menu{
    position:fixed;
    z-index:1115;
    min-width:300px;
    max-width:min(92vw,360px);
    background:#0f0f0f;
    border:1px solid rgba(255,255,255,.10);
    border-radius:16px;
    box-shadow:0 20px 48px rgba(0,0,0,.46);
    padding:8px 0;
    opacity:0;
    transform:translateY(8px) scale(.98);
    transition:opacity .16s ease,transform .18s cubic-bezier(.2,.8,.2,1);
    overflow:hidden;
    isolation:isolate;
}
.yt-system-item-menu.is-open{
    opacity:1;
    transform:translateY(0) scale(1);
}
.ytapp[data-theme="light"] .yt-system-item-menu{
    background:#fff;
    border-color:rgba(0,0,0,.08);
    box-shadow:0 12px 28px rgba(0,0,0,.18);
}
.yt-system-item-menu__item{
    width:100%;
    min-height:48px;
    border:0;
    background:transparent;
    display:flex;
    align-items:center;
    gap:16px;
    padding:0 18px;
    text-align:left;
    font-size:16px;
    font-weight:500;
    color:var(--yt-text);
    cursor:pointer;
    transition:background-color .14s ease;
}
.yt-system-item-menu__item:hover{background:rgba(255,255,255,.08)}
.ytapp[data-theme="light"] .yt-system-item-menu__item:hover{background:rgba(0,0,0,.05)}
.yt-system-item-menu__item i{
    width:24px;
    min-width:24px;
    text-align:center;
    font-size:24px;
    line-height:1;
    color:var(--yt-text);
}
.yt-system-item-menu__item span{
    line-height:1.25;
    white-space:nowrap;
}
.yt-system-item-menu__divider{height:1px;background:var(--yt-border);margin:8px 0}
.yt-system-save-modal[hidden],
.yt-system-item-menu[hidden],
.yt-system-item-menu-backdrop[hidden]{display:none!important}
.yt-system-save-modal{
    position:fixed;
    inset:0;
    z-index:1120;
}
.yt-system-save-modal__backdrop{
    position:absolute;inset:0;background:rgba(0,0,0,.44);
}
.yt-system-save-modal__dialog{
    position:relative;
    width:min(460px,calc(100vw - 24px));
    margin:9vh auto 0;
    background:var(--yt-surface);
    border:1px solid var(--yt-border);
    border-radius:20px;
    box-shadow:0 24px 56px rgba(0,0,0,.34);
    overflow:hidden;
}
.yt-system-save-modal__head{
    display:flex;align-items:center;justify-content:space-between;
    gap:16px;padding:16px 20px;border-bottom:1px solid var(--yt-border);
}
.yt-system-save-modal__head strong{font-size:18px;color:var(--yt-text)}
.yt-system-save-modal__close{
    width:36px;height:36px;border-radius:50%;border:0;background:transparent;color:var(--yt-text);cursor:pointer;
}
.yt-system-save-modal__close:hover{background:var(--yt-hover)}
.yt-system-save-modal__body{padding:10px 0;max-height:min(65vh,520px);overflow:auto}
.yt-system-save-choice,
.yt-system-save-empty{
    display:flex;align-items:center;gap:14px;width:100%;padding:14px 20px;border:0;background:transparent;text-align:left;color:var(--yt-text);
}
.yt-system-save-choice{cursor:pointer}
.yt-system-save-choice:hover{background:var(--yt-hover)}
.yt-system-save-choice i,
.yt-system-save-empty i{width:20px;text-align:center;font-size:18px;color:var(--yt-text-2)}
.yt-system-save-empty{color:var(--yt-text-2)}
@media(max-width:620px){
  .yt-system-item-menu{min-width:280px;max-width:calc(100vw - 24px)}
  .yt-system-item-menu__item{min-height:46px;font-size:15px;padding:0 16px}
}

/* ==== PEKEDU Video 2.2.33 - dark menu + toast font + true overlay ==== */
body > .yt-system-item-menu-backdrop{
    position:fixed!important;
    inset:0!important;
    z-index:99990!important;
    background:transparent!important;
}
body > .yt-system-item-menu{
    z-index:100000!important;
    opacity:0;
    background:#212121!important;
    color:#f1f1f1!important;
    border:1px solid rgba(255,255,255,.10)!important;
    box-shadow:0 18px 50px rgba(0,0,0,.55)!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
}
body > .yt-system-item-menu[data-menu-theme="dark"]{
    background:#212121!important;
    color:#f1f1f1!important;
    border-color:rgba(255,255,255,.10)!important;
}
body > .yt-system-item-menu[data-menu-theme="light"]{
    background:#fff!important;
    color:#0f0f0f!important;
    border-color:rgba(0,0,0,.08)!important;
    box-shadow:0 12px 30px rgba(0,0,0,.22)!important;
}
body > .yt-system-item-menu .yt-system-item-menu__item{
    color:inherit!important;
    font-family:Arial,"Helvetica Neue",sans-serif!important;
    font-weight:400!important;
}
body > .yt-system-item-menu .yt-system-item-menu__item i{color:inherit!important}
body > .yt-system-item-menu[data-menu-theme="dark"] .yt-system-item-menu__item:hover{background:#3f3f3f!important}
body > .yt-system-item-menu[data-menu-theme="light"] .yt-system-item-menu__item:hover{background:#f2f2f2!important}
body > .yt-system-item-menu[data-menu-theme="dark"] .yt-system-item-menu__divider{background:#3f3f3f!important}
body > .yt-system-item-menu[data-menu-theme="light"] .yt-system-item-menu__divider{background:#e5e5e5!important}
body > .yt-system-item-menu.is-open{opacity:1!important}

.yt-watch-toast,
body > .yt-watch-toast{
    font-family:Arial,"Helvetica Neue",sans-serif!important;
    font-size:14px!important;
    font-weight:600!important;
    line-height:1.35!important;
    letter-spacing:0!important;
    border-radius:10px!important;
    padding:12px 18px!important;
    text-shadow:none!important;
}
/* Menu remains fully opaque during its opening animation so background content never bleeds through. */
body > .yt-system-item-menu{
    opacity:1!important;
    transition:transform .16s cubic-bezier(.2,.8,.2,1),box-shadow .16s ease!important;
}

/* ==== PEKEDU Video 2.2.34 - save-playlist popup Light/Dark fix ==== */
body > .yt-system-save-modal{
    position:fixed!important;
    inset:0!important;
    z-index:100100!important;
    display:block;
    opacity:0;
    pointer-events:none;
    transition:opacity .16s ease!important;
    font-family:Roboto,Arial,"Helvetica Neue",sans-serif!important;
}
body > .yt-system-save-modal.is-open{
    opacity:1;
    pointer-events:auto;
}
body > .yt-system-save-modal[hidden]{display:none!important}
body > .yt-system-save-modal .yt-system-save-modal__backdrop{
    position:absolute!important;
    inset:0!important;
    background:rgba(0,0,0,.58)!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
}
body > .yt-system-save-modal .yt-system-save-modal__dialog{
    position:relative!important;
    z-index:1!important;
    width:min(420px,calc(100vw - 28px))!important;
    max-height:min(620px,calc(100vh - 40px))!important;
    margin:clamp(42px,10vh,96px) auto 0!important;
    border-radius:16px!important;
    overflow:hidden!important;
    transform:translateY(10px) scale(.985);
    transition:transform .18s cubic-bezier(.2,.8,.2,1)!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
}
body > .yt-system-save-modal.is-open .yt-system-save-modal__dialog{
    transform:translateY(0) scale(1);
}
body > .yt-system-save-modal[data-menu-theme="dark"] .yt-system-save-modal__dialog{
    background:#212121!important;
    color:#f1f1f1!important;
    border:1px solid #3f3f3f!important;
    box-shadow:0 20px 60px rgba(0,0,0,.58)!important;
}
body > .yt-system-save-modal[data-menu-theme="light"] .yt-system-save-modal__dialog{
    background:#fff!important;
    color:#0f0f0f!important;
    border:1px solid #e5e5e5!important;
    box-shadow:0 18px 48px rgba(0,0,0,.24)!important;
}
body > .yt-system-save-modal .yt-system-save-modal__head{
    min-height:58px!important;
    padding:0 16px 0 20px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    background:inherit!important;
}
body > .yt-system-save-modal[data-menu-theme="dark"] .yt-system-save-modal__head{border-bottom:1px solid #3f3f3f!important}
body > .yt-system-save-modal[data-menu-theme="light"] .yt-system-save-modal__head{border-bottom:1px solid #e5e5e5!important}
body > .yt-system-save-modal .yt-system-save-modal__head strong{
    color:inherit!important;
    font-family:inherit!important;
    font-size:18px!important;
    font-weight:600!important;
    line-height:1.25!important;
}
body > .yt-system-save-modal .yt-system-save-modal__close{
    width:40px!important;
    height:40px!important;
    border:0!important;
    border-radius:50%!important;
    background:transparent!important;
    color:inherit!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    cursor:pointer!important;
    font-size:18px!important;
}
body > .yt-system-save-modal[data-menu-theme="dark"] .yt-system-save-modal__close:hover{background:#3f3f3f!important}
body > .yt-system-save-modal[data-menu-theme="light"] .yt-system-save-modal__close:hover{background:#f2f2f2!important}
body > .yt-system-save-modal .yt-system-save-modal__body{
    max-height:min(65vh,500px)!important;
    overflow-y:auto!important;
    padding:8px 0!important;
    background:inherit!important;
}
body > .yt-system-save-modal .yt-system-save-choice,
body > .yt-system-save-modal .yt-system-save-empty{
    width:100%!important;
    min-height:48px!important;
    margin:0!important;
    padding:0 20px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:inherit!important;
    font-family:inherit!important;
    font-size:15px!important;
    font-weight:400!important;
    display:flex!important;
    align-items:center!important;
    gap:14px!important;
    text-align:left!important;
}
body > .yt-system-save-modal .yt-system-save-choice{cursor:pointer!important}
body > .yt-system-save-modal .yt-system-save-choice i,
body > .yt-system-save-modal .yt-system-save-empty i{
    width:22px!important;
    min-width:22px!important;
    color:inherit!important;
    font-size:19px!important;
    text-align:center!important;
}
body > .yt-system-save-modal[data-menu-theme="dark"] .yt-system-save-choice:hover{background:#3f3f3f!important}
body > .yt-system-save-modal[data-menu-theme="light"] .yt-system-save-choice:hover{background:#f2f2f2!important}
body > .yt-system-save-modal[data-menu-theme="dark"] .yt-system-save-empty{color:#aaa!important}
body > .yt-system-save-modal[data-menu-theme="light"] .yt-system-save-empty{color:#606060!important}

/* Keep the item menu explicit and opaque in both themes. */
body > .yt-system-item-menu[data-menu-theme="dark"]{
    background:#212121!important;
    color:#f1f1f1!important;
    border-color:#3f3f3f!important;
}
body > .yt-system-item-menu[data-menu-theme="light"]{
    background:#fff!important;
    color:#0f0f0f!important;
    border-color:#e5e5e5!important;
}
@media(max-width:620px){
    body > .yt-system-save-modal .yt-system-save-modal__dialog{
        width:calc(100vw - 20px)!important;
        margin-top:54px!important;
    }
}

/* ==== PEKEDU Video 2.2.35 - YouTube-like system playlist filters ==== */
.yt-system-playlist-filterbar{
    display:flex;
    align-items:center;
    gap:10px;
    margin:0 0 16px;
    position:relative;
    z-index:24;
}
.yt-system-sort{position:relative;flex:0 0 auto}
.yt-system-sort__button{
    height:40px;
    padding:0 14px;
    border:0;
    border-radius:10px;
    background:var(--yt-chip);
    color:var(--yt-text);
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    white-space:nowrap;
}
.yt-system-sort__button:hover,
.yt-system-sort__button[aria-expanded="true"]{background:var(--yt-chip-hover)}
.yt-system-sort__button i{font-size:16px;transition:transform .16s ease}
.yt-system-sort__button[aria-expanded="true"] i{transform:rotate(180deg)}
.yt-system-sort__menu{
    position:absolute;
    left:0;
    top:48px;
    z-index:60;
    min-width:240px;
    padding:8px 0;
    border-radius:14px;
    background:#212121;
    border:1px solid rgba(255,255,255,.08);
    box-shadow:0 10px 30px rgba(0,0,0,.34);
    overflow:hidden;
}
.yt-system-sort__menu[hidden]{display:none!important}
.yt-system-sort__option{
    min-height:42px;
    padding:0 16px;
    color:#f1f1f1!important;
    text-decoration:none!important;
    display:flex;
    align-items:center;
    font-size:14px;
    font-weight:500;
}
.yt-system-sort__option:hover,
.yt-system-sort__option.is-active{background:#3f3f3f;color:#fff!important}
.yt-system-playlist-filters{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    margin:0!important;
}
.yt-system-playlist-filters a{
    height:40px;
    padding:0 15px;
    border-radius:10px;
    background:var(--yt-chip);
    color:var(--yt-text)!important;
    text-decoration:none!important;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
    font-weight:700;
    white-space:nowrap;
}
.yt-system-playlist-filters a:hover{background:var(--yt-chip-hover)}
.yt-system-playlist-filters a.is-active{background:var(--yt-text);color:var(--yt-bg)!important}
.ytapp[data-theme="light"] .yt-system-sort__menu{
    background:#fff;
    border-color:rgba(0,0,0,.08);
    box-shadow:0 10px 28px rgba(0,0,0,.18);
}
.ytapp[data-theme="light"] .yt-system-sort__option{color:#0f0f0f!important}
.ytapp[data-theme="light"] .yt-system-sort__option:hover,
.ytapp[data-theme="light"] .yt-system-sort__option.is-active{background:#f2f2f2;color:#0f0f0f!important}
.ytapp[data-theme="light"] .yt-system-playlist-filters a.is-active{background:#0f0f0f;color:#fff!important}
.yt-system-playlist-list:not(.is-manual) .yt-system-playlist-item__drag{cursor:default!important}
.yt-system-playlist-list:not(.is-manual) .yt-system-playlist-item__drag i{display:none!important}
.yt-system-playlist-list:not(.is-manual) .yt-system-playlist-item__drag em{
    position:static!important;
    font-size:12px!important;
    opacity:.9!important;
}
@media(max-width:700px){
  .yt-system-playlist-filterbar{overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
  .yt-system-playlist-filterbar::-webkit-scrollbar{display:none}
  .yt-system-sort__menu{position:fixed;left:12px!important;right:12px;top:auto;min-width:0}
}

/* ==== PEKEDU Video 2.2.36 - YouTube-like Home card menu ==== */
.yt-card{position:relative!important}
.yt-card__body{position:relative!important;padding-right:40px!important}
.yt-card__menu-btn{
  position:absolute;right:0;top:2px;width:36px;height:36px;border:0;border-radius:50%;
  display:flex;align-items:center;justify-content:center;background:transparent;color:var(--yt-text);
  cursor:pointer;opacity:0;pointer-events:none;transform:scale(.94);transition:opacity .12s ease,background-color .12s ease,transform .12s ease;z-index:8;
}
.yt-card:hover .yt-card__menu-btn,.yt-card:focus-within .yt-card__menu-btn,.yt-card__menu-btn.is-open{
  opacity:1;pointer-events:auto;transform:scale(1);
}
.yt-card__menu-btn:hover,.yt-card__menu-btn.is-open{background:var(--yt-hover)}
.yt-card__menu-btn i{font-size:19px;line-height:1}
.yt-card.is-home-dismissed{opacity:0!important;transform:scale(.98)!important;transition:opacity .2s ease,transform .2s ease!important}

.yt-home-card-menu-backdrop{position:fixed;inset:0;z-index:1400;background:transparent}
.yt-home-card-menu{
  position:fixed;z-index:1405;min-width:330px;max-width:min(92vw,380px);padding:8px 0;border-radius:14px;
  background:#212121;color:#f1f1f1;border:1px solid rgba(255,255,255,.08);box-shadow:0 14px 40px rgba(0,0,0,.42);
  opacity:0;transform:translateY(6px) scale(.985);transform-origin:top right;transition:opacity .14s ease,transform .16s cubic-bezier(.2,.8,.2,1);overflow:hidden;
  font-family:Roboto,Arial,"Helvetica Neue",sans-serif;
}
.yt-home-card-menu.is-light{background:#fff;color:#0f0f0f;border-color:rgba(0,0,0,.08);box-shadow:0 12px 30px rgba(0,0,0,.18)}
.yt-home-card-menu.is-open{opacity:1;transform:translateY(0) scale(1)}
.yt-home-card-menu[hidden],.yt-home-card-menu-backdrop[hidden]{display:none!important}
.yt-home-card-menu button{
  width:100%;min-height:46px;padding:0 18px;border:0;background:transparent;color:inherit;display:flex;align-items:center;gap:16px;text-align:left;
  cursor:pointer;font:500 15px/1.25 Roboto,Arial,"Helvetica Neue",sans-serif;transition:background-color .12s ease;
}
.yt-home-card-menu button:hover{background:rgba(255,255,255,.10)}
.yt-home-card-menu.is-light button:hover{background:rgba(0,0,0,.06)}
.yt-home-card-menu button i{width:24px;min-width:24px;text-align:center;font-size:22px;color:inherit}
.yt-home-card-menu__sep{height:1px;background:rgba(255,255,255,.12);margin:7px 0}
.yt-home-card-menu.is-light .yt-home-card-menu__sep{background:rgba(0,0,0,.10)}

.yt-home-save-modal,.yt-home-report-modal{position:fixed;inset:0;z-index:1410;opacity:0;transition:opacity .14s ease;font-family:Roboto,Arial,"Helvetica Neue",sans-serif}
.yt-home-save-modal.is-open,.yt-home-report-modal.is-open{opacity:1}
.yt-home-save-modal[hidden],.yt-home-report-modal[hidden]{display:none!important}
.yt-home-modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.52)}
.yt-home-modal__dialog{
  position:relative;width:min(480px,calc(100vw - 28px));margin:10vh auto 0;border-radius:16px;overflow:hidden;
  background:#212121;color:#f1f1f1;border:1px solid rgba(255,255,255,.08);box-shadow:0 24px 60px rgba(0,0,0,.45);
  transform:translateY(8px) scale(.99);transition:transform .16s cubic-bezier(.2,.8,.2,1);
}
.yt-home-save-modal.is-open .yt-home-modal__dialog,.yt-home-report-modal.is-open .yt-home-modal__dialog{transform:translateY(0) scale(1)}
.yt-home-save-modal.is-light .yt-home-modal__dialog,.yt-home-report-modal.is-light .yt-home-modal__dialog{background:#fff;color:#0f0f0f;border-color:rgba(0,0,0,.08);box-shadow:0 18px 48px rgba(0,0,0,.22)}
.yt-home-modal__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid rgba(255,255,255,.12)}
.is-light .yt-home-modal__head{border-bottom-color:rgba(0,0,0,.10)}
.yt-home-modal__head strong{font-size:19px;font-weight:700}
.yt-home-modal__head button{width:36px;height:36px;border:0;border-radius:50%;background:transparent;color:inherit;cursor:pointer}
.yt-home-modal__head button:hover{background:rgba(255,255,255,.10)}
.is-light .yt-home-modal__head button:hover{background:rgba(0,0,0,.06)}
.yt-home-modal__body{padding:10px 0;max-height:min(70vh,560px);overflow:auto}
.yt-home-save-choice,.yt-home-save-empty{width:100%;min-height:48px;padding:0 20px;border:0;background:transparent;color:inherit;display:flex;align-items:center;gap:14px;text-align:left;font:500 15px Roboto,Arial,sans-serif}
.yt-home-save-choice{cursor:pointer}.yt-home-save-choice:hover{background:rgba(255,255,255,.09)}.is-light .yt-home-save-choice:hover{background:rgba(0,0,0,.05)}
.yt-home-save-choice i,.yt-home-save-empty i{width:22px;text-align:center;font-size:20px}
.yt-home-report-dialog .yt-home-modal__body{padding:18px 20px 20px}
.yt-home-report-help{margin:0 0 12px;color:#aaa}.is-light .yt-home-report-help{color:#606060}
.yt-home-report-dialog label{display:flex;align-items:center;gap:12px;min-height:42px;cursor:pointer;font-size:15px}
.yt-home-report-dialog input[type="radio"]{width:18px;height:18px}
.yt-home-report-dialog textarea{width:100%;min-height:110px;margin-top:12px;padding:12px 14px;border-radius:12px;border:1px solid #555;background:#181818;color:#fff;resize:vertical;font:14px/1.45 Roboto,Arial,sans-serif}
.is-light .yt-home-report-dialog textarea{background:#fff;color:#111;border-color:#d8d8d8}
.yt-home-report-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}
.yt-home-report-actions button{height:40px;padding:0 16px;border:0;border-radius:20px;background:transparent;color:inherit;cursor:pointer;font-weight:700}
.yt-home-report-actions button:hover{background:rgba(255,255,255,.10)}.is-light .yt-home-report-actions button:hover{background:rgba(0,0,0,.06)}
.yt-home-report-actions .is-primary{background:#3ea6ff;color:#0f0f0f}.yt-home-report-actions .is-primary:hover{background:#65b8ff}

@media (hover:none){.yt-card__menu-btn{opacity:1;pointer-events:auto;transform:none}}
@media(max-width:620px){.yt-home-card-menu{min-width:290px;max-width:calc(100vw - 24px)}}

/* ==== PEKEDU Video 2.2.37 - lighter home menu icons + brighter report text ==== */
.yt-home-card-menu button .yt-home-card-menu__icon{
  width:24px;min-width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;color:inherit;
}
.yt-home-card-menu button .yt-home-card-menu__icon svg{
  width:22px;height:22px;display:block;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;
}
.yt-home-card-menu button i{display:none!important}
.yt-home-report-modal:not(.is-light) .yt-home-modal__dialog{color:#fff!important}
.yt-home-report-modal:not(.is-light) .yt-home-modal__head strong,
.yt-home-report-modal:not(.is-light) .yt-home-report-dialog label,
.yt-home-report-modal:not(.is-light) .yt-home-report-dialog label span,
.yt-home-report-modal:not(.is-light) .yt-home-report-actions button{color:#fff!important}
.yt-home-report-modal:not(.is-light) .yt-home-report-help{color:#d6d6d6!important}
.yt-home-report-modal:not(.is-light) .yt-home-report-dialog textarea{color:#fff!important;background:#181818!important;border-color:#555!important}
.yt-home-report-modal:not(.is-light) .yt-home-report-dialog textarea::placeholder{color:#b8b8b8!important;opacity:1}
.yt-home-report-modal:not(.is-light) .yt-home-report-dialog input[type="radio"]{accent-color:#3ea6ff}
.yt-home-report-modal.is-light .yt-home-report-dialog label,
.yt-home-report-modal.is-light .yt-home-report-dialog label span{color:#0f0f0f!important}
.yt-home-report-modal.is-light .yt-home-report-help{color:#606060!important}
.yt-home-report-modal.is-light .yt-home-report-dialog textarea::placeholder{color:#777!important;opacity:1}

/* ==== PEKEDU Video 2.2.38 - hidden channels manager ==== */
.yt-hidden-channels-page{
    max-width:1280px;
    margin:0 auto;
    padding:28px 32px 64px;
}
.yt-hidden-channels-head{margin-bottom:22px}
.yt-hidden-channels-head h1{
    margin:0 0 7px;
    font-size:28px;
    line-height:1.2;
    font-weight:700;
    color:var(--yt-text);
}
.yt-hidden-channels-head p{
    margin:0;
    max-width:820px;
    color:var(--yt-text-2);
    font-size:14px;
    line-height:1.55;
}
.yt-hidden-channels-list{
    display:flex;
    flex-direction:column;
    gap:0;
    border-top:1px solid var(--yt-border);
}
.yt-hidden-channel-card{
    display:grid;
    grid-template-columns:88px minmax(0,1fr) auto;
    gap:20px;
    align-items:center;
    padding:20px 8px;
    border-bottom:1px solid var(--yt-border);
    transition:background-color .15s ease,opacity .2s ease,transform .2s ease;
}
.yt-hidden-channel-card:hover{background:var(--yt-hover)}
.yt-hidden-channel-card.is-restoring{opacity:.55;pointer-events:none}
.yt-hidden-channel-card.is-removed{opacity:0;transform:translateY(-8px)}
.yt-hidden-channel-avatar{
    width:76px;
    height:76px;
    border-radius:50%;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--yt-chip);
    color:var(--yt-text);
    text-decoration:none;
    font-size:24px;
    font-weight:700;
}
.yt-hidden-channel-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.yt-hidden-channel-info{min-width:0}
.yt-hidden-channel-title{
    display:inline-block;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:var(--yt-text);
    text-decoration:none;
    font-size:18px;
    line-height:1.3;
    font-weight:700;
}
.yt-hidden-channel-title:hover{text-decoration:underline}
.yt-hidden-channel-meta{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:6px;
    margin-top:4px;
    color:var(--yt-text-2);
    font-size:13px;
}
.yt-hidden-channel-info p{
    margin:8px 0 0;
    max-width:760px;
    color:var(--yt-text-2);
    font-size:14px;
    line-height:1.45;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
}
.yt-hidden-channel-restore{
    min-width:154px;
    height:38px;
    padding:0 16px;
    border:0;
    border-radius:19px;
    background:var(--yt-chip);
    color:var(--yt-text);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    white-space:nowrap;
    transition:background-color .15s ease,transform .12s ease;
}
.yt-hidden-channel-restore:hover{background:var(--yt-chip-hover)}
.yt-hidden-channel-restore:active{transform:scale(.98)}
.yt-hidden-channel-restore i{font-size:15px}
.yt-hidden-channels-empty{
    min-height:360px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:8px;
    color:var(--yt-text-2);
}
.yt-hidden-channels-empty__icon{
    width:64px;height:64px;border-radius:50%;
    display:flex;align-items:center;justify-content:center;
    background:var(--yt-chip);color:var(--yt-text);font-size:25px;margin-bottom:5px;
}
.yt-hidden-channels-empty strong{font-size:18px;color:var(--yt-text)}
.yt-hidden-channels-empty p{margin:0;max-width:520px;font-size:14px;line-height:1.5}
@media(max-width:760px){
    .yt-hidden-channels-page{padding:20px 14px 48px}
    .yt-hidden-channel-card{grid-template-columns:64px minmax(0,1fr);gap:14px;padding:16px 4px}
    .yt-hidden-channel-avatar{width:60px;height:60px}
    .yt-hidden-channel-restore{grid-column:2;justify-self:start;min-width:0;height:36px}
    .yt-hidden-channel-title{font-size:16px}
}


/* ==== PEKEDU Video 2.2.39 - softer youtube-like three-dot buttons ==== */
.yt-card__menu-btn,
.yt-watch-related__more,
.yt-system-playlist-item__more,
.ytapp--watch .yt-watch-action--more{
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  min-height:40px!important;
  border-radius:999px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  border:0!important;
  background:var(--yt-chip)!important;
  color:var(--yt-text)!important;
  box-shadow:none!important;
  transition:background-color .16s ease, color .16s ease, transform .14s ease, opacity .14s ease!important;
}
.yt-card__menu-btn:hover,
.yt-card__menu-btn.is-open,
.yt-watch-related__more:hover,
.yt-system-playlist-item__more:hover,
.yt-system-playlist-item__more.is-open,
.ytapp--watch .yt-watch-action--more:hover,
.ytapp--watch .yt-watch-more-wrap.is-menu-open .yt-watch-action--more{
  background:var(--yt-chip-hover)!important;
}
.yt-card__menu-btn:active,
.yt-watch-related__more:active,
.yt-system-playlist-item__more:active,
.ytapp--watch .yt-watch-action--more:active{
  transform:scale(.96)!important;
}
.yt-card__menu-btn i,
.yt-watch-related__more i,
.yt-system-playlist-item__more i,
.ytapp--watch .yt-watch-action--more i{
  font-size:15px!important;
  line-height:1!important;
  color:currentColor!important;
}
.yt-watch-related__more{
  opacity:1!important;
}
.yt-watch-related__item:hover .yt-watch-related__more,
.yt-watch-related__item:focus-within .yt-watch-related__more{
  opacity:1!important;
}
.yt-card__body{padding-right:46px!important}
.yt-card__menu-btn{top:-2px!important;right:-2px!important}
.yt-system-playlist-item__more{background:transparent!important}
.yt-system-playlist-item__more:hover,.yt-system-playlist-item__more.is-open{background:var(--yt-hover)!important}
.ytapp[data-theme="light"] .yt-card__menu-btn,
.ytapp[data-theme="light"] .yt-watch-related__more,
.ytapp[data-theme="light"] .ytapp--watch .yt-watch-action--more,
html:not(.dark) .yt-card__menu-btn,
html:not(.dark) .yt-watch-related__more,
html:not(.dark) .ytapp--watch .yt-watch-action--more{
  background:#f2f2f2!important;
  color:#0f0f0f!important;
}
.ytapp[data-theme="light"] .yt-card__menu-btn:hover,
.ytapp[data-theme="light"] .yt-card__menu-btn.is-open,
.ytapp[data-theme="light"] .yt-watch-related__more:hover,
.ytapp[data-theme="light"] .ytapp--watch .yt-watch-action--more:hover,
.ytapp[data-theme="light"] .ytapp--watch .yt-watch-more-wrap.is-menu-open .yt-watch-action--more,
html:not(.dark) .yt-card__menu-btn:hover,
html:not(.dark) .yt-card__menu-btn.is-open,
html:not(.dark) .yt-watch-related__more:hover,
html:not(.dark) .ytapp--watch .yt-watch-action--more:hover,
html:not(.dark) .ytapp--watch .yt-watch-more-wrap.is-menu-open .yt-watch-action--more{
  background:#e5e5e5!important;
}
@media (max-width: 767px){
  .yt-card__menu-btn,
  .yt-watch-related__more,
  .ytapp--watch .yt-watch-action--more{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important}
}


/* ==== PEKEDU Video 2.2.40 - Related cards YouTube menu ==== */
.yt-watch-related__item{position:relative!important}
.yt-watch-related__more{
  opacity:0!important;pointer-events:none!important;transform:scale(.94)!important;
  width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;
  border-radius:999px!important;background:transparent!important;
  transition:opacity .12s ease,transform .12s ease,background-color .14s ease!important;
}
.yt-watch-related__item:hover .yt-watch-related__more,
.yt-watch-related__item:focus-within .yt-watch-related__more,
.yt-watch-related__more.is-open{opacity:1!important;pointer-events:auto!important;transform:scale(1)!important}
.yt-watch-related__more:hover,.yt-watch-related__more.is-open{background:var(--yt-chip)!important}
.yt-watch-related__more i{font-size:15px!important;line-height:1!important}
@media (hover:none){.yt-watch-related__more{opacity:1!important;pointer-events:auto!important;transform:none!important}}

.yt-watch-related__item{grid-template-columns:168px minmax(0,1fr) 40px!important;align-items:start!important}
@media(max-width:1050px){.yt-watch-related__item{grid-template-columns:160px minmax(0,1fr) 40px!important}}


/* ==== PEKEDU Video 2.2.41 - compact menus + related more inside card ==== */
.yt-home-card-menu{
  width:min(276px,calc(100vw - 24px))!important;
  min-width:0!important;
  max-width:276px!important;
  padding:7px 0!important;
  border-radius:13px!important;
}
.yt-home-card-menu button{
  min-height:44px!important;
  padding:0 14px!important;
  gap:13px!important;
  font-size:14.5px!important;
}
.yt-home-card-menu button .yt-home-card-menu__icon{
  width:22px!important;
  min-width:22px!important;
  height:22px!important;
}
.yt-home-card-menu button .yt-home-card-menu__icon svg{
  width:21px!important;
  height:21px!important;
}
.yt-home-card-menu__sep{margin:5px 0!important}

/* Related card: keep the three-dot control fully inside the bottom-right corner. */
.ytapp--watch .yt-watch-related__item{
  grid-template-columns:168px minmax(0,1fr)!important;
  position:relative!important;
  padding-right:0!important;
  overflow:hidden!important;
}
.ytapp--watch .yt-watch-related__info{
  min-width:0!important;
  padding-right:42px!important;
  padding-bottom:4px!important;
}
.ytapp--watch .yt-watch-related__more{
  position:absolute!important;
  right:4px!important;
  bottom:4px!important;
  top:auto!important;
  margin:0!important;
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  min-height:36px!important;
  z-index:8!important;
  border-radius:999px!important;
  background:var(--yt-chip)!important;
  opacity:0!important;
  pointer-events:none!important;
  transform:scale(.94)!important;
}
.ytapp--watch .yt-watch-related__item:hover .yt-watch-related__more,
.ytapp--watch .yt-watch-related__item:focus-within .yt-watch-related__more,
.ytapp--watch .yt-watch-related__more.is-open{
  opacity:1!important;
  pointer-events:auto!important;
  transform:scale(1)!important;
}
.ytapp--watch .yt-watch-related__more:hover,
.ytapp--watch .yt-watch-related__more.is-open{
  background:var(--yt-chip-hover)!important;
}
.ytapp--watch .yt-watch-related__more i{font-size:14px!important}
.ytapp[data-theme="light"] .ytapp--watch .yt-watch-related__more{
  background:#ececec!important;
  color:#0f0f0f!important;
}
.ytapp[data-theme="light"] .ytapp--watch .yt-watch-related__more:hover,
.ytapp[data-theme="light"] .ytapp--watch .yt-watch-related__more.is-open{
  background:#dedede!important;
}
@media(max-width:1050px){
  .ytapp--watch .yt-watch-related__item{grid-template-columns:160px minmax(0,1fr)!important}
}
@media(hover:none){
  .ytapp--watch .yt-watch-related__more{opacity:1!important;pointer-events:auto!important;transform:none!important}
}
@media(max-width:620px){
  .yt-home-card-menu{width:min(268px,calc(100vw - 20px))!important;max-width:268px!important}
  .yt-home-card-menu button{min-height:43px!important;padding:0 13px!important;font-size:14px!important}
}

/* ==== PEKEDU Video 2.2.42 - narrower Home card menu ==== */


/* ==== PEKEDU Video 2.2.43 - hover theme submenu ==== */
.yt-account-menu__item[data-yt-open-theme]{
  position:relative!important;
}
.yt-account-menu__item[data-yt-open-theme].is-submenu-open{
  background:var(--yt-hover)!important;
}
.yt-theme-flyout{
  position:fixed;
  z-index:1605;
  width:238px;
  padding:8px 0;
  border-radius:14px;
  background:#282828;
  color:#f1f1f1;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 10px 34px rgba(0,0,0,.44);
  opacity:0;
  transform:translateX(6px) scale(.985);
  transform-origin:right top;
  transition:opacity .12s ease,transform .15s cubic-bezier(.2,.8,.2,1);
  overflow:hidden;
  font-family:Roboto,Arial,"Helvetica Neue",sans-serif;
}
.yt-theme-flyout.is-open{
  opacity:1;
  transform:translateX(0) scale(1);
}
.yt-theme-flyout[hidden]{display:none!important}
.yt-theme-flyout.is-light{
  background:#fff;
  color:#0f0f0f;
  border-color:rgba(0,0,0,.08);
  box-shadow:0 10px 30px rgba(0,0,0,.18);
}
.yt-theme-flyout__choice{
  width:100%;
  min-height:46px;
  border:0;
  background:transparent;
  color:inherit;
  display:grid;
  grid-template-columns:32px minmax(0,1fr) 22px;
  align-items:center;
  gap:8px;
  padding:0 14px;
  text-align:left;
  cursor:pointer;
  font:500 15px/1.2 Roboto,Arial,"Helvetica Neue",sans-serif;
  transition:background-color .12s ease;
}
.yt-theme-flyout__choice:hover,
.yt-theme-flyout__choice:focus-visible{
  background:rgba(255,255,255,.09);
  outline:none;
}
.yt-theme-flyout.is-light .yt-theme-flyout__choice:hover,
.yt-theme-flyout.is-light .yt-theme-flyout__choice:focus-visible{
  background:rgba(0,0,0,.06);
}
.yt-theme-flyout__icon{
  width:32px;
  height:32px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.08);
  color:inherit;
}
.yt-theme-flyout.is-light .yt-theme-flyout__icon{background:#f1f3f4}
.yt-theme-flyout__icon i{font-size:17px!important}
.yt-theme-flyout__check{
  color:#3ea6ff!important;
  font-size:15px!important;
  opacity:0;
  justify-self:center;
}
.yt-theme-flyout__choice.is-active .yt-theme-flyout__check{opacity:1}
@media(max-width:700px){
  .yt-theme-flyout{width:224px}
}

/* ========================================================================
   PEKEDU-Youtobe 2.2.70 — Desktop Channel / YouTube-like channel experience
   ======================================================================== */
.yt-main--channel{overflow-y:auto;overflow-x:hidden}
.yt-channel-page{width:100%;min-height:100%;background:var(--yt-bg);color:var(--yt-text)}
.yt-channel-message{max-width:1360px;margin:12px auto 0;padding-left:24px;padding-right:24px}
.yt-channel-hero{max-width:1360px;margin:0 auto;padding:0 24px 12px}
.yt-channel-banner{width:100%;height:clamp(150px,13vw,220px);border-radius:14px;overflow:hidden;background:var(--yt-bg-2);margin-bottom:24px}
.yt-channel-banner img{display:block;width:100%;height:100%;object-fit:cover}
.yt-channel-banner--empty{height:28px;background:transparent;margin-bottom:4px}
.yt-channel-profile-row{display:flex;align-items:center;gap:28px;min-width:0}
.yt-channel-avatar-xl{width:160px;height:160px;flex:0 0 160px;border-radius:50%;overflow:hidden;background:linear-gradient(135deg,#3ea6ff,#8759f2);display:grid;place-items:center;font-size:52px;font-weight:700;color:#fff}
.yt-channel-avatar-xl img{width:100%;height:100%;object-fit:cover;display:block}
.yt-channel-identity{min-width:0;flex:1;padding:2px 0}
.yt-channel-identity h1{margin:0 0 8px;font-size:40px;line-height:1.12;font-weight:700;letter-spacing:-.7px;color:var(--yt-text)}
.yt-channel-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;color:var(--yt-text-2);font-size:15px;line-height:1.5}
.yt-channel-meta strong{color:var(--yt-text);font-weight:500}
.yt-channel-description{max-width:900px;margin:12px 0 0;padding:0;border:0;background:none;color:var(--yt-text-2);font:inherit;font-size:15px;line-height:1.45;text-align:left;cursor:pointer;display:flex;align-items:baseline;min-width:0}
.yt-channel-description span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.yt-channel-description b{flex:0 0 auto;color:var(--yt-text);font-weight:600;margin-left:3px}
.yt-channel-profile-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px}
.yt-channel-source{display:inline-flex;align-items:center;gap:7px;color:var(--yt-blue)!important;font-size:14px;font-weight:500;padding-right:4px}
.yt-channel-source:hover{text-decoration:underline!important}
.yt-channel-subscribe{height:40px;padding:0 18px;border:0;border-radius:20px;background:var(--yt-text);color:var(--yt-bg);font-size:14px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:9px;white-space:nowrap}
.yt-channel-subscribe:hover{opacity:.9}
.yt-channel-subscribe.is-active{background:var(--yt-chip);color:var(--yt-text)}
.yt-channel-subscribe.is-loading{opacity:.62;pointer-events:none}
.yt-channel-info-btn{width:40px;height:40px;border:0;border-radius:50%;background:var(--yt-chip);color:var(--yt-text);cursor:pointer;font-size:17px}
.yt-channel-info-btn:hover{background:var(--yt-chip-hover)}
.yt-channel-owner-tools{display:flex;align-items:center;gap:10px;margin:16px 0 0 188px}
.yt-channel-owner-tools form{display:flex;align-items:center;gap:8px;margin:0}

.yt-channel-tabs{position:sticky;top:0;z-index:35;display:flex;align-items:flex-end;gap:32px;max-width:1360px;margin:16px auto 0;padding:0 24px;background:var(--yt-bg);border-bottom:1px solid var(--yt-border);height:52px;overflow-x:auto;scrollbar-width:none}
.yt-channel-tabs::-webkit-scrollbar{display:none}
.yt-channel-tabs button{height:52px;padding:0 0 2px;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--yt-text-2);font:inherit;font-size:15px;font-weight:600;cursor:pointer;white-space:nowrap}
.yt-channel-tabs button:hover{color:var(--yt-text)}
.yt-channel-tabs button.is-active{color:var(--yt-text);border-bottom-color:var(--yt-text)}
.yt-channel-content{max-width:1360px;margin:0 auto;padding:0 24px 48px}
.yt-channel-pane{min-height:160px}
.yt-channel-pane[hidden]{display:none!important}

.yt-channel-featured{display:grid;grid-template-columns:minmax(320px,430px) minmax(0,1fr);gap:22px;padding:30px 0 32px;border-bottom:1px solid var(--yt-border)}
.yt-channel-featured__thumb{position:relative;display:block;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:var(--yt-bg-2)}
.yt-channel-featured__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.yt-channel-featured__body{padding:4px 0;max-width:720px}
.yt-channel-featured__body h2{font-size:18px;line-height:1.35;margin:0 0 9px;color:var(--yt-text);font-weight:600}
.yt-channel-featured__meta{margin:0 0 16px;color:var(--yt-text-2);font-size:13px}
.yt-channel-featured__description{margin:0;color:var(--yt-text-2);font-size:14px;line-height:1.55;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.yt-channel-duration{position:absolute;right:6px;bottom:6px;background:rgba(0,0,0,.78);color:#fff;border-radius:4px;padding:2px 5px;font-size:12px;font-weight:600;line-height:1.3}
.yt-channel-thumb-fallback{width:100%;height:100%;display:grid;place-items:center;background:var(--yt-bg-2);color:var(--yt-text-2);font-size:34px}

.yt-channel-section{padding:28px 0 30px;border-bottom:1px solid var(--yt-border)}
.yt-channel-section__head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}
.yt-channel-section__head>div{min-width:0}
.yt-channel-section__head h2{margin:0;color:var(--yt-text);font-size:22px;line-height:1.25;font-weight:700;display:flex;align-items:center;gap:9px}
.yt-channel-section__head p{margin:4px 0 0;color:var(--yt-text-2);font-size:13px}
.yt-channel-section__head>button{border:0;background:transparent;color:var(--yt-text);font-size:14px;font-weight:600;cursor:pointer;border-radius:18px;padding:8px 12px;white-space:nowrap}
.yt-channel-section__head>button:hover{background:var(--yt-hover)}
.yt-channel-shorts-mark{color:#f00;font-size:22px}
.yt-channel-rail-wrap{position:relative}
.yt-channel-rail,.yt-channel-short-rail,.yt-channel-playlist-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,1fr);grid-template-rows:1fr;gap:10px;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none;overscroll-behavior-inline:contain;padding:0 1px}
.yt-channel-rail::-webkit-scrollbar,.yt-channel-short-rail::-webkit-scrollbar,.yt-channel-playlist-rail::-webkit-scrollbar{display:none}
.yt-channel-short-rail{grid-auto-columns:minmax(180px,1fr);gap:8px}
.yt-channel-playlist-rail{grid-auto-columns:minmax(230px,1fr);gap:14px}
.yt-channel-rail-arrow{position:absolute;z-index:4;top:34%;width:44px;height:44px;border:0;border-radius:50%;background:var(--yt-text);color:var(--yt-bg);box-shadow:0 2px 12px rgba(0,0,0,.28);cursor:pointer;display:grid;place-items:center;transform:translateY(-50%)}
.yt-channel-rail-arrow.is-left{left:-18px}.yt-channel-rail-arrow.is-right{right:-18px}
.yt-channel-rail-arrow[hidden]{display:none}
.yt-channel-rail-arrow:hover{transform:translateY(-50%) scale(1.04)}

.yt-channel-card{min-width:0;position:relative}
.yt-channel-card__thumb{display:block;position:relative;aspect-ratio:16/9;border-radius:9px;overflow:hidden;background:var(--yt-bg-2)}
.yt-channel-card__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.yt-channel-card__body{display:grid;grid-template-columns:minmax(0,1fr) 28px;gap:4px;padding:10px 0 0}
.yt-channel-card__body>a{min-width:0}
.yt-channel-card__body h3{margin:0;color:var(--yt-text);font-size:15px;line-height:1.35;font-weight:600;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:40px}
.yt-channel-card__body p{margin:5px 0 0;color:var(--yt-text-2);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yt-channel-card__body>button,.yt-channel-short-card__body>button{width:28px;height:32px;border:0;border-radius:50%;background:transparent;color:var(--yt-text);cursor:pointer;opacity:0;transition:opacity .12s,background .12s}
.yt-channel-card:hover .yt-channel-card__body>button,.yt-channel-card__body>button:focus,.yt-channel-short-card:hover .yt-channel-short-card__body>button,.yt-channel-short-card__body>button:focus{opacity:1}
.yt-channel-card__body>button:hover,.yt-channel-short-card__body>button:hover{background:var(--yt-hover)}
.yt-channel-progress{position:absolute;left:0;right:0;bottom:0;height:3px;background:rgba(255,255,255,.25)}
.yt-channel-progress i{display:block;height:100%;background:#f00}

.yt-channel-short-card{min-width:0}
.yt-channel-short-card__thumb{display:block;position:relative;width:100%;aspect-ratio:9/16;border-radius:9px;overflow:hidden;background:var(--yt-bg-2)}
.yt-channel-short-card__thumb img{width:100%;height:100%;display:block;object-fit:cover}
.yt-channel-short-card__body{display:grid;grid-template-columns:minmax(0,1fr) 28px;gap:3px;padding:10px 0 0}
.yt-channel-short-card__body>a{min-width:0}
.yt-channel-short-card__body h3{margin:0;color:var(--yt-text);font-size:15px;line-height:1.35;font-weight:600;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:40px}
.yt-channel-short-card__body p{margin:5px 0 0;color:var(--yt-text-2);font-size:13px}

.yt-channel-sort{display:flex;gap:10px;padding:22px 0 18px}
.yt-channel-sort button{height:40px;padding:0 17px;border:0;border-radius:10px;background:var(--yt-chip);color:var(--yt-text);font-size:14px;font-weight:600;cursor:pointer}
.yt-channel-sort button:hover{background:var(--yt-chip-hover)}
.yt-channel-sort button.is-active{background:var(--yt-text);color:var(--yt-bg)}
.yt-channel-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px 12px}
.yt-channel-shorts-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:28px 9px}
/* 2.3.13: quy tắc giới hạn 5 Shorts của Trang chủ không được áp sang tab Shorts của kênh. */
.yt-channel-shorts-grid .yt-short-card,.yt-channel-shorts-grid .yt-short-card:nth-child(n),.yt-channel-short-rail .yt-short-card,.yt-channel-short-rail .yt-short-card:nth-child(n){display:block!important}
.yt-channel-loadmore{display:block;margin:28px auto 0;height:40px;padding:0 22px;border:0;border-radius:20px;background:var(--yt-chip);color:var(--yt-text);font-weight:600;cursor:pointer}
.yt-channel-loadmore:hover{background:var(--yt-chip-hover)}
.yt-channel-loading{display:flex;justify-content:center;align-items:center;gap:7px;padding:30px}
.yt-channel-loading span{width:8px;height:8px;border-radius:50%;background:var(--yt-text-2);animation:ytChannelPulse .9s infinite alternate}
.yt-channel-loading span:nth-child(2){animation-delay:.15s}.yt-channel-loading span:nth-child(3){animation-delay:.3s}
@keyframes ytChannelPulse{to{opacity:.25;transform:translateY(-4px)}}
.yt-channel-empty{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--yt-text-2);gap:8px}
.yt-channel-empty>i{font-size:34px}.yt-channel-empty strong{font-size:17px;color:var(--yt-text)}

.yt-channel-playlist-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 14px;padding-top:24px}
.yt-channel-playlist-card{display:block;min-width:0;color:var(--yt-text)!important}
.yt-channel-playlist-card__cover{position:relative;display:block;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:var(--yt-bg-2);box-shadow:0 -5px 0 -1px rgba(170,170,170,.35),0 -10px 0 -3px rgba(170,170,170,.18)}
.yt-channel-playlist-card__cover img{width:100%;height:100%;object-fit:cover;display:block}
.yt-channel-playlist-card__cover>b{position:absolute;right:6px;bottom:6px;background:rgba(0,0,0,.75);color:#fff;border-radius:5px;padding:4px 7px;font-size:12px}
.yt-channel-playlist-card h3{font-size:15px;line-height:1.35;margin:10px 0 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.yt-channel-playlist-card p{margin:5px 0 0;color:var(--yt-text-2);font-size:13px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}

.yt-channel-info-modal{position:fixed;inset:0;z-index:1100;display:grid;place-items:center;padding:22px}
.yt-channel-info-modal[hidden]{display:none!important}
.yt-channel-modal-backdrop{position:absolute;inset:0;border:0;background:rgba(0,0,0,.52);backdrop-filter:blur(1px)}
.yt-channel-info-dialog{position:relative;z-index:1;width:min(620px,94vw);max-height:min(720px,90vh);overflow:auto;background:var(--yt-elevated);color:var(--yt-text);border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,.48);padding:0 22px 24px}
.yt-channel-info-dialog header{height:62px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--yt-border);margin:0 -22px 20px;padding:0 18px 0 22px}
.yt-channel-info-dialog header h2{font-size:20px;margin:0}.yt-channel-info-dialog header button{width:38px;height:38px;border:0;border-radius:50%;background:transparent;color:var(--yt-text);cursor:pointer}.yt-channel-info-dialog header button:hover{background:var(--yt-hover)}
.yt-channel-info-identity{display:flex;align-items:center;gap:14px}.yt-channel-info-avatar{width:68px;height:68px;border-radius:50%;overflow:hidden;background:var(--yt-chip);display:grid;place-items:center;font-size:22px;font-weight:700}.yt-channel-info-avatar img{width:100%;height:100%;object-fit:cover}.yt-channel-info-identity strong{display:block;font-size:19px}.yt-channel-info-identity small{display:block;margin-top:5px;color:var(--yt-text-2)}
.yt-channel-info-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:20px 0}.yt-channel-info-stats span{padding:12px 8px;background:var(--yt-bg-2);border-radius:10px;text-align:center}.yt-channel-info-stats b,.yt-channel-info-stats small{display:block}.yt-channel-info-stats b{font-size:17px}.yt-channel-info-stats small{margin-top:3px;color:var(--yt-text-2);font-size:11px}
.yt-channel-info-description{white-space:pre-line;color:var(--yt-text);line-height:1.65;font-size:14px;border-top:1px solid var(--yt-border);padding-top:18px}
.yt-channel-info-details{border-top:1px solid var(--yt-border);margin-top:18px;padding-top:10px}.yt-channel-info-details>div,.yt-channel-info-details>a{min-height:44px;display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px;color:var(--yt-text)!important}.yt-channel-info-details i{color:var(--yt-text-2)}.yt-channel-info-details span{color:var(--yt-text-2)}

.yt-channel-card-menu{position:fixed;z-index:1200;min-width:190px;background:var(--yt-elevated);border-radius:11px;padding:6px 0;box-shadow:0 7px 30px rgba(0,0,0,.42)}
.yt-channel-card-menu[hidden]{display:none!important}.yt-channel-card-menu a,.yt-channel-card-menu button{width:100%;height:42px;padding:0 14px;border:0;background:transparent;color:var(--yt-text)!important;display:flex;align-items:center;gap:12px;text-align:left;cursor:pointer;font:inherit}.yt-channel-card-menu a:hover,.yt-channel-card-menu button:hover{background:var(--yt-hover)}.yt-channel-card-menu i{width:20px;text-align:center}
.yt-channel-toast{position:fixed;left:50%;bottom:26px;z-index:1300;transform:translateX(-50%);background:#272727;color:#fff;border-radius:4px;padding:11px 16px;box-shadow:0 4px 16px rgba(0,0,0,.35);font-size:13px}.yt-channel-toast[hidden]{display:none!important}.yt-channel-toast.is-error{background:#b3261e}

.ytapp[data-theme="light"] .yt-channel-subscribe.is-active,
.ytapp[data-theme="light"] .yt-channel-info-btn,
.ytapp[data-theme="light"] .yt-channel-sort button,
.ytapp[data-theme="light"] .yt-channel-loadmore{background:#f2f2f2;color:#0f0f0f}
.ytapp[data-theme="light"] .yt-channel-card-menu,
.ytapp[data-theme="light"] .yt-channel-info-dialog{background:#fff;color:#0f0f0f}
.ytapp[data-theme="light"] .yt-channel-info-stats span{background:#f2f2f2}
.ytapp[data-theme="light"] .yt-channel-rail-arrow{background:#fff;color:#0f0f0f}

@media(max-width:1280px){
  .yt-channel-avatar-xl{width:132px;height:132px;flex-basis:132px;font-size:44px}
  .yt-channel-identity h1{font-size:34px}
  .yt-channel-owner-tools{margin-left:160px}
  .yt-channel-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .yt-channel-shorts-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:900px){
  .yt-channel-hero,.yt-channel-content,.yt-channel-tabs{padding-left:16px;padding-right:16px}
  .yt-channel-profile-row{align-items:flex-start;gap:18px}
  .yt-channel-avatar-xl{width:104px;height:104px;flex-basis:104px;font-size:34px}
  .yt-channel-identity h1{font-size:28px}
  .yt-channel-owner-tools{margin-left:122px}
  .yt-channel-featured{grid-template-columns:minmax(260px,360px) minmax(0,1fr)}
  .yt-channel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .yt-channel-shorts-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .yt-channel-playlist-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:640px){
  .yt-channel-profile-row{display:block}.yt-channel-avatar-xl{width:88px;height:88px;margin-bottom:12px}.yt-channel-owner-tools{margin-left:0}.yt-channel-featured{grid-template-columns:1fr}.yt-channel-grid{grid-template-columns:1fr}.yt-channel-shorts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.yt-channel-playlist-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.yt-channel-info-stats{grid-template-columns:repeat(2,1fr)}
}

/* ========================================================================
   PEKEDU-Youtobe 2.2.73 — Channel hero actions + continuous loading
   ======================================================================== */
.yt-channel-profile-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:nowrap;
  margin-top:16px;
  min-width:0;
}
.yt-channel-sync-actions{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0;
}
.yt-channel-action-btn{
  height:40px;
  min-width:0;
  padding:0 16px;
  border:0;
  border-radius:20px;
  background:var(--yt-chip);
  color:var(--yt-text);
  font:inherit;
  font-size:14px;
  font-weight:600;
  line-height:1;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  white-space:nowrap;
  transition:background-color .15s ease,transform .15s ease,opacity .15s ease;
}
.yt-channel-action-btn:hover{background:var(--yt-chip-hover);transform:translateY(-1px)}
.yt-channel-action-btn:active{transform:translateY(0)}
.yt-channel-action-btn>i:first-child{font-size:16px;line-height:1}
.yt-channel-action-btn.yt-channel-subscribe,
.yt-channel-action-btn.yt-channel-subscribe.is-active{
  height:40px;
  padding:0 16px;
  border-radius:20px;
  background:var(--yt-chip);
  color:var(--yt-text);
}
.yt-channel-action-btn.yt-channel-subscribe:not(.is-active){background:var(--yt-text);color:var(--yt-bg)}
.yt-channel-action-btn.yt-channel-info-btn{
  width:auto;
  height:40px;
  padding:0 16px;
  border-radius:20px;
  font-size:14px;
}
.yt-channel-pending-note{
  height:40px;
  padding:0 14px;
  border-radius:20px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:var(--yt-chip);
  color:var(--yt-text-2);
  font-size:13px;
  white-space:nowrap;
}
.yt-channel-owner-tools{display:none!important}
.yt-channel-source{display:none!important}
.yt-channel-autoload{height:1px;width:100%;pointer-events:none}
.yt-channel-banner.is-image-error{height:28px;background:transparent;margin-bottom:4px}
.yt-channel-banner.is-image-error img{display:none!important}
.ytapp[data-theme="light"] .yt-channel-action-btn,
.ytapp[data-theme="light"] .yt-channel-pending-note{background:#f2f2f2;color:#0f0f0f}
.ytapp[data-theme="light"] .yt-channel-action-btn:hover{background:#e5e5e5}
.ytapp[data-theme="light"] .yt-channel-action-btn.yt-channel-subscribe:not(.is-active){background:#0f0f0f;color:#fff}
@media(max-width:900px){
  .yt-channel-profile-actions{flex-wrap:wrap}
  .yt-channel-sync-actions{flex-wrap:wrap}
}
@media(max-width:520px){
  .yt-channel-action-btn{padding:0 13px}
  .yt-channel-action-btn.yt-channel-info-btn{padding:0 13px}
}


/* ========================================================================
   PEKEDU-Youtobe 2.2.74 — Channel feedback / sync state / responsive hero
   ======================================================================== */
.yt-channel-message{
  position:fixed;
  top:72px;left:50%;z-index:1300;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:10px;
  width:fit-content;
  min-width:320px;
  max-width:calc(100vw - 32px);
  min-height:46px;
  margin:0;
  padding:10px 46px 10px 15px;
  border-radius:12px;
  font-size:14px;
  font-weight:500;
  line-height:1.45;
  background:#272727;
  border-color:#454545;
  color:#fff;
  box-shadow:0 8px 28px rgba(0,0,0,.25);
  transition:opacity .22s ease,transform .22s ease;
}
.yt-channel-message.success{background:#272727;border-color:#454545;color:#fff}
.yt-channel-message.danger{background:#272727;border-color:#454545;color:#fff}
.yt-channel-message__icon{font-size:18px;flex:0 0 auto;color:#46d17f}
.yt-channel-message.danger .yt-channel-message__icon{color:#ff6b6b}
.yt-channel-message.danger .yt-channel-message__icon:before{content:"\f057"}
.yt-channel-message__text{min-width:0;flex:1}
.yt-channel-message__close{
  position:absolute;right:10px;top:50%;transform:translateY(-50%);
  width:30px;height:30px;border:0;border-radius:50%;background:transparent;
  color:inherit;opacity:.72;display:grid;place-items:center;cursor:pointer;
}
.yt-channel-message__close:hover{opacity:1;background:rgba(127,127,127,.12)}
.yt-channel-message.is-hiding{opacity:0;transform:translate(-50%,-7px);pointer-events:none}
.ytapp[data-theme="light"] .yt-channel-message.success,
.ytapp[data-theme="light"] .yt-channel-message.danger{
  background:#fff;border-color:#dadce0;color:#202124;box-shadow:0 8px 28px rgba(60,64,67,.22);
}
.ytapp[data-theme="light"] .yt-channel-message.success .yt-channel-message__icon{color:#188038}
.ytapp[data-theme="light"] .yt-channel-message.danger .yt-channel-message__icon{color:#d93025}

.yt-channel-sync-actions.is-syncing{cursor:progress}
.yt-channel-sync-actions.is-syncing .yt-channel-action-btn{pointer-events:none;opacity:.56;transform:none}
.yt-channel-sync-actions.is-syncing .yt-channel-action-btn.is-syncing{
  opacity:1;background:var(--yt-text);color:var(--yt-bg);box-shadow:0 0 0 3px rgba(62,166,255,.12)
}
.yt-channel-sync-actions .yt-channel-action-btn.is-syncing>i:first-child{
  animation:pekytChannelSyncSpin .72s linear infinite
}
@keyframes pekytChannelSyncSpin{to{transform:rotate(360deg)}}
.ytapp[data-theme="light"] .yt-channel-sync-actions.is-syncing .yt-channel-action-btn.is-syncing{
  background:#0f0f0f;color:#fff
}

/* Banner phải dùng ảnh nguồn HD; CSS không nội suy/zoom quá mức ngoài crop cần thiết. */
.yt-channel-banner img{image-rendering:auto;transform:translateZ(0);backface-visibility:hidden}

/* Mô tả luôn co trong phần identity và giữ nút “xem thêm” trong viewport. */
.yt-channel-description{
  width:100%;
  max-width:min(900px,100%);
  box-sizing:border-box;
  overflow:hidden;
}
.yt-channel-description span{
  flex:1 1 auto;
  width:0;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.yt-channel-description b{
  flex:0 0 auto;
  white-space:nowrap;
  margin-left:4px;
}
@media(max-width:900px){
  .yt-channel-description{max-width:100%}
}
@media(max-width:640px){
  .yt-channel-message{top:64px;min-width:0;width:calc(100vw - 24px);max-width:calc(100vw - 24px)}
  .yt-channel-description{font-size:14px}
}

/* ========================================================================
   PEKEDU-Youtobe 2.2.80 — YouTube Channel Surface Sync v2
   ======================================================================== */
.yt-channel-surface-pane{padding-top:24px}
.yt-channel-surface-pane:empty{min-height:40px}
.yt-channel-post-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(300px,420px);gap:14px;overflow-x:auto;scrollbar-width:none;padding:2px 1px 8px}
.yt-channel-post-rail::-webkit-scrollbar{display:none}
.yt-channel-post-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:1100px}
.yt-channel-post-card{min-width:0;border:1px solid var(--yt-border);border-radius:14px;background:var(--yt-bg);padding:16px;color:var(--yt-text);overflow:hidden}
.yt-channel-post-card__time{font-size:12px;color:var(--yt-text-2);margin-bottom:8px}
.yt-channel-post-card p{font-size:14px;line-height:1.55;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.yt-channel-post-card__image{display:block;width:100%;max-height:430px;object-fit:cover;border-radius:12px;margin-top:12px;background:var(--yt-bg-2)}
.yt-channel-post-card__video{display:flex;align-items:center;gap:9px;margin-top:12px;padding:10px 12px;border-radius:10px;background:var(--yt-bg-2);color:var(--yt-text)!important;font-weight:600}
.yt-channel-post-card__video i{font-size:20px}
.yt-channel-playlist-card--youtube{cursor:pointer}
.yt-channel-surface-playlist-grid{padding-top:0}
@media (max-width:900px){.yt-channel-post-grid{grid-template-columns:1fr}.yt-channel-post-rail{grid-auto-columns:minmax(280px,88vw)}}
.yt-channel-featured-channel-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(150px,190px);gap:18px;overflow-x:auto;scrollbar-width:none;padding:2px 1px 8px}
.yt-channel-featured-channel-rail::-webkit-scrollbar{display:none}
.yt-channel-featured-channel{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;color:var(--yt-text)!important;padding:8px}
.yt-channel-featured-channel__avatar{width:112px;height:112px;border-radius:50%;overflow:hidden;background:var(--yt-bg-2);display:flex;align-items:center;justify-content:center;margin-bottom:10px}
.yt-channel-featured-channel__avatar img{width:100%;height:100%;object-fit:cover;display:block}
.yt-channel-featured-channel__avatar i{font-size:34px;color:var(--yt-text-2)}
.yt-channel-featured-channel strong{font-size:14px;line-height:1.3;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.yt-channel-featured-channel small{font-size:12px;color:var(--yt-text-2);margin-top:4px}
.yt-channel-featured-channel-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:22px 14px;padding-top:8px}
@media (max-width:1200px){.yt-channel-featured-channel-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media (max-width:900px){.yt-channel-featured-channel-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}


/* ========================================================================
   PEKEDU-Youtobe 2.2.81 — Channel cards share the Home card language
   ======================================================================== */
.yt-channel-page .yt-channel-shared-card{min-width:0;width:100%}
.yt-channel-page .yt-channel-rail>.yt-channel-shared-card{min-width:0}
.yt-channel-page .yt-channel-grid>.yt-channel-shared-card{min-width:0}
.yt-channel-page .yt-channel-shared-card .yt-card__body{margin-top:10px!important}
.yt-channel-page .yt-channel-shared-card .yt-card__avatar{width:36px!important;height:36px!important}
.yt-channel-page .yt-channel-shared-card .yt-card__chan,
.yt-channel-page .yt-channel-shared-card .yt-card__stats{font-size:12px!important}
.yt-channel-page .yt-channel-shared-card .yt-card__title{font-size:15px!important}
.yt-channel-page .yt-channel-rail{grid-auto-columns:minmax(270px,1fr)}
.yt-channel-page .yt-channel-shared-short{position:relative;min-width:0;width:100%}
.yt-channel-page .yt-channel-shared-short .yt-short-card__body{position:relative;padding-right:34px}
.yt-channel-page .yt-channel-shared-short .yt-card__title{margin:0;color:var(--yt-text);font-size:15px!important;line-height:1.35;font-weight:700;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.yt-channel-page .yt-channel-shared-short .yt-card__stat{font-size:13px;color:var(--yt-text-2)}
.yt-channel-page .yt-channel-shared-menu{position:absolute;right:0;top:4px;width:32px;height:32px;border:0;border-radius:50%;background:transparent;color:var(--yt-text);display:grid;place-items:center;cursor:pointer;opacity:0;pointer-events:none;transition:opacity .14s ease,background .14s ease}
.yt-channel-page .yt-channel-shared-short:hover .yt-channel-shared-menu,
.yt-channel-page .yt-channel-shared-menu:focus,
.yt-channel-page .yt-channel-shared-menu.is-open{opacity:1;pointer-events:auto}
.yt-channel-page .yt-channel-shared-menu:hover,.yt-channel-page .yt-channel-shared-menu.is-open{background:var(--yt-hover)}
@media(hover:none){.yt-channel-page .yt-channel-shared-menu{opacity:1;pointer-events:auto}}
@media(max-width:1180px){.yt-channel-page .yt-channel-rail{grid-auto-columns:minmax(250px,1fr)}}
@media(max-width:760px){.yt-channel-page .yt-channel-rail{grid-auto-columns:minmax(230px,82vw)}}

/* ========================================================================
   PEKEDU-Youtobe 2.2.82 — Compact channel cards, same rhythm as Home
   ======================================================================== */
/* Channel video grids follow the same desktop density as the Home feed. */
.yt-channel-page .yt-channel-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    column-gap:16px!important;
    row-gap:40px!important;
}
body.is-sidebar-hidden .yt-channel-page .yt-channel-grid,
#ytapp.is-sidebar-hidden .yt-channel-page .yt-channel-grid,
.ytapp.is-sidebar-hidden .yt-channel-page .yt-channel-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
/* Home shelves inside a channel use the same practical card width as Home. */
.yt-channel-page .yt-channel-rail{
    grid-auto-columns:calc((100% - 32px)/3)!important;
    gap:16px!important;
}
body.is-sidebar-hidden .yt-channel-page .yt-channel-rail,
#ytapp.is-sidebar-hidden .yt-channel-page .yt-channel-rail,
.ytapp.is-sidebar-hidden .yt-channel-page .yt-channel-rail{
    grid-auto-columns:calc((100% - 48px)/4)!important;
}

/* Keep avatar + metadata compact and prevent the icon rows from dropping. */
.yt-channel-page .yt-channel-shared-card .yt-card__body{
    display:flex!important;
    align-items:flex-start!important;
    gap:10px!important;
    min-width:0!important;
    padding:10px 40px 0 0!important;
    margin-top:0!important;
}
.yt-channel-page .yt-channel-shared-card .yt-card__avatar{
    flex:0 0 36px!important;
    width:36px!important;
    height:36px!important;
    margin:0!important;
}
.yt-channel-page .yt-channel-shared-card .yt-card__meta{
    flex:1 1 auto!important;
    min-width:0!important;
    overflow:hidden!important;
}
.yt-channel-page .yt-channel-shared-card .yt-card__title{
    margin:0 0 4px!important;
    font-size:15px!important;
    line-height:1.35!important;
}
.yt-channel-page .yt-channel-shared-card .yt-card__chan{
    display:flex!important;
    align-items:center!important;
    flex-wrap:nowrap!important;
    gap:4px!important;
    width:100%!important;
    min-width:0!important;
    margin:0 0 2px!important;
    font-size:12.5px!important;
    line-height:18px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
}
.yt-channel-page .yt-channel-shared-card .yt-card__chan > span{
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}
.yt-channel-page .yt-channel-shared-card .yt-card__chanicon,
.yt-channel-page .yt-channel-shared-card .yt-card__verified{
    flex:0 0 auto!important;
}
.yt-channel-page .yt-channel-shared-card .yt-card__stats{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    flex-wrap:nowrap!important;
    gap:6px!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    font-size:12.5px!important;
    line-height:18px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
}
.yt-channel-page .yt-channel-shared-card .yt-card__stat{
    display:inline-flex!important;
    align-items:center!important;
    flex:0 1 auto!important;
    min-width:0!important;
    gap:4px!important;
    white-space:nowrap!important;
}
.yt-channel-page .yt-channel-shared-card .yt-card__stat i{
    flex:0 0 auto!important;
    width:13px!important;
    text-align:center!important;
    font-size:11px!important;
}
.yt-channel-page .yt-channel-shared-card .yt-card__stat > span{
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}
.yt-channel-page .yt-channel-shared-card .yt-card__stat + .yt-card__stat::before{
    content:"·";
    flex:0 0 auto;
    opacity:.8;
    margin-right:1px;
}
.yt-channel-page .yt-channel-shared-card .yt-card__menu-btn{
    top:6px!important;
    right:0!important;
}

@media(max-width:1200px){
    .yt-channel-page .yt-channel-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
    body.is-sidebar-hidden .yt-channel-page .yt-channel-grid,
    #ytapp.is-sidebar-hidden .yt-channel-page .yt-channel-grid,
    .ytapp.is-sidebar-hidden .yt-channel-page .yt-channel-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
    .yt-channel-page .yt-channel-rail{grid-auto-columns:calc((100% - 16px)/2)!important}
    body.is-sidebar-hidden .yt-channel-page .yt-channel-rail,
    #ytapp.is-sidebar-hidden .yt-channel-page .yt-channel-rail,
    .ytapp.is-sidebar-hidden .yt-channel-page .yt-channel-rail{grid-auto-columns:calc((100% - 32px)/3)!important}
}
@media(max-width:768px){
    .yt-channel-page .yt-channel-grid,
    body.is-sidebar-hidden .yt-channel-page .yt-channel-grid,
    #ytapp.is-sidebar-hidden .yt-channel-page .yt-channel-grid,
    .ytapp.is-sidebar-hidden .yt-channel-page .yt-channel-grid{grid-template-columns:1fr!important}
    .yt-channel-page .yt-channel-rail,
    body.is-sidebar-hidden .yt-channel-page .yt-channel-rail,
    #ytapp.is-sidebar-hidden .yt-channel-page .yt-channel-rail,
    .ytapp.is-sidebar-hidden .yt-channel-page .yt-channel-rail{grid-auto-columns:minmax(280px,88vw)!important}
}

/* ========================================================================
   PEKEDU-Youtobe 2.2.84 — desktop Shorts viewer.
   The player lifecycle is shared with mobile shorts.js; desktop only changes
   the shell/layout so the PEKEDU header/sidebar remain usable like YouTube.
   ======================================================================== */
.ytapp--shorts .yt-main--shorts{padding:0!important;overflow:hidden!important;background:var(--yt-bg)!important}
.ytapp--shorts .yt-sidebar{z-index:86}
.yt-shorts-desktop-feed{position:absolute;inset:0;overflow-x:hidden;overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior-y:contain;scrollbar-width:none;background:var(--yt-bg);scroll-behavior:auto}
.yt-shorts-desktop-feed::-webkit-scrollbar{display:none}
.ytapp--shorts .pekvid-shortslide{position:relative;width:100%;height:100%;min-height:100%;display:flex;align-items:center;justify-content:center;padding:12px 116px 12px 32px;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden;contain:layout paint style}
.ytapp--shorts .pekvid-shortstage{position:relative;height:min(calc(100% - 24px),820px);width:auto;max-width:min(480px,calc((100vh - var(--yt-header-h) - 24px)*.5625));aspect-ratio:9/16;margin:0 auto;overflow:visible;color:#fff}
.ytapp--shorts .pekvid-shortmedia{position:absolute;inset:0;overflow:hidden;border-radius:14px;background:#000;box-shadow:0 1px 2px rgba(0,0,0,.16)}
.ytapp--shorts .pekvid-shortmedia__mount,.ytapp--shorts .pekvid-shortmedia__youtube,.ytapp--shorts .pekvid-shortmedia__mount>div,.ytapp--shorts .pekvid-shortmedia__mount iframe,.ytapp--shorts .pekvid-shortmedia__video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;border:0!important;background:#000!important}
.ytapp--shorts .pekvid-shortmedia__video{display:block;object-fit:contain}
.ytapp--shorts .pekvid-shortmedia__poster{position:absolute;inset:0;z-index:2;width:100%;height:100%;display:block;object-fit:contain;background:#000;opacity:1;transition:opacity .12s linear}
.ytapp--shorts .pekvid-shortmedia__fallback{position:absolute;inset:0;z-index:2;display:grid;place-items:center;background:linear-gradient(160deg,#181818,#050505);color:#666;font-size:42px;transition:opacity .12s linear}
.ytapp--shorts .pekvid-shortslide.is-playing .pekvid-shortmedia__poster,.ytapp--shorts .pekvid-shortslide.is-playing .pekvid-shortmedia__fallback{opacity:0;pointer-events:none}
.ytapp--shorts .pekvid-shortmedia__tap{position:absolute;inset:0;z-index:4;border:0;background:transparent;color:transparent;cursor:pointer;user-select:none}
.ytapp--shorts .pekvid-shortmedia__shade{position:absolute;z-index:5;left:0;right:0;bottom:0;height:40%;pointer-events:none;background:linear-gradient(to bottom,rgba(0,0,0,0),rgba(0,0,0,.08) 28%,rgba(0,0,0,.62) 100%)}
.ytapp--shorts .pekvid-shortmedia__loading{position:absolute;z-index:9;left:50%;top:50%;width:38px;height:38px;margin:-19px 0 0 -19px;border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.32);pointer-events:none}
.ytapp--shorts .pekvid-shortmedia__loading span{width:22px;height:22px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:pekytShortSpin .72s linear infinite}
.ytapp--shorts .pekvid-shortmedia__error{position:absolute;z-index:10;left:50%;top:50%;transform:translate(-50%,-50%);width:min(82%,320px);display:flex;flex-direction:column;align-items:center;gap:8px;padding:16px;border-radius:12px;background:rgba(14,14,14,.88);color:#fff;text-align:center;backdrop-filter:blur(6px)}
.ytapp--shorts .pekvid-shortmedia__error i{font-size:26px}.ytapp--shorts .pekvid-shortmedia__error span{font-size:13px;line-height:1.42}.ytapp--shorts .pekvid-shortmedia__error button{height:34px;border:1px solid rgba(255,255,255,.35);border-radius:17px;padding:0 15px;background:rgba(255,255,255,.12);color:#fff;font-weight:600;cursor:pointer}
.ytapp--shorts .pekvid-shortmedia__feedback{position:absolute;z-index:11;left:50%;top:50%;width:72px;height:72px;margin:-36px 0 0 -36px;border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.5);color:#fff;font-size:28px;pointer-events:none;opacity:0;transform:scale(.72)}
.ytapp--shorts .pekvid-shortmedia__feedback.is-pop{animation:pekytShortPop .5s ease-out}
.ytapp--shorts .pekvid-shortmeta{position:absolute;z-index:20;left:14px;right:14px;bottom:16px;min-width:0;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.88)}
.ytapp--shorts .pekvid-shortmeta__channel{min-width:0;display:flex;align-items:center;gap:8px;margin-bottom:8px}
.ytapp--shorts .pekvid-shortmeta__avatar{width:34px;height:34px;flex:0 0 auto;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:linear-gradient(135deg,#3ea6ff,#1c63c7);color:#fff;font-size:11px;font-weight:800;text-shadow:none;box-shadow:0 0 0 1px rgba(255,255,255,.24)}
.ytapp--shorts .pekvid-shortmeta__avatar img{width:100%;height:100%;display:block;object-fit:cover}
.ytapp--shorts .pekvid-shortmeta__name{min-width:0;max-width:52%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff!important;font-size:13px;font-weight:700}
.ytapp--shorts .pekvid-shortmeta__subscribe{flex:0 0 auto;height:32px;border:0;border-radius:16px;padding:0 12px;background:#fff;color:#0f0f0f!important;font-size:12px;font-weight:700;text-shadow:none;cursor:pointer}.ytapp--shorts .pekvid-shortmeta__subscribe.is-active{background:rgba(255,255,255,.2);color:#fff!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
.ytapp--shorts .pekvid-shortmeta__title{width:100%;min-width:0;border:0;padding:0;background:transparent;color:#fff;text-align:left;text-shadow:inherit;cursor:pointer}.ytapp--shorts .pekvid-shortmeta__title strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:14px;line-height:1.35}.ytapp--shorts .pekvid-shortmeta__title span{display:block;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(255,255,255,.86);font-size:11px}
.ytapp--shorts .pekvid-shortactions{position:absolute;z-index:30;left:calc(100% + 14px);right:auto;bottom:10px;width:68px;display:flex;flex-direction:column;align-items:center;gap:8px;color:var(--yt-text);text-shadow:none}
.ytapp--shorts .pekvid-shortaction{width:68px;min-height:54px;border:0;padding:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:transparent;color:var(--yt-text);cursor:pointer}.ytapp--shorts .pekvid-shortaction>span{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--yt-chip);font-size:19px;transition:transform .12s ease,background .12s ease}.ytapp--shorts .pekvid-shortaction>small{max-width:68px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:600}.ytapp--shorts .pekvid-shortaction:hover>span{background:var(--yt-chip-hover)}.ytapp--shorts .pekvid-shortaction.is-active>span{background:rgba(62,166,255,.18);color:var(--yt-blue)}.ytapp--shorts .pekvid-shortaction:active>span{transform:scale(.92)}.ytapp--shorts .pekvid-shortaction:disabled{opacity:.55}
.ytapp--shorts .pekvid-shortprogress{position:absolute;z-index:25;left:0;right:0;bottom:0;height:3px;overflow:hidden;border-radius:0 0 14px 14px;background:rgba(255,255,255,.18)}.ytapp--shorts .pekvid-shortprogress span{display:block;width:100%;height:100%;transform:scaleX(0);transform-origin:0 50%;background:#ff0033;will-change:transform}
.yt-shorts-desktop-nav{position:absolute;z-index:45;right:28px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:12px}.yt-shorts-desktop-nav button{width:48px;height:48px;border:0;border-radius:50%;display:grid;place-items:center;background:var(--yt-chip);color:var(--yt-text);font-size:18px;cursor:pointer}.yt-shorts-desktop-nav button:hover{background:var(--yt-chip-hover)}
.ytapp--shorts .pekvid-short-buffer{position:absolute;z-index:50;left:50%;bottom:18px;transform:translateX(-50%);height:28px;display:flex;align-items:center;gap:6px;padding:0 12px;border-radius:14px;background:rgba(0,0,0,.5);pointer-events:none}.ytapp--shorts .pekvid-short-buffer span{width:6px;height:6px;border-radius:50%;background:#fff;animation:pekytShortDots .8s ease-in-out infinite alternate}.ytapp--shorts .pekvid-short-buffer span:nth-child(2){animation-delay:.12s}.ytapp--shorts .pekvid-short-buffer span:nth-child(3){animation-delay:.24s}
.ytapp--shorts .pekvid-short-toast{position:absolute!important;z-index:1300!important;left:50%!important;bottom:22px!important;transform:translateX(-50%);max-width:min(86%,420px);padding:9px 14px;border-radius:8px;background:rgba(35,35,35,.96)!important;color:#fff!important;font-size:12px;text-align:center;box-shadow:0 6px 22px rgba(0,0,0,.3)}.ytapp--shorts .pekvid-short-toast.is-error{background:#b3261e!important}
.ytapp--shorts .pekvid-modal-sheet{position:absolute;inset:0;z-index:1200;display:flex;align-items:center;justify-content:center}.ytapp--shorts .pekvid-modal-sheet[hidden],.ytapp--shorts .pekvid-shortmedia__loading[hidden],.ytapp--shorts .pekvid-shortmedia__error[hidden],.ytapp--shorts .pekvid-shortmedia__feedback[hidden],.ytapp--shorts .pekvid-short-toast[hidden],.ytapp--shorts .pekvid-short-buffer[hidden]{display:none!important}.ytapp--shorts .pekvid-modal-sheet__backdrop{position:absolute;inset:0;border:0;background:rgba(0,0,0,.58)}.ytapp--shorts .pekvid-modal-sheet__panel{position:relative;z-index:1;width:min(560px,calc(100% - 48px));max-height:min(78vh,720px);overflow:auto;border:1px solid var(--yt-border);border-radius:16px;background:var(--yt-elevated);color:var(--yt-text);box-shadow:0 18px 60px rgba(0,0,0,.42)}.ytapp--shorts .pekvid-modal-sheet__handle{display:none}
.ytapp--shorts .pekvid-short-sheet__head{position:sticky;top:0;z-index:8;height:52px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 10px 0 18px;background:var(--yt-elevated);border-bottom:1px solid var(--yt-border)}.ytapp--shorts .pekvid-short-sheet__head strong{font-size:16px}.ytapp--shorts .pekvid-short-sheet__head button{width:38px;height:38px;border:0;border-radius:50%;background:transparent;color:inherit;font-size:16px;cursor:pointer}.ytapp--shorts .pekvid-short-sheet__head button:hover{background:var(--yt-hover)}
.ytapp--shorts .pekvid-short-description{padding:14px 18px 22px}.ytapp--shorts .pekvid-short-description h2{margin:0 0 16px;font-size:17px;line-height:1.4}.ytapp--shorts .pekvid-short-description__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:18px}.ytapp--shorts .pekvid-short-description__stats span{padding:10px 6px;border-radius:10px;background:var(--yt-chip);text-align:center}.ytapp--shorts .pekvid-short-description__stats b,.ytapp--shorts .pekvid-short-description__stats small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ytapp--shorts .pekvid-short-description__stats small{margin-top:2px;color:var(--yt-text-2);font-size:11px}.ytapp--shorts .pekvid-short-description>p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.55}.ytapp--shorts .pekvid-short-description>div:last-child{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}
.ytapp--shorts .pekvid-short-sheet-menu{padding:6px 0 10px}.ytapp--shorts .pekvid-short-sheet-menu>a,.ytapp--shorts .pekvid-short-sheet-menu>button{width:100%;min-height:50px;border:0;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:8px;padding:0 18px;background:transparent;color:var(--yt-text);text-align:left;font-size:14px;cursor:pointer}.ytapp--shorts .pekvid-short-sheet-menu>a:hover,.ytapp--shorts .pekvid-short-sheet-menu>button:hover{background:var(--yt-hover)}.ytapp--shorts .pekvid-short-sheet-menu i{width:28px;text-align:center;font-size:18px}.ytapp--shorts .pekvid-short-sheet-menu b{color:var(--yt-blue);font-size:11px}
.ytapp--shorts .pekvid-short-comments-sheet .pekvid-modal-sheet__panel{height:min(78vh,720px);display:flex;flex-direction:column;overflow:hidden}.ytapp--shorts .pekvid-short-comments__body{flex:1;min-height:0;overflow:auto;padding:4px 4px 12px}.ytapp--shorts .pekvid-short-comments__loading{height:70px;display:flex;align-items:center;justify-content:center;gap:6px}.ytapp--shorts .pekvid-short-comments__loading span{width:6px;height:6px;border-radius:50%;background:var(--yt-text-2);animation:pekytShortDots .8s ease-in-out infinite alternate}.ytapp--shorts .pekvid-short-comments__loading span:nth-child(2){animation-delay:.12s}.ytapp--shorts .pekvid-short-comments__loading span:nth-child(3){animation-delay:.24s}.ytapp--shorts .pekvid-short-comments__empty{padding:30px 18px;color:var(--yt-text-2);text-align:center}
.ytapp--shorts .pekvid-short-comment-form{display:grid;grid-template-columns:minmax(0,1fr) 42px;align-items:end;gap:8px;padding:10px 12px;border-top:1px solid var(--yt-border);background:var(--yt-elevated)}.ytapp--shorts .pekvid-short-comment-form textarea{width:100%;min-height:40px;max-height:100px;resize:none;border:1px solid var(--yt-border);border-radius:20px;outline:0;padding:10px 13px;background:var(--yt-chip);color:var(--yt-text);font:inherit}.ytapp--shorts .pekvid-short-comment-form>button{width:40px;height:40px;border:0;border-radius:50%;display:grid;place-items:center;background:var(--yt-blue);color:#fff;cursor:pointer}.ytapp--shorts .pekvid-short-sheet-message,.ytapp--shorts .pekvid-short-comment-login{min-height:130px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:22px;color:var(--yt-text-2);text-align:center}
@keyframes pekytShortSpin{to{transform:rotate(360deg)}}@keyframes pekytShortPop{0%{opacity:0;transform:scale(.72)}35%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.08)}}@keyframes pekytShortDots{from{opacity:.3;transform:translateY(1px)}to{opacity:1;transform:translateY(-1px)}}
@media(max-width:1050px){.ytapp--shorts .pekvid-shortslide{padding-right:88px;padding-left:18px}.ytapp--shorts .pekvid-shortactions{left:auto;right:8px;bottom:10px;color:#fff}.ytapp--shorts .pekvid-shortaction>span{background:rgba(0,0,0,.48)}.ytapp--shorts .pekvid-shortaction:hover>span{background:rgba(0,0,0,.64)}.yt-shorts-desktop-nav{display:none}.ytapp--shorts .pekvid-shortstage{max-width:min(450px,calc((100vh - var(--yt-header-h) - 24px)*.5625))}}
@media(max-width:760px){.ytapp--shorts .pekvid-shortslide{padding:8px}.ytapp--shorts .pekvid-shortstage{height:calc(100% - 16px);max-width:calc((100vh - var(--yt-header-h) - 16px)*.5625)}.ytapp--shorts .pekvid-shortmeta{right:72px}.ytapp--shorts .pekvid-shortactions{right:2px;width:62px}.ytapp--shorts .pekvid-shortaction{width:62px}.ytapp--shorts .pekvid-shortaction>small{font-size:10px}}
@media(prefers-reduced-motion:reduce){.ytapp--shorts .pekvid-shortmedia__poster,.ytapp--shorts .pekvid-shortmedia__fallback{transition:none}.ytapp--shorts .pekvid-shortmedia__feedback.is-pop{animation:none;opacity:1;transform:none}.ytapp--shorts .pekvid-short-comments-sheet,.ytapp--shorts .pekvid-short-comments-sheet>.pekvid-modal-sheet__panel{transition:none!important}}

/* ========================================================================
   PEKEDU Shorts desktop v2.2.85 — metadata outside video + fast-swipe layout
   ======================================================================== */
@media (min-width:1280px){
  .ytapp--shorts .pekvid-shortmedia__shade{display:none}
  .ytapp--shorts .pekvid-shortmeta{
    left:auto;right:calc(100% + 26px);bottom:14px;width:clamp(230px,18vw,320px);
    color:var(--yt-text);text-shadow:none
  }
  .ytapp--shorts .pekvid-shortmeta__channel{margin-bottom:10px;gap:9px}
  .ytapp--shorts .pekvid-shortmeta__avatar{width:36px;height:36px;box-shadow:0 0 0 1px var(--yt-border)}
  .ytapp--shorts .pekvid-shortmeta__name{max-width:calc(100% - 118px);color:var(--yt-text)!important;font-size:14px;font-weight:700}
  .ytapp--shorts .pekvid-shortmeta__subscribe{height:34px;border-radius:17px;padding:0 14px;background:var(--yt-text);color:var(--yt-bg)!important;box-shadow:none}
  .ytapp--shorts .pekvid-shortmeta__subscribe.is-active{background:var(--yt-chip);color:var(--yt-text)!important;box-shadow:none}
  .ytapp--shorts .pekvid-shortmeta__title{color:var(--yt-text);text-shadow:none}
  .ytapp--shorts .pekvid-shortmeta__title strong{font-size:17px;line-height:1.35;-webkit-line-clamp:3}
  .ytapp--shorts .pekvid-shortmeta__title span{display:none}
}

@media (min-width:761px) and (max-width:1279px){
  .ytapp--shorts .pekvid-shortslide{padding-top:10px;padding-bottom:100px}
  .ytapp--shorts .pekvid-shortstage{
    height:min(calc(100% - 106px),700px);
    max-width:min(410px,calc((100vh - var(--yt-header-h) - 118px)*.5625));
    margin-top:0
  }
  .ytapp--shorts .pekvid-shortmedia__shade{display:none}
  .ytapp--shorts .pekvid-shortmeta{
    left:0;right:0;bottom:-88px;width:100%;color:var(--yt-text);text-shadow:none
  }
  .ytapp--shorts .pekvid-shortmeta__channel{margin-bottom:5px}
  .ytapp--shorts .pekvid-shortmeta__name{color:var(--yt-text)!important}
  .ytapp--shorts .pekvid-shortmeta__subscribe{background:var(--yt-text);color:var(--yt-bg)!important}
  .ytapp--shorts .pekvid-shortmeta__subscribe.is-active{background:var(--yt-chip);color:var(--yt-text)!important;box-shadow:none}
  .ytapp--shorts .pekvid-shortmeta__title{color:var(--yt-text);text-shadow:none}
  .ytapp--shorts .pekvid-shortmeta__title strong{font-size:14px;-webkit-line-clamp:2}
  .ytapp--shorts .pekvid-shortmeta__title span{display:none}
}

/* PEKEDU Shorts desktop v2.2.87 — persistent single-player dock */
.ytapp--shorts .pekvid-shortdeck-dock{
  position:fixed!important;
  left:-10000px!important;
  top:-10000px!important;
  width:360px!important;
  height:640px!important;
  overflow:hidden!important;
  opacity:.001!important;
  pointer-events:none!important;
  contain:strict;
}
.ytapp--shorts .pekvid-shortdeck-dock>.pekvid-shortdeck-slot{
  position:relative!important;
  inset:auto!important;
  width:360px!important;
  height:640px!important;
  overflow:hidden!important;
}
.ytapp--shorts .pekvid-shortmedia__mount>.pekvid-shortdeck-slot{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  overflow:hidden!important;
  background:#000!important;
}
.ytapp--shorts .pekvid-shortdeck-slot iframe{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  border:0!important;
  background:#000!important;
}

/* PEKEDU Shorts desktop v2.2.88 — fixed single iframe layer.
   The YouTube iframe stays under one DOM parent for the whole Shorts session;
   only this lightweight absolute layer changes coordinates between slides. */
.ytapp--shorts .pekvid-shortsolo-layer{
  position:absolute!important;
  z-index:3!important;
  overflow:hidden!important;
  border-radius:14px!important;
  background:#000!important;
  pointer-events:none!important;
  transform:translateZ(0);
  backface-visibility:hidden;
}
.ytapp--shorts .pekvid-shortsolo-layer>.pekvid-shortsolo-player,
.ytapp--shorts .pekvid-shortsolo-layer>.pekvid-shortsolo-player iframe{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  border:0!important;
  background:#000!important;
}

/* PEKEDU Shorts desktop v2.2.88 — fixed single iframe layer.
   The YouTube iframe stays under one DOM parent for the whole Shorts session;
   only this lightweight absolute layer changes coordinates between slides. */
.ytapp--shorts .pekvid-shortsolo-layer{
  position:absolute!important;
  z-index:3!important;
  overflow:hidden!important;
  border-radius:14px!important;
  background:#000!important;
  pointer-events:none!important;
  transform:translateZ(0);
  backface-visibility:hidden;
}
.ytapp--shorts .pekvid-shortsolo-layer>.pekvid-shortsolo-player,
.ytapp--shorts .pekvid-shortsolo-layer>.pekvid-shortsolo-player iframe{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  border:0!important;
  background:#000!important;
}


/* ========================================================================
   PEKEDU-Youtobe 2.2.90 — Shorts player controls + stable audible handoff.
   ======================================================================== */
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortplayer-controls{
  position:absolute;z-index:18;left:12px;right:12px;top:12px;
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  opacity:0;transform:translateY(-4px);pointer-events:none;
  transition:opacity .16s ease,transform .16s ease
}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortslide.is-controls-visible .pekvid-shortplayer-controls{
  opacity:1;transform:none
}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortplayer-controls__group{display:flex;align-items:center;gap:6px;pointer-events:auto}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortplayer-controls button{
  width:40px;height:40px;border:0;border-radius:50%;padding:0;display:grid;place-items:center;
  background:rgba(0,0,0,.56);color:#fff;font-size:17px;cursor:pointer;
  box-shadow:0 1px 4px rgba(0,0,0,.16);backdrop-filter:blur(5px);transition:background .12s ease,transform .12s ease
}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortplayer-controls button:hover{background:rgba(0,0,0,.78)}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortplayer-controls button:active{transform:scale(.92)}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortplayer-controls button.is-active{background:rgba(255,255,255,.92);color:#111}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortplayer-controls [data-short-control-cc] span{font-size:12px;font-weight:800;line-height:1;border:1.5px solid currentColor;border-radius:3px;padding:2px 3px}

/* PEKEDU-Youtobe 2.2.91 — visible controls for the fixed single-iframe layer.
   The iframe is a feed-level sibling of the slides, therefore the interactive
   toolbar must be painted inside that same layer to stay above the video. */
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortsolo-layer .pekvid-shortplayer-controls--solo{
  z-index:30!important;pointer-events:none!important
}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortsolo-layer .pekvid-shortplayer-controls--solo .pekvid-shortplayer-controls__group{pointer-events:auto!important}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortsolo-layer:not(.is-controls-visible) .pekvid-shortplayer-controls--solo .pekvid-shortplayer-controls__group{pointer-events:none!important}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortsolo-layer.is-controls-visible .pekvid-shortplayer-controls--solo{opacity:1!important;transform:none!important}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortmedia__tap{z-index:7}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortmedia__feedback{z-index:21}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortstage:fullscreen,
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortstage:-webkit-full-screen{
  width:100vw!important;height:100vh!important;max-width:none!important;aspect-ratio:auto!important;margin:0!important;background:#000!important
}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortstage:fullscreen .pekvid-shortmedia,
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortstage:-webkit-full-screen .pekvid-shortmedia{border-radius:0!important}


/* ========================================================================
   PEKEDU-Youtobe 2.2.92 — Shorts controls on top, real progress at bottom.
   ======================================================================== */
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortsolo-layer{
  pointer-events:none!important;
}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortsolo-layer .pekvid-shortplayer-controls--solo{
  top:12px!important;bottom:auto!important;left:12px!important;right:12px!important;
  z-index:34!important;
}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortplayer-progress--solo{
  position:absolute;z-index:35;left:0;right:0;bottom:0;height:5px;
  background:rgba(255,255,255,.24);cursor:pointer;pointer-events:auto;
  touch-action:none;outline:0;transform:translateZ(0);
  transition:height .12s ease,background .12s ease;
}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortplayer-progress--solo:hover,
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortplayer-progress--solo:focus-visible{
  height:7px;background:rgba(255,255,255,.32)
}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortplayer-progress--solo>span{
  position:absolute;left:0;top:0;width:100%;height:100%;transform:scaleX(0);transform-origin:0 50%;will-change:transform;pointer-events:none
}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortplayer-progress__buffer{background:rgba(255,255,255,.46)}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortplayer-progress__played{z-index:2;background:#ff0033}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortplayer-progress__thumb{
  position:absolute;z-index:3;left:0;top:50%;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;
  background:#ff0033;box-shadow:0 1px 4px rgba(0,0,0,.35);opacity:0;pointer-events:none;
}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortplayer-progress--solo:hover .pekvid-shortplayer-progress__thumb,
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortplayer-progress--solo:focus-visible .pekvid-shortplayer-progress__thumb{opacity:1}
/* Desktop uses the feed-level progress bar; hide the old slide-local duplicate. */
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortslide>.pekvid-shortstage>.pekvid-shortprogress{display:none!important}
/* Desktop uses the feed-level progress bar for YouTube; TikTok keeps the
   slide-local PEKEDU timeline because it has its own iframe entry. TikTok
   Embed Player reports currentTime/duration through postMessage, so the same
   red timeline can run and seek without exposing TikTok native controls. */
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortslide[data-source-type="tiktok"]>.pekvid-shortstage>.pekvid-shortprogress{
  display:block!important;z-index:35!important;height:5px!important;
  background:rgba(255,255,255,.24)!important;cursor:pointer;pointer-events:auto!important;
  touch-action:none;outline:0;transition:height .12s ease,background .12s ease
}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortslide[data-source-type="tiktok"]>.pekvid-shortstage>.pekvid-shortprogress:hover,
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortslide[data-source-type="tiktok"]>.pekvid-shortstage>.pekvid-shortprogress:focus-visible{
  height:7px!important;background:rgba(255,255,255,.32)!important
}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortslide[data-source-type="tiktok"]>.pekvid-shortstage>.pekvid-shortprogress span{
  background:#ff0033!important
}
/* Native fallback already shows TikTok's own timeline; avoid two progress bars. */
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortslide[data-source-type="tiktok"].is-tiktok-native-fallback>.pekvid-shortstage>.pekvid-shortprogress{display:none!important}

/* TikTok 2.3.07: nếu postMessage player không sẵn sàng, nhường toàn bộ tương tác cho controls gốc TikTok. */
.pekvid-shortslide.is-tiktok-native-fallback .pekvid-shortplayer-controls{opacity:0!important;pointer-events:none!important}
.pekvid-shortslide.is-tiktok-native-fallback [data-short-player-mount] iframe{pointer-events:auto!important}

.pekvid-shortslide.is-tiktok-native-fallback .pekvid-shortmedia__tap{pointer-events:none!important}


/* PEKEDU-Youtobe 2.3.17 — clean Shorts player chrome.
   Desktop controls only exist while the pointer is physically over the video.
   The PEKEDU action rail stays outside the player whenever desktop space permits. */
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortactions{
  left:calc(100% + 14px)!important;right:auto!important;color:var(--yt-text)!important;text-shadow:none!important;
}
@media (max-width:820px){
  .ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortactions{display:none!important}
}

/* ========================================================================
   PEKEDU-Youtobe 2.3.19 — TikTok-style Shorts comment manager.
   Desktop comments become a non-blocking side panel; the active Short keeps
   playing and the single YouTube iframe remains the only YouTube player.
   ======================================================================== */
.ytapp--shorts .pekvid-short-comments__head{flex:0 0 auto}
.ytapp--shorts .pekvid-short-comments__tabs{height:100%;display:flex;align-items:stretch;gap:22px}
.ytapp--shorts .pekvid-short-comments__tabs strong{position:relative;display:flex;align-items:center;height:100%;font-size:15px;font-weight:700;color:var(--yt-text-2)}
.ytapp--shorts .pekvid-short-comments__tabs strong.is-active{color:var(--yt-text)}
.ytapp--shorts .pekvid-short-comments__tabs strong.is-active::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;border-radius:2px;background:var(--yt-text)}
.ytapp--shorts .pekvid-short-comments__count{flex:0 0 auto;padding:14px 18px 7px;text-align:center;color:var(--yt-text);font-size:13px;font-weight:600;background:var(--yt-elevated)}
.ytapp--shorts .pekvid-short-comments__count b{font-weight:800}
.ytapp--shorts .pekvid-short-comments__body{padding:0 10px 14px!important}
.ytapp--shorts .pekvid-short-comment-thread{padding:0;border-bottom:1px solid var(--yt-border)}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment{display:grid;grid-template-columns:36px minmax(0,1fr);gap:9px;margin:0;padding:10px 4px;color:var(--yt-text)}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment.is-reply{margin:0;padding:7px 4px 7px 30px}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment.is-reply::before{display:none}
.ytapp--shorts .pekvid-short-comments-sheet .yt-avatar-lg{width:34px!important;height:34px!important;flex:0 0 34px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:linear-gradient(135deg,#3ea6ff,#1967c8);color:#fff;font-size:12px!important;font-weight:800;text-transform:uppercase}
.ytapp--shorts .pekvid-short-comments-sheet .yt-avatar-lg img{display:block;width:100%;height:100%;object-fit:cover}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__head{display:flex;align-items:center;flex-wrap:wrap;gap:5px;min-height:18px;margin:0}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__name{max-width:58%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:750;color:var(--yt-text)}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__time{font-size:10.5px;color:var(--yt-text-2)}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__creator{color:var(--yt-blue);font-size:10px;font-weight:700}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__source{width:18px;height:18px;border-radius:50%;display:inline-grid;place-items:center;font-size:9px;color:#fff;flex:0 0 auto}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__source.is-youtube{background:#f00}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__source.is-tiktok{background:#111;border:1px solid #444}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__text{margin:4px 0 5px;white-space:pre-line;overflow-wrap:anywhere;font-size:13px;line-height:1.48;color:var(--yt-text)}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions{display:flex;align-items:center;flex-wrap:wrap;gap:2px;margin:0;color:var(--yt-text-2)}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions>button{height:28px;min-width:28px;padding:0 7px;border:0;border-radius:14px;background:transparent;color:var(--yt-text-2);font-size:11px;gap:4px}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions>button:hover{background:var(--yt-hover);color:var(--yt-text)}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react.is-active{color:#ff3b5c;background:rgba(255,59,92,.1)}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react--dislike{opacity:.72}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__reply{font-weight:650}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__moderate{display:inline-flex;align-items:center;flex-wrap:wrap;gap:2px}
.ytapp--shorts .pekvid-short-replies-toggle{margin:0 0 8px 46px;height:30px;border:0;border-radius:15px;padding:0 10px;display:inline-flex;align-items:center;gap:7px;background:transparent;color:var(--yt-text-2);font-size:11.5px;font-weight:650;cursor:pointer}
.ytapp--shorts .pekvid-short-replies-toggle::before{content:"";width:24px;height:1px;background:var(--yt-border)}
.ytapp--shorts .pekvid-short-replies-toggle:hover{background:var(--yt-hover);color:var(--yt-text)}
.ytapp--shorts .pekvid-short-replies-toggle i{font-size:9px}
.ytapp--shorts .pekvid-short-replies[hidden]{display:none!important}
.ytapp--shorts .pekvid-short-comment-form{grid-template-columns:minmax(0,1fr) 38px!important;padding:10px 12px 12px!important}
.ytapp--shorts .pekvid-short-comment-form textarea{min-height:38px!important;border:0!important;border-radius:19px!important;background:var(--yt-chip)!important;padding:10px 13px!important}
.ytapp--shorts .pekvid-short-comment-form>button{width:36px!important;height:36px!important;background:#a6283f!important}

@media (min-width:1180px){
  /* v2.3.21: the comments panel is an overlay in the unused area to the right
     of the fixed Short. It must NEVER participate in video layout, so opening
     or closing comments cannot move the stage or force the single player to
     recalculate its position. */
  .ytapp--shorts .pekvid-short-comments-sheet{
    pointer-events:none;align-items:stretch;justify-content:flex-start;padding:0;background:transparent;
    opacity:0;visibility:hidden;transition:opacity .18s ease,visibility 0s linear .22s
  }
  .ytapp--shorts .pekvid-short-comments-sheet.is-visible{opacity:1;visibility:visible;transition-delay:0s}
  .ytapp--shorts .pekvid-short-comments-sheet.is-closing{pointer-events:none}
  .ytapp--shorts .pekvid-short-comments-sheet>.pekvid-modal-sheet__backdrop{display:none!important}
  .ytapp--shorts .pekvid-short-comments-sheet>.pekvid-modal-sheet__panel{
    position:absolute;left:var(--pekvid-comments-left,calc(100% - 500px));top:12px;
    pointer-events:auto;width:var(--pekvid-comments-width,410px)!important;height:calc(100% - 24px)!important;
    max-height:none!important;margin:0;border-radius:14px!important;box-shadow:0 12px 42px rgba(0,0,0,.34);
    opacity:.92;transform:translate3d(28px,0,0);
    transition:transform .22s cubic-bezier(.2,.8,.2,1),opacity .18s ease;will-change:transform,opacity
  }
  .ytapp--shorts .pekvid-short-comments-sheet.is-visible>.pekvid-modal-sheet__panel{opacity:1;transform:translate3d(0,0,0)}
  .ytapp--shorts .pekvid-short-comments-sheet.is-closing>.pekvid-modal-sheet__panel{pointer-events:none}
  .ytapp--shorts.is-comments-panel-open .pekvid-shortstage{transform:none!important}
  .ytapp--shorts.is-comments-panel-open .pekvid-short-buffer{transform:translateX(-50%)!important}
}


/* PEKEDU-Youtobe 2.3.20 — deterministic Shorts handoff.
   While loadVideoById() changes ownership, never paint the previous YouTube
   frame over the new slide. Keep the new slide poster/loading UI visible until
   the exact requested video id reaches PLAYING. */
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortsolo-layer.is-switching{
  background:transparent!important;
}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortsolo-layer.is-switching>.pekvid-shortsolo-player{
  opacity:0!important;
  pointer-events:none!important;
}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortsolo-layer.is-switching .pekvid-shortplayer-controls--solo,
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortsolo-layer.is-switching .pekvid-shortplayer-progress--solo{
  opacity:0!important;
  pointer-events:none!important;
}


/* ========================================================================
   PEKEDU-Youtobe 2.3.22 — responsive Shorts comments placement.
   Keep the comment drawer close to the interaction rail, reserve the desktop
   up/down navigation, clamp the drawer to the visible viewport, and never
   truncate comment content on narrower screens.
   ======================================================================== */
.ytapp--shorts .pekvid-short-comments-sheet .pekvid-modal-sheet__panel,
.ytapp--shorts .pekvid-short-comments-sheet .pekvid-short-comments__body,
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment,
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment>div{min-width:0;box-sizing:border-box}
.ytapp--shorts .pekvid-short-comments-sheet .pekvid-short-comments__body{
  overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;scrollbar-gutter:stable
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__head{min-width:0}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__name{
  max-width:100%!important;overflow:visible!important;text-overflow:clip!important;white-space:normal!important;overflow-wrap:anywhere;word-break:break-word
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__text{
  display:block;max-width:100%;max-height:none!important;overflow:visible!important;text-overflow:clip!important;
  white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:break-word;-webkit-line-clamp:unset!important
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions{max-width:100%}
.ytapp--shorts .pekvid-short-comments-sheet .pekvid-short-comment-form{flex:0 0 auto;min-width:0}
.ytapp--shorts .pekvid-short-comments-sheet .pekvid-short-comment-form textarea{min-width:0;max-width:100%;box-sizing:border-box}

@media (min-width:1180px){
  .ytapp--shorts .pekvid-short-comments-sheet>.pekvid-modal-sheet__panel{
    left:var(--pekvid-comments-left,calc(100% - 500px))!important;
    right:auto!important;
    top:var(--pekvid-comments-top,10px)!important;
    bottom:auto!important;
    width:var(--pekvid-comments-width,380px)!important;
    height:var(--pekvid-comments-height,calc(100% - 20px))!important;
    max-width:none!important;max-height:none!important;min-width:0!important;
  }
  /* The sheet sits at z-index 1200. Raise navigation above it as an additional
     guard so the two arrows always remain visible and clickable. */
  .ytapp--shorts.is-comments-panel-open .yt-shorts-desktop-nav{
    z-index:1305!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important
  }
}

@media (min-width:1180px) and (max-width:1450px){
  .ytapp--shorts .pekvid-short-comments__body{padding-left:7px!important;padding-right:7px!important}
  .ytapp--shorts .pekvid-short-comments-sheet .yt-comment{grid-template-columns:32px minmax(0,1fr);gap:7px;padding-left:2px;padding-right:2px}
  .ytapp--shorts .pekvid-short-comments-sheet .yt-avatar-lg{width:32px!important;height:32px!important;flex-basis:32px}
  .ytapp--shorts .pekvid-short-comments-sheet .yt-comment.is-reply{padding-left:18px}
  .ytapp--shorts .pekvid-short-replies-toggle{margin-left:38px;padding-left:6px;padding-right:6px}
  .ytapp--shorts .pekvid-short-comments-sheet .yt-comment__text{font-size:12.5px;line-height:1.45}
  .ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions>button{padding-left:5px;padding-right:5px}
}

/* Below the side-panel breakpoint, use a contained bottom sheet instead of
   forcing a narrow off-screen drawer. The video layout stays untouched and all
   comment text remains scrollable/readable. */
@media (max-width:1179px){
  .ytapp--shorts .pekvid-short-comments-sheet{align-items:flex-end!important;justify-content:center!important;padding:10px!important}
  .ytapp--shorts .pekvid-short-comments-sheet>.pekvid-modal-sheet__panel{
    position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
    width:min(620px,100%)!important;height:min(78dvh,720px)!important;max-width:100%!important;
    max-height:calc(100% - 4px)!important;margin:0!important;border-radius:16px!important
  }
}

@media (max-width:760px){
  .ytapp--shorts .pekvid-short-comments-sheet{padding:0!important}
  .ytapp--shorts .pekvid-short-comments-sheet>.pekvid-modal-sheet__panel{
    width:100%!important;height:min(82dvh,760px)!important;max-height:calc(100% - 2px)!important;
    border-left:0!important;border-right:0!important;border-bottom:0!important;border-radius:16px 16px 0 0!important
  }
  .ytapp--shorts .pekvid-short-comments__body{padding-left:7px!important;padding-right:7px!important}
  .ytapp--shorts .pekvid-short-comments-sheet .yt-comment{grid-template-columns:32px minmax(0,1fr);gap:7px;padding-left:2px;padding-right:2px}
  .ytapp--shorts .pekvid-short-comments-sheet .yt-avatar-lg{width:32px!important;height:32px!important;flex-basis:32px}
  .ytapp--shorts .pekvid-short-comments-sheet .yt-comment.is-reply{padding-left:14px}
  .ytapp--shorts .pekvid-short-replies-toggle{margin-left:36px}
  .ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions{gap:0}
  .ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions>button{padding-left:4px;padding-right:4px;font-size:10.5px}
  .ytapp--shorts .pekvid-short-comment-form{grid-template-columns:minmax(0,1fr) 36px!important;padding:8px 8px calc(8px + env(safe-area-inset-bottom))!important}
}


/* ========================================================================
   PEKEDU-Youtobe 2.3.23 — comments drawer coordinate-origin correction.
   The drawer is positioned from its real .yt-main sheet origin, so it hugs
   the interaction rail instead of inheriting the sidebar offset twice.
   ======================================================================== */
@media (min-width:1180px){
  .ytapp--shorts .pekvid-short-comments-sheet>.pekvid-modal-sheet__panel{
    overflow:hidden!important;
  }
  .ytapp--shorts .pekvid-short-comments-sheet .pekvid-short-comments__body{
    width:100%;max-width:100%;padding-left:10px!important;padding-right:10px!important;
  }
  .ytapp--shorts .pekvid-short-comments-sheet .yt-comment__body{
    min-width:0!important;width:100%!important;max-width:100%!important;overflow:visible!important;
  }
  .ytapp--shorts .pekvid-short-comments-sheet .yt-comment__head,
  .ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions{
    width:100%;max-width:100%;min-width:0;
  }
  .ytapp--shorts .pekvid-short-comments-sheet .yt-comment__time,
  .ytapp--shorts .pekvid-short-comments-sheet .yt-comment__creator,
  .ytapp--shorts .pekvid-short-comments-sheet .yt-comment__source{
    flex:0 0 auto;
  }
}


/* ========================================================================
   PEKEDU-Youtobe 2.3.24 — Shorts visual refinement.
   Pure presentation layer: polished interaction rail, navigation and comment
   drawer without changing player geometry, handoff, discovery or sync logic.
   ======================================================================== */
.ytapp--shorts{
  --pek-short-accent:#009999;
  --pek-short-accent-2:#0ea5e9;
  --pek-short-panel:#181818;
  --pek-short-panel-soft:#202324;
  --pek-short-panel-line:rgba(255,255,255,.085);
  --pek-short-panel-hover:rgba(255,255,255,.055);
  --pek-short-panel-shadow:0 18px 50px rgba(0,0,0,.36),0 2px 10px rgba(0,0,0,.16);
  --pek-short-control-shadow:0 6px 18px rgba(0,0,0,.18);
}
.ytapp--shorts[data-theme="light"]{
  --pek-short-panel:#fff;
  --pek-short-panel-soft:#f6fbfb;
  --pek-short-panel-line:rgba(15,23,42,.085);
  --pek-short-panel-hover:rgba(0,153,153,.055);
  --pek-short-panel-shadow:0 18px 46px rgba(15,23,42,.13),0 2px 9px rgba(15,23,42,.07);
  --pek-short-control-shadow:0 7px 18px rgba(15,23,42,.12);
}

/* Video card: only visual depth; dimensions stay unchanged. */
.ytapp--shorts .pekvid-shortmedia{
  border:1px solid rgba(127,127,127,.14);
  border-radius:16px;
  box-shadow:0 16px 44px rgba(0,0,0,.18),0 2px 7px rgba(0,0,0,.12);
}
.ytapp--shorts[data-theme="light"] .pekvid-shortmedia{
  border-color:rgba(15,23,42,.09);
  box-shadow:0 17px 46px rgba(15,23,42,.13),0 2px 7px rgba(15,23,42,.08);
}
.ytapp--shorts .pekvid-shortmeta__avatar{
  border:2px solid rgba(255,255,255,.88);
  box-shadow:0 0 0 2px rgba(0,153,153,.24),0 4px 12px rgba(0,0,0,.16)!important;
}
.ytapp--shorts .pekvid-shortmeta__name{font-weight:750;letter-spacing:-.01em}
@media (min-width:1280px){
  .ytapp--shorts .pekvid-shortmeta__subscribe{
    background:linear-gradient(135deg,var(--pek-short-accent),#00b3b3)!important;
    color:#fff!important;box-shadow:0 5px 14px rgba(0,153,153,.22)!important;
    transition:transform .15s ease,box-shadow .15s ease,filter .15s ease
  }
  .ytapp--shorts .pekvid-shortmeta__subscribe:hover{transform:translateY(-1px);filter:saturate(1.08);box-shadow:0 7px 18px rgba(0,153,153,.28)!important}
  .ytapp--shorts .pekvid-shortmeta__subscribe.is-active{
    background:var(--yt-chip)!important;color:var(--yt-text)!important;box-shadow:inset 0 0 0 1px var(--yt-border)!important
  }
  .ytapp--shorts .pekvid-shortmeta__title strong{font-weight:760;letter-spacing:-.018em}
}

/* Interaction rail: each action has its own restrained accent. */
.ytapp--shorts .pekvid-shortaction{--pek-action-rgb:0,153,153;color:var(--yt-text)}
.ytapp--shorts .pekvid-shortaction:nth-child(1){--pek-action-rgb:0,153,153}
.ytapp--shorts .pekvid-shortaction:nth-child(2){--pek-action-rgb:239,68,68}
.ytapp--shorts .pekvid-shortaction:nth-child(3){--pek-action-rgb:14,165,233}
.ytapp--shorts .pekvid-shortaction:nth-child(4){--pek-action-rgb:124,58,237}
.ytapp--shorts .pekvid-shortaction:nth-child(5){--pek-action-rgb:245,158,11}
.ytapp--shorts .pekvid-shortaction:nth-child(6){--pek-action-rgb:100,116,139}
.ytapp--shorts .pekvid-shortaction:nth-child(7){--pek-action-rgb:16,185,129}
.ytapp--shorts .pekvid-shortaction>span{
  width:46px;height:46px;
  border:1px solid rgba(var(--pek-action-rgb),.19);
  background:rgba(var(--pek-action-rgb),.085);
  color:rgb(var(--pek-action-rgb));
  box-shadow:0 3px 10px rgba(15,23,42,.07);
  font-size:18px;
  transition:transform .16s cubic-bezier(.2,.8,.2,1),background .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease
}
.ytapp--shorts .pekvid-shortaction>span i{filter:drop-shadow(0 1px 0 rgba(255,255,255,.15))}
.ytapp--shorts .pekvid-shortaction>small{
  margin-top:1px;color:var(--yt-text-2);font-size:10.5px;font-weight:650;letter-spacing:-.01em;
  transition:color .16s ease
}
.ytapp--shorts .pekvid-shortaction:hover>span{
  background:rgba(var(--pek-action-rgb),.16)!important;
  border-color:rgba(var(--pek-action-rgb),.34);
  box-shadow:0 7px 18px rgba(var(--pek-action-rgb),.15);
  transform:translateY(-2px) scale(1.035)
}
.ytapp--shorts .pekvid-shortaction:hover>small{color:rgb(var(--pek-action-rgb))}
.ytapp--shorts .pekvid-shortaction.is-active>span,
.ytapp--shorts .pekvid-shortaction[aria-pressed="true"]>span{
  background:rgba(var(--pek-action-rgb),.18)!important;color:rgb(var(--pek-action-rgb))!important;
  border-color:rgba(var(--pek-action-rgb),.42);box-shadow:0 0 0 3px rgba(var(--pek-action-rgb),.08),0 7px 18px rgba(var(--pek-action-rgb),.13)
}
.ytapp--shorts .pekvid-shortaction:active>span{transform:translateY(0) scale(.93)}
.ytapp--shorts[data-theme="dark"] .pekvid-shortaction>span,
.ytapp--shorts:not([data-theme="light"]) .pekvid-shortaction>span{background:rgba(var(--pek-action-rgb),.13);border-color:rgba(var(--pek-action-rgb),.24)}

/* Player hover controls: cleaner glass buttons, same visibility behavior. */
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortplayer-controls button{
  width:38px;height:38px;border:1px solid rgba(255,255,255,.16);background:rgba(8,12,16,.58);
  box-shadow:0 5px 16px rgba(0,0,0,.22);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)
}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortplayer-controls button:hover{
  background:rgba(0,153,153,.88);border-color:rgba(255,255,255,.3);box-shadow:0 7px 20px rgba(0,153,153,.26)
}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortplayer-controls button.is-active{background:#fff;color:#0b5252;border-color:#fff}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortplayer-progress__played,
.ytapp--shorts .pekvid-shortprogress span{background:linear-gradient(90deg,#ff1744,#ff3d71)!important;box-shadow:0 0 8px rgba(255,23,68,.38)}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortplayer-progress__thumb{background:#ff1744;box-shadow:0 0 0 3px rgba(255,255,255,.9),0 2px 8px rgba(0,0,0,.3)}

/* Up/down navigation: quiet at rest, clearly interactive on hover. */
.yt-shorts-desktop-nav{gap:10px}
.yt-shorts-desktop-nav button{
  width:46px;height:46px;border:1px solid var(--pek-short-panel-line);background:var(--pek-short-panel);
  color:var(--yt-text);font-size:17px;box-shadow:var(--pek-short-control-shadow);
  transition:transform .16s ease,background .16s ease,color .16s ease,border-color .16s ease,box-shadow .16s ease
}
.yt-shorts-desktop-nav button:hover{
  background:rgba(0,153,153,.11);color:var(--pek-short-accent);border-color:rgba(0,153,153,.28);
  transform:translateY(-1px);box-shadow:0 9px 22px rgba(0,153,153,.14)
}
.yt-shorts-desktop-nav button:active{transform:scale(.93)}
.yt-shorts-desktop-nav button:focus-visible{outline:3px solid rgba(0,153,153,.2);outline-offset:2px}

/* Comment drawer shell. */
.ytapp--shorts .pekvid-short-comments-sheet>.pekvid-modal-sheet__panel{
  border:1px solid var(--pek-short-panel-line)!important;
  background:linear-gradient(180deg,var(--pek-short-panel-soft) 0,var(--pek-short-panel) 118px)!important;
  box-shadow:var(--pek-short-panel-shadow)!important;
  border-radius:18px!important
}
.ytapp--shorts .pekvid-short-comments__head{
  min-height:56px;height:56px!important;padding:0 10px 0 16px!important;
  background:linear-gradient(90deg,rgba(0,153,153,.085),rgba(14,165,233,.035) 52%,transparent)!important;
  border-bottom:1px solid var(--pek-short-panel-line)!important
}
.ytapp--shorts .pekvid-short-comments__tabs strong{
  gap:8px;font-size:14px!important;font-weight:780!important;color:var(--yt-text)!important;letter-spacing:-.012em
}
.ytapp--shorts .pekvid-short-comments__tabicon{
  width:30px;height:30px;border-radius:10px;display:grid;place-items:center;
  background:linear-gradient(135deg,rgba(0,153,153,.17),rgba(14,165,233,.13));
  color:var(--pek-short-accent);box-shadow:inset 0 0 0 1px rgba(0,153,153,.12);font-size:14px
}
.ytapp--shorts .pekvid-short-comments__tabs strong.is-active::after{
  left:1px;right:1px;height:3px;bottom:-1px;background:linear-gradient(90deg,var(--pek-short-accent),var(--pek-short-accent-2));
  box-shadow:0 -1px 7px rgba(0,153,153,.22)
}
.ytapp--shorts .pekvid-short-comments__head>button{
  width:34px!important;height:34px!important;border:1px solid transparent!important;color:var(--yt-text-2)!important;
  transition:background .15s ease,color .15s ease,transform .15s ease,border-color .15s ease
}
.ytapp--shorts .pekvid-short-comments__head>button:hover{
  background:rgba(239,68,68,.09)!important;color:#ef4444!important;border-color:rgba(239,68,68,.13)!important;transform:rotate(4deg)
}
.ytapp--shorts .pekvid-short-comments__count{
  min-height:42px;padding:10px 16px 9px!important;display:flex;align-items:center;justify-content:center;gap:5px;
  background:transparent!important;color:var(--yt-text-2)!important;font-size:11.5px!important;font-weight:650!important;
  border-bottom:1px solid var(--pek-short-panel-line)
}
.ytapp--shorts .pekvid-short-comments__count b{
  color:var(--pek-short-accent);font-size:12.5px;font-weight:800!important
}

/* Comment list and scrollbar. */
.ytapp--shorts .pekvid-short-comments__body{padding-top:5px!important;padding-bottom:12px!important;scrollbar-width:thin;scrollbar-color:rgba(0,153,153,.45) transparent}
.ytapp--shorts .pekvid-short-comments__body::-webkit-scrollbar{width:7px}
.ytapp--shorts .pekvid-short-comments__body::-webkit-scrollbar-track{background:transparent}
.ytapp--shorts .pekvid-short-comments__body::-webkit-scrollbar-thumb{background:rgba(0,153,153,.34);border:2px solid transparent;background-clip:padding-box;border-radius:999px}
.ytapp--shorts .pekvid-short-comments__body::-webkit-scrollbar-thumb:hover{background:rgba(0,153,153,.58);border:2px solid transparent;background-clip:padding-box}
.ytapp--shorts .pekvid-short-comment-thread{
  margin:0 3px;border-bottom:1px solid var(--pek-short-panel-line)!important;border-radius:10px;
  transition:background .14s ease
}
.ytapp--shorts .pekvid-short-comment-thread:hover{background:var(--pek-short-panel-hover)}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment{padding-top:11px!important;padding-bottom:10px!important}
.ytapp--shorts .pekvid-short-comments-sheet .yt-avatar-lg{
  border:2px solid var(--pek-short-panel)!important;
  box-shadow:0 0 0 2px rgba(0,153,153,.17),0 4px 11px rgba(0,0,0,.12)!important;
  background:linear-gradient(135deg,var(--pek-short-accent),var(--pek-short-accent-2))!important
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__head{gap:6px!important}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__name{
  color:var(--yt-text)!important;font-size:12.25px!important;font-weight:780!important;letter-spacing:-.008em
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__time{font-size:10.5px!important;opacity:.82}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__creator{
  padding:2px 6px;border-radius:999px;background:rgba(0,153,153,.11);color:var(--pek-short-accent)!important;
  border:1px solid rgba(0,153,153,.13);font-size:9.5px!important;font-weight:750!important
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__source{
  width:18px!important;height:18px!important;border:0!important;box-shadow:0 2px 6px rgba(0,0,0,.14)
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__source.is-youtube{background:linear-gradient(135deg,#ff1f2f,#e60000)!important}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__source.is-tiktok{
  background:#111!important;box-shadow:-1.5px 0 #25f4ee,1.5px 0 #fe2c55,0 2px 6px rgba(0,0,0,.18)!important
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__text{
  margin:5px 0 7px!important;color:var(--yt-text)!important;font-size:13px!important;line-height:1.5!important;letter-spacing:-.005em
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions{gap:3px!important}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions>button{
  min-height:27px!important;height:27px!important;padding:0 7px!important;border:1px solid transparent!important;
  color:var(--yt-text-2)!important;font-size:10.5px!important;font-weight:620!important;
  transition:background .13s ease,color .13s ease,border-color .13s ease,transform .13s ease
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions>button:hover{
  background:rgba(0,153,153,.075)!important;color:var(--pek-short-accent)!important;border-color:rgba(0,153,153,.10)!important;transform:translateY(-1px)
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react:not(.yt-comment__react--dislike).is-active{
  color:#e11d48!important;background:rgba(225,29,72,.08)!important;border-color:rgba(225,29,72,.10)!important
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react--dislike:hover{color:#ef4444!important;background:rgba(239,68,68,.07)!important}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__reply:hover{color:#7c3aed!important;background:rgba(124,58,237,.07)!important;border-color:rgba(124,58,237,.10)!important}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__moderate button:hover{color:#64748b!important;background:rgba(100,116,139,.08)!important}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__moderate .danger:hover{color:#ef4444!important;background:rgba(239,68,68,.08)!important}
.ytapp--shorts .pekvid-short-replies-toggle{
  margin-top:1px!important;color:var(--pek-short-accent)!important;font-weight:720!important;
  transition:background .14s ease,color .14s ease,transform .14s ease
}
.ytapp--shorts .pekvid-short-replies-toggle::before{background:linear-gradient(90deg,rgba(0,153,153,.18),rgba(0,153,153,.62))!important}
.ytapp--shorts .pekvid-short-replies-toggle:hover{background:rgba(0,153,153,.07)!important;color:#008585!important;transform:translateX(2px)}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment.is-reply{position:relative}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment.is-reply::after{
  content:"";position:absolute;left:17px;top:8px;bottom:8px;width:2px;border-radius:2px;background:linear-gradient(180deg,rgba(0,153,153,.28),rgba(14,165,233,.06))
}

/* Loading/empty states. */
.ytapp--shorts .pekvid-short-comments__loading span{background:var(--pek-short-accent)!important;box-shadow:0 0 0 3px rgba(0,153,153,.08)}
.ytapp--shorts .pekvid-short-comments__empty{
  margin:18px 10px;padding:28px 18px!important;border:1px dashed rgba(0,153,153,.22);border-radius:14px;
  background:rgba(0,153,153,.04);color:var(--yt-text-2)!important
}

/* Composer: premium but compact. */
.ytapp--shorts .pekvid-short-comment-form{
  padding:11px 12px 12px!important;border-top:1px solid var(--pek-short-panel-line)!important;
  background:linear-gradient(180deg,rgba(0,0,0,0),var(--pek-short-panel) 30%)!important;
  box-shadow:0 -8px 22px rgba(0,0,0,.035)
}
.ytapp--shorts .pekvid-short-comment-form textarea{
  min-height:40px!important;border:1px solid var(--pek-short-panel-line)!important;border-radius:20px!important;
  background:rgba(127,127,127,.075)!important;color:var(--yt-text)!important;padding:10px 14px!important;
  transition:border-color .15s ease,box-shadow .15s ease,background .15s ease
}
.ytapp--shorts .pekvid-short-comment-form textarea:hover{border-color:rgba(0,153,153,.18)!important}
.ytapp--shorts .pekvid-short-comment-form textarea:focus{
  border-color:rgba(0,153,153,.48)!important;background:var(--pek-short-panel)!important;
  box-shadow:0 0 0 3px rgba(0,153,153,.09)!important
}
.ytapp--shorts .pekvid-short-comment-form textarea::placeholder{color:var(--yt-text-2);opacity:.78}
.ytapp--shorts .pekvid-short-comment-form>button{
  width:38px!important;height:38px!important;background:linear-gradient(135deg,var(--pek-short-accent),var(--pek-short-accent-2))!important;
  color:#fff!important;box-shadow:0 6px 15px rgba(0,153,153,.23);transition:transform .15s ease,box-shadow .15s ease,filter .15s ease
}
.ytapp--shorts .pekvid-short-comment-form>button:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(0,153,153,.3);filter:saturate(1.08)}
.ytapp--shorts .pekvid-short-comment-form>button:active{transform:scale(.92)}.ytapp--shorts .pekvid-short-comment-login{
  margin:12px;border:1px dashed rgba(0,153,153,.22);border-radius:14px;background:rgba(0,153,153,.04)!important
}
.ytapp--shorts .pekvid-short-comment-login i{color:var(--pek-short-accent);font-size:24px}

/* Narrow desktop/tablet: retain readable density without crowding. */
@media (min-width:761px) and (max-width:1450px){
  .ytapp--shorts .pekvid-shortaction>span{width:44px;height:44px;font-size:17px}
  .ytapp--shorts .pekvid-shortaction>small{font-size:10px}
  .ytapp--shorts .pekvid-short-comments-sheet .yt-comment__text{font-size:12.6px!important;line-height:1.48!important}
  .ytapp--shorts .pekvid-short-comments__head{height:54px!important;min-height:54px}
}
@media (max-width:760px){
  .ytapp--shorts .pekvid-short-comments-sheet>.pekvid-modal-sheet__panel{border-radius:18px 18px 0 0!important}
  .ytapp--shorts .pekvid-short-comments__head{height:52px!important;min-height:52px;padding-left:12px!important}
  .ytapp--shorts .pekvid-short-comments__tabicon{width:28px;height:28px;border-radius:9px}
  .ytapp--shorts .pekvid-short-comments__count{min-height:38px;padding:8px 12px!important}
  .ytapp--shorts .pekvid-short-comments-sheet .yt-comment__text{font-size:12.5px!important}
  .ytapp--shorts .pekvid-short-comments-sheet .yt-comment.is-reply::after{left:8px}
  .ytapp--shorts .pekvid-short-comment-form{padding:9px 9px calc(9px + env(safe-area-inset-bottom))!important}
}
@media (prefers-reduced-motion:reduce){
  .ytapp--shorts .pekvid-shortaction>span,.yt-shorts-desktop-nav button,.ytapp--shorts .pekvid-short-comments__head>button,
  .ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions>button,.ytapp--shorts .pekvid-short-replies-toggle,
  .ytapp--shorts .pekvid-short-comment-form>button{transition:none!important;transform:none!important}
}


/* ========================================================================
   PEKEDU-Youtobe 2.3.25 — module-wide visual polish.
   Presentation only: header, sidebar, chips, cards, menus, watch, channel,
   library/playlists/studio/search and comment composer. No player geometry
   or application behavior is changed here.
   ======================================================================== */
.ytapp{
  --pek-ui:#009999;
  --pek-ui-2:#0ea5e9;
  --pek-ui-violet:#7c3aed;
  --pek-ui-warm:#f59e0b;
  --pek-ui-danger:#ef4444;
  --pek-ui-green:#10b981;
  --pek-surface:var(--yt-bg);
  --pek-surface-2:color-mix(in srgb,var(--yt-bg) 94%,var(--pek-ui) 6%);
  --pek-line:color-mix(in srgb,var(--yt-text) 10%,transparent);
  --pek-line-strong:color-mix(in srgb,var(--yt-text) 16%,transparent);
  --pek-hover:color-mix(in srgb,var(--pek-ui) 7%,transparent);
  --pek-shadow-sm:0 3px 12px rgba(15,23,42,.07);
  --pek-shadow-md:0 10px 28px rgba(15,23,42,.10);
  --pek-shadow-lg:0 18px 46px rgba(15,23,42,.14);
}
.ytapp[data-theme="dark"]{
  --pek-shadow-sm:0 3px 12px rgba(0,0,0,.22);
  --pek-shadow-md:0 10px 30px rgba(0,0,0,.28);
  --pek-shadow-lg:0 20px 50px rgba(0,0,0,.36);
}
.ytapp *{scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--pek-ui) 42%,transparent) transparent}
.ytapp *::-webkit-scrollbar{width:8px;height:8px}
.ytapp *::-webkit-scrollbar-track{background:transparent}
.ytapp *::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--pek-ui) 32%,transparent);border:2px solid transparent;background-clip:padding-box;border-radius:999px}
.ytapp *::-webkit-scrollbar-thumb:hover{background:color-mix(in srgb,var(--pek-ui) 55%,transparent);border:2px solid transparent;background-clip:padding-box}

/* Header */
.ytapp .yt-header{
  border-bottom:1px solid var(--pek-line)!important;
  background:color-mix(in srgb,var(--yt-bg) 92%,transparent)!important;
  backdrop-filter:blur(14px) saturate(1.12);-webkit-backdrop-filter:blur(14px) saturate(1.12);
  box-shadow:0 1px 0 rgba(255,255,255,.02),0 5px 18px rgba(15,23,42,.035);
}
.ytapp .yt-logo__mark{
  background:linear-gradient(135deg,var(--pek-ui),#16c784)!important;
  color:#fff!important;box-shadow:0 5px 14px rgba(0,153,153,.22);
  border-radius:9px!important
}
.ytapp .yt-logo__text{font-weight:820;letter-spacing:-.04em}
.ytapp .yt-logo__sup{color:var(--yt-text-2);font-weight:650}
.ytapp .yt-search{filter:drop-shadow(0 2px 7px rgba(15,23,42,.035))}
.ytapp .yt-search__box{
  border-color:var(--pek-line-strong)!important;background:var(--yt-bg)!important;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease
}
.ytapp .yt-search:focus-within .yt-search__box{
  border-color:color-mix(in srgb,var(--pek-ui) 55%,transparent)!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--pek-ui) 10%,transparent)
}
.ytapp .yt-search__btn{
  border-color:var(--pek-line-strong)!important;background:color-mix(in srgb,var(--yt-bg) 94%,var(--pek-ui) 6%)!important;
  color:var(--yt-text)!important;transition:background .15s ease,color .15s ease,border-color .15s ease
}
.ytapp .yt-search__btn:hover{background:color-mix(in srgb,var(--pek-ui) 12%,var(--yt-bg))!important;color:var(--pek-ui)!important;border-color:color-mix(in srgb,var(--pek-ui) 26%,transparent)!important}
.ytapp .yt-search__kbd{opacity:.72}
.ytapp .yt-iconbtn,.ytapp .yt-voice{
  transition:background .15s ease,color .15s ease,transform .15s ease,box-shadow .15s ease!important
}
.ytapp .yt-iconbtn:hover,.ytapp .yt-voice:hover{
  background:var(--pek-hover)!important;color:var(--pek-ui)!important;transform:translateY(-1px);box-shadow:var(--pek-shadow-sm)
}
.ytapp .yt-createbtn{
  border:1px solid var(--pek-line)!important;background:color-mix(in srgb,var(--yt-bg) 91%,var(--pek-ui) 9%)!important;
  box-shadow:0 2px 8px rgba(15,23,42,.045);transition:transform .15s ease,box-shadow .15s ease,background .15s ease!important
}
.ytapp .yt-createbtn:hover{background:color-mix(in srgb,var(--yt-bg) 84%,var(--pek-ui) 16%)!important;color:var(--pek-ui)!important;transform:translateY(-1px);box-shadow:var(--pek-shadow-sm)}
.ytapp .yt-account__button{box-shadow:0 0 0 2px var(--yt-bg),0 0 0 3px color-mix(in srgb,var(--pek-ui) 28%,transparent),0 4px 12px rgba(0,0,0,.12)}

/* Pop menus / account */
.ytapp .yt-menu,.ytapp .yt-account-menu,.ytapp .yt-home-card-menu,.ytapp .yt-system-item-menu,.ytapp .yt-watch-more-menu,.ytapp .yt-watch-save-menu,.ytapp .yt-comments__sortmenu{
  border:1px solid var(--pek-line)!important;border-radius:14px!important;background:var(--yt-bg)!important;box-shadow:var(--pek-shadow-lg)!important;overflow:hidden
}
.ytapp .yt-menu__head,.ytapp .yt-account-menu__head{background:linear-gradient(90deg,color-mix(in srgb,var(--pek-ui) 7%,transparent),transparent);border-bottom-color:var(--pek-line)!important}
.ytapp .yt-menu__item,.ytapp .yt-account-menu__item,.ytapp .yt-home-card-menu>button,.ytapp .yt-home-card-menu>a,.ytapp .yt-system-item-menu__item,.ytapp .yt-comments__sortitem{
  transition:background .13s ease,color .13s ease,transform .13s ease!important
}
.ytapp .yt-menu__item:hover,.ytapp .yt-account-menu__item:hover,.ytapp .yt-home-card-menu>button:hover,.ytapp .yt-home-card-menu>a:hover,.ytapp .yt-system-item-menu__item:hover,.ytapp .yt-comments__sortitem:hover{
  background:var(--pek-hover)!important;color:var(--pek-ui)!important
}
.ytapp .yt-menu__item i,.ytapp .yt-account-menu__item>i,.ytapp .yt-home-card-menu__icon{color:color-mix(in srgb,var(--pek-ui) 82%,var(--yt-text))}

/* Sidebar */
.ytapp .yt-sidebar{border-right:1px solid var(--pek-line)!important;background:color-mix(in srgb,var(--yt-bg) 98%,var(--pek-ui) 2%)!important}
.ytapp .yt-sb__item{
  margin:2px 8px;border-radius:10px!important;transition:background .14s ease,color .14s ease,transform .14s ease!important
}
.ytapp .yt-sb__item:hover{background:var(--pek-hover)!important;color:var(--pek-ui)!important;transform:translateX(2px)}
.ytapp .yt-sb__item.is-active{
  background:linear-gradient(90deg,color-mix(in srgb,var(--pek-ui) 13%,transparent),color-mix(in srgb,var(--pek-ui-2) 5%,transparent))!important;
  color:var(--pek-ui)!important;font-weight:730;box-shadow:inset 3px 0 var(--pek-ui)
}
.ytapp .yt-sb__icon{
  width:31px;height:31px;display:grid!important;place-items:center;border-radius:9px;
  color:var(--yt-text-2);transition:color .14s ease,background .14s ease,transform .14s ease
}
.ytapp .yt-sb__item:hover .yt-sb__icon,.ytapp .yt-sb__item.is-active .yt-sb__icon{background:color-mix(in srgb,var(--pek-ui) 10%,transparent);color:var(--pek-ui);transform:scale(1.04)}
.ytapp .yt-sb__title{color:var(--yt-text);font-weight:760;letter-spacing:-.012em}
.ytapp .yt-sb__divider{border-color:var(--pek-line)!important}
.ytapp .yt-sb__channel{border-radius:9px;transition:background .14s ease,color .14s ease!important}
.ytapp .yt-sb__channel:hover{background:var(--pek-hover)!important;color:var(--pek-ui)!important}
.ytapp .yt-sb__chan-avatar{box-shadow:0 0 0 1px var(--pek-line-strong)}
.ytapp .yt-sb__active-dot{box-shadow:0 0 0 3px color-mix(in srgb,#1683ff 12%,transparent)}

/* Chips */
.ytapp .yt-chip,.ytapp .py-chip,.ytapp .yt-watch-related__chips button{
  border:1px solid var(--pek-line)!important;box-shadow:none!important;transition:background .14s ease,color .14s ease,border-color .14s ease,transform .14s ease!important
}
.ytapp .yt-chip:hover,.ytapp .py-chip:hover,.ytapp .yt-watch-related__chips button:hover{background:var(--pek-hover)!important;color:var(--pek-ui)!important;border-color:color-mix(in srgb,var(--pek-ui) 22%,transparent)!important;transform:translateY(-1px)}
.ytapp .yt-chip.is-active,.ytapp .py-chip.is-active,.ytapp .yt-chip[aria-selected="true"]{background:linear-gradient(135deg,var(--pek-ui),#00b3b3)!important;color:#fff!important;border-color:transparent!important;box-shadow:0 4px 12px rgba(0,153,153,.18)!important}
.ytapp .yt-chipnav,.ytapp .yt-watch-related__chipnav{box-shadow:0 3px 12px rgba(15,23,42,.06)!important;transition:background .14s ease,color .14s ease!important}
.ytapp .yt-chipnav:hover,.ytapp .yt-watch-related__chipnav:hover{background:var(--pek-hover)!important;color:var(--pek-ui)!important}

/* Home/search video cards */
.ytapp .yt-card{transition:transform .18s cubic-bezier(.2,.8,.2,1),filter .18s ease!important}
.ytapp .yt-card:hover{transform:translateY(-3px)}
.ytapp .yt-card__thumb{
  border-radius:13px!important;overflow:hidden;box-shadow:0 1px 0 var(--pek-line),0 6px 18px rgba(15,23,42,.055);
  transition:box-shadow .18s ease,transform .18s ease
}
.ytapp .yt-card:hover .yt-card__thumb{box-shadow:var(--pek-shadow-md)}
.ytapp .yt-card__thumb img{transition:transform .28s cubic-bezier(.2,.8,.2,1),filter .28s ease}
.ytapp .yt-card:hover .yt-card__thumb img{transform:scale(1.018);filter:saturate(1.04)}
.ytapp .yt-card__dur{border-radius:6px!important;background:rgba(0,0,0,.72)!important;backdrop-filter:blur(4px);font-weight:720}
.ytapp .yt-card__avatar{box-shadow:0 0 0 1px var(--pek-line-strong)}
.ytapp .yt-card__title{font-weight:740!important;letter-spacing:-.012em;line-height:1.34!important}
.ytapp .yt-card__chan{transition:color .13s ease}
.ytapp .yt-card__chan:hover{color:var(--pek-ui)!important}
.ytapp .yt-card__menu-btn{border-radius:50%;transition:background .14s ease,color .14s ease!important}
.ytapp .yt-card__menu-btn:hover{background:var(--pek-hover)!important;color:var(--pek-ui)!important}

/* Shorts rail on home */
.ytapp .yt-shorts{border-top-color:var(--pek-line)!important;border-bottom-color:var(--pek-line)!important}
.ytapp .yt-shorts__mark{background:linear-gradient(135deg,#ff164d,#ff4e73)!important;color:#fff!important;box-shadow:0 5px 14px rgba(255,22,77,.18)}
.ytapp .yt-short-card{transition:transform .18s ease}
.ytapp .yt-short-card:hover{transform:translateY(-3px)}
.ytapp .yt-short-card__thumb{border-radius:13px!important;overflow:hidden;box-shadow:0 7px 20px rgba(15,23,42,.08)}

/* Subpages / section heads */
.ytapp .yt-subpage,.ytapp .yt-channel-page,.ytapp .yt-playlists-page,.ytapp .yt-studio-page{color:var(--yt-text)}
.ytapp .py-section-title,.ytapp .yt-playlists-head h1,.ytapp .yt-channel-section__title,.ytapp .yt-watch-title{letter-spacing:-.025em;font-weight:800}
.ytapp .py-empty,.ytapp .yt-playlists-empty,.ytapp .yt-system-playlist-empty,.ytapp .py-studio-empty{
  border:1px dashed color-mix(in srgb,var(--pek-ui) 25%,transparent)!important;border-radius:16px!important;background:color-mix(in srgb,var(--pek-ui) 4%,transparent)!important
}

/* Channel surface */
.ytapp .yt-channel-hero{border-radius:18px!important;overflow:hidden;box-shadow:var(--pek-shadow-sm)}
.ytapp .yt-channel-banner{background-color:color-mix(in srgb,var(--yt-bg) 93%,var(--pek-ui) 7%);}
.ytapp .yt-channel-profile-row{background:linear-gradient(180deg,color-mix(in srgb,var(--yt-bg) 97%,transparent),var(--yt-bg));}
.ytapp .yt-channel-avatar{box-shadow:0 0 0 4px var(--yt-bg),0 0 0 6px color-mix(in srgb,var(--pek-ui) 20%,transparent),0 9px 24px rgba(15,23,42,.13)!important}
.ytapp .yt-channel-tabs{border-bottom-color:var(--pek-line)!important}
.ytapp .yt-channel-tab{transition:color .14s ease,background .14s ease!important;border-radius:9px 9px 0 0}
.ytapp .yt-channel-tab:hover{color:var(--pek-ui)!important;background:var(--pek-hover)}
.ytapp .yt-channel-tab.is-active{color:var(--pek-ui)!important}
.ytapp .yt-channel-tab.is-active::after{background:linear-gradient(90deg,var(--pek-ui),var(--pek-ui-2))!important;height:3px!important;border-radius:999px}
.ytapp .yt-channel-subscribe,.ytapp .yt-watch-subscribe{box-shadow:0 4px 13px rgba(0,153,153,.14);transition:transform .14s ease,box-shadow .14s ease,filter .14s ease!important}
.ytapp .yt-channel-subscribe:hover,.ytapp .yt-watch-subscribe:hover{transform:translateY(-1px);box-shadow:0 7px 18px rgba(0,153,153,.21);filter:saturate(1.05)}

/* Watch page */
.ytapp--watch .yt-watch-player{border-radius:15px!important;overflow:hidden;box-shadow:0 12px 34px rgba(0,0,0,.16)}
.ytapp--watch .yt-watch-toolbar{gap:10px}
.ytapp--watch .yt-watch-action,.ytapp--watch .yt-watch-vote,.ytapp--watch .yt-watch-action--more{
  border:1px solid var(--pek-line)!important;background:color-mix(in srgb,var(--yt-bg) 94%,var(--pek-ui) 6%)!important;
  transition:background .14s ease,color .14s ease,border-color .14s ease,transform .14s ease,box-shadow .14s ease!important
}
.ytapp--watch .yt-watch-action:hover,.ytapp--watch .yt-watch-action--more:hover{background:var(--pek-hover)!important;color:var(--pek-ui)!important;border-color:color-mix(in srgb,var(--pek-ui) 22%,transparent)!important;transform:translateY(-1px);box-shadow:var(--pek-shadow-sm)}
.ytapp--watch .yt-watch-desc{border:1px solid var(--pek-line)!important;border-radius:14px!important;background:color-mix(in srgb,var(--yt-bg) 96%,var(--pek-ui) 4%)!important}
.ytapp--watch .yt-comments{border-top-color:var(--pek-line)!important}
.ytapp--watch .yt-cmtbox__input{border-color:var(--pek-line-strong)!important;transition:border-color .14s ease,box-shadow .14s ease!important}
.ytapp--watch .yt-cmtbox__input:focus{border-color:color-mix(in srgb,var(--pek-ui) 46%,transparent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--pek-ui) 9%,transparent)!important}
.ytapp--watch .yt-comment{border-bottom-color:var(--pek-line)!important;border-radius:10px;transition:background .13s ease}
.ytapp--watch .yt-comment:hover{background:color-mix(in srgb,var(--pek-ui) 3.5%,transparent)}
.ytapp--watch .yt-watch-related__item{border-radius:11px;transition:background .14s ease,transform .14s ease!important}
.ytapp--watch .yt-watch-related__item:hover{background:var(--pek-hover)!important;transform:translateX(2px)}
.ytapp--watch .yt-watch-related__thumb{border-radius:10px!important;overflow:hidden}

/* Playlist / library */
.ytapp .yt-playlist-tile,.ytapp .yt-system-playlist-hero,.ytapp .py-channel-search-card,.ytapp .py-card{
  border:1px solid var(--pek-line)!important;border-radius:15px!important;background:var(--yt-bg)!important;box-shadow:var(--pek-shadow-sm);
  transition:transform .17s ease,box-shadow .17s ease,border-color .17s ease!important
}
.ytapp .yt-playlist-tile:hover,.ytapp .py-channel-search-card:hover,.ytapp .py-card:hover{transform:translateY(-2px);box-shadow:var(--pek-shadow-md);border-color:color-mix(in srgb,var(--pek-ui) 17%,transparent)!important}
.ytapp .yt-playlist-tile__cover,.ytapp .py-thumb{border-radius:13px!important;overflow:hidden}
.ytapp .yt-playlist-createbar{border:1px solid var(--pek-line)!important;border-radius:14px!important;background:color-mix(in srgb,var(--yt-bg) 97%,var(--pek-ui) 3%)!important}
.ytapp .yt-playlist-createbar__input{border-color:var(--pek-line)!important}
.ytapp .yt-system-playlist-item{border-bottom-color:var(--pek-line)!important;border-radius:11px;transition:background .14s ease,transform .14s ease!important}
.ytapp .yt-system-playlist-item:hover{background:var(--pek-hover)!important;transform:translateX(2px)}
.ytapp .yt-system-playlist-item__thumb{border-radius:9px!important;overflow:hidden}

/* Studio / my videos */
.ytapp .py-studio-banner{
  border:1px solid color-mix(in srgb,var(--pek-ui) 14%,var(--pek-line))!important;border-radius:17px!important;
  background:linear-gradient(135deg,color-mix(in srgb,var(--pek-ui) 9%,var(--yt-bg)),color-mix(in srgb,var(--pek-ui-2) 5%,var(--yt-bg)))!important;box-shadow:var(--pek-shadow-sm)
}
.ytapp .py-studio-stat-card{border:1px solid var(--pek-line)!important;border-radius:14px!important;box-shadow:var(--pek-shadow-sm);transition:transform .15s ease,box-shadow .15s ease!important}
.ytapp .py-studio-stat-card:hover{transform:translateY(-2px);box-shadow:var(--pek-shadow-md)}
.ytapp .py-studio-stat-card__icon{background:color-mix(in srgb,var(--pek-ui) 11%,transparent)!important;color:var(--pek-ui)!important}
.ytapp .py-studio-table-wrap{border:1px solid var(--pek-line)!important;border-radius:15px!important;overflow:hidden;box-shadow:var(--pek-shadow-sm)}
.ytapp .py-studio-table thead th{background:color-mix(in srgb,var(--yt-bg) 94%,var(--pek-ui) 6%)!important;border-bottom-color:var(--pek-line-strong)!important;color:var(--yt-text)!important}
.ytapp .py-studio-table tbody tr{transition:background .12s ease}
.ytapp .py-studio-table tbody tr:hover{background:var(--pek-hover)!important}
.ytapp .py-studio-iconbtn{border-color:var(--pek-line)!important;transition:background .13s ease,color .13s ease,border-color .13s ease,transform .13s ease!important}
.ytapp .py-studio-iconbtn:hover{background:var(--pek-hover)!important;color:var(--pek-ui)!important;border-color:color-mix(in srgb,var(--pek-ui) 22%,transparent)!important;transform:translateY(-1px)}

/* Generic modal polish */
.ytapp .yt-home-modal__dialog,.ytapp .yt-watch-report-dialog,.ytapp .yt-system-save-modal__dialog,.ytapp .yt-channel-info-dialog,.ytapp .yt-ai-panel{
  border:1px solid var(--pek-line)!important;border-radius:17px!important;background:var(--yt-bg)!important;box-shadow:var(--pek-shadow-lg)!important;overflow:hidden
}
.ytapp .yt-home-modal__head,.ytapp .yt-system-save-modal__head,.ytapp .yt-watch-report-dialog__head,.ytapp .yt-channel-info-dialog>header,.ytapp .yt-ai-panel__head{
  border-bottom-color:var(--pek-line)!important;background:linear-gradient(90deg,color-mix(in srgb,var(--pek-ui) 7%,transparent),transparent)!important
}
.ytapp .yt-home-modal__head button,.ytapp .yt-system-save-modal__close,.ytapp .yt-watch-report-dialog__head button,.ytapp .yt-channel-info-dialog>header button,.ytapp .yt-ai-panel__close{
  border-radius:50%!important;transition:background .13s ease,color .13s ease,transform .13s ease!important
}
.ytapp .yt-home-modal__head button:hover,.ytapp .yt-system-save-modal__close:hover,.ytapp .yt-watch-report-dialog__head button:hover,.ytapp .yt-channel-info-dialog>header button:hover,.ytapp .yt-ai-panel__close:hover{background:color-mix(in srgb,var(--pek-ui-danger) 9%,transparent)!important;color:var(--pek-ui-danger)!important;transform:rotate(4deg)}
.ytapp .yt-home-report-dialog textarea{border-color:var(--pek-line-strong)!important;border-radius:11px!important}
.ytapp .yt-home-report-dialog textarea:focus{border-color:color-mix(in srgb,var(--pek-ui) 44%,transparent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--pek-ui) 9%,transparent)!important}
.ytapp .yt-home-report-actions .is-primary,.ytapp .yt-watch-report-submit,.ytapp .yt-cmtbox__send,.ytapp .py-btn:not(.py-btn-soft){
  background:linear-gradient(135deg,var(--pek-ui),#00b3b3)!important;border-color:transparent!important;color:#fff!important;box-shadow:0 5px 14px rgba(0,153,153,.18)!important
}

/* Keyboard focus consistency */
.ytapp button:focus-visible,.ytapp a:focus-visible,.ytapp input:focus-visible,.ytapp textarea:focus-visible,.ytapp select:focus-visible{outline:3px solid color-mix(in srgb,var(--pek-ui) 20%,transparent)!important;outline-offset:2px}

@media (max-width:1180px){
  .ytapp .yt-card:hover,.ytapp .yt-short-card:hover,.ytapp .yt-playlist-tile:hover,.ytapp .py-channel-search-card:hover,.ytapp .py-card:hover{transform:none}
}
@media (prefers-reduced-motion:reduce){
  .ytapp .yt-card,.ytapp .yt-card__thumb img,.ytapp .yt-sb__item,.ytapp .yt-short-card,.ytapp .yt-playlist-tile,.ytapp .py-channel-search-card,.ytapp .py-card,.ytapp .py-studio-stat-card{transition:none!important;transform:none!important}
}

/* ========================================================================
   PEKEDU-Youtobe 2.3.27 — balanced Shorts comments + refined comment actions.
   Presentation/responsive geometry only. The stage shift is independent from
   comment open/close state, so toggling the drawer never makes the video jump.
   ======================================================================== */
@media (min-width:1180px){
  .ytapp--shorts .pekvid-shortstage{
    left:var(--pekvid-stage-balance-shift,0px);
  }
  .ytapp--shorts .pekvid-short-comments-sheet>.pekvid-modal-sheet__panel{
    min-width:280px!important;
  }
}

/* Comment identity: slightly larger and easier to scan. */
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment{
  grid-template-columns:40px minmax(0,1fr)!important;
  gap:10px!important;
  padding-left:5px!important;
  padding-right:5px!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-avatar-lg{
  width:38px!important;height:38px!important;flex-basis:38px!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__name{
  font-size:12.6px!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__source{
  width:20px!important;height:20px!important;font-size:10px!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__source i{font-size:10px!important;line-height:1}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__text{
  margin-top:6px!important;margin-bottom:8px!important;
}

/* Comment action bar: real touch targets, distinct icon treatment, no tiny glyphs. */
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions{
  display:flex!important;align-items:center!important;flex-wrap:wrap!important;
  gap:5px 6px!important;margin-top:1px!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions>button,
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__moderate>button{
  min-width:34px!important;height:32px!important;min-height:32px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;
  padding:0 7px!important;border:1px solid transparent!important;border-radius:10px!important;
  background:transparent!important;color:var(--yt-text-2)!important;
  font-size:11px!important;font-weight:650!important;line-height:1!important;
  transition:background .14s ease,color .14s ease,border-color .14s ease,transform .14s ease,box-shadow .14s ease!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions>button i,
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__moderate>button i{
  flex:0 0 auto;font-size:14px!important;line-height:1!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react i{
  width:25px;height:25px;display:grid!important;place-items:center;border-radius:8px;
  background:rgba(100,116,139,.085);box-shadow:inset 0 0 0 1px rgba(100,116,139,.07);
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react:not(.yt-comment__react--dislike) i{
  color:#e11d48;background:rgba(225,29,72,.075);box-shadow:inset 0 0 0 1px rgba(225,29,72,.08);
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react--dislike i{
  color:#64748b;background:rgba(100,116,139,.08);
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react>span{
  min-width:10px;font-size:10.8px!important;font-variant-numeric:tabular-nums;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__reply{
  padding-left:8px!important;padding-right:9px!important;color:#6d28d9!important;
  background:rgba(124,58,237,.055)!important;border-color:rgba(124,58,237,.075)!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__reply i{
  color:#7c3aed!important;font-size:13px!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__reply:hover{
  background:rgba(124,58,237,.11)!important;border-color:rgba(124,58,237,.16)!important;color:#6d28d9!important;
  box-shadow:0 4px 10px rgba(124,58,237,.08);
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__moderate{
  display:inline-flex!important;align-items:center!important;flex-wrap:wrap!important;gap:4px!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__moderate>button{
  color:#64748b!important;padding:0 7px!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__moderate>button i{
  color:#64748b!important;font-size:13px!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions>button:hover,
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__moderate>button:hover{
  transform:translateY(-1px)!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react:not(.yt-comment__react--dislike):hover{
  color:#e11d48!important;background:rgba(225,29,72,.07)!important;border-color:rgba(225,29,72,.10)!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react--dislike:hover{
  color:#475569!important;background:rgba(100,116,139,.08)!important;border-color:rgba(100,116,139,.10)!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__moderate>button:hover{
  background:rgba(100,116,139,.08)!important;border-color:rgba(100,116,139,.10)!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__moderate>button.danger:hover{
  color:#dc2626!important;background:rgba(239,68,68,.08)!important;border-color:rgba(239,68,68,.11)!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__moderate>button.danger:hover i{color:#dc2626!important}

/* Narrow desktop: reclaim unused left-side room for a genuinely readable drawer. */
@media (min-width:1180px) and (max-width:1320px){
  .ytapp--shorts .pekvid-short-comments-sheet .pekvid-short-comments__body{
    padding-left:8px!important;padding-right:8px!important;
  }
  .ytapp--shorts .pekvid-short-comments-sheet .yt-comment{
    grid-template-columns:38px minmax(0,1fr)!important;gap:8px!important;
  }
  .ytapp--shorts .pekvid-short-comments-sheet .yt-avatar-lg{
    width:36px!important;height:36px!important;flex-basis:36px!important;
  }
  .ytapp--shorts .pekvid-short-comments-sheet .yt-comment.is-reply{padding-left:16px!important}
  .ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions>button,
  .ytapp--shorts .pekvid-short-comments-sheet .yt-comment__moderate>button{
    height:31px!important;min-height:31px!important;padding-left:6px!important;padding-right:6px!important;
  }
}

@media (max-width:760px){
  .ytapp--shorts .pekvid-short-comments-sheet .yt-comment{
    grid-template-columns:38px minmax(0,1fr)!important;gap:8px!important;
  }
  .ytapp--shorts .pekvid-short-comments-sheet .yt-avatar-lg{
    width:36px!important;height:36px!important;flex-basis:36px!important;
  }
  .ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions>button,
  .ytapp--shorts .pekvid-short-comments-sheet .yt-comment__moderate>button{
    min-width:34px!important;height:34px!important;min-height:34px!important;font-size:11px!important;
  }
  .ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react i{width:26px;height:26px;font-size:14px!important}
}


/* ========================================================================
   PEKEDU-Youtobe 2.3.28 — Shorts viewport fill + menu stacking fix.
   Presentation/layout only. Keep the shared player lifecycle untouched.
   - Account/create/notification menus must always render above comments.
   - Desktop Shorts use nearly the full main viewport height, TikTok-style.
   ======================================================================== */

/* The comments sheet lives at z-index:1200. The fixed header used to sit at
   1000, so account/create/notification menus could visually fall behind the
   comments drawer. Lift the complete header stacking context above Shorts
   overlays; children can then drop over the main surface without clipping. */
.ytapp--shorts .yt-header{
  z-index:2200!important;
}
.ytapp--shorts .yt-header .yt-account,
.ytapp--shorts .yt-header .yt-pop{
  z-index:2210!important;
}
.ytapp--shorts .yt-header .yt-account-menu,
.ytapp--shorts .yt-header .yt-menu{
  z-index:2250!important;
}

/* TikTok-like desktop viewer: remove the old 820px ceiling. The main Shorts
   surface already starts below the fixed header; leaving only 4px above and
   below makes the video visibly larger while preserving the 9:16 stage. */
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortslide{
  padding-top:4px!important;
  padding-bottom:4px!important;
}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortstage{
  height:calc(100% - 8px)!important;
  max-height:none!important;
  max-width:calc((100vh - var(--yt-header-h,56px) - 8px) * .5625)!important;
  max-width:calc((100dvh - var(--yt-header-h,56px) - 8px) * .5625)!important;
}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortmedia{
  border-radius:12px!important;
}

/* On shorter desktop windows keep a tiny breathing edge, but never restore
   the former 820px cap. */
@media (min-width:761px) and (max-height:720px){
  .ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortslide{
    padding-top:3px!important;
    padding-bottom:3px!important;
  }
  .ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortstage{
    height:calc(100% - 6px)!important;
    max-width:calc((100vh - var(--yt-header-h,56px) - 6px) * .5625)!important;
    max-width:calc((100dvh - var(--yt-header-h,56px) - 6px) * .5625)!important;
  }
}

/* ========================================================================
   PEKEDU-Youtobe 2.3.29 — stable YouTube/TikTok-style Shorts composition.
   Closed: a fixed-size 9:16 stage is centered in the main surface.
   Comments: the same stage slides left without resizing while a flat drawer
   slides in on the right. The single-player lifecycle is untouched.
   ======================================================================== */
@media (min-width:1180px){
  /* Symmetric slide padding is essential: justify-content:center must mean the
     actual visual center of .yt-main, not a center biased by the action rail. */
  .ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortslide{
    padding:8px 0!important;
    align-items:center!important;
    justify-content:center!important;
  }

  /* One stable video size. Opening comments never changes height/width. */
  .ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortstage{
    left:0!important;
    height:min(860px,calc(100% - 16px))!important;
    max-height:calc(100% - 16px)!important;
    width:auto!important;
    max-width:none!important;
    aspect-ratio:9/16!important;
    margin:0!important;
    transform:translate3d(0,0,0)!important;
    transition:transform .28s cubic-bezier(.22,.61,.36,1)!important;
    will-change:transform;
  }
  .ytapp--shorts[data-shorts-layout="desktop"].is-comments-panel-open .pekvid-shortstage{
    transform:translate3d(var(--pekvid-comments-stage-shift,-190px),0,0)!important;
  }

  /* The drawer is a flat companion surface, not a floating 3D card. */
  .ytapp--shorts .pekvid-short-comments-sheet{
    pointer-events:none!important;
    padding:0!important;
    background:transparent!important;
    opacity:0;
    visibility:hidden;
    transition:opacity .22s ease,visibility 0s linear .28s!important;
  }
  .ytapp--shorts .pekvid-short-comments-sheet.is-visible{
    opacity:1;
    visibility:visible;
    transition-delay:0s!important;
  }
  .ytapp--shorts .pekvid-short-comments-sheet>.pekvid-modal-sheet__backdrop{display:none!important}
  .ytapp--shorts .pekvid-short-comments-sheet>.pekvid-modal-sheet__panel{
    position:absolute!important;
    left:var(--pekvid-comments-left,auto)!important;
    right:auto!important;
    top:var(--pekvid-comments-top,8px)!important;
    bottom:auto!important;
    width:var(--pekvid-comments-width,400px)!important;
    height:var(--pekvid-comments-height,760px)!important;
    min-width:300px!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    pointer-events:auto!important;
    overflow:hidden!important;
    border:1px solid var(--yt-border)!important;
    border-radius:12px!important;
    background:var(--yt-bg)!important;
    box-shadow:none!important;
    opacity:0!important;
    transform:translate3d(22px,0,0)!important;
    transition:transform .28s cubic-bezier(.22,.61,.36,1),opacity .20s ease!important;
    will-change:transform,opacity;
  }
  .ytapp--shorts .pekvid-short-comments-sheet.is-visible>.pekvid-modal-sheet__panel{
    opacity:1!important;
    transform:translate3d(0,0,0)!important;
  }
  .ytapp--shorts .pekvid-short-comments-sheet.is-closing>.pekvid-modal-sheet__panel{
    opacity:0!important;
    transform:translate3d(18px,0,0)!important;
    pointer-events:none!important;
  }

  /* Flat YouTube/TikTok-like comment chrome. */
  .ytapp--shorts .pekvid-short-comments__head{
    min-height:52px!important;
    height:52px!important;
    padding:0 10px 0 14px!important;
    background:var(--yt-bg)!important;
    border-bottom:1px solid var(--yt-border)!important;
    box-shadow:none!important;
  }
  .ytapp--shorts .pekvid-short-comments__tabicon{
    background:transparent!important;
    box-shadow:none!important;
    border:0!important;
  }
  .ytapp--shorts .pekvid-short-comments__tabs strong.is-active::after{
    box-shadow:none!important;
  }
  .ytapp--shorts .pekvid-short-comments__count{
    background:var(--yt-bg)!important;
    border-bottom:1px solid var(--yt-border)!important;
  }
  .ytapp--shorts .pekvid-short-comments__body{
    background:var(--yt-bg)!important;
  }
  .ytapp--shorts .pekvid-short-comments-sheet .yt-comment{
    background:transparent!important;
    border:0!important;
    border-bottom:1px solid color-mix(in srgb,var(--yt-border) 72%,transparent)!important;
    border-radius:0!important;
    box-shadow:none!important;
  }
  .ytapp--shorts .pekvid-short-comments-sheet .yt-comment:hover{
    background:color-mix(in srgb,var(--yt-hover) 55%,transparent)!important;
    box-shadow:none!important;
  }
  .ytapp--shorts .pekvid-short-comment-form{
    background:var(--yt-bg)!important;
    border-top:1px solid var(--yt-border)!important;
    box-shadow:none!important;
  }

  /* Navigation remains a separate right-side lane. */
  .ytapp--shorts .yt-shorts-desktop-nav{
    z-index:1305!important;
  }
}

/* Fixed size remains practical on short desktop windows: it only contracts to
   fit the available vertical surface, never because comments are opened. */
@media (min-width:1180px) and (max-height:760px){
  .ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortstage{
    height:calc(100% - 12px)!important;
    max-height:calc(100% - 12px)!important;
  }
}

@media (prefers-reduced-motion:reduce){
  .ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortstage,
  .ytapp--shorts .pekvid-short-comments-sheet,
  .ytapp--shorts .pekvid-short-comments-sheet>.pekvid-modal-sheet__panel{
    transition:none!important;
  }
}


/* ========================================================================
   PEKEDU-Youtobe 2.3.30 — stable first-open comments drawer.
   The desktop drawer is measured before it becomes visible, so its first
   rendered frame already matches the Short height. Loading/empty states stay
   inside that fixed geometry and never resize the panel.
   ======================================================================== */
@media (min-width:1180px){
  .ytapp--shorts .pekvid-short-comments-sheet>.pekvid-modal-sheet__panel{
    /* Geometry comes from JS CSS variables calculated from the live stage. */
    min-height:320px!important;
    contain:layout paint;
  }
  .ytapp--shorts .pekvid-short-comments-sheet .pekvid-short-comments__body{
    position:relative!important;
    display:block;
  }
  .ytapp--shorts .pekvid-short-comments-sheet.is-loading .pekvid-short-comments__body{
    overflow:hidden!important;
  }
  .ytapp--shorts .pekvid-short-comments-sheet .pekvid-short-comments__loading:not([hidden]){
    position:absolute!important;
    inset:0!important;
    z-index:2;
    height:auto!important;
    min-height:100%!important;
    display:flex!important;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:12px!important;
    color:var(--yt-text-2);
    background:var(--yt-bg);
  }
  .ytapp--shorts .pekvid-short-comments-sheet .pekvid-short-comments__loading:not([hidden])::after{
    content:"Đang tải bình luận";
    font-size:12px;
    font-weight:600;
    letter-spacing:.005em;
    color:var(--yt-text-2);
  }
  .ytapp--shorts .pekvid-short-comments-sheet .pekvid-short-comments__loading:not([hidden]) span{
    width:7px!important;height:7px!important;
    box-shadow:none!important;
  }
  .ytapp--shorts .pekvid-short-comments-sheet .pekvid-short-comments__empty:not([hidden]){
    min-height:100%!important;
    margin:0!important;
    padding:36px 22px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    display:flex!important;
    align-items:center;
    justify-content:center;
    color:var(--yt-text-2)!important;
    font-size:13px;
  }
}

/* ========================================================================
   PEKEDU-Youtobe 2.3.31 — YouTube-like monochrome front-end reset.
   Presentation only. Removes decorative color, gradients, glow and icon
   capsules introduced by earlier polish passes. Keeps meaningful provider
   colors (YouTube/TikTok) and the red playback progress only.
   ======================================================================== */
.ytapp{
  --pek-ui:#0f0f0f;
  --pek-ui-2:#606060;
  --pek-ui-violet:#0f0f0f;
  --pek-ui-warm:#0f0f0f;
  --pek-ui-green:#0f0f0f;
  --pek-hover:rgba(0,0,0,.055);
  --pek-line:rgba(0,0,0,.10);
  --pek-line-strong:rgba(0,0,0,.16);
  --pek-shadow-sm:none;
  --pek-shadow-md:none;
  --pek-shadow-lg:0 8px 24px rgba(0,0,0,.16);
}
.ytapp[data-theme="dark"]{
  --pek-ui:#f1f1f1;
  --pek-ui-2:#aaaaaa;
  --pek-ui-violet:#f1f1f1;
  --pek-ui-warm:#f1f1f1;
  --pek-ui-green:#f1f1f1;
  --pek-hover:rgba(255,255,255,.10);
  --pek-line:rgba(255,255,255,.10);
  --pek-line-strong:rgba(255,255,255,.16);
  --pek-shadow-lg:0 8px 24px rgba(0,0,0,.48);
}

/* Neutral scrollbar. */
.ytapp *{scrollbar-color:#b5b5b5 transparent!important}
.ytapp *::-webkit-scrollbar-thumb{background:#b5b5b5!important;border:2px solid transparent!important;background-clip:padding-box!important;box-shadow:none!important}
.ytapp *::-webkit-scrollbar-thumb:hover{background:#8a8a8a!important}
.ytapp[data-theme="dark"] *{scrollbar-color:#606060 transparent!important}
.ytapp[data-theme="dark"] *::-webkit-scrollbar-thumb{background:#606060!important}

/* Header: flat YouTube surface. */
.ytapp .yt-header{
  background:var(--yt-bg)!important;
  border-bottom:1px solid var(--yt-border)!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  box-shadow:none!important;
}
.ytapp .yt-logo__mark{background:transparent!important;box-shadow:none!important}
.ytapp .yt-search{filter:none!important}
.ytapp .yt-search__box{background:var(--yt-bg)!important;box-shadow:none!important}
.ytapp .yt-search:focus-within .yt-search__box{border-color:var(--yt-text-2)!important;box-shadow:none!important}
.ytapp .yt-search__btn{background:var(--yt-bg-2)!important;color:var(--yt-text)!important;border-color:var(--yt-border)!important;box-shadow:none!important}
.ytapp .yt-search__btn:hover{background:var(--yt-hover)!important;color:var(--yt-text)!important;border-color:var(--yt-border)!important}
.ytapp .yt-iconbtn,.ytapp .yt-voice{color:var(--yt-text)!important;box-shadow:none!important;transform:none!important}
.ytapp .yt-iconbtn svg,.ytapp .yt-voice svg{width:25px!important;height:25px!important}
.ytapp .yt-iconbtn i,.ytapp .yt-voice i{font-size:20px!important}
.ytapp .yt-iconbtn:hover,.ytapp .yt-voice:hover{background:var(--yt-hover)!important;color:var(--yt-text)!important;box-shadow:none!important;transform:none!important}
.ytapp .yt-createbtn{background:var(--yt-chip)!important;color:var(--yt-text)!important;border:0!important;box-shadow:none!important;transform:none!important}
.ytapp .yt-createbtn:hover{background:var(--yt-chip-hover)!important;color:var(--yt-text)!important;box-shadow:none!important;transform:none!important}
.ytapp .yt-account__button{box-shadow:none!important;border:0!important}

/* Menus: neutral, no decorative gradient. */
.ytapp .yt-menu,.ytapp .yt-account-menu,.ytapp .yt-home-card-menu,.ytapp .yt-system-item-menu,.ytapp .yt-watch-more-menu,.ytapp .yt-watch-save-menu,.ytapp .yt-comments__sortmenu{
  background:var(--yt-elevated)!important;
  border:1px solid var(--yt-border)!important;
  border-radius:12px!important;
  box-shadow:var(--pek-shadow-lg)!important;
}
.ytapp[data-theme="light"] .yt-menu,.ytapp[data-theme="light"] .yt-account-menu,.ytapp[data-theme="light"] .yt-home-card-menu,.ytapp[data-theme="light"] .yt-system-item-menu,.ytapp[data-theme="light"] .yt-watch-more-menu,.ytapp[data-theme="light"] .yt-watch-save-menu,.ytapp[data-theme="light"] .yt-comments__sortmenu{background:#fff!important}
.ytapp .yt-menu__head,.ytapp .yt-account-menu__head{background:transparent!important;border-bottom-color:var(--yt-border)!important}
.ytapp .yt-menu__item:hover,.ytapp .yt-account-menu__item:hover,.ytapp .yt-home-card-menu>button:hover,.ytapp .yt-home-card-menu>a:hover,.ytapp .yt-system-item-menu__item:hover,.ytapp .yt-comments__sortitem:hover{background:var(--yt-hover)!important;color:var(--yt-text)!important;transform:none!important}
.ytapp .yt-menu__item i,.ytapp .yt-account-menu__item>i,.ytapp .yt-home-card-menu__icon{color:var(--yt-text)!important;font-size:19px!important}

/* Sidebar: icons are larger and bare, active state is neutral gray. */
.ytapp .yt-sidebar{background:var(--yt-bg)!important;border-right:0!important}
.ytapp .yt-sb__item{border-radius:10px!important;transform:none!important}
.ytapp .yt-sb__item:hover{background:var(--yt-hover)!important;color:var(--yt-text)!important;transform:none!important}
.ytapp .yt-sb__item.is-active{background:var(--yt-hover)!important;color:var(--yt-text)!important;box-shadow:none!important;font-weight:600!important}
.ytapp .yt-sb__icon{width:32px!important;height:32px!important;border-radius:0!important;background:transparent!important;color:var(--yt-text)!important;transform:none!important}
.ytapp .yt-sb__icon svg{width:25px!important;height:25px!important}
.ytapp .yt-sb__icon i{font-size:20px!important}
.ytapp .yt-sb__item:hover .yt-sb__icon,.ytapp .yt-sb__item.is-active .yt-sb__icon{background:transparent!important;color:var(--yt-text)!important;transform:none!important}
.ytapp .yt-sb__channel:hover{background:var(--yt-hover)!important;color:var(--yt-text)!important}
.ytapp .yt-sb__chan-avatar{box-shadow:none!important}
.ytapp .yt-sb__active-dot{box-shadow:none!important}

/* Chips: YouTube gray/black only. */
.ytapp .yt-chip,.ytapp .py-chip,.ytapp .yt-watch-related__chips button{background:var(--yt-chip)!important;color:var(--yt-text)!important;border:0!important;box-shadow:none!important;transform:none!important}
.ytapp .yt-chip:hover,.ytapp .py-chip:hover,.ytapp .yt-watch-related__chips button:hover{background:var(--yt-chip-hover)!important;color:var(--yt-text)!important;border:0!important;transform:none!important}
.ytapp .yt-chip.is-active,.ytapp .py-chip.is-active,.ytapp .yt-chip[aria-selected="true"],.ytapp .yt-watch-related__chips button.is-active{background:var(--yt-text)!important;color:var(--yt-bg)!important;border:0!important;box-shadow:none!important}
.ytapp .yt-chipnav:hover,.ytapp .yt-watch-related__chipnav:hover{background:var(--yt-hover)!important;color:var(--yt-text)!important}

/* Home/search cards: no card shell, no lift, no colored shadow. */
.ytapp .yt-card,.ytapp .py-card,.ytapp .py-channel-search-card,.ytapp .yt-playlist-tile{border:0!important;background:transparent!important;box-shadow:none!important;transform:none!important}
.ytapp .yt-card:hover,.ytapp .py-card:hover,.ytapp .py-channel-search-card:hover,.ytapp .yt-playlist-tile:hover{border:0!important;background:transparent!important;box-shadow:none!important;transform:none!important}
.ytapp .yt-card__thumb,.ytapp .py-thumb,.ytapp .yt-playlist-tile__cover{box-shadow:none!important;border:0!important}
.ytapp .yt-card__avatar{box-shadow:none!important}
.ytapp .yt-card__chan:hover{color:var(--yt-text)!important}
.ytapp .yt-card__menu-btn{background:transparent!important;border:0!important;box-shadow:none!important}
.ytapp .yt-card__menu-btn:hover{background:var(--yt-hover)!important;color:var(--yt-text)!important}
.ytapp .yt-shorts__mark{background:transparent!important;color:var(--yt-text)!important;box-shadow:none!important}
.ytapp .py-empty,.ytapp .yt-playlists-empty,.ytapp .yt-system-playlist-empty,.ytapp .py-studio-empty{background:transparent!important;border:0!important;border-radius:0!important}

/* Channel surface. */
.ytapp .yt-channel-hero{box-shadow:none!important}
.ytapp .yt-channel-banner,.ytapp .yt-channel-profile-row{background:var(--yt-bg)!important}
.ytapp .yt-channel-avatar{box-shadow:none!important}
.ytapp .yt-channel-tab{background:transparent!important;color:var(--yt-text-2)!important}
.ytapp .yt-channel-tab:hover{background:transparent!important;color:var(--yt-text)!important}
.ytapp .yt-channel-tab.is-active{color:var(--yt-text)!important}
.ytapp .yt-channel-tab.is-active::after{background:var(--yt-text)!important;height:2px!important;box-shadow:none!important}
.ytapp .yt-channel-subscribe,.ytapp .yt-watch-subscribe{background:var(--yt-text)!important;color:var(--yt-bg)!important;border:0!important;box-shadow:none!important;transform:none!important}
.ytapp .yt-channel-subscribe:hover,.ytapp .yt-watch-subscribe:hover{box-shadow:none!important;transform:none!important;filter:none!important}
.ytapp .yt-channel-subscribe.is-active,.ytapp .yt-watch-subscribe.is-active{background:var(--yt-chip)!important;color:var(--yt-text)!important}

/* Watch page: neutral gray action pills, no colored outlines. */
.ytapp--watch .yt-watch-player{box-shadow:none!important}
.ytapp--watch .yt-watch-action,.ytapp--watch .yt-watch-vote,.ytapp--watch .yt-watch-action--more{background:var(--yt-chip)!important;color:var(--yt-text)!important;border:0!important;box-shadow:none!important;transform:none!important}
.ytapp--watch .yt-watch-action:hover,.ytapp--watch .yt-watch-action--more:hover{background:var(--yt-chip-hover)!important;color:var(--yt-text)!important;border:0!important;box-shadow:none!important;transform:none!important}
.ytapp--watch .yt-watch-action i,.ytapp--watch .yt-watch-vote i,.ytapp--watch .yt-watch-action--more i{font-size:19px!important}
.ytapp--watch .yt-watch-desc{background:var(--yt-chip)!important;border:0!important;box-shadow:none!important}
.ytapp--watch .yt-cmtbox__input:focus{border-color:var(--yt-text)!important;box-shadow:none!important}
.ytapp--watch .yt-comment{border-radius:0!important}
.ytapp--watch .yt-comment:hover{background:transparent!important}
.ytapp--watch .yt-watch-related__item:hover{background:transparent!important;transform:none!important}

/* Library / playlists / studio: flat surfaces. */
.ytapp .yt-system-playlist-hero,.ytapp .yt-playlist-createbar,.ytapp .py-studio-banner,.ytapp .py-studio-stat-card,.ytapp .py-studio-table-wrap{background:var(--yt-bg)!important;border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important}
.ytapp .yt-system-playlist-item{border-radius:0!important;transform:none!important}
.ytapp .yt-system-playlist-item:hover{background:var(--yt-hover)!important;transform:none!important}
.ytapp .py-studio-stat-card:hover{box-shadow:none!important;transform:none!important}
.ytapp .py-studio-stat-card__icon{background:transparent!important;color:var(--yt-text)!important;font-size:22px!important}
.ytapp .py-studio-table thead th{background:var(--yt-chip)!important;color:var(--yt-text)!important}
.ytapp .py-studio-table tbody tr:hover{background:var(--yt-hover)!important}
.ytapp .py-studio-iconbtn{background:transparent!important;border:0!important;border-radius:0!important;color:var(--yt-text)!important;box-shadow:none!important}
.ytapp .py-studio-iconbtn:hover{background:transparent!important;color:var(--yt-text)!important;transform:none!important}
.ytapp .py-studio-iconbtn i{font-size:18px!important}

/* Generic dialogs: neutral header, no decorative gradient. */
.ytapp .yt-home-modal__dialog,.ytapp .yt-watch-report-dialog,.ytapp .yt-system-save-modal__dialog,.ytapp .yt-channel-info-dialog,.ytapp .yt-ai-panel{background:var(--yt-bg)!important;border:1px solid var(--yt-border)!important;box-shadow:var(--pek-shadow-lg)!important}
.ytapp .yt-home-modal__head,.ytapp .yt-system-save-modal__head,.ytapp .yt-watch-report-dialog__head,.ytapp .yt-channel-info-dialog>header,.ytapp .yt-ai-panel__head{background:transparent!important;border-bottom-color:var(--yt-border)!important}
.ytapp .yt-home-modal__head button,.ytapp .yt-system-save-modal__close,.ytapp .yt-watch-report-dialog__head button,.ytapp .yt-channel-info-dialog>header button,.ytapp .yt-ai-panel__close{background:transparent!important;color:var(--yt-text)!important;box-shadow:none!important;transform:none!important}
.ytapp .yt-home-modal__head button:hover,.ytapp .yt-system-save-modal__close:hover,.ytapp .yt-watch-report-dialog__head button:hover,.ytapp .yt-channel-info-dialog>header button:hover,.ytapp .yt-ai-panel__close:hover{background:var(--yt-hover)!important;color:var(--yt-text)!important;transform:none!important}
.ytapp .yt-home-report-dialog textarea:focus{border-color:var(--yt-text)!important;box-shadow:none!important}
.ytapp .yt-home-report-actions .is-primary,.ytapp .yt-watch-report-submit,.ytapp .yt-cmtbox__send,.ytapp .py-btn:not(.py-btn-soft){background:var(--yt-text)!important;color:var(--yt-bg)!important;border:0!important;box-shadow:none!important}
.ytapp button:focus-visible,.ytapp a:focus-visible,.ytapp input:focus-visible,.ytapp textarea:focus-visible,.ytapp select:focus-visible{outline:2px solid var(--yt-text)!important;outline-offset:2px!important}

/* Shorts interaction rail: large bare icons, no colored circles/rings. */
.ytapp--shorts .pekvid-shortaction{color:var(--yt-text)!important}
.ytapp--shorts .pekvid-shortaction>span{
  width:46px!important;height:44px!important;
  border:0!important;border-radius:0!important;
  background:transparent!important;color:var(--yt-text)!important;
  box-shadow:none!important;font-size:24px!important;
  transition:transform .12s ease,color .12s ease!important;
}
.ytapp--shorts .pekvid-shortaction>span i{font-size:24px!important;filter:none!important}
.ytapp--shorts .pekvid-shortaction>small{color:var(--yt-text)!important;font-size:11px!important;font-weight:600!important}
.ytapp--shorts .pekvid-shortaction:hover>span{background:transparent!important;border:0!important;box-shadow:none!important;color:var(--yt-text)!important;transform:scale(1.10)!important}
.ytapp--shorts .pekvid-shortaction:hover>small{color:var(--yt-text)!important}
.ytapp--shorts .pekvid-shortaction.is-active>span,.ytapp--shorts .pekvid-shortaction[aria-pressed="true"]>span{background:transparent!important;border:0!important;color:var(--yt-text)!important;box-shadow:none!important}
.ytapp--shorts .pekvid-shortaction:active>span{transform:scale(.92)!important}

/* Player controls stay functional but monochrome; red progress remains. */
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortplayer-controls button{background:rgba(0,0,0,.62)!important;color:#fff!important;border:0!important;box-shadow:none!important}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortplayer-controls button:hover{background:rgba(0,0,0,.82)!important;color:#fff!important;border:0!important;box-shadow:none!important}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortplayer-controls button.is-active{background:#fff!important;color:#0f0f0f!important}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortplayer-progress__played,.ytapp--shorts .pekvid-shortprogress span{background:#ff0033!important;box-shadow:none!important}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortplayer-progress__thumb{background:#ff0033!important;box-shadow:none!important}

/* Up/down controls: neutral YouTube gray, no outline/color effects. */
.yt-shorts-desktop-nav button{background:var(--yt-chip)!important;color:var(--yt-text)!important;border:0!important;box-shadow:none!important}
.yt-shorts-desktop-nav button:hover{background:var(--yt-chip-hover)!important;color:var(--yt-text)!important;border:0!important;box-shadow:none!important;transform:none!important}
.yt-shorts-desktop-nav button:focus-visible{outline:2px solid var(--yt-text)!important}

/* Shorts comments: flat black/white panel. */
.ytapp--shorts .pekvid-short-comments-sheet>.pekvid-modal-sheet__panel{background:var(--yt-bg)!important;border:1px solid var(--yt-border)!important;border-radius:12px!important;box-shadow:none!important}
.ytapp--shorts .pekvid-short-comments__head{background:var(--yt-bg)!important;border-bottom:1px solid var(--yt-border)!important;box-shadow:none!important}
.ytapp--shorts .pekvid-short-comments__tabicon{width:auto!important;height:auto!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--yt-text)!important;box-shadow:none!important;font-size:18px!important}
.ytapp--shorts .pekvid-short-comments__tabs strong{color:var(--yt-text)!important}
.ytapp--shorts .pekvid-short-comments__tabs strong.is-active::after{background:var(--yt-text)!important;height:2px!important;box-shadow:none!important}
.ytapp--shorts .pekvid-short-comments__head>button{width:36px!important;height:36px!important;background:transparent!important;border:0!important;border-radius:0!important;color:var(--yt-text)!important;font-size:20px!important;box-shadow:none!important;transform:none!important}
.ytapp--shorts .pekvid-short-comments__head>button:hover{background:transparent!important;color:var(--yt-text)!important;border:0!important;transform:none!important}
.ytapp--shorts .pekvid-short-comments__count{background:var(--yt-bg)!important;color:var(--yt-text-2)!important;border-bottom:1px solid var(--yt-border)!important}
.ytapp--shorts .pekvid-short-comments__count b{color:var(--yt-text)!important}
.ytapp--shorts .pekvid-short-comments__body{background:var(--yt-bg)!important;scrollbar-color:#a8a8a8 transparent!important}
.ytapp--shorts .pekvid-short-comments__body::-webkit-scrollbar-thumb{background:#a8a8a8!important;box-shadow:none!important}
.ytapp--shorts .pekvid-short-comment-thread{border-bottom:1px solid var(--yt-border)!important;border-radius:0!important;background:transparent!important}
.ytapp--shorts .pekvid-short-comment-thread:hover{background:transparent!important}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment{background:transparent!important;border-radius:0!important;box-shadow:none!important}
.ytapp--shorts .pekvid-short-comments-sheet .yt-avatar-lg{border:0!important;box-shadow:none!important;background:var(--yt-chip)!important}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__creator{padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--yt-text-2)!important}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__source{box-shadow:none!important}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__source.is-youtube{background:#ff0000!important}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__source.is-tiktok{background:#111!important;box-shadow:none!important}

/* Comment actions: large clean glyphs/text, absolutely no icon capsules. */
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions{gap:7px!important;margin-top:2px!important}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions>button,.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__moderate>button{
  min-width:30px!important;height:31px!important;min-height:31px!important;
  padding:0 3px!important;border:0!important;border-radius:0!important;
  background:transparent!important;color:var(--yt-text-2)!important;
  box-shadow:none!important;transform:none!important;font-size:11px!important;font-weight:600!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions>button i,.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__moderate>button i{
  width:auto!important;height:auto!important;display:inline-block!important;
  border:0!important;border-radius:0!important;background:transparent!important;
  color:var(--yt-text)!important;box-shadow:none!important;font-size:17px!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions>button:hover,.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__moderate>button:hover{background:transparent!important;border:0!important;color:var(--yt-text)!important;box-shadow:none!important;transform:none!important}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react:not(.yt-comment__react--dislike).is-active,.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react:not(.yt-comment__react--dislike):hover,.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react--dislike:hover{background:transparent!important;border:0!important;color:var(--yt-text)!important}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__reply,.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__reply:hover{background:transparent!important;border:0!important;color:var(--yt-text)!important;box-shadow:none!important}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__reply i{color:var(--yt-text)!important;font-size:17px!important}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__moderate>button,.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__moderate>button i{color:var(--yt-text-2)!important}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__moderate>button.danger:hover,.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__moderate>button.danger:hover i{background:transparent!important;color:var(--yt-text)!important;border:0!important}
.ytapp--shorts .pekvid-short-replies-toggle{background:transparent!important;color:var(--yt-text)!important;border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important}
.ytapp--shorts .pekvid-short-replies-toggle::before{background:var(--yt-border)!important}
.ytapp--shorts .pekvid-short-replies-toggle:hover{background:transparent!important;color:var(--yt-text)!important;transform:none!important}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment.is-reply::after{background:var(--yt-border)!important;border-radius:0!important}

/* Loading / composer: neutral gray. */
.ytapp--shorts .pekvid-short-comments__loading span{background:var(--yt-text-2)!important;box-shadow:none!important}
.ytapp--shorts .pekvid-short-comment-form{background:var(--yt-bg)!important;border-top:1px solid var(--yt-border)!important;box-shadow:none!important}
.ytapp--shorts .pekvid-short-comment-form textarea{background:transparent!important;color:var(--yt-text)!important;border:0!important;border-bottom:1px solid var(--yt-border)!important;border-radius:0!important;box-shadow:none!important}
.ytapp--shorts .pekvid-short-comment-form textarea:focus{border-bottom-color:var(--yt-text)!important;box-shadow:none!important}
.ytapp--shorts .pekvid-short-comment-form>button{width:38px!important;height:38px!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--yt-text)!important;box-shadow:none!important;transform:none!important;font-size:20px!important}
.ytapp--shorts .pekvid-short-comment-form>button i{font-size:20px!important}
.ytapp--shorts .pekvid-short-comment-form>button:hover{background:transparent!important;color:var(--yt-text)!important;box-shadow:none!important;transform:scale(1.08)!important;filter:none!important}
.ytapp--shorts .pekvid-short-comment-login{background:transparent!important;border:0!important;border-radius:0!important}
.ytapp--shorts .pekvid-short-comment-login i{color:var(--yt-text)!important}

/* Keep the subscribe/meta surface neutral in Shorts too. */
.ytapp--shorts .pekvid-shortmeta__avatar{box-shadow:none!important;border:0!important}
.ytapp--shorts .pekvid-shortmeta__subscribe{background:var(--yt-text)!important;color:var(--yt-bg)!important;border:0!important;box-shadow:none!important;transform:none!important;filter:none!important}
.ytapp--shorts .pekvid-shortmeta__subscribe:hover{box-shadow:none!important;transform:none!important;filter:none!important}
.ytapp--shorts .pekvid-shortmeta__subscribe.is-active{background:var(--yt-chip)!important;color:var(--yt-text)!important;box-shadow:none!important}

/* Light theme hard-neutralization for old colored overrides. */
.ytapp[data-theme="light"] .yt-chip.is-active,.ytapp[data-theme="light"] .py-chip.is-active,.ytapp[data-theme="light"] .yt-chip[aria-selected="true"]{background:#0f0f0f!important;color:#fff!important}
.ytapp[data-theme="light"] .yt-sb__item.is-active{background:#f2f2f2!important;color:#0f0f0f!important}
.ytapp[data-theme="light"] .yt-channel-tab.is-active::after{background:#0f0f0f!important}
.ytapp[data-theme="light"] .yt-channel-subscribe,.ytapp[data-theme="light"] .yt-watch-subscribe,.ytapp[data-theme="light"] .yt-home-report-actions .is-primary,.ytapp[data-theme="light"] .yt-watch-report-submit,.ytapp[data-theme="light"] .yt-cmtbox__send,.ytapp[data-theme="light"] .py-btn:not(.py-btn-soft){background:#0f0f0f!important;color:#fff!important}
.ytapp[data-theme="dark"] .yt-channel-subscribe,.ytapp[data-theme="dark"] .yt-watch-subscribe,.ytapp[data-theme="dark"] .yt-home-report-actions .is-primary,.ytapp[data-theme="dark"] .yt-watch-report-submit,.ytapp[data-theme="dark"] .yt-cmtbox__send,.ytapp[data-theme="dark"] .py-btn:not(.py-btn-soft){background:#f1f1f1!important;color:#0f0f0f!important}

/* Generic comment/action icons outside Shorts follow the same bare-icon rule. */
.ytapp:not(.ytapp--shorts) .yt-comment__actions>button,.ytapp:not(.ytapp--shorts) .yt-comment-action{
  background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:var(--yt-text-2)!important;transform:none!important
}
.ytapp:not(.ytapp--shorts) .yt-comment__actions>button:hover,.ytapp:not(.ytapp--shorts) .yt-comment-action:hover{background:transparent!important;color:var(--yt-text)!important;transform:none!important}
.ytapp:not(.ytapp--shorts) .yt-comment__actions svg{width:18px!important;height:18px!important}
.ytapp:not(.ytapp--shorts) .yt-comment__actions i{font-size:17px!important}

/* ========================================================================
   PEKEDU-Youtobe 2.3.32 — comment readability refinement.
   Slightly larger Shorts comment typography; heart stays red.
   ======================================================================== */
.ytapp--shorts .pekvid-short-comments__tabs strong{font-size:14.5px!important}
.ytapp--shorts .pekvid-short-comments__count{font-size:12.5px!important}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__name{font-size:13.5px!important;line-height:1.35!important}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__time{font-size:11.5px!important;line-height:1.35!important}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__text{font-size:14.25px!important;line-height:1.52!important;margin-top:5px!important;margin-bottom:7px!important}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions>button,
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__moderate>button{font-size:12px!important}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions>button i,
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__moderate>button i{font-size:18px!important}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react>span{font-size:11.5px!important}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react:not(.yt-comment__react--dislike),
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react:not(.yt-comment__react--dislike) i,
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react:not(.yt-comment__react--dislike).is-active,
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react:not(.yt-comment__react--dislike).is-active i{color:#ff0000!important}
.ytapp--shorts .pekvid-short-comment-form textarea{font-size:13.5px!important;line-height:1.45!important}



/* ========================================================================
   PEKEDU-Youtobe 2.3.33 — logo restoration + stable desktop comments layout.
   Restore the PEKEDU Video wordmark, keep light/dark colors correct, and make
   the desktop Shorts comments drawer flatter and less intrusive without hiding
   metadata. The video keeps one stable size; only the drawer slides in.
   ======================================================================== */
.ytapp .yt-logo{gap:8px!important;padding:0!important}
.ytapp .yt-logo__mark{
  width:28px!important;
  height:20px!important;
  border-radius:6px!important;
  background:#25b75c!important;
  color:#fff!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-shadow:none!important;
}
.ytapp .yt-logo__mark i{font-size:13px!important;line-height:1!important}
.ytapp .yt-logo__text,
.ytapp .yt-logo__text b{
  color:#111!important;
  font-weight:800!important;
  letter-spacing:-.03em!important;
}
.ytapp .yt-logo__sup{
  display:inline-block!important;
  margin-left:2px!important;
  font-size:12px!important;
  font-weight:600!important;
  color:#d10000!important;
  vertical-align:baseline!important;
}
.ytapp[data-theme="dark"] .yt-logo__text,
.ytapp[data-theme="dark"] .yt-logo__text b,
.ytapp[data-theme="dark"] .yt-logo__sup{color:#fff!important}

@media (min-width:1180px){
  .ytapp--shorts .pekvid-short-comments-sheet>.pekvid-modal-sheet__panel{
    border-radius:10px!important;
    background:var(--yt-bg)!important;
  }
  .ytapp--shorts.is-comments-panel-open .pekvid-shortmeta{
    right:calc(100% + 18px)!important;
    width:clamp(190px,15vw,260px)!important;
  }
  .ytapp--shorts.is-comments-panel-open .pekvid-shortmeta__title strong{
    font-size:15px!important;
    -webkit-line-clamp:2!important;
  }
  .ytapp--shorts.is-comments-panel-open .pekvid-shortmeta__name{
    max-width:calc(100% - 106px)!important;
  }
  .ytapp--shorts.is-comments-panel-open .pekvid-shortactions{
    right:-74px!important;
  }
}


/* ========================================================================
   PEKEDU-Youtobe 2.3.34 — tighter comments gap + fuller title + refined logo.
   Reduce the empty lane between action icons and the comments drawer, keep the
   Shorts title/channel block readable when comments are open, and refine the
   header wordmark proportions.
   ======================================================================== */
.ytapp .yt-logo{gap:6px!important;padding:0!important;align-items:center!important}
.ytapp .yt-logo__mark{
  width:30px!important;
  height:22px!important;
  border-radius:7px!important;
}
.ytapp .yt-logo__mark i{font-size:14px!important}
.ytapp .yt-logo__text,
.ytapp .yt-logo__text b{
  font-size:22px!important;
  line-height:1!important;
}
.ytapp .yt-logo__sup{
  margin-left:1px!important;
  font-size:11px!important;
  line-height:1!important;
  position:relative!important;
  top:1px!important;
}

@media (min-width:1180px){
  .ytapp--shorts.is-comments-panel-open .pekvid-shortmeta{
    right:calc(100% + 10px)!important;
    width:clamp(240px,18vw,340px)!important;
  }
  .ytapp--shorts.is-comments-panel-open .pekvid-shortmeta__title strong{
    font-size:16px!important;
    line-height:1.34!important;
    -webkit-line-clamp:3!important;
  }
  .ytapp--shorts.is-comments-panel-open .pekvid-shortmeta__title{
    max-width:100%!important;
  }
  .ytapp--shorts.is-comments-panel-open .pekvid-shortmeta__channel{
    gap:8px!important;
  }
  .ytapp--shorts.is-comments-panel-open .pekvid-shortmeta__name{
    max-width:calc(100% - 112px)!important;
  }
  .ytapp--shorts.is-comments-panel-open .pekvid-shortactions{
    right:-78px!important;
  }
}


/* ========================================================================
   PEKEDU-Youtobe 2.3.35 — restore header wordmark proportions.
   Bring the logo mark back to its original square proportion and place the
   word "Video" as a true superscript beside PEKEDU.
   ======================================================================== */
.ytapp .yt-logo{
  gap:4px!important;
  padding:0 4px!important;
  align-items:center!important;
}
.ytapp .yt-logo__mark{
  width:28px!important;
  height:28px!important;
  border-radius:7px!important;
  background:transparent!important;
  box-shadow:none!important;
}
.ytapp .yt-logo__mark i,
.ytapp .yt-logo__mark svg,
.ytapp .yt-logo__mark img{
  width:100%!important;
  height:100%!important;
}
.ytapp .yt-logo__text,
.ytapp .yt-logo__text b{
  font-size:20px!important;
  line-height:1!important;
  font-weight:700!important;
  letter-spacing:-1px!important;
  color:#111!important;
}
.ytapp .yt-logo__sup{
  display:inline!important;
  position:static!important;
  top:auto!important;
  margin-left:2px!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:600!important;
  color:#d10000!important;
  vertical-align:super!important;
}
.ytapp[data-theme="dark"] .yt-logo__text,
.ytapp[data-theme="dark"] .yt-logo__text b{
  color:#fff!important;
}
.ytapp[data-theme="dark"] .yt-logo__sup{
  color:#fff!important;
}



/* ========================================================================
   PEKEDU-Youtobe 2.3.36 — use the supplied PEKEDU Video icon.
   Keep the mark square at its native proportion; never stretch it. The word
   "Video" remains a small superscript immediately after PEKEDU.
   ======================================================================== */
.ytapp .yt-logo{
  gap:5px!important;
  padding:0 4px!important;
  align-items:center!important;
}
.ytapp .yt-logo__mark{
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
  flex:0 0 26px!important;
  border-radius:0!important;
  overflow:visible!important;
  background-color:transparent!important;
  background-image:url('pekedu-video-icon.png')!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:contain!important;
  box-shadow:none!important;
}
.ytapp .yt-logo__mark i,
.ytapp .yt-logo__mark svg,
.ytapp .yt-logo__mark img{display:none!important}
.ytapp .yt-logo__text,
.ytapp .yt-logo__text b{
  font-size:20px!important;
  line-height:1!important;
  font-weight:700!important;
  letter-spacing:-1px!important;
  color:#111!important;
}
.ytapp .yt-logo__sup{
  display:inline!important;
  position:relative!important;
  top:-5px!important;
  margin-left:0!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:600!important;
  color:#d10000!important;
  vertical-align:baseline!important;
}
.ytapp[data-theme="dark"] .yt-logo__text,
.ytapp[data-theme="dark"] .yt-logo__text b,
.ytapp[data-theme="dark"] .yt-logo__sup{color:#fff!important}



/* ========================================================================
   PEKEDU-Youtobe 2.3.37 — simplify comment source + theme-aware heart color.
   Hide provider/source icons in comments, and keep heart black/white by theme,
   only turning red when the comment has likes or the current user liked it.
   ======================================================================== */
.yt-comment__source{display:none!important}
.yt-comment__react--like,
.yt-comment__react--like i,
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react--like,
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react--like i{
  color:var(--yt-text)!important;
}
.ytapp[data-theme="dark"] .yt-comment__react--like,
.ytapp[data-theme="dark"] .yt-comment__react--like i,
.ytapp[data-theme="dark"] .ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react--like,
.ytapp[data-theme="dark"] .ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react--like i{
  color:#fff!important;
}
.yt-comment__react--like.has-count,
.yt-comment__react--like.has-count i,
.yt-comment__react--like.has-count>span,
.yt-comment__react--like.is-active,
.yt-comment__react--like.is-active i,
.yt-comment__react--like.is-active>span,
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react--like.has-count,
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react--like.has-count i,
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react--like.has-count>span,
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react--like.is-active,
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react--like.is-active i,
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react--like.is-active>span{
  color:#ff0000!important;
}



/* ========================================================================
   PEKEDU-Youtobe 2.3.43 — SAFE UI PATCH rebased directly from v2.3.37.
   CSS-only: do not touch shorts.js/player/sync logic.
   ======================================================================== */

/* 1) Reduce visual clutter: keep only useful separators. */
.ytapp--shorts .yt-sidebar .yt-sb__block,
.ytapp--shorts .yt-sidebar .yt-sb__section,
.ytapp--shorts .yt-sidebar .yt-sb__group{
  border-color:rgba(127,127,127,.13)!important;
}
.ytapp--shorts .pekvid-short-comments__body{
  padding:8px 10px 12px!important;
}
.ytapp--shorts .pekvid-short-comment-thread{
  border-bottom:0!important;
  margin:0!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment{
  border:0!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment + .yt-comment{
  border-top:1px solid rgba(127,127,127,.10)!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment.is-reply + .yt-comment.is-reply{
  border-top:0!important;
}

/* 2) Keep title/channel metadata visible outside the video on desktop.
      This also fixes clipping after the left sidebar is hidden. */
@media (min-width:1180px){
  .ytapp--shorts .pekvid-shortslide{
    overflow:visible!important;
  }
  .ytapp--shorts .pekvid-shortstage{
    overflow:visible!important;
  }
  .ytapp--shorts .pekvid-shortmeta{
    z-index:45!important;
    left:auto!important;
    right:calc(100% + 22px)!important;
    bottom:14px!important;
    width:clamp(230px,18vw,320px)!important;
    color:var(--yt-text)!important;
    text-shadow:none!important;
  }
  .ytapp--shorts .pekvid-shortmeta__title{
    color:var(--yt-text)!important;
    text-shadow:none!important;
    max-width:100%!important;
  }
  .ytapp--shorts .pekvid-shortmeta__title strong{
    font-size:16px!important;
    line-height:1.36!important;
    -webkit-line-clamp:3!important;
  }
  .ytapp--shorts .pekvid-shortmeta__title span{display:none!important}
  .ytapp--shorts .pekvid-shortmeta__name{
    color:var(--yt-text)!important;
    max-width:calc(100% - 112px)!important;
  }
  .ytapp--shorts .pekvid-shortmeta__channel{
    gap:8px!important;
    margin-bottom:8px!important;
  }
  body.is-sidebar-hidden .ytapp--shorts .pekvid-shortmeta,
  #ytapp.is-sidebar-hidden.ytapp--shorts .pekvid-shortmeta,
  .ytapp--shorts.is-sidebar-hidden .pekvid-shortmeta{
    right:calc(100% + 20px)!important;
    width:clamp(250px,20vw,350px)!important;
  }
}

/* 3) Move the interaction rail upward so it aligns with the video body. */
@media (min-width:761px){
  .ytapp--shorts .pekvid-shortactions,
  .ytapp--shorts.is-comments-panel-open .pekvid-shortactions{
    left:calc(100% + 16px)!important;
    right:auto!important;
    top:50%!important;
    bottom:auto!important;
    transform:translateY(-50%)!important;
    width:70px!important;
    gap:9px!important;
    z-index:46!important;
  }
  .ytapp--shorts .pekvid-shortaction{
    width:70px!important;
    min-height:54px!important;
    gap:4px!important;
  }
  .ytapp--shorts .pekvid-shortaction>small{
    max-width:70px!important;
    font-size:11px!important;
    font-weight:500!important;
    line-height:1.25!important;
    color:var(--yt-text)!important;
  }
}

/* 4) YouTube-like light outline action icons. No markup/JS changes required. */
@media (min-width:761px){
  .ytapp--shorts .pekvid-shortaction>span{
    position:relative!important;
    width:44px!important;
    height:44px!important;
    display:grid!important;
    place-items:center!important;
    border:1px solid rgba(127,127,127,.34)!important;
    border-radius:50%!important;
    background:transparent!important;
    box-shadow:none!important;
    color:var(--yt-text)!important;
  }
  .ytapp--shorts .pekvid-shortaction>span>i{
    display:none!important;
  }
  .ytapp--shorts .pekvid-shortaction>span::before{
    font-family:FontAwesome!important;
    font-size:20px!important;
    line-height:1!important;
    font-weight:normal!important;
    color:inherit!important;
  }
  .ytapp--shorts [data-short-action="liked"]>span::before{content:"\f087"}   /* thumbs-o-up */
  .ytapp--shorts [data-short-action="disliked"]>span::before{content:"\f088"} /* thumbs-o-down */
  .ytapp--shorts [data-short-comments-open]>span::before{content:"\f0e5"}      /* comment-o */
  .ytapp--shorts [data-short-share]>span::before{content:"\f1e0"}              /* share-alt */
  .ytapp--shorts [data-short-save-open]>span::before{content:"\f097"}          /* bookmark-o */
  .ytapp--shorts [data-short-more-open]>span::before{content:"\f141"}          /* ellipsis-h */
  .ytapp--shorts [data-short-sound]>span::before{content:"\f028"}              /* volume-up */

  .ytapp--shorts .pekvid-shortaction:hover>span{
    background:var(--yt-hover)!important;
    border-color:rgba(127,127,127,.50)!important;
  }
  .ytapp--shorts .pekvid-shortaction.is-active>span{
    background:var(--yt-hover)!important;
    color:var(--yt-text)!important;
    border-color:rgba(127,127,127,.54)!important;
  }
  .ytapp[data-theme="dark"].ytapp--shorts .pekvid-shortaction>span,
  .ytapp[data-theme="dark"] .ytapp--shorts .pekvid-shortaction>span{
    border-color:rgba(255,255,255,.28)!important;
  }
  .ytapp[data-theme="light"].ytapp--shorts .pekvid-shortaction>span,
  .ytapp[data-theme="light"] .ytapp--shorts .pekvid-shortaction>span{
    border-color:rgba(15,15,15,.22)!important;
  }
}

/* 5) Keep the comments drawer flat, close to YouTube. */
@media (min-width:1180px){
  .ytapp--shorts .pekvid-short-comments-sheet>.pekvid-modal-sheet__panel{
    box-shadow:none!important;
    border-radius:14px!important;
    background:var(--yt-bg)!important;
  }
}


/* ========================================================================
   PEKEDU-Youtobe 2.3.45 — COMMENTS + SIDEBAR TITLE ONLY, based on v2.3.43.
   Keep the existing v2.3.43 Shorts interaction icon styling untouched.
   ======================================================================== */

/* YouTube-like comments panel: one header row, scrolling comments, fixed composer. */
.ytapp--shorts .pekvid-short-comments-sheet>.pekvid-modal-sheet__panel{
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  background:var(--yt-bg)!important;
  box-shadow:none!important;
}
.ytapp--shorts .pekvid-short-comments__head{
  flex:0 0 auto!important;
  min-height:56px!important;
  height:auto!important;
  padding:0 14px 0 16px!important;
  background:var(--yt-bg)!important;
  border-bottom:1px solid var(--yt-border)!important;
}
.ytapp--shorts .pekvid-short-comments__title{
  display:flex!important;
  align-items:baseline!important;
  gap:8px!important;
  min-width:0!important;
}
.ytapp--shorts .pekvid-short-comments__title strong{
  font-size:18px!important;
  line-height:1.2!important;
  font-weight:700!important;
  color:var(--yt-text)!important;
}
.ytapp--shorts .pekvid-short-comments__title span,
.ytapp--shorts .pekvid-short-comments__title b{
  font-size:13px!important;
  font-weight:400!important;
  color:var(--yt-text-2)!important;
}
.ytapp--shorts .pekvid-short-comments__head>button{
  width:36px!important;height:36px!important;border-radius:50%!important;
  color:var(--yt-text)!important;background:transparent!important;
}
.ytapp--shorts .pekvid-short-comments__head>button:hover{background:var(--yt-hover)!important}
.ytapp--shorts .pekvid-short-comments__head>button i{font-size:20px!important}
.ytapp--shorts .pekvid-short-comments__count{display:none!important}
.ytapp--shorts .pekvid-short-comments__body{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:6px 14px 12px!important;
  background:var(--yt-bg)!important;
  overscroll-behavior:contain!important;
}
.ytapp--shorts [data-short-comments-empty][hidden],
.ytapp--shorts [data-short-comments-loading][hidden],
.ytapp--shorts [data-cm-menu][hidden],
.ytapp--shorts [data-short-comment-report][hidden]{display:none!important}
.ytapp--shorts .pekvid-short-comments__empty{
  min-height:160px!important;
  display:flex;
  align-items:center!important;
  justify-content:center!important;
  padding:24px!important;
  color:var(--yt-text-2)!important;
  font-size:14px!important;
}
.ytapp--shorts .pekvid-short-comment-thread{
  position:relative!important;
  margin:0!important;
  border:0!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment{
  position:relative!important;
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr)!important;
  gap:10px!important;
  margin:0!important;
  padding:12px 30px 12px 0!important;
  border:0!important;
  background:transparent!important;
  border-radius:0!important;
  color:var(--yt-text)!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment>.yt-avatar-lg{
  width:36px!important;height:36px!important;flex-basis:36px!important;
  border-radius:50%!important;box-shadow:none!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__head{
  display:flex!important;align-items:center!important;gap:6px!important;
  min-width:0!important;margin:0 0 3px!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__name{
  max-width:70%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  font-size:13px!important;font-weight:600!important;color:var(--yt-text)!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__time{
  font-size:11.5px!important;color:var(--yt-text-2)!important;opacity:1!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__text{
  margin:0 0 8px!important;
  font-size:14px!important;line-height:1.42!important;
  white-space:pre-wrap!important;overflow-wrap:anywhere!important;color:var(--yt-text)!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions{
  display:flex!important;align-items:center!important;flex-wrap:wrap!important;
  gap:12px!important;margin:0!important;color:var(--yt-text-2)!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions>button{
  min-width:0!important;height:auto!important;padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;color:var(--yt-text-2)!important;box-shadow:none!important;
  font-size:12px!important;gap:5px!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions>button:hover{background:transparent!important;color:var(--yt-text)!important}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions>button i{font-size:17px!important}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__reply{font-weight:600!important;color:var(--yt-text)!important}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment.is-reply{padding-left:26px!important}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment.is-reply::before,
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment.is-reply::after{display:none!important}
.ytapp--shorts .pekvid-short-replies-toggle{
  margin:0 0 8px 48px!important;
  height:auto!important;padding:4px 0!important;border:0!important;border-radius:0!important;
  background:transparent!important;color:var(--yt-text)!important;font-size:12px!important;font-weight:600!important;
}
.ytapp--shorts .pekvid-short-replies-toggle::before{display:none!important}
.ytapp--shorts .pekvid-short-replies-toggle:hover{background:transparent!important;color:var(--yt-text)!important}

/* Three-dot menu for each comment. */
.ytapp--shorts .yt-comment__more{
  position:absolute!important;right:0!important;top:8px!important;z-index:12!important;
}
.ytapp--shorts .yt-comment__more>[data-cm-menu-toggle]{
  width:30px!important;height:30px!important;border:0!important;border-radius:50%!important;
  display:grid!important;place-items:center!important;background:transparent!important;color:var(--yt-text)!important;
  cursor:pointer!important;
}
.ytapp--shorts .yt-comment__more>[data-cm-menu-toggle]:hover{background:var(--yt-hover)!important}
.ytapp--shorts .yt-comment__more>[data-cm-menu-toggle] i{font-size:18px!important}
.ytapp--shorts .yt-comment__menu{
  position:absolute!important;right:0!important;top:34px!important;z-index:30!important;
  min-width:190px!important;padding:6px 0!important;border:1px solid var(--yt-border)!important;border-radius:12px!important;
  background:var(--yt-elevated)!important;color:var(--yt-text)!important;
  box-shadow:0 8px 28px rgba(0,0,0,.18)!important;
}
.ytapp--shorts .yt-comment__menu>button{
  width:100%!important;min-height:42px!important;border:0!important;border-radius:0!important;
  display:flex!important;align-items:center!important;gap:12px!important;padding:0 14px!important;
  background:transparent!important;color:var(--yt-text)!important;text-align:left!important;font-size:13px!important;cursor:pointer!important;
}
.ytapp--shorts .yt-comment__menu>button:hover{background:var(--yt-hover)!important}
.ytapp--shorts .yt-comment__menu>button i{width:20px!important;text-align:center!important;font-size:17px!important}
.ytapp--shorts .yt-comment__menu>button.danger{color:#d93025!important}

/* Fixed composer at panel bottom. */
.ytapp--shorts .pekvid-short-comment-form{
  flex:0 0 auto!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) 38px!important;align-items:end!important;gap:8px!important;
  padding:10px 14px calc(10px + env(safe-area-inset-bottom))!important;
  border-top:1px solid var(--yt-border)!important;background:var(--yt-bg)!important;
}
.ytapp--shorts .pekvid-short-comment-form textarea{
  width:100%!important;min-height:38px!important;max-height:96px!important;resize:none!important;
  padding:9px 0!important;border:0!important;border-bottom:1px solid var(--yt-border)!important;border-radius:0!important;
  outline:none!important;box-shadow:none!important;background:transparent!important;color:var(--yt-text)!important;
  font-size:14px!important;line-height:1.4!important;
}
.ytapp--shorts .pekvid-short-comment-form textarea:focus,
.ytapp--shorts .pekvid-short-comment-form textarea:focus-visible{
  outline:none!important;box-shadow:none!important;border:0!important;border-bottom:1px solid var(--yt-text)!important;
}
.ytapp--shorts .pekvid-short-comment-form>button{
  width:36px!important;height:36px!important;border:0!important;border-radius:50%!important;
  background:transparent!important;color:var(--yt-text)!important;box-shadow:none!important;
}
.ytapp--shorts .pekvid-short-comment-form>button:hover{background:var(--yt-hover)!important;transform:none!important;filter:none!important}
.ytapp--shorts .pekvid-short-comment-form>button i{font-size:20px!important}

/* Real report dialog. */
.ytapp--shorts .pekvid-short-comment-report{
  position:absolute!important;inset:0!important;z-index:80!important;display:grid!important;place-items:center!important;padding:18px!important;
}
.ytapp--shorts .pekvid-short-comment-report__backdrop{
  position:absolute!important;inset:0!important;border:0!important;background:rgba(0,0,0,.48)!important;
}
.ytapp--shorts .pekvid-short-comment-report__dialog{
  position:relative!important;z-index:1!important;width:min(360px,100%)!important;max-height:90%!important;overflow:auto!important;
  padding:0 18px 18px!important;border:1px solid var(--yt-border)!important;border-radius:14px!important;
  background:var(--yt-bg)!important;color:var(--yt-text)!important;box-shadow:0 18px 50px rgba(0,0,0,.28)!important;
}
.ytapp--shorts .pekvid-short-comment-report__head{
  height:54px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;
}
.ytapp--shorts .pekvid-short-comment-report__head strong{font-size:17px!important}
.ytapp--shorts .pekvid-short-comment-report__head button{width:34px!important;height:34px!important;border:0!important;border-radius:50%!important;background:transparent!important;color:var(--yt-text)!important}
.ytapp--shorts .pekvid-short-comment-report__head button:hover{background:var(--yt-hover)!important}
.ytapp--shorts .pekvid-short-comment-report__dialog>p{margin:0 0 10px!important;color:var(--yt-text-2)!important;font-size:13px!important}
.ytapp--shorts .pekvid-short-comment-report__dialog>label{display:flex!important;align-items:center!important;gap:9px!important;padding:7px 0!important;font-size:13px!important;cursor:pointer!important}
.ytapp--shorts .pekvid-short-comment-report__dialog textarea{width:100%!important;margin-top:10px!important;padding:9px 10px!important;border:1px solid var(--yt-border)!important;border-radius:8px!important;background:transparent!important;color:var(--yt-text)!important;resize:vertical!important}
.ytapp--shorts .pekvid-short-comment-report__actions{display:flex!important;justify-content:flex-end!important;gap:8px!important;margin-top:14px!important}
.ytapp--shorts .pekvid-short-comment-report__actions button{min-height:36px!important;padding:0 14px!important;border:0!important;border-radius:18px!important;background:transparent!important;color:var(--yt-text)!important;font-weight:600!important}
.ytapp--shorts .pekvid-short-comment-report__actions button:hover{background:var(--yt-hover)!important}
.ytapp--shorts .pekvid-short-comment-report__actions .is-primary{background:var(--yt-text)!important;color:var(--yt-bg)!important}

/* Sidebar-hidden title fix: apply from normal desktop widths, not only >=1180px. */
@media (min-width:900px){
  body.is-sidebar-hidden .ytapp--shorts .pekvid-shortslide,
  #ytapp.is-sidebar-hidden.ytapp--shorts .pekvid-shortslide,
  .ytapp--shorts.is-sidebar-hidden .pekvid-shortslide,
  body.is-sidebar-hidden .ytapp--shorts .pekvid-shortstage,
  #ytapp.is-sidebar-hidden.ytapp--shorts .pekvid-shortstage,
  .ytapp--shorts.is-sidebar-hidden .pekvid-shortstage{overflow:visible!important}
  body.is-sidebar-hidden .ytapp--shorts .pekvid-shortmeta,
  #ytapp.is-sidebar-hidden.ytapp--shorts .pekvid-shortmeta,
  .ytapp--shorts.is-sidebar-hidden .pekvid-shortmeta{
    left:auto!important;right:calc(100% + 14px)!important;bottom:14px!important;
    width:clamp(190px,21vw,310px)!important;color:var(--yt-text)!important;text-shadow:none!important;
  }
  body.is-sidebar-hidden .ytapp--shorts .pekvid-shortmeta__title,
  #ytapp.is-sidebar-hidden.ytapp--shorts .pekvid-shortmeta__title,
  .ytapp--shorts.is-sidebar-hidden .pekvid-shortmeta__title{color:var(--yt-text)!important;text-shadow:none!important}
  body.is-sidebar-hidden .ytapp--shorts .pekvid-shortmeta__title strong,
  #ytapp.is-sidebar-hidden.ytapp--shorts .pekvid-shortmeta__title strong,
  .ytapp--shorts.is-sidebar-hidden .pekvid-shortmeta__title strong{
    display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:4!important;
    overflow:hidden!important;font-size:15px!important;line-height:1.35!important;
  }
  body.is-sidebar-hidden .ytapp--shorts .pekvid-shortmeta__title span,
  #ytapp.is-sidebar-hidden.ytapp--shorts .pekvid-shortmeta__title span,
  .ytapp--shorts.is-sidebar-hidden .pekvid-shortmeta__title span{display:none!important}
}


/* ========================================================================
   PEKEDU-Youtobe 2.3.46 — definitive sidebar-hidden metadata fix.
   Medium desktop must keep channel/title BELOW the Short. Moving that block
   to the left too early (2.3.45) caused the video to visually cover/clamp it.
   Only wide desktop uses the side metadata layout. Player geometry is untouched.
   ======================================================================== */

/* 900–1279px: preserve the original below-video metadata layout even when
   the left navigation is hidden. Give it enough vertical room for 3 title lines. */
@media (min-width:900px) and (max-width:1279px){
  body.is-sidebar-hidden .ytapp--shorts .pekvid-shortslide,
  #ytapp.is-sidebar-hidden.ytapp--shorts .pekvid-shortslide,
  .ytapp--shorts.is-sidebar-hidden .pekvid-shortslide,
  .ytapp--shorts .yt-main.is-sidebar-hidden .pekvid-shortslide{
    overflow:visible!important;
    padding-top:10px!important;
    padding-bottom:132px!important;
  }
  body.is-sidebar-hidden .ytapp--shorts .pekvid-shortstage,
  #ytapp.is-sidebar-hidden.ytapp--shorts .pekvid-shortstage,
  .ytapp--shorts.is-sidebar-hidden .pekvid-shortstage,
  .ytapp--shorts .yt-main.is-sidebar-hidden .pekvid-shortstage{
    overflow:visible!important;
    height:min(calc(100% - 138px),700px)!important;
    max-width:min(410px,calc((100vh - var(--yt-header-h) - 150px)*.5625))!important;
    margin-inline:auto!important;
    transform:none!important;
  }
  body.is-sidebar-hidden .ytapp--shorts .pekvid-shortmeta,
  #ytapp.is-sidebar-hidden.ytapp--shorts .pekvid-shortmeta,
  .ytapp--shorts.is-sidebar-hidden .pekvid-shortmeta,
  .ytapp--shorts .yt-main.is-sidebar-hidden .pekvid-shortmeta{
    left:0!important;
    right:0!important;
    bottom:-112px!important;
    width:100%!important;
    max-width:100%!important;
    color:var(--yt-text)!important;
    text-shadow:none!important;
    z-index:45!important;
  }
  body.is-sidebar-hidden .ytapp--shorts .pekvid-shortmeta__channel,
  #ytapp.is-sidebar-hidden.ytapp--shorts .pekvid-shortmeta__channel,
  .ytapp--shorts.is-sidebar-hidden .pekvid-shortmeta__channel,
  .ytapp--shorts .yt-main.is-sidebar-hidden .pekvid-shortmeta__channel{
    margin-bottom:6px!important;
    gap:8px!important;
  }
  body.is-sidebar-hidden .ytapp--shorts .pekvid-shortmeta__name,
  #ytapp.is-sidebar-hidden.ytapp--shorts .pekvid-shortmeta__name,
  .ytapp--shorts.is-sidebar-hidden .pekvid-shortmeta__name,
  .ytapp--shorts .yt-main.is-sidebar-hidden .pekvid-shortmeta__name{
    max-width:calc(100% - 118px)!important;
    color:var(--yt-text)!important;
  }
  body.is-sidebar-hidden .ytapp--shorts .pekvid-shortmeta__title,
  #ytapp.is-sidebar-hidden.ytapp--shorts .pekvid-shortmeta__title,
  .ytapp--shorts.is-sidebar-hidden .pekvid-shortmeta__title,
  .ytapp--shorts .yt-main.is-sidebar-hidden .pekvid-shortmeta__title{
    width:100%!important;
    max-width:100%!important;
    color:var(--yt-text)!important;
    text-shadow:none!important;
  }
  body.is-sidebar-hidden .ytapp--shorts .pekvid-shortmeta__title strong,
  #ytapp.is-sidebar-hidden.ytapp--shorts .pekvid-shortmeta__title strong,
  .ytapp--shorts.is-sidebar-hidden .pekvid-shortmeta__title strong,
  .ytapp--shorts .yt-main.is-sidebar-hidden .pekvid-shortmeta__title strong{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:3!important;
    overflow:hidden!important;
    font-size:15px!important;
    line-height:1.36!important;
  }
  body.is-sidebar-hidden .ytapp--shorts .pekvid-shortmeta__title span,
  #ytapp.is-sidebar-hidden.ytapp--shorts .pekvid-shortmeta__title span,
  .ytapp--shorts.is-sidebar-hidden .pekvid-shortmeta__title span,
  .ytapp--shorts .yt-main.is-sidebar-hidden .pekvid-shortmeta__title span{
    display:none!important;
  }
}

/* Wide desktop: side metadata is safe because there is genuinely enough room. */
@media (min-width:1280px){
  body.is-sidebar-hidden .ytapp--shorts .pekvid-shortslide,
  #ytapp.is-sidebar-hidden.ytapp--shorts .pekvid-shortslide,
  .ytapp--shorts.is-sidebar-hidden .pekvid-shortslide,
  .ytapp--shorts .yt-main.is-sidebar-hidden .pekvid-shortslide,
  body.is-sidebar-hidden .ytapp--shorts .pekvid-shortstage,
  #ytapp.is-sidebar-hidden.ytapp--shorts .pekvid-shortstage,
  .ytapp--shorts.is-sidebar-hidden .pekvid-shortstage,
  .ytapp--shorts .yt-main.is-sidebar-hidden .pekvid-shortstage{
    overflow:visible!important;
  }
  body.is-sidebar-hidden .ytapp--shorts .pekvid-shortmeta,
  #ytapp.is-sidebar-hidden.ytapp--shorts .pekvid-shortmeta,
  .ytapp--shorts.is-sidebar-hidden .pekvid-shortmeta,
  .ytapp--shorts .yt-main.is-sidebar-hidden .pekvid-shortmeta{
    left:auto!important;
    right:calc(100% + 22px)!important;
    bottom:14px!important;
    width:clamp(260px,20vw,360px)!important;
    max-width:360px!important;
    color:var(--yt-text)!important;
    text-shadow:none!important;
    z-index:45!important;
  }
  body.is-sidebar-hidden .ytapp--shorts .pekvid-shortmeta__title strong,
  #ytapp.is-sidebar-hidden.ytapp--shorts .pekvid-shortmeta__title strong,
  .ytapp--shorts.is-sidebar-hidden .pekvid-shortmeta__title strong,
  .ytapp--shorts .yt-main.is-sidebar-hidden .pekvid-shortmeta__title strong{
    -webkit-line-clamp:4!important;
    font-size:16px!important;
    line-height:1.36!important;
  }
}


/* ========================================================================
   PEKEDU-Youtobe 2.3.50 — canonical sidebar state + stable Shorts geometry.
   Sidebar collapse expands .yt-main naturally; video size stays unchanged.
   The single-player/comments layers are re-synced by JS during the 300ms move.
   ======================================================================== */
.ytapp--shorts .yt-sidebar{
  display:block!important;
}
.ytapp--shorts.is-sidebar-hidden .yt-sidebar,
body.is-sidebar-hidden .ytapp--shorts .yt-sidebar{
  display:block!important;
  transform:translateX(-100%)!important;
  opacity:0!important;
  pointer-events:none!important;
}
.ytapp--shorts .yt-main--shorts{
  transition:left 300ms cubic-bezier(.2,.8,.2,1)!important;
}
/* Do not add a second CSS translation when sidebar is already hidden. The
   expanded main surface itself provides the desired leftward re-centering. */
@media (min-width:1180px){
  .ytapp--shorts.is-sidebar-hidden.is-comments-panel-open .pekvid-shortstage{
    transform:translate3d(0,0,0)!important;
  }
}


/* 2.3.51: Left sidebar icons refined to thin monochrome YouTube-like outlines */
.yt-sb__item[class*="yt-sb__item--"] .yt-sb__icon{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;color:currentColor;flex:0 0 24px;}
.yt-sb__item[class*="yt-sb__item--"] .yt-sb__icon i{display:none!important;}
.yt-sb__item[class*="yt-sb__item--"] .yt-sb__icon::before{content:"";display:block;width:22px;height:22px;background-color:currentColor;-webkit-mask:var(--yt-sb-icon) no-repeat center / contain;mask:var(--yt-sb-icon) no-repeat center / contain;opacity:.96;}
.yt-sb__item--home{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.75 10.25 12 4.75l7.25 5.5v8a1 1 0 0 1-1 1h-4.5v-5h-3.5v5H5.75a1 1 0 0 1-1-1z' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");}
.yt-sb__item--shorts{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m13.9 3.9 4.35 2.4a1.65 1.65 0 0 1 0 2.89l-3.3 1.81 3.3 1.81a1.65 1.65 0 0 1 0 2.89l-4.35 2.4a1.65 1.65 0 0 1-2.45-1.45v-4.54H9.8v4.54a1.65 1.65 0 0 1-2.45 1.45L3 15.69a1.65 1.65 0 0 1 0-2.89l3.3-1.81L3 9.18a1.65 1.65 0 0 1 0-2.89l4.35-2.4A1.65 1.65 0 0 1 9.8 5.34v4.54h1.65V5.34a1.65 1.65 0 0 1 2.45-1.45z' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='m10.75 9.25 3.5 2.75-3.5 2.75z' fill='%23000'/%3E%3C/svg%3E");}
.yt-sb__item--cm{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m2.75 9.25 9.25-4.5 9.25 4.5-9.25 4.5zM6 11.1v4.6c0 .6 2.1 2.55 6 2.55s6-1.95 6-2.55v-4.6' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M21.25 9.25v5.25' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");}
.yt-sb__item--mychannel{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='3.25' fill='none' stroke='%23000' stroke-width='1.7'/%3E%3Cpath d='M5.25 18.5a6.75 6.75 0 0 1 13.5 0' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='12' r='8.75' fill='none' stroke='%23000' stroke-width='1.7'/%3E%3C/svg%3E");}
.yt-sb__item--history{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.75 7.25H2.9V4.4' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M4 11.75a8 8 0 1 0 2.25-5.55' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12 8.1v4.15l2.8 1.8' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");}
.yt-sb__item--playlists{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 7h9.5M5 11.75h9.5M5 16.5h9.5' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round'/%3E%3Cpath d='m17.25 10 3.25 2-3.25 2z' fill='none' stroke='%23000' stroke-width='1.75' stroke-linejoin='round'/%3E%3C/svg%3E");}
.yt-sb__item--later{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8.25' fill='none' stroke='%23000' stroke-width='1.75'/%3E%3Cpath d='M12 7.75v4.65l3 1.75' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");}
.yt-sb__item--liked{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.25 10.15V19H6.2A1.45 1.45 0 0 1 4.75 17.55V11.6A1.45 1.45 0 0 1 6.2 10.15zM9.25 10.15 12.1 4.95a1.4 1.4 0 0 1 2.62.83l-.42 4.37h3.1a1.85 1.85 0 0 1 1.82 2.21l-.84 4.85A2.2 2.2 0 0 1 16.21 19H9.25' fill='none' stroke='%23000' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");}
.yt-sb__item--hidden{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.75 12s3.1-5.25 8.25-5.25S20.25 12 20.25 12 17.15 17.25 12 17.25 3.75 12 3.75 12z' fill='none' stroke='%23000' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='2.3' fill='none' stroke='%23000' stroke-width='1.65'/%3E%3Cpath d='M4.5 19.25 19.5 4.25' fill='none' stroke='%23000' stroke-width='1.65' stroke-linecap='round'/%3E%3C/svg%3E");}
.yt-sb__item--myvideos{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='6.25' width='11.75' height='11.5' rx='1.75' fill='none' stroke='%23000' stroke-width='1.65'/%3E%3Cpath d='m15.75 10.05 4.25-2.35v8.6l-4.25-2.35z' fill='none' stroke='%23000' stroke-width='1.65' stroke-linejoin='round'/%3E%3C/svg%3E");}
.yt-sb__item--add{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5.1v8.2M8.65 8.45 12 5.1l3.35 3.35' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5.2 14.95h13.6v3.45a1.1 1.1 0 0 1-1.1 1.1H6.3a1.1 1.1 0 0 1-1.1-1.1z' fill='none' stroke='%23000' stroke-width='1.75' stroke-linejoin='round'/%3E%3C/svg%3E");}
.yt-sb__item--manage{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='2.6' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3Cpath d='M12 4.75v1.6M12 17.65v1.6M19.25 12h-1.6M6.35 12h-1.6M17.12 6.88l-1.14 1.14M8.02 15.98l-1.14 1.14M17.12 17.12l-1.14-1.14M8.02 8.02 6.88 6.88' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='12' r='6.4' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E");}
.yt-sb__item--guide{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.2 5.25h9.15A2.4 2.4 0 0 1 17.75 7.65V18.1H8.6a2.4 2.4 0 0 0-2.4 2.4z' fill='none' stroke='%23000' stroke-width='1.65' stroke-linejoin='round'/%3E%3Cpath d='M6.2 5.25A2.45 2.45 0 0 0 3.75 7.7v10.15A2.4 2.4 0 0 1 6.15 15.45h11.6' fill='none' stroke='%23000' stroke-width='1.65' stroke-linejoin='round'/%3E%3C/svg%3E");}
.yt-sb__item:hover .yt-sb__icon::before,.yt-sb__item.is-active .yt-sb__icon::before{opacity:1;}
body.yt-theme-dark .yt-sb__item[class*="yt-sb__item--"] .yt-sb__icon,body.yt-theme-dark .yt-sb__item[class*="yt-sb__item--"] .yt-sb__label{color:#f1f1f1;}
body.yt-theme-dark .yt-sb__item:hover .yt-sb__icon,body.yt-theme-dark .yt-sb__item:hover .yt-sb__label{color:#fff;}


/* ========================================================================
   PEKEDU-Youtobe 2.3.52 — larger, cleaner YouTube-like sidebar icons.
   Keep monochrome outline icons for light/dark themes; Shorts uses a red bolt.
   ======================================================================== */
.ytapp .yt-sidebar{
  padding-left:14px!important;
  padding-right:14px!important;
}
.ytapp .yt-sb__item[class*="yt-sb__item--"]{
  min-height:46px!important;
  height:46px!important;
  padding:0 14px!important;
  gap:18px!important;
  border-radius:10px!important;
}
.ytapp .yt-sb__item[class*="yt-sb__item--"] .yt-sb__icon{
  width:30px!important;
  height:30px!important;
  flex:0 0 30px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:var(--yt-text)!important;
}
.ytapp .yt-sb__item[class*="yt-sb__item--"] .yt-sb__icon::before{
  width:27px!important;
  height:27px!important;
  opacity:1!important;
}
.ytapp .yt-sb__item[class*="yt-sb__item--"] .yt-sb__label{
  font-size:14.5px!important;
  line-height:1.25!important;
  font-weight:400!important;
}
.ytapp .yt-sb__item[class*="yt-sb__item--"].is-active .yt-sb__label{
  font-weight:600!important;
}
.ytapp .yt-sb__item[class*="yt-sb__item--"]:hover .yt-sb__icon,
.ytapp .yt-sb__item[class*="yt-sb__item--"].is-active .yt-sb__icon{
  color:var(--yt-text)!important;
}

/* Shorts: unmistakable red lightning bolt, matching PEKEDU's requested accent. */
.ytapp .yt-sb__item--shorts{
  --yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.6 2.75 6.4 13h5.05l-1.05 8.25L17.7 10.6h-5.05z' fill='%23000'/%3E%3C/svg%3E")!important;
}
.ytapp .yt-sb__item--shorts .yt-sb__icon,
.ytapp .yt-sb__item--shorts:hover .yt-sb__icon,
.ytapp .yt-sb__item--shorts.is-active .yt-sb__icon{
  color:#ff0033!important;
}
.ytapp .yt-sb__item--shorts .yt-sb__icon::before{
  width:25px!important;
  height:25px!important;
}

/* Slightly stronger outlines on the rest, while staying clean and unfilled. */
.ytapp .yt-sb__item--home{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.8 10.5 12 4.25l8.2 6.25v8.1a1.15 1.15 0 0 1-1.15 1.15H14.5v-5.4h-5v5.4H4.95A1.15 1.15 0 0 1 3.8 18.6z' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;}
.ytapp .yt-sb__item--cm{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m2.8 9.2 9.2-4.45 9.2 4.45-9.2 4.45zM6.1 11.05v4.5c0 1.25 2.65 2.55 5.9 2.55s5.9-1.3 5.9-2.55v-4.5M21.2 9.2v5.4' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;}
.ytapp .yt-sb__item--history{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.7 7.1H2.8V4.2M4 11.8a8 8 0 1 0 2.3-5.65M12 7.7v4.65l3 1.85' fill='none' stroke='%23000' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;}
.ytapp .yt-sb__item--playlists{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 7h10M4.5 12h10M4.5 17h10' fill='none' stroke='%23000' stroke-width='1.85' stroke-linecap='round'/%3E%3Cpath d='m17 9.5 3.8 2.5-3.8 2.5z' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E")!important;}
.ytapp .yt-sb__item--later{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8.4' fill='none' stroke='%23000' stroke-width='1.85'/%3E%3Cpath d='M12 7.4v4.9l3.15 1.9' fill='none' stroke='%23000' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;}
.ytapp .yt-sb__item--liked{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.15 10.2v9H5.8a1.3 1.3 0 0 1-1.3-1.3v-6.4a1.3 1.3 0 0 1 1.3-1.3zm0 0 3.1-5.4a1.45 1.45 0 0 1 2.7.9l-.45 4.5h3.25a1.9 1.9 0 0 1 1.86 2.27l-.86 4.85a2.3 2.3 0 0 1-2.27 1.88H9.15' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;}
.ytapp .yt-sb__item--hidden{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.3 12s3.2-5.25 8.7-5.25S20.7 12 20.7 12 17.5 17.25 12 17.25 3.3 12 3.3 12zM9.8 12a2.2 2.2 0 0 0 3.95 1.35M4.6 19.4 19.4 4.6' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;}
.ytapp .yt-sb__item--myvideos{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.8' y='6.1' width='12' height='11.8' rx='1.8' fill='none' stroke='%23000' stroke-width='1.75'/%3E%3Cpath d='m15.8 10 4.4-2.35v8.7L15.8 14z' fill='none' stroke='%23000' stroke-width='1.75' stroke-linejoin='round'/%3E%3C/svg%3E")!important;}
.ytapp .yt-sb__item--add{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4.2v9M8.4 7.8 12 4.2l3.6 3.6M4.6 14.7h14.8v3.8a1.2 1.2 0 0 1-1.2 1.2H5.8a1.2 1.2 0 0 1-1.2-1.2z' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;}
.ytapp .yt-sb__item--manage{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='3' fill='none' stroke='%23000' stroke-width='1.75'/%3E%3Cpath d='M12 3.7v2M12 18.3v2M20.3 12h-2M5.7 12h-2M17.85 6.15l-1.4 1.4M7.55 16.45l-1.4 1.4M17.85 17.85l-1.4-1.4M7.55 7.55l-1.4-1.4' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round'/%3E%3C/svg%3E")!important;}
.ytapp .yt-sb__item--guide{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 4.8h9.3a2.5 2.5 0 0 1 2.5 2.5v10.9H8.6A2.6 2.6 0 0 0 6 20.8zM6 4.8A2.6 2.6 0 0 0 3.4 7.4v10.8A2.6 2.6 0 0 1 6 15.6h11.8' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;}

/* Light/dark colors stay neutral; only Shorts keeps its red accent. */
.ytapp[data-theme="light"] .yt-sb__item[class*="yt-sb__item--"] .yt-sb__icon{color:#0f0f0f!important;}
.ytapp[data-theme="dark"] .yt-sb__item[class*="yt-sb__item--"] .yt-sb__icon,
body.yt-theme-dark .ytapp .yt-sb__item[class*="yt-sb__item--"] .yt-sb__icon{color:#f1f1f1!important;}
.ytapp[data-theme="light"] .yt-sb__item--shorts .yt-sb__icon,
.ytapp[data-theme="dark"] .yt-sb__item--shorts .yt-sb__icon,
body .ytapp .yt-sb__item--shorts .yt-sb__icon{color:#ff0033!important;}


/* 2.3.53: thin the left-menu outlines slightly; keep Shorts as a red lightning bolt. */
.ytapp .yt-sb__item[class*="yt-sb__item--"] .yt-sb__icon::before{
  width:26px!important;
  height:26px!important;
}
.ytapp .yt-sb__item--home{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.05 10.45 12 4.45l7.95 6v8a1.05 1.05 0 0 1-1.05 1.05h-4.35v-5.2h-5.1v5.2H5.1a1.05 1.05 0 0 1-1.05-1.05z' fill='none' stroke='%23000' stroke-width='1.62' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;}
.ytapp .yt-sb__item--shorts{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.55 2.9 6.55 12.95h4.85l-.95 8.1 6.95-10h-4.9z' fill='%23000'/%3E%3C/svg%3E")!important;}
.ytapp .yt-sb__item--cm{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m2.95 9.25 9.05-4.35 9.05 4.35-9.05 4.35zM6.2 11.05v4.4c0 1.15 2.6 2.45 5.8 2.45s5.8-1.3 5.8-2.45v-4.4M21.05 9.25v5.15' fill='none' stroke='%23000' stroke-width='1.58' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;}
.ytapp .yt-sb__item--mychannel{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='3.1' fill='none' stroke='%23000' stroke-width='1.58'/%3E%3Cpath d='M5.55 18.35a6.45 6.45 0 0 1 12.9 0' fill='none' stroke='%23000' stroke-width='1.58' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='12' r='8.4' fill='none' stroke='%23000' stroke-width='1.58'/%3E%3C/svg%3E")!important;}
.ytapp .yt-sb__item--history{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.75 7.2H2.95V4.4M4.1 11.85a7.9 7.9 0 1 0 2.2-5.55M12 7.95v4.45l2.9 1.75' fill='none' stroke='%23000' stroke-width='1.62' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;}
.ytapp .yt-sb__item--playlists{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.8 7h9.7M4.8 12h9.7M4.8 17h9.7' fill='none' stroke='%23000' stroke-width='1.62' stroke-linecap='round'/%3E%3Cpath d='m17.15 9.7 3.45 2.3-3.45 2.3z' fill='none' stroke='%23000' stroke-width='1.62' stroke-linejoin='round'/%3E%3C/svg%3E")!important;}
.ytapp .yt-sb__item--later{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8.25' fill='none' stroke='%23000' stroke-width='1.62'/%3E%3Cpath d='M12 7.65v4.55l2.9 1.75' fill='none' stroke='%23000' stroke-width='1.62' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;}
.ytapp .yt-sb__item--liked{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.15 10.2v9H5.8a1.3 1.3 0 0 1-1.3-1.3v-6.4a1.3 1.3 0 0 1 1.3-1.3zm0 0 3.1-5.4a1.45 1.45 0 0 1 2.7.9l-.45 4.5h3.25a1.9 1.9 0 0 1 1.86 2.27l-.86 4.85a2.3 2.3 0 0 1-2.27 1.88H9.15' fill='none' stroke='%23000' stroke-width='1.56' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;}
.ytapp .yt-sb__item--hidden{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.55 12s3.05-5.1 8.45-5.1S20.45 12 20.45 12 17.4 17.1 12 17.1 3.55 12 3.55 12z' fill='none' stroke='%23000' stroke-width='1.58' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='2.15' fill='none' stroke='%23000' stroke-width='1.58'/%3E%3Cpath d='M4.7 19.25 19.3 4.75' fill='none' stroke='%23000' stroke-width='1.58' stroke-linecap='round'/%3E%3C/svg%3E")!important;}
.ytapp .yt-sb__item--myvideos{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4.05' y='6.35' width='11.55' height='11.25' rx='1.65' fill='none' stroke='%23000' stroke-width='1.58'/%3E%3Cpath d='m15.6 10.1 4.1-2.25v8.3l-4.1-2.25z' fill='none' stroke='%23000' stroke-width='1.58' stroke-linejoin='round'/%3E%3C/svg%3E")!important;}
.ytapp .yt-sb__item--add{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4.45v8.55M8.6 8.05 12 4.45l3.4 3.6M4.95 14.85h14.1v3.55a1.1 1.1 0 0 1-1.1 1.1H6.05a1.1 1.1 0 0 1-1.1-1.1z' fill='none' stroke='%23000' stroke-width='1.62' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;}
.ytapp .yt-sb__item--manage{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='2.85' fill='none' stroke='%23000' stroke-width='1.58'/%3E%3Cpath d='M12 4v1.8M12 18.2V20M20 12h-1.8M5.8 12H4M17.65 6.35l-1.25 1.25M7.6 16.4l-1.25 1.25M17.65 17.65l-1.25-1.25M7.6 7.6 6.35 6.35' fill='none' stroke='%23000' stroke-width='1.58' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='12' r='6.1' fill='none' stroke='%23000' stroke-width='1.58'/%3E%3C/svg%3E")!important;}
.ytapp .yt-sb__item--guide{--yt-sb-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.05 5.05h9.15a2.35 2.35 0 0 1 2.35 2.35v10.45H8.5a2.35 2.35 0 0 0-2.35 2.35z' fill='none' stroke='%23000' stroke-width='1.58' stroke-linejoin='round'/%3E%3Cpath d='M6.05 5.05A2.35 2.35 0 0 0 3.7 7.4v10.3a2.35 2.35 0 0 1 2.35-2.35h11.5' fill='none' stroke='%23000' stroke-width='1.58' stroke-linejoin='round'/%3E%3C/svg%3E")!important;}
.ytapp .yt-sb__item--shorts .yt-sb__icon,
.ytapp .yt-sb__item--shorts:hover .yt-sb__icon,
.ytapp .yt-sb__item--shorts.is-active .yt-sb__icon,
.ytapp[data-theme="light"] .yt-sb__item--shorts .yt-sb__icon,
.ytapp[data-theme="dark"] .yt-sb__item--shorts .yt-sb__icon,
body .ytapp .yt-sb__item--shorts .yt-sb__icon{color:#ff0000!important;}


/* 2.3.54: restore dark-theme sidebar icon visibility and hover feedback */
.ytapp[data-theme="dark"] .yt-sb__item[class*="yt-sb__item--"] .yt-sb__icon,
body.yt-theme-dark .ytapp .yt-sb__item[class*="yt-sb__item--"] .yt-sb__icon,
.ytapp[data-theme="dark"] .yt-sb__item[class*="yt-sb__item--"] .yt-sb__label,
body.yt-theme-dark .ytapp .yt-sb__item[class*="yt-sb__item--"] .yt-sb__label{
  color:#f5f5f5!important;
}
.ytapp[data-theme="dark"] .yt-sb__item[class*="yt-sb__item--"] .yt-sb__icon::before,
body.yt-theme-dark .ytapp .yt-sb__item[class*="yt-sb__item--"] .yt-sb__icon::before{
  background-color:currentColor!important;
  opacity:1!important;
}
.ytapp[data-theme="dark"] .yt-sb__item:hover,
body.yt-theme-dark .ytapp .yt-sb__item:hover,
.ytapp[data-theme="dark"] .yt-sb__item.is-active,
body.yt-theme-dark .ytapp .yt-sb__item.is-active{
  background:rgba(255,255,255,.08)!important;
  color:#fff!important;
}
.ytapp[data-theme="dark"] .yt-sb__item:hover .yt-sb__icon,
body.yt-theme-dark .ytapp .yt-sb__item:hover .yt-sb__icon,
.ytapp[data-theme="dark"] .yt-sb__item:hover .yt-sb__label,
body.yt-theme-dark .ytapp .yt-sb__item:hover .yt-sb__label,
.ytapp[data-theme="dark"] .yt-sb__item.is-active .yt-sb__icon,
body.yt-theme-dark .ytapp .yt-sb__item.is-active .yt-sb__icon,
.ytapp[data-theme="dark"] .yt-sb__item.is-active .yt-sb__label,
body.yt-theme-dark .ytapp .yt-sb__item.is-active .yt-sb__label{
  color:#fff!important;
}
/* Keep Shorts lightning red and visible in both themes */
.ytapp .yt-sb__item--shorts .yt-sb__icon,
.ytapp .yt-sb__item--shorts:hover .yt-sb__icon,
.ytapp .yt-sb__item--shorts.is-active .yt-sb__icon,
.ytapp[data-theme="dark"] .yt-sb__item--shorts .yt-sb__icon,
body.yt-theme-dark .ytapp .yt-sb__item--shorts .yt-sb__icon{
  color:#ff0000!important;
}

/* 2.3.56: dark theme visibility + softer graphite palette */
.ytapp[data-theme="dark"]{
  --yt-bg:#1a1a1a!important;
  --yt-bg-2:#202020!important;
  --yt-elevated:#262626!important;
  --yt-chip:#2b2b2b!important;
  --yt-chip-hover:#383838!important;
  --yt-hover:#2e2e2e!important;
  --yt-text:#f2f2f2!important;
  --yt-text-2:#b3b3b3!important;
  --yt-border:#3b3b3b!important;
  background:#1a1a1a!important;
  color:#f2f2f2!important;
}
.ytapp[data-theme="dark"] .yt-header{
  background:#1d1d1d!important;
  border-bottom-color:#343434!important;
}
.ytapp[data-theme="dark"] .yt-sidebar{
  background:#1a1a1a!important;
  color:#f2f2f2!important;
  border-right-color:#343434!important;
}
.ytapp[data-theme="dark"] .yt-main{
  background:#1a1a1a!important;
  color:#f2f2f2!important;
}
.ytapp[data-theme="dark"] .yt-search__input{background:#202020!important;color:#f2f2f2!important;border-color:#434343!important;}
.ytapp[data-theme="dark"] .yt-search__btn{background:#272727!important;color:#f2f2f2!important;border-color:#434343!important;}
.ytapp[data-theme="dark"] .yt-voice,
.ytapp[data-theme="dark"] .yt-createbtn{background:#2a2a2a!important;color:#f2f2f2!important;}

/* Sidebar icons must always be visible in dark mode. */
body .ytapp[data-theme="dark"] .yt-sb__item[class*="yt-sb__item--"] .yt-sb__icon,
body .ytapp[data-theme="dark"] .yt-sb__item[class*="yt-sb__item--"] .yt-sb__label{
  color:#f2f2f2!important;
}
body .ytapp[data-theme="dark"] .yt-sb__item[class*="yt-sb__item--"] .yt-sb__icon::before{
  background-color:#f2f2f2!important;
  opacity:1!important;
}
body .ytapp[data-theme="dark"] .yt-sb__item--shorts .yt-sb__icon,
body .ytapp[data-theme="dark"] .yt-sb__item--shorts:hover .yt-sb__icon,
body .ytapp[data-theme="dark"] .yt-sb__item--shorts.is-active .yt-sb__icon{
  color:#ff0000!important;
}
body .ytapp[data-theme="dark"] .yt-sb__item--shorts .yt-sb__icon::before{
  background-color:#ff0000!important;
}

/* YouTube-like dark sidebar hover/active: visible but not glaring. */
body .ytapp[data-theme="dark"] .yt-sb__item:hover{
  background:#2a2a2a!important;
  color:#fff!important;
}
body .ytapp[data-theme="dark"] .yt-sb__item.is-active{
  background:#303030!important;
  color:#fff!important;
}
body .ytapp[data-theme="dark"] .yt-sb__channel:hover,
body .ytapp[data-theme="dark"] .yt-sb__moretoggle:hover{
  background:#272727!important;
  color:#fff!important;
  border-radius:10px!important;
}

/* 2.3.57: Shorts 3-dot menu reuses the real Home-card action set. */
.ytapp--shorts .pekvid-short-sheet-menu__divider{height:1px;margin:4px 0;background:var(--yt-border)}
.ytapp--shorts .pekvid-short-more-menu>button:disabled{opacity:.55;cursor:wait}
.ytapp--shorts .pekvid-short-menu__icon{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;color:currentColor}
.ytapp--shorts .pekvid-short-menu__icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.ytapp--shorts [data-short-save-system][hidden]{display:none!important}
.ytapp--shorts .pekvid-short-report-form{padding:4px 20px 20px;display:flex;flex-direction:column;gap:2px}
.ytapp--shorts .pekvid-short-report-form>p{margin:2px 0 10px;color:var(--yt-text-2);font-size:13px}
.ytapp--shorts .pekvid-short-report-form>label{display:flex;align-items:center;gap:10px;min-height:42px;margin:0;font-size:14px;font-weight:400;cursor:pointer}
.ytapp--shorts .pekvid-short-report-form>label input{margin:0}
.ytapp--shorts .pekvid-short-report-form>textarea{width:100%;min-height:78px;margin-top:8px;padding:10px 12px;border:1px solid var(--yt-border);border-radius:10px;background:var(--yt-bg);color:var(--yt-text);resize:vertical;outline:none}
.ytapp--shorts .pekvid-short-report-form>textarea:focus{border-color:var(--yt-text-2)}
.ytapp--shorts .pekvid-short-report-form__actions{display:flex;justify-content:flex-end;gap:10px;margin-top:14px}
.ytapp--shorts .pekvid-short-report-form__actions button{min-width:86px;height:38px;padding:0 16px;border:0;border-radius:19px;background:var(--yt-hover);color:var(--yt-text);font-weight:600;cursor:pointer}
.ytapp--shorts .pekvid-short-report-form__actions button.is-primary{background:var(--yt-text);color:var(--yt-bg)}
.ytapp--shorts .pekvid-short-report-form__actions button:disabled{opacity:.55;cursor:wait}
@media (min-width:768px){
  .ytapp--shorts .pekvid-short-more-sheet>.pekvid-modal-sheet__panel{width:min(390px,calc(100% - 48px))}
  .ytapp--shorts .pekvid-short-report-sheet>.pekvid-modal-sheet__panel{width:min(470px,calc(100% - 48px))}
}



/* PEKEDU-Youtobe 2.3.58 — Shorts clean YouTube surface.
   The shared YouTube iframe is display-only; all pointer/keyboard interaction
   belongs to PEKEDU controls above it. Do not crop or cover the video to hide
   YouTube chrome, because that would also hide lesson content. */
.ytapp--shorts .pekvid-shortsolo-player iframe.pekvid-shortyoutube-clean,
.ytapp--shorts .pekvid-shortsolo-player iframe{
  pointer-events:none!important;
  -webkit-user-select:none!important;
  user-select:none!important;
  touch-action:none!important;
}

/* PEKEDU-Youtobe 2.3.62 — native YouTube title/channel shield for Shorts.
   Presentation only: no seek/restart/mute cycle, no iframe transform/crop and
   no change to the shared-player lifecycle. The small top strip temporarily
   reuses the active Short poster so YouTube's initial title/avatar/channel UI
   is never painted to the viewer. PEKEDU controls remain above it. */
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortyoutube-chrome-shield{
  position:absolute!important;
  z-index:28!important;
  left:0!important;
  right:0!important;
  top:0!important;
  height:78px!important;
  overflow:hidden!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  background:#000!important;
  transition:opacity .18s linear!important;
}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortyoutube-chrome-shield>img{
  position:absolute!important;
  left:0!important;
  top:0!important;
  width:100%!important;
  height:var(--pekvid-short-layer-height,100%)!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center center!important;
  display:block!important;
  background:#000!important;
  user-select:none!important;
  -webkit-user-drag:none!important;
}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortsolo-layer.is-native-chrome-shielded .pekvid-shortyoutube-chrome-shield{
  opacity:1!important;
  visibility:visible!important;
}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortsolo-layer.is-native-chrome-shield-releasing .pekvid-shortyoutube-chrome-shield{
  opacity:0!important;
}
\n\n/* ========================================================================\n   PEKEDU-Youtobe 2.3.64 — visible reaction states for Shorts + comments.\n   Presentation/state only: no player, feed, sync or provider lifecycle changes.\n   ======================================================================== */\n/* Video Like: blue accent; Video Dislike: warm red accent. Inactive icons keep\n   the neutral outline inherited from the current Light/Dark theme. */\n.ytapp--shorts [data-short-action="liked"].is-active>span,\n.ytapp--shorts [data-short-action="liked"][aria-pressed="true"]>span{\n  color:#065fd4!important;\n  border-color:rgba(6,95,212,.52)!important;\n  background:rgba(6,95,212,.09)!important;\n}\n.ytapp--shorts [data-short-action="liked"].is-active>small,\n.ytapp--shorts [data-short-action="liked"][aria-pressed="true"]>small{color:#065fd4!important;font-weight:700!important}\n.ytapp--shorts [data-short-action="disliked"].is-active>span,\n.ytapp--shorts [data-short-action="disliked"][aria-pressed="true"]>span{\n  color:#c5221f!important;\n  border-color:rgba(197,34,31,.50)!important;\n  background:rgba(197,34,31,.08)!important;\n}\n.ytapp--shorts [data-short-action="disliked"].is-active>small,\n.ytapp--shorts [data-short-action="disliked"][aria-pressed="true"]>small{color:#c5221f!important;font-weight:700!important}\n.ytapp[data-theme="dark"].ytapp--shorts [data-short-action="liked"].is-active>span,\n.ytapp[data-theme="dark"].ytapp--shorts [data-short-action="liked"][aria-pressed="true"]>span,\n.ytapp[data-theme="dark"] .ytapp--shorts [data-short-action="liked"].is-active>span,\n.ytapp[data-theme="dark"] .ytapp--shorts [data-short-action="liked"][aria-pressed="true"]>span{\n  color:#3ea6ff!important;border-color:rgba(62,166,255,.62)!important;background:rgba(62,166,255,.12)!important;\n}\n.ytapp[data-theme="dark"].ytapp--shorts [data-short-action="liked"].is-active>small,\n.ytapp[data-theme="dark"].ytapp--shorts [data-short-action="liked"][aria-pressed="true"]>small,\n.ytapp[data-theme="dark"] .ytapp--shorts [data-short-action="liked"].is-active>small,\n.ytapp[data-theme="dark"] .ytapp--shorts [data-short-action="liked"][aria-pressed="true"]>small{color:#3ea6ff!important}\n.ytapp[data-theme="dark"].ytapp--shorts [data-short-action="disliked"].is-active>span,\n.ytapp[data-theme="dark"].ytapp--shorts [data-short-action="disliked"][aria-pressed="true"]>span,\n.ytapp[data-theme="dark"] .ytapp--shorts [data-short-action="disliked"].is-active>span,\n.ytapp[data-theme="dark"] .ytapp--shorts [data-short-action="disliked"][aria-pressed="true"]>span{\n  color:#ff6b6b!important;border-color:rgba(255,107,107,.62)!important;background:rgba(255,107,107,.11)!important;\n}\n.ytapp[data-theme="dark"].ytapp--shorts [data-short-action="disliked"].is-active>small,\n.ytapp[data-theme="dark"].ytapp--shorts [data-short-action="disliked"][aria-pressed="true"]>small,\n.ytapp[data-theme="dark"] .ytapp--shorts [data-short-action="disliked"].is-active>small,\n.ytapp[data-theme="dark"] .ytapp--shorts [data-short-action="disliked"][aria-pressed="true"]>small{color:#ff6b6b!important}\n\n/* Comment heart: outline remains monochrome in both themes; only the user's\n   selected Like becomes solid red, together with its counter. */\n.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react--like,\n.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react--like i,\n.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react--like>span{color:var(--yt-text)!important}\n.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react--like:not(.is-active) i.fa-heart-o{color:var(--yt-text)!important}\n.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react--like:not(.is-active)>span{color:var(--yt-text-2)!important}\n.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react--like.is-active,\n.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react--like.is-active i,\n.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react--like.is-active>span{color:#ff0033!important}\n.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react--like.is-active i{font-weight:normal!important}\n.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__react--like:disabled{opacity:.58!important}\n
/* 2.3.64 specificity guard: older 2.3.32 rules colored every comment heart red.
   Keep an unselected heart strictly monochrome; red is reserved for selected. */
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions .yt-comment__react.yt-comment__react--like:not(.is-active),
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions .yt-comment__react.yt-comment__react--like:not(.is-active)>span,
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions .yt-comment__react.yt-comment__react--like:not(.is-active)>i.fa-heart-o{
  color:var(--yt-text)!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions .yt-comment__react.yt-comment__react--like:not(.is-active)>span{
  color:var(--yt-text-2)!important;
}
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions .yt-comment__react.yt-comment__react--like.is-active,
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions .yt-comment__react.yt-comment__react--like.is-active>span,
.ytapp--shorts .pekvid-short-comments-sheet .yt-comment__actions .yt-comment__react.yt-comment__react--like.is-active>i.fa-heart{
  color:#ff0033!important;
}

/* ========================================================================
   PEKEDU-Youtobe 2.3.65 — definitive Shorts Like / Dislike visual state.
   This override intentionally lives after the older monochrome rail rules.
   No reaction/API/player behaviour is changed here.
   ======================================================================== */
@media (min-width:761px){
  /* Like selected — PEKEDU/YouTube blue. */
  .ytapp--shorts button.pekvid-shortaction[data-short-action="liked"].is-active>span,
  .ytapp--shorts button.pekvid-shortaction[data-short-action="liked"][aria-pressed="true"]>span{
    color:#065fd4!important;
    border-color:rgba(6,95,212,.58)!important;
    background:rgba(6,95,212,.10)!important;
  }
  .ytapp--shorts button.pekvid-shortaction[data-short-action="liked"].is-active>span::before,
  .ytapp--shorts button.pekvid-shortaction[data-short-action="liked"][aria-pressed="true"]>span::before{
    color:#065fd4!important;
  }
  .ytapp--shorts button.pekvid-shortaction[data-short-action="liked"].is-active>small,
  .ytapp--shorts button.pekvid-shortaction[data-short-action="liked"][aria-pressed="true"]>small{
    color:#065fd4!important;
    font-weight:700!important;
  }

  /* Dislike selected — restrained red so it is clear without looking harsh. */
  .ytapp--shorts button.pekvid-shortaction[data-short-action="disliked"].is-active>span,
  .ytapp--shorts button.pekvid-shortaction[data-short-action="disliked"][aria-pressed="true"]>span{
    color:#c5221f!important;
    border-color:rgba(197,34,31,.56)!important;
    background:rgba(197,34,31,.09)!important;
  }
  .ytapp--shorts button.pekvid-shortaction[data-short-action="disliked"].is-active>span::before,
  .ytapp--shorts button.pekvid-shortaction[data-short-action="disliked"][aria-pressed="true"]>span::before{
    color:#c5221f!important;
  }
  .ytapp--shorts button.pekvid-shortaction[data-short-action="disliked"].is-active>small,
  .ytapp--shorts button.pekvid-shortaction[data-short-action="disliked"][aria-pressed="true"]>small{
    color:#c5221f!important;
    font-weight:700!important;
  }

  /* Keep the selected color even while the pointer is still hovering the
     button after click; older YouTube-like hover rules were forcing it back
     to monochrome. */
  .ytapp--shorts button.pekvid-shortaction[data-short-action="liked"].is-active:hover>span,
  .ytapp--shorts button.pekvid-shortaction[data-short-action="liked"][aria-pressed="true"]:hover>span{
    color:#065fd4!important;
    border-color:rgba(6,95,212,.68)!important;
    background:rgba(6,95,212,.14)!important;
  }
  .ytapp--shorts button.pekvid-shortaction[data-short-action="disliked"].is-active:hover>span,
  .ytapp--shorts button.pekvid-shortaction[data-short-action="disliked"][aria-pressed="true"]:hover>span{
    color:#c5221f!important;
    border-color:rgba(197,34,31,.66)!important;
    background:rgba(197,34,31,.13)!important;
  }

  /* Dark mode: same meaning, brighter accents for graphite background. */
  .ytapp[data-theme="dark"].ytapp--shorts button.pekvid-shortaction[data-short-action="liked"].is-active>span,
  .ytapp[data-theme="dark"].ytapp--shorts button.pekvid-shortaction[data-short-action="liked"][aria-pressed="true"]>span,
  body.yt-theme-dark .ytapp--shorts button.pekvid-shortaction[data-short-action="liked"].is-active>span,
  body.yt-theme-dark .ytapp--shorts button.pekvid-shortaction[data-short-action="liked"][aria-pressed="true"]>span{
    color:#3ea6ff!important;
    border-color:rgba(62,166,255,.68)!important;
    background:rgba(62,166,255,.13)!important;
  }
  .ytapp[data-theme="dark"].ytapp--shorts button.pekvid-shortaction[data-short-action="liked"].is-active>span::before,
  .ytapp[data-theme="dark"].ytapp--shorts button.pekvid-shortaction[data-short-action="liked"][aria-pressed="true"]>span::before,
  body.yt-theme-dark .ytapp--shorts button.pekvid-shortaction[data-short-action="liked"].is-active>span::before,
  body.yt-theme-dark .ytapp--shorts button.pekvid-shortaction[data-short-action="liked"][aria-pressed="true"]>span::before,
  .ytapp[data-theme="dark"].ytapp--shorts button.pekvid-shortaction[data-short-action="liked"].is-active>small,
  .ytapp[data-theme="dark"].ytapp--shorts button.pekvid-shortaction[data-short-action="liked"][aria-pressed="true"]>small,
  body.yt-theme-dark .ytapp--shorts button.pekvid-shortaction[data-short-action="liked"].is-active>small,
  body.yt-theme-dark .ytapp--shorts button.pekvid-shortaction[data-short-action="liked"][aria-pressed="true"]>small{
    color:#3ea6ff!important;
  }

  .ytapp[data-theme="dark"].ytapp--shorts button.pekvid-shortaction[data-short-action="disliked"].is-active>span,
  .ytapp[data-theme="dark"].ytapp--shorts button.pekvid-shortaction[data-short-action="disliked"][aria-pressed="true"]>span,
  body.yt-theme-dark .ytapp--shorts button.pekvid-shortaction[data-short-action="disliked"].is-active>span,
  body.yt-theme-dark .ytapp--shorts button.pekvid-shortaction[data-short-action="disliked"][aria-pressed="true"]>span{
    color:#ff6b6b!important;
    border-color:rgba(255,107,107,.68)!important;
    background:rgba(255,107,107,.12)!important;
  }
  .ytapp[data-theme="dark"].ytapp--shorts button.pekvid-shortaction[data-short-action="disliked"].is-active>span::before,
  .ytapp[data-theme="dark"].ytapp--shorts button.pekvid-shortaction[data-short-action="disliked"][aria-pressed="true"]>span::before,
  body.yt-theme-dark .ytapp--shorts button.pekvid-shortaction[data-short-action="disliked"].is-active>span::before,
  body.yt-theme-dark .ytapp--shorts button.pekvid-shortaction[data-short-action="disliked"][aria-pressed="true"]>span::before,
  .ytapp[data-theme="dark"].ytapp--shorts button.pekvid-shortaction[data-short-action="disliked"].is-active>small,
  .ytapp[data-theme="dark"].ytapp--shorts button.pekvid-shortaction[data-short-action="disliked"][aria-pressed="true"]>small,
  body.yt-theme-dark .ytapp--shorts button.pekvid-shortaction[data-short-action="disliked"].is-active>small,
  body.yt-theme-dark .ytapp--shorts button.pekvid-shortaction[data-short-action="disliked"][aria-pressed="true"]>small{
    color:#ff6b6b!important;
  }
}

/* ========================================================================
   PEKEDU-Youtobe 2.3.66 — full-frame Shorts playback.
   The v2.3.62 native-chrome shield is disabled completely because any visual
   cover over the top of a vertical Short hides real video pixels. The existing
   v2.3.58 passive YouTube iframe behaviour remains in place to avoid re-awakening
   native chrome on hover/focus. No player lifecycle or playback logic changes.
   ======================================================================== */
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortyoutube-chrome-shield,
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortsolo-layer.is-native-chrome-shielded .pekvid-shortyoutube-chrome-shield,
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortsolo-layer.is-native-chrome-shield-releasing .pekvid-shortyoutube-chrome-shield{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  height:0!important;
  background:transparent!important;
}

/* ========================================================================
   PEKEDU-Youtobe 2.3.68 — full-bright opening frames for YouTube Shorts.
   YouTube paints its own dark title/channel gradient inside the cross-origin
   iframe. PEKEDU must not crop or cover real video pixels, so this treatment
   uses transparent backdrop luminance bands only. It starts on the first
   confirmed PLAYING frame, fades once after the native chrome timeout and is
   never restarted by BUFFERING, pause/resume, hover or focus.
   ======================================================================== */
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortyoutube-chrome-shield{
  display:block!important;
  position:absolute!important;
  z-index:28!important;
  left:0!important;
  right:0!important;
  top:0!important;
  height:118px!important;
  overflow:hidden!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
  background:transparent!important;
  transition:opacity .14s linear!important;
}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortyoutube-chrome-shield .pekvid-shortyoutube-luma-band{
  position:absolute!important;
  left:0!important;
  right:0!important;
  display:block!important;
  pointer-events:none!important;
  background:transparent!important;
}
/* Strongest compensation where YouTube's native black gradient is darkest. */
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortyoutube-luma-band--1{
  top:0!important;
  height:42px!important;
  -webkit-backdrop-filter:brightness(2.55) saturate(1.04)!important;
  backdrop-filter:brightness(2.55) saturate(1.04)!important;
}
/* Middle part of the native gradient. */
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortyoutube-luma-band--2{
  top:42px!important;
  height:38px!important;
  -webkit-backdrop-filter:brightness(1.88) saturate(1.03)!important;
  backdrop-filter:brightness(1.88) saturate(1.03)!important;
}
/* Soft tail so the correction blends into untouched video without a seam. */
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortyoutube-luma-band--3{
  top:80px!important;
  height:38px!important;
  -webkit-backdrop-filter:brightness(1.34) saturate(1.02)!important;
  backdrop-filter:brightness(1.34) saturate(1.02)!important;
}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortsolo-layer.is-native-chrome-shielded .pekvid-shortyoutube-chrome-shield{
  visibility:visible!important;
  opacity:1!important;
}
.ytapp--shorts[data-shorts-layout="desktop"] .pekvid-shortsolo-layer.is-native-chrome-shield-releasing .pekvid-shortyoutube-chrome-shield{
  visibility:visible!important;
  opacity:0!important;
}

/* ========================================================================
   PEKEDU-Youtobe 2.3.73 — canonical hover parity across ALL content cards.
   IMPORTANT: the first Home recommendation cards are the visual source of
   truth. Real cards/media never move; only one ::before halo expands.

   2.3.73 also removes per-card content-visibility/paint containment from the
   infinite Home feed. That containment clipped the -7px halo on cards loaded
   below the first recommendation group, which is why the same .yt-card looked
   different farther down the page. Section-level content-visibility remains.
   ======================================================================== */

.ytapp{
  /* Light mode: one solid neutral hover surface. The halo and the card
     metadata area now read as ONE colour, without a second outer outline. */
  --pek-card-hover-wash:#eef1f4;
  --pek-card-hover-edge:#eef1f4;
  --pek-card-hover-shadow:rgba(15,23,42,.075);
}
.ytapp[data-theme="dark"],
body.yt-theme-dark .ytapp{
  --pek-card-hover-wash:rgba(255,255,255,.065);
  --pek-card-hover-edge:rgba(255,255,255,.12);
  --pek-card-hover-shadow:rgba(0,0,0,.30);
}

/* Content-card family only. Containers, dialogs, player, comments and menu
   surfaces are intentionally excluded. */
.ytapp :is(
  .yt-card,
  .py-card,
  .yt-short-card,
  .py-channel-search-card,
  .py-search-playlist,
  .py-playlist-card,
  .yt-watch-related__item,
  .yt-rel,
  .yt-channel-card,
  .yt-channel-short-card,
  .yt-channel-playlist-card,
  .yt-playlist-tile,
  .yt-system-playlist-item,
  .yt-watch-playlistqueue__item,
  .yt-hidden-channel-card,
  .yt-channel-featured,
  .yt-channel-featured-channel
){
  position:relative!important;
  isolation:isolate!important;
  overflow:visible!important;
  contain:none!important;
  content-visibility:visible!important;
  transform:none!important;
  translate:none!important;
  scale:1!important;
  filter:none!important;
  animation:none!important;
  will-change:auto!important;
}

/* One and only halo geometry/timing: identical to the approved first Home
   cards. It starts inside the card and expands beyond the edge. */
.ytapp :is(
  .yt-card,
  .py-card,
  .yt-short-card,
  .py-channel-search-card,
  .py-search-playlist,
  .py-playlist-card,
  .yt-watch-related__item,
  .yt-rel,
  .yt-channel-card,
  .yt-channel-short-card,
  .yt-channel-playlist-card,
  .yt-playlist-tile,
  .yt-system-playlist-item,
  .yt-watch-playlistqueue__item,
  .yt-hidden-channel-card,
  .yt-channel-featured,
  .yt-channel-featured-channel
)::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:-7px!important;
  border:1px solid var(--pek-card-hover-edge)!important;
  border-radius:16px!important;
  background:var(--pek-card-hover-wash)!important;
  opacity:0!important;
  transform:scale(.885)!important;
  transform-origin:center center!important;
  box-shadow:0 0 0 rgba(0,0,0,0)!important;
  pointer-events:none!important;
  z-index:0!important;
  transition:opacity 180ms ease,
             transform 300ms cubic-bezier(.16,.84,.24,1),
             box-shadow 300ms cubic-bezier(.16,.84,.24,1)!important;
}

/* Keep actual content above the halo; media children retain their own clipping
   radius, so making the card root overflow-visible does not alter thumbnails. */
.ytapp :is(
  .yt-card,
  .py-card,
  .yt-short-card,
  .py-channel-search-card,
  .py-search-playlist,
  .py-playlist-card,
  .yt-watch-related__item,
  .yt-rel,
  .yt-channel-card,
  .yt-channel-short-card,
  .yt-channel-playlist-card,
  .yt-playlist-tile,
  .yt-system-playlist-item,
  .yt-watch-playlistqueue__item,
  .yt-hidden-channel-card,
  .yt-channel-featured,
  .yt-channel-featured-channel
)>*{
  position:relative;
  z-index:1;
}

@media (hover:hover) and (pointer:fine){
  /* The REAL card is locked. No hover rule is allowed to lift/scale/dim it. */
  .ytapp :is(
    .yt-card,
    .py-card,
    .yt-short-card,
    .py-channel-search-card,
    .py-search-playlist,
    .py-playlist-card,
    .yt-watch-related__item,
    .yt-rel,
    .yt-channel-card,
    .yt-channel-short-card,
    .yt-channel-playlist-card,
    .yt-playlist-tile,
    .yt-system-playlist-item:not(.is-dragging),
    .yt-watch-playlistqueue__item,
    .yt-hidden-channel-card:not(.is-removed),
    .yt-channel-featured,
    .yt-channel-featured-channel
  ):hover,
  .ytapp :is(
    .yt-card,
    .py-card,
    .yt-short-card,
    .py-channel-search-card,
    .py-search-playlist,
    .py-playlist-card,
    .yt-watch-related__item,
    .yt-rel,
    .yt-channel-card,
    .yt-channel-short-card,
    .yt-channel-playlist-card,
    .yt-playlist-tile,
    .yt-system-playlist-item:not(.is-dragging),
    .yt-watch-playlistqueue__item,
    .yt-hidden-channel-card:not(.is-removed),
    .yt-channel-featured,
    .yt-channel-featured-channel
  ):focus-within{
    transform:none!important;
    translate:none!important;
    scale:1!important;
    filter:none!important;
    animation:none!important;
    will-change:auto!important;
    box-shadow:none!important;
  }

  /* Video-card shells are intentionally transparent; the halo is the hover. */
  .ytapp :is(.yt-card,.py-card,.yt-short-card,.yt-watch-related__item,.yt-rel,
             .yt-channel-card,.yt-channel-short-card,.yt-channel-playlist-card,
             .yt-playlist-tile,.yt-system-playlist-item,.yt-watch-playlistqueue__item,
             .yt-hidden-channel-card):hover{
    background-color:transparent!important;
  }

  /* Light mode must never paint a second background on top of the halo.
     This higher-specificity guard is intentional: old light-theme rules used
     [data-theme="light"] and otherwise beat the canonical hover selector. */
  .ytapp[data-theme="light"] :is(
    .yt-card,.py-card,.yt-short-card,.yt-watch-related__item,.yt-rel,
    .yt-channel-card,.yt-channel-short-card,.yt-channel-playlist-card,
    .yt-playlist-tile,.yt-system-playlist-item,.yt-watch-playlistqueue__item,
    .yt-hidden-channel-card,.yt-channel-featured,.yt-channel-featured-channel
  ):hover,
  body:not(.yt-theme-dark) .ytapp[data-theme="light"] :is(
    .yt-card,.py-card,.yt-short-card,.yt-watch-related__item,.yt-rel,
    .yt-channel-card,.yt-channel-short-card,.yt-channel-playlist-card,
    .yt-playlist-tile,.yt-system-playlist-item,.yt-watch-playlistqueue__item,
    .yt-hidden-channel-card,.yt-channel-featured,.yt-channel-featured-channel
  ):hover{
    background:transparent!important;
    border-color:transparent!important;
    box-shadow:none!important;
  }

  /* Search/list cards that have a deliberate base surface keep that surface;
     only their halo changes. */
  .ytapp :is(.py-channel-search-card,.py-search-playlist,.py-playlist-card):hover{
    background-color:var(--yt-bg-2)!important;
  }
  .ytapp[data-theme="light"] :is(.py-channel-search-card,.py-search-playlist,.py-playlist-card):hover,
  body:not(.yt-theme-dark) .ytapp[data-theme="light"] :is(.py-channel-search-card,.py-search-playlist,.py-playlist-card):hover{
    background-color:var(--pek-card-hover-wash)!important;
  }

  /* ONLY the halo moves. */
  .ytapp :is(
    .yt-card,
    .py-card,
    .yt-short-card,
    .py-channel-search-card,
    .py-search-playlist,
    .py-playlist-card,
    .yt-watch-related__item,
    .yt-rel,
    .yt-channel-card,
    .yt-channel-short-card,
    .yt-channel-playlist-card,
    .yt-playlist-tile,
    .yt-system-playlist-item:not(.is-dragging),
    .yt-watch-playlistqueue__item,
    .yt-hidden-channel-card:not(.is-removed),
    .yt-channel-featured,
    .yt-channel-featured-channel
  ):hover::before,
  .ytapp :is(
    .yt-card,
    .py-card,
    .yt-short-card,
    .py-channel-search-card,
    .py-search-playlist,
    .py-playlist-card,
    .yt-watch-related__item,
    .yt-rel,
    .yt-channel-card,
    .yt-channel-short-card,
    .yt-channel-playlist-card,
    .yt-playlist-tile,
    .yt-system-playlist-item:not(.is-dragging),
    .yt-watch-playlistqueue__item,
    .yt-hidden-channel-card:not(.is-removed),
    .yt-channel-featured,
    .yt-channel-featured-channel
  ):focus-within::before{
    opacity:1!important;
    transform:scale(1)!important;
    box-shadow:0 10px 28px var(--pek-card-hover-shadow)!important;
  }

  /* Kill every legacy media zoom/dim/lift while preserving hover preview. */
  .ytapp :is(
    .yt-card,.py-card,.yt-short-card,.py-channel-search-card,.py-search-playlist,
    .py-playlist-card,.yt-watch-related__item,.yt-rel,.yt-channel-card,
    .yt-channel-short-card,.yt-channel-playlist-card,.yt-playlist-tile,
    .yt-system-playlist-item,.yt-watch-playlistqueue__item,.yt-hidden-channel-card,
    .yt-channel-featured,.yt-channel-featured-channel
  ):hover :is(
    img,picture,video,.yt-card__thumb,.py-thumb,.yt-short-card__thumb,
    .yt-watch-related__thumb,.yt-channel-card__thumb,.yt-channel-short-card__thumb,
    .yt-channel-playlist-card__cover,.yt-playlist-tile__cover,.yt-playlist-tile__media,
    .yt-system-playlist-item__thumb,.yt-watch-playlistqueue__thumb,
    .yt-channel-featured__thumb,.yt-channel-featured-channel__avatar
  ){
    transform:none!important;
    translate:none!important;
    scale:1!important;
    filter:none!important;
    animation:none!important;
    box-shadow:none!important;
  }

  .ytapp .yt-playlist-tile__cover:hover img{
    transform:none!important;
    filter:none!important;
  }
  .ytapp .yt-playlist-tile__cover:hover .yt-playlist-tile__play{
    background:transparent!important;
  }

  /* Do not let legacy Light/Dark rules recolor metadata on hover. */
  .ytapp .yt-card:hover .yt-card__title,
  .ytapp .yt-rel:hover .yt-rel__title,
  .ytapp .yt-short-card:hover .yt-short-card__body h3,
  .ytapp .py-card:hover .py-card-title,
  .ytapp .py-card:hover .py-card-title a,
  .ytapp .yt-watch-related__item:hover h3,
  .ytapp .yt-channel-playlist-card:hover h3{
    color:var(--yt-text)!important;
  }
  .ytapp .yt-card:hover .yt-card__chan,
  .ytapp .yt-card:hover .yt-card__stats,
  .ytapp .yt-rel:hover .yt-rel__chan,
  .ytapp .yt-rel:hover .yt-rel__stats,
  .ytapp .yt-short-card:hover .yt-short-card__body p,
  .ytapp .yt-watch-related__item:hover .yt-watch-related__channel,
  .ytapp .yt-watch-related__item:hover .yt-watch-related__stats{
    color:var(--yt-text-2)!important;
  }
}

/* Menus may fade in, never translate/scale the card surface. */
.ytapp :is(.yt-card__menu-btn,.yt-watch-related__more,.yt-short-card__menu,.yt-short-card__menu-btn,
           .yt-playlist-tile__menu,.yt-system-playlist-item__more,
           .yt-channel-shared-menu){
  transform:none!important;
  translate:none!important;
  scale:1!important;
  transition-property:opacity,background-color,color!important;
}

/* Touch: no artificial hover layer. */
@media (hover:none), (pointer:coarse){
  .ytapp :is(
    .yt-card,.py-card,.yt-short-card,.py-channel-search-card,.py-search-playlist,
    .py-playlist-card,.yt-watch-related__item,.yt-rel,.yt-channel-card,
    .yt-channel-short-card,.yt-channel-playlist-card,.yt-playlist-tile,
    .yt-system-playlist-item,.yt-watch-playlistqueue__item,.yt-hidden-channel-card,
    .yt-channel-featured,.yt-channel-featured-channel
  )::before{display:none!important}
}

@media (prefers-reduced-motion:reduce){
  .ytapp :is(
    .yt-card,.py-card,.yt-short-card,.py-channel-search-card,.py-search-playlist,
    .py-playlist-card,.yt-watch-related__item,.yt-rel,.yt-channel-card,
    .yt-channel-short-card,.yt-channel-playlist-card,.yt-playlist-tile,
    .yt-system-playlist-item,.yt-watch-playlistqueue__item,.yt-hidden-channel-card,
    .yt-channel-featured,.yt-channel-featured-channel
  )::before{
    transform:scale(1)!important;
    transition:opacity 120ms linear!important;
  }
}

/* ========================================================================
   PEKEDU-Youtobe 2.3.74 — Channel hover = Home hover, zero rail jitter.
   Channel shelves are horizontal scroll containers. The global halo used a
   scale transform on an absolutely positioned ::before; inside a scroll rail
   that transformed visual overflow can continuously change the scrollable
   overflow/compositing while the pointer is over a card, which feels like the
   card is jumping. Keep the card/thumbnail/player exactly still and animate a
   fixed-size halo with clip-path instead. Geometry, colour and timing remain
   the same as the approved Home-card halo.
   ======================================================================== */

/* The actual channel card never participates in hover motion/compositing. */
.ytapp .yt-channel-page :is(
  .yt-channel-shared-card,
  .yt-channel-shared-short,
  .yt-channel-playlist-card
){
  transform:none!important;
  translate:none!important;
  scale:1!important;
  filter:none!important;
  animation:none!important;
  transition:none!important;
  will-change:auto!important;
  backface-visibility:visible!important;
  z-index:auto!important;
}

/* Keep media and metadata locked to their normal geometry. Hover preview is
   intentionally NOT touched: its own overlay can still fade/play as before. */
.ytapp .yt-channel-page :is(
  .yt-channel-shared-card,
  .yt-channel-shared-short,
  .yt-channel-playlist-card
) :is(
  .yt-card__thumb,
  .yt-card__thumb>img,
  .yt-card__body,
  .yt-card__avatar,
  .yt-card__meta,
  .yt-card__title,
  .yt-card__chan,
  .yt-card__stats,
  .yt-short-card__thumb,
  .yt-short-card__thumb>img,
  .yt-short-card__body,
  .yt-channel-playlist-card__cover,
  .yt-channel-playlist-card__cover>img
){
  transform:none!important;
  translate:none!important;
  scale:1!important;
  filter:none!important;
  animation:none!important;
}

/* A fixed halo box means rail scrollWidth/scrollLeft cannot change during the
   animation. clip-path reveals the same inside -> outside motion visually. */
.ytapp .yt-channel-page :is(
  .yt-channel-shared-card,
  .yt-channel-shared-short,
  .yt-channel-playlist-card
)::before{
  inset:-7px!important;
  opacity:0!important;
  transform:none!important;
  translate:none!important;
  scale:1!important;
  border:1px solid var(--pek-card-hover-edge)!important;
  border-radius:16px!important;
  background:var(--pek-card-hover-wash)!important;
  box-shadow:0 0 0 rgba(0,0,0,0)!important;
  clip-path:inset(6.4% 6.4% 6.4% 6.4% round 13px)!important;
  will-change:opacity,clip-path,box-shadow!important;
  transition:opacity 180ms ease,
             clip-path 300ms cubic-bezier(.16,.84,.24,1),
             box-shadow 300ms cubic-bezier(.16,.84,.24,1)!important;
}

@media (hover:hover) and (pointer:fine){
  .ytapp .yt-channel-page :is(
    .yt-channel-shared-card,
    .yt-channel-shared-short,
    .yt-channel-playlist-card
  ):hover,
  .ytapp .yt-channel-page :is(
    .yt-channel-shared-card,
    .yt-channel-shared-short,
    .yt-channel-playlist-card
  ):focus-within{
    transform:none!important;
    translate:none!important;
    scale:1!important;
    filter:none!important;
    animation:none!important;
    transition:none!important;
    will-change:auto!important;
    z-index:auto!important;
    box-shadow:none!important;
  }

  .ytapp .yt-channel-page :is(
    .yt-channel-shared-card,
    .yt-channel-shared-short,
    .yt-channel-playlist-card
  ):hover::before,
  .ytapp .yt-channel-page :is(
    .yt-channel-shared-card,
    .yt-channel-shared-short,
    .yt-channel-playlist-card
  ):focus-within::before{
    opacity:1!important;
    transform:none!important;
    clip-path:inset(0 round 16px)!important;
    box-shadow:0 10px 28px var(--pek-card-hover-shadow)!important;
  }

  /* Legacy channel/home rules must not reintroduce thumb lift, zoom or dim. */
  .ytapp .yt-channel-page :is(
    .yt-channel-shared-card,
    .yt-channel-shared-short,
    .yt-channel-playlist-card
  ):hover :is(
    .yt-card__thumb,
    .yt-card__thumb>img,
    .yt-card__body,
    .yt-short-card__thumb,
    .yt-short-card__thumb>img,
    .yt-short-card__body,
    .yt-channel-playlist-card__cover,
    .yt-channel-playlist-card__cover>img
  ){
    transform:none!important;
    translate:none!important;
    scale:1!important;
    filter:none!important;
    animation:none!important;
    box-shadow:none!important;
  }
}

/* Channel rails must never surface a scrollbar during hover/compositing; the
   arrow navigation and wheel/touch horizontal scrolling continue to work. */
.ytapp .yt-channel-page :is(.yt-channel-rail,.yt-channel-short-rail,.yt-channel-playlist-rail){
  scrollbar-width:none!important;
}
.ytapp .yt-channel-page :is(.yt-channel-rail,.yt-channel-short-rail,.yt-channel-playlist-rail)::-webkit-scrollbar{
  width:0!important;
  height:0!important;
  display:none!important;
}

@media (prefers-reduced-motion:reduce){
  .ytapp .yt-channel-page :is(
    .yt-channel-shared-card,
    .yt-channel-shared-short,
    .yt-channel-playlist-card
  )::before{
    clip-path:inset(0 round 16px)!important;
    transition:opacity 120ms linear!important;
  }
}

/* ========================================================================
   PEKEDU-Youtobe 2.3.76 — Home Shorts shelf edge-safe presentation.
   The Shorts shelf is small (normally five cards), so it must not use paint
   containment: content-visibility:auto clips the visual overflow of the first
   and last card, especially the unified hover halo. Give the desktop rail a
   small balanced visual gutter so both edge cards and their halo/menu surface
   are fully visible without changing the actual card grid width.
   ======================================================================== */
.ytapp .yt-shorts{
  content-visibility:visible!important;
  contain:none!important;
  contain-intrinsic-size:auto!important;
  overflow:visible!important;
}

@media (min-width:681px){
  .ytapp .yt-shorts__rail{
    width:auto!important;
    margin:-8px -10px -12px!important;
    padding:8px 10px 12px!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }

  .ytapp .yt-shorts__rail > .yt-short-card{
    min-width:0!important;
    overflow:visible!important;
  }
}



/* ========================================================================
   PEKEDU-Youtobe 2.3.78 — Search page interaction guard
   Keep the fixed header and category rail above result surfaces/hover halos.
   No visual styling is changed here; this only guarantees click/focus input.
   ======================================================================== */
.ytapp--search .yt-header,
.ytapp--search .yt-header *,
.ytapp--search .yt-search,
.ytapp--search .yt-search *,
.ytapp--search .yt-chips-wrap,
.ytapp--search .yt-chiprail,
.ytapp--search .yt-chips,
.ytapp--search .yt-chip{
  pointer-events:auto!important;
}
.ytapp--search .yt-header{z-index:1000!important}
.ytapp--search .yt-chips-wrap{z-index:120!important}
