/* Audio Kotha Video Platform — YouTube-style shell */
body[data-page="video-platform"] {
    --ytp-bg: #050b17;
    --ytp-panel: rgba(11,23,46,.78);
    --ytp-line: rgba(147,197,253,.13);
    --ytp-text: #EDF4FF;
    --ytp-muted: #8EA6C8;
    --ytp-blue: #2154D8;
    --ytp-sky: #60A5FA;
    background:
        radial-gradient(80% 55% at 20% -10%, rgba(33,84,216,.22), transparent 58%),
        radial-gradient(55% 45% at 100% 20%, rgba(96,165,250,.08), transparent 60%),
        var(--ytp-bg) !important;
    color: var(--ytp-text);
}
body[data-page="video-platform"] .site-head,
body[data-page="video-platform"] .site-foot,
body[data-page="video-platform"] .ticker,
body[data-page="video-platform"] .app-tabbar,
body[data-page="video-platform"] .ak-mini,
body[data-page="video-platform"] .head-search-drawer,
body[data-page="video-platform"] .site-drawer,
body[data-page="video-platform"] .bg-mesh,
body[data-page="video-platform"] .skip-link { display: none !important; }
body[data-page="video-platform"] .site-main { max-width: none !important; padding: 0 !important; margin: 0 !important; }
body[data-page="video-platform"] .ytp-app { min-height: 100vh; }

.ytp-app, .ytp-app * { box-sizing: border-box; }
.ytp-app a { color: inherit; text-decoration: none; }
.ytp-app button { font: inherit; }

.ytp-sidebar {
    position: fixed;
    z-index: 40;
    inset: 0 auto 0 0;
    width: 232px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 12px 18px;
    border-right: 1px solid var(--ytp-line);
    background: linear-gradient(180deg, rgba(7,17,36,.96), rgba(4,10,22,.97));
    backdrop-filter: blur(18px);
    overflow-y: auto;
}
.ytp-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px 20px;
}
.ytp-logo-mark {
    display: grid;
    place-items: center;
    width: 33px;
    height: 33px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2154D8, #3B82F6);
    color: #fff;
    box-shadow: 0 12px 28px -14px rgba(59,130,246,.9);
    font-size: 0;
}
.ytp-logo-copy { font-size: 15px; font-weight: 850; letter-spacing: -.03em; line-height: 1; }
.ytp-logo-copy b { color: #fff; }
.ytp-logo-copy small { display: block; margin-top: 3px; color: #7FA9E8; font-size: 6.5px; font-weight: 900; letter-spacing: .2em; }

.ytp-nav { display: flex; flex-direction: column; gap: 2px; }
.ytp-nav a {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 38px;
    padding: 8px 11px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #A9BEDC;
    font-size: 11px;
    font-weight: 700;
    transition: background .15s, color .15s, border-color .15s;
}
.ytp-nav a svg { width: 18px; height: 18px; opacity: .8; }
.ytp-nav a:hover { background: rgba(255,255,255,.045); color: #fff; }
.ytp-nav a.is-active {
    background: linear-gradient(90deg, rgba(33,84,216,.30), rgba(33,84,216,.08));
    border-color: rgba(96,165,250,.22);
    color: #fff;
}
.ytp-nav a.is-active svg { opacity: 1; color: #93C5FD; }
.ytp-rail-divider { height: 1px; margin: 10px 9px; background: var(--ytp-line); }
.ytp-rail-label { padding: 7px 12px 5px; color: #6E86A8; font-size: 8px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.ytp-nav-small a { min-height: 31px; padding: 6px 12px; font-size: 10px; color: #91A8C8; }
.ytp-cat-dot { width: 6px; height: 6px; border-radius: 50%; background: #3B82F6; box-shadow: 0 0 10px rgba(96,165,250,.8); }
.ytp-rail-empty { padding: 7px 12px; color: #7388A6; font-size: 10px; }
.ytp-sidebar-foot {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 10px 2px;
    border-top: 1px solid var(--ytp-line);
    color: #6F86A6;
    font-size: 8.5px;
    font-weight: 700;
}

.ytp-shell { margin-left: 232px; min-width: 0; }
.ytp-topbar {
    position: sticky;
    top: 0;
    z-index: 35;
    display: flex;
    align-items: center;
    gap: 14px;
    height: 64px;
    padding: 0 26px;
    border-bottom: 1px solid var(--ytp-line);
    background: rgba(5,11,23,.82);
    backdrop-filter: blur(18px);
}
.ytp-mobile-logo { display: none; align-items: center; gap: 7px; font-size: 13px; font-weight: 850; }
.ytp-mobile-logo .ytp-logo-mark { width: 26px; height: 26px; border-radius: 8px; }
.ytp-search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 1 520px;
    margin: 0 auto;
    padding: 0 8px 0 13px;
    height: 38px;
    border: 1px solid rgba(147,197,253,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.035);
    transition: border-color .16s, background .16s;
}
.ytp-search:focus-within { border-color: rgba(96,165,250,.55); background: rgba(255,255,255,.055); }
.ytp-search svg { color: #7E98BD; flex: 0 0 auto; }
.ytp-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; font-size: 11px; }
.ytp-search input::placeholder { color: #7389A8; }
.ytp-search button {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: rgba(33,84,216,.28);
    color: #BFDBFE;
    cursor: pointer;
}
.ytp-top-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.ytp-top-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #A9BEDC;
    font-size: 9px;
    font-weight: 750;
}
.ytp-top-link:hover { background: rgba(255,255,255,.05); color: #fff; border-color: var(--ytp-line); }
.ytp-avatar {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border: 1px solid rgba(147,197,253,.35);
    border-radius: 50%;
    background: linear-gradient(135deg, #2154D8, #3B82F6);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
}
.ytp-icon-btn {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--ytp-line);
    border-radius: 9px;
    background: rgba(255,255,255,.04);
    color: #cfe0f7;
    cursor: pointer;
}
.ytp-menu { display: none; }

.ytp-main { width: min(1560px, 100%); margin: 0 auto; padding: 18px 26px 96px; }
.ytp-breadcrumb { display: flex; align-items: center; gap: 7px; margin-bottom: 12px; color: #7188A8; font-size: 9px; font-weight: 700; }
.ytp-breadcrumb a:hover { color: #BFDBFE; }
.ytp-breadcrumb strong { color: #B9CDE8; font-weight: 800; }

.ytp-hero { margin-bottom: 20px; }
.ytp-feature { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr); gap: 18px; align-items: start; }
.ytp-player-card {
    overflow: hidden;
    border: 1px solid rgba(147,197,253,.18);
    border-radius: 18px;
    background: linear-gradient(150deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
    box-shadow: 0 30px 70px -50px rgba(0,0,0,.95);
}
.ytp-stage {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background:
        radial-gradient(80% 80% at 20% 0%, rgba(33,84,216,.35), transparent 58%),
        #020713;
    isolation: isolate;
}
.ytp-media { position: absolute; inset: 0; z-index: 1; }
.ytp-media iframe, .ytp-media video { width: 100%; height: 100%; display: block; border: 0; background: #000; }
.ytp-media iframe { pointer-events: none !important; }
.ytp-poster {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    border: 0;
    padding: 0;
    background: var(--ytp-thumb, none) center / cover no-repeat, #020713;
    color: #fff;
    cursor: pointer;
}
.ytp-poster::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2,7,19,.34), transparent 34%, rgba(2,7,19,.42)),
        linear-gradient(90deg, rgba(2,7,19,.22), transparent 45%);
}
.ytp-poster-shade {
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 60% at 50% 50%, transparent, rgba(2,7,19,.45));
}
.ytp-poster-play {
    position: relative;
    z-index: 1;
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    padding-left: 4px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    background: rgba(8,22,48,.50);
    box-shadow: 0 24px 60px -24px #000, 0 0 0 9px rgba(96,165,250,.10);
    backdrop-filter: blur(14px);
    transition: background .16s, transform .16s, box-shadow .16s;
}
.ytp-poster:hover .ytp-poster-play {
    background: #2154D8;
    transform: scale(1.05);
    box-shadow: 0 24px 60px -18px rgba(33,84,216,.8), 0 0 0 11px rgba(96,165,250,.16);
}
.ytp-poster-badge {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    border: 1px solid rgba(147,197,253,.32);
    border-radius: 999px;
    background: rgba(4,13,33,.7);
    color: #DBEAFE;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .13em;
    backdrop-filter: blur(10px);
}
.ytp-chrome-top {
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 15px 30px;
    background: linear-gradient(180deg, rgba(2,7,22,.82), transparent);
    pointer-events: none;
}
.ytp-brand-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(239,246,255,.9);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .18em;
}
.ytp-brand-chip b { color: #93C5FD; }
.ytp-brand-chip i { width: 6px; height: 6px; border-radius: 50%; background: #60A5FA; box-shadow: 0 0 14px rgba(96,165,250,.95); }
.ytp-quality-chip {
    padding: 3px 7px;
    border: 1px solid rgba(147,197,253,.3);
    border-radius: 5px;
    color: #BFDBFE;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .08em;
}
.ytp-progress { position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.13); pointer-events: none; }
.ytp-progress i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #2154D8, #60A5FA); box-shadow: 0 0 14px rgba(96,165,250,.8); transition: width .45s linear; }

.ytp-info { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 17px 13px; }
.ytp-info-main { min-width: 0; }
.ytp-kicker { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; color: #8EA6C8; font-size: 8px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.ytp-kicker-dot { width: 5px; height: 5px; border-radius: 50%; background: #60A5FA; box-shadow: 0 0 9px rgba(96,165,250,.9); }
.ytp-dot { color: #435674; }
.ytp-info h1 { margin: 0; color: #F3F8FF; font-size: clamp(17px, 2vw, 25px); line-height: 1.15; letter-spacing: -.035em; }
.ytp-meta-line { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-top: 9px; color: #8FA7C7; font-size: 9px; }
.ytp-meta-line b { color: #DBEAFE; font-weight: 850; }
.ytp-avatar-sm { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #2154D8, #3B82F6); color: #fff; font-size: 7px; font-weight: 900; }
.ytp-channel { color: #C7DBF5; font-weight: 800; }
.ytp-info-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.ytp-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid rgba(147,197,253,.18);
    border-radius: 8px;
    background: rgba(255,255,255,.045);
    color: #C7DBF5;
    font-size: 9px;
    font-weight: 800;
    cursor: pointer;
}
.ytp-pill:hover { background: rgba(33,84,216,.3); border-color: rgba(96,165,250,.45); color: #fff; }
.ytp-pill.is-on { background: #2154D8; border-color: rgba(147,197,253,.5); color: #fff; }
.ytp-pill-blue { background: linear-gradient(135deg, #2154D8, #3B82F6); border-color: transparent; color: #fff; }
.ytp-player-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; border-top: 1px solid var(--ytp-line); background: rgba(3,11,27,.42); }
.ytp-tools-label { display: inline-flex; align-items: center; gap: 5px; color: #7791B4; font-size: 8px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.ytp-tools-actions { display: flex; gap: 6px; }
.ytp-tools-actions button { display: inline-flex; align-items: center; gap: 4px; height: 29px; padding: 0 9px; border: 1px solid rgba(147,197,253,.18); border-radius: 7px; background: rgba(255,255,255,.04); color: #BBD2EE; font-size: 8px; font-weight: 800; cursor: pointer; }
.ytp-tools-actions button:hover { background: rgba(33,84,216,.34); border-color: rgba(96,165,250,.4); color: #fff; }

.ytp-upnext { min-width: 0; }
.ytp-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 3px 0 9px; }
.ytp-section-head h2 { margin: 0; color: #E7F1FF; font-size: 13px; letter-spacing: -.02em; }
.ytp-section-head span { color: #6C84A5; font-size: 7.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ytp-upnext-list { display: flex; flex-direction: column; gap: 7px; }
.ytp-next-card { display: grid; grid-template-columns: 112px minmax(0,1fr); gap: 9px; width: 100%; padding: 6px; border: 1px solid transparent; border-radius: 10px; background: transparent; text-align: left; cursor: pointer; }
.ytp-next-card:hover, .ytp-next-card.is-active { border-color: rgba(147,197,253,.2); background: rgba(255,255,255,.045); }
.ytp-next-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: 7px; background: #071226; }
.ytp-next-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.ytp-next-thumb em { position: absolute; right: 5px; bottom: 5px; padding: 2px 4px; border-radius: 3px; background: rgba(2,6,23,.82); color: #fff; font-size: 6.5px; font-style: normal; font-weight: 800; }
.ytp-next-copy { min-width: 0; padding-top: 1px; }
.ytp-next-copy strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #DCE9FA; font-size: 10px; line-height: 1.35; font-weight: 750; }
.ytp-next-copy small { display: block; margin-top: 4px; color: #7F96B5; font-size: 7.5px; }

.ytp-filterbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 4px 0 13px; }
.ytp-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.ytp-chips::-webkit-scrollbar { display: none; }
.ytp-chip { flex: 0 0 auto; padding: 7px 11px; border: 1px solid var(--ytp-line); border-radius: 8px; background: rgba(255,255,255,.035); color: #A7BDD9; font-size: 9px; font-weight: 750; }
.ytp-chip:hover { color: #fff; border-color: rgba(147,197,253,.35); }
.ytp-chip.is-active { background: #EAF2FF; color: #0A1A34; border-color: #EAF2FF; font-weight: 850; }
.ytp-count { flex: 0 0 auto; color: #7188A8; font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.ytp-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 17px 14px; }
.ytp-card { min-width: 0; border-radius: 12px; padding: 0; transition: transform .16s; }
.ytp-card:hover { transform: translateY(-2px); }
.ytp-card-thumb { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; border: 1px solid rgba(147,197,253,.12); border-radius: 11px; background: #071226; }
.ytp-card-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s, opacity .2s; }
.ytp-card:hover .ytp-card-thumb img { transform: scale(1.035); opacity: .85; }
.ytp-card-thumb em { position: absolute; right: 6px; bottom: 6px; padding: 2px 4px; border-radius: 3px; background: rgba(2,6,23,.86); color: #fff; font-size: 7px; font-style: normal; font-weight: 850; }
.ytp-card-play { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; background: rgba(2,7,19,.28); color: #fff; transition: opacity .16s; }
.ytp-card:hover .ytp-card-play { opacity: 1; }
.ytp-card-play svg { width: 40px; height: 40px; padding: 10px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(8,22,48,.5); backdrop-filter: blur(10px); }
.ytp-card-body { display: grid; grid-template-columns: 26px minmax(0,1fr); gap: 8px; padding-top: 9px; }
.ytp-card-avatar { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #2154D8, #3B82F6); color: #fff; font-size: 7px; font-weight: 900; }
.ytp-card-copy { min-width: 0; }
.ytp-card-copy strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #E3EEFC; font-size: 10.5px; line-height: 1.35; font-weight: 750; }
.ytp-card-copy small { display: block; margin-top: 3px; color: #7F96B5; font-size: 8px; }
.ytp-card.is-playing .ytp-card-thumb { border-color: rgba(96,165,250,.55); box-shadow: 0 0 0 1px rgba(96,165,250,.18), 0 12px 30px -20px rgba(33,84,216,.9); }
.ytp-card-fallback { display: grid; place-items: center; width: 100%; height: 100%; color: #527097; background: radial-gradient(60% 60% at 40% 20%, rgba(33,84,216,.25), transparent), #071226; }

.ytp-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 340px; gap: 8px; border: 1px dashed rgba(147,197,253,.22); border-radius: 18px; background: rgba(255,255,255,.025); text-align: center; }
.ytp-empty span { color: #78A6E8; }
.ytp-empty h1 { margin: 0; color: #EAF3FF; font-size: 22px; }
.ytp-empty p { margin: 0; color: #8399B8; font-size: 11px; }

.ytp-mobile-nav { display: none; }
.ytp-scrim { display: none; }

/* Fullscreen fallback */
.ytp-fs-overlay { position: fixed; inset: 0; z-index: 9999; background: #000; }
.ytp-fs-fallback { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; aspect-ratio: auto !important; border-radius: 0 !important; }
.ytp-fs-fallback .ytp-media { position: absolute; inset: 0; }
.ytp-fs-exit { position: absolute; z-index: 10; top: 14px; right: 14px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 10px; background: rgba(4,13,33,.72); color: #fff; font-size: 20px; cursor: pointer; backdrop-filter: blur(10px); }
body.ytp-fs-lock { overflow: hidden; }

@media (max-width: 1200px) {
    .ytp-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .ytp-feature { grid-template-columns: minmax(0,1.4fr) minmax(250px,.6fr); }
}
@media (max-width: 980px) {
    .ytp-sidebar { transform: translateX(-102%); transition: transform .22s ease; box-shadow: 22px 0 50px -30px #000; }
    .ytp-sidebar.is-open { transform: none; }
    .ytp-scrim { position: fixed; inset: 0; z-index: 39; display: block; background: rgba(0,0,0,.55); opacity: 0; pointer-events: none; transition: opacity .22s; }
    .ytp-scrim.is-open { opacity: 1; pointer-events: auto; }
    .ytp-shell { margin-left: 0; }
    .ytp-menu { display: grid; }
    .ytp-topbar { gap: 10px; padding: 0 16px; }
    .ytp-top-link { display: none; }
    .ytp-feature { grid-template-columns: minmax(0,1fr); }
    .ytp-upnext { display: none; }
    .ytp-main { padding: 16px 16px 92px; }
    .ytp-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 760px) {
    .ytp-topbar { height: 56px; }
    .ytp-mobile-logo { display: inline-flex; }
    .ytp-search { flex: 1; margin: 0; height: 35px; }
    .ytp-top-actions { gap: 5px; }
    .ytp-avatar { width: 28px; height: 28px; font-size: 8px; }
    .ytp-main { padding: 12px 10px 88px; }
    .ytp-breadcrumb { margin: 0 2px 9px; }
    .ytp-info { flex-direction: column; gap: 10px; padding: 13px 12px 11px; }
    .ytp-info-actions { justify-content: flex-start; }
    .ytp-pill { height: 30px; }
    .ytp-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 9px; }
    .ytp-card-copy strong { font-size: 10px; }
    .ytp-player-card { border-radius: 15px; }
    .ytp-stage { border-radius: 15px 15px 0 0; }
    .ytp-poster-play { width: 58px; height: 58px; }
    .ytp-poster-badge { left: 10px; bottom: 10px; font-size: 6px; }
    .ytp-chrome-top { padding: 10px 11px 24px; }
    .ytp-brand-chip { font-size: 6.5px; letter-spacing: .12em; }
    .ytp-filterbar { margin-bottom: 10px; }
    .ytp-chip { padding: 6px 9px; font-size: 8px; }
    .ytp-mobile-nav {
        position: fixed;
        z-index: 50;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        align-items: center;
        justify-content: space-around;
        gap: 2px;
        padding: 7px 9px calc(7px + env(safe-area-inset-bottom));
        border-top: 1px solid rgba(147,197,253,.16);
        background: rgba(5,11,23,.94);
        backdrop-filter: blur(18px);
    }
    .ytp-mobile-nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 46px; padding: 3px 5px; border-radius: 9px; color: #8299B8; font-size: 7px; font-weight: 750; }
    .ytp-mobile-nav a svg { width: 18px; height: 18px; }
    .ytp-mobile-nav a.is-active { color: #fff; }
    .ytp-mobile-nav .ytp-mobile-center { min-width: 58px; padding: 5px 10px; border-radius: 12px; background: linear-gradient(135deg, #2154D8, #3B82F6); color: #fff; box-shadow: 0 12px 26px -16px #2154D8; }
    .ytp-mobile-center svg { width: 21px !important; height: 21px !important; }
}
@media (max-width: 430px) {
    .ytp-grid { grid-template-columns: minmax(0,1fr); }
    .ytp-card-thumb { border-radius: 12px; }
    .ytp-card-body { grid-template-columns: 28px minmax(0,1fr); }
    .ytp-ui-note { display: none; }
}

/* Native-style platform controls: play, time, seek, sound, fullscreen */
.ytp-controls {
    position: absolute;
    z-index: 8;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 12px 13px;
    background: linear-gradient(0deg, rgba(2,7,19,.95), rgba(2,7,19,.62) 58%, transparent);
    color: #fff;
}
.ytp-controls[hidden] { display: none !important; }
.ytp-c-btn {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: rgba(255,255,255,.9);
    cursor: pointer;
}
.ytp-c-btn:hover { background: rgba(255,255,255,.12); color: #fff; }
.ytp-c-btn svg { width: 15px; height: 15px; }
.ytp-c-play-ico, .ytp-c-pause-ico { display: grid; place-items: center; }
.ytp-c-pause-ico { display: none; }
.ytp-c-btn.is-playing .ytp-c-play-ico { display: none; }
.ytp-c-btn.is-playing .ytp-c-pause-ico { display: grid; }
.ytp-c-btn.is-on { color: #93C5FD; }
.ytp-c-fs { font-size: 17px; line-height: 1; font-weight: 400; }
.ytp-c-time { flex: 0 0 auto; color: rgba(255,255,255,.78); font-size: 8px; font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ytp-c-seek {
    flex: 1;
    min-width: 40px;
    height: 3px;
    margin: 0 2px;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 99px;
    background: rgba(255,255,255,.25);
    cursor: pointer;
    accent-color: #60A5FA;
}
.ytp-c-seek::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #2154D8;
    box-shadow: 0 0 8px rgba(96,165,250,.8);
}
.ytp-c-seek::-moz-range-thumb {
    width: 8px;
    height: 8px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #2154D8;
}
@media (max-width: 640px) {
    .ytp-controls { gap: 5px; padding: 16px 8px 9px; }
    .ytp-c-btn { width: 27px; height: 27px; }
    .ytp-c-time { font-size: 7px; }
}


.ytp-center {
    position: absolute;
    z-index: 7;
    left: 50%;
    top: 50%;
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    padding: 0;
    transform: translate(-50%,-50%);
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    background: rgba(255,255,255,.88);
    color: #061225;
    box-shadow: 0 20px 46px -20px rgba(0,0,0,.75);
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: transform .15s, background .15s;
}
.ytp-center:hover { background: #fff; transform: translate(-50%,-50%) scale(1.04); }
.ytp-center[hidden] { display: none !important; }
.ytp-center-play, .ytp-center-pause { display: grid; place-items: center; }
.ytp-center-pause { display: none; }
.ytp-center.is-playing .ytp-center-play { display: none; }
.ytp-center.is-playing .ytp-center-pause { display: grid; }
@media (max-width: 640px) {
    .ytp-center { width: 58px; height: 58px; }
}

/* Fullscreen: fill the display, no side bars */
.ytp-stage:fullscreen,
.ytp-fs-fallback {
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: #000 !important;
}
.ytp-stage:fullscreen .ytp-media,
.ytp-fs-fallback .ytp-media {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    background: #000 !important;
}
.ytp-stage:fullscreen .ytp-media iframe,
.ytp-stage:fullscreen .ytp-media video,
.ytp-fs-fallback .ytp-media iframe,
.ytp-fs-fallback .ytp-media video {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: max(100vw, calc(100vh * 16 / 9)) !important;
    height: max(100vh, calc(100vw * 9 / 16)) !important;
    max-width: none !important;
    max-height: none !important;
    transform: translate(-50%, -50%) !important;
    border: 0 !important;
    object-fit: cover !important;
}
.ytp-stage:fullscreen .ytp-chrome-top,
.ytp-fs-fallback .ytp-chrome-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 12;
}
.ytp-stage:fullscreen .ytp-controls,
.ytp-fs-fallback .ytp-controls {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 13;
}
.ytp-stage:fullscreen .ytp-center,
.ytp-fs-fallback .ytp-center {
    position: fixed;
    z-index: 12;
}

/* High-end glass design pass — dynamic, clear, uncluttered */
.ytp-app { position: relative; isolation: isolate; }
.ytp-app::before,
.ytp-app::after {
    content: "";
    position: fixed;
    z-index: -1;
    width: 620px;
    height: 620px;
    pointer-events: none;
    filter: blur(18px);
    opacity: .9;
}
.ytp-app::before {
    left: -280px;
    top: -300px;
    background: radial-gradient(circle, rgba(33,84,216,.26), rgba(33,84,216,.07) 45%, transparent 70%);
    animation: ytpFloatA 20s ease-in-out infinite alternate;
}
.ytp-app::after {
    right: -260px;
    top: 140px;
    background: radial-gradient(circle, rgba(96,165,250,.16), rgba(96,165,250,.045) 48%, transparent 72%);
    animation: ytpFloatB 24s ease-in-out infinite alternate;
}
@keyframes ytpFloatA { to { transform: translate3d(90px,70px,0) scale(1.08); } }
@keyframes ytpFloatB { to { transform: translate3d(-80px,-50px,0) scale(1.12); } }
@keyframes ytpRise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.ytp-sidebar {
    background: linear-gradient(180deg, rgba(10,24,52,.92), rgba(5,12,27,.90));
    border-right: 1px solid rgba(147,197,253,.14);
    box-shadow: 18px 0 50px -44px rgba(0,0,0,.9), inset -1px 0 0 rgba(255,255,255,.025);
    backdrop-filter: blur(24px);
}
.ytp-topbar {
    background: linear-gradient(180deg, rgba(7,17,38,.92), rgba(5,11,24,.80));
    border-bottom: 1px solid rgba(147,197,253,.14);
    box-shadow: 0 20px 55px -48px rgba(0,0,0,.95), inset 0 -1px 0 rgba(255,255,255,.02);
}
.ytp-search {
    background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 12px 28px -26px rgba(0,0,0,.9);
}
.ytp-nav a.is-active {
    box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 12px 30px -26px rgba(33,84,216,.95);
}
.ytp-cat-dot { animation: ytpPulseDot 2.8s ease-in-out infinite; }
@keyframes ytpPulseDot {
    0%,100% { box-shadow: 0 0 0 0 rgba(96,165,250,.35), 0 0 10px rgba(96,165,250,.8); }
    50% { box-shadow: 0 0 0 5px rgba(96,165,250,0), 0 0 14px rgba(96,165,250,.95); }
}

.ytp-player-card,
.ytp-upnext,
.ytp-card,
.ytp-empty {
    background: linear-gradient(155deg, rgba(255,255,255,.065), rgba(255,255,255,.018));
    border: 1px solid rgba(147,197,253,.14);
    box-shadow:
        0 34px 80px -58px rgba(0,0,0,.95),
        inset 0 1px 0 rgba(255,255,255,.06);
    backdrop-filter: blur(18px);
}
.ytp-player-card { border-radius: 22px; animation: ytpRise .5s both; }
.ytp-player-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(115deg, rgba(96,165,250,.09), transparent 38%, transparent 70%, rgba(33,84,216,.07));
}
.ytp-stage {
    border-radius: 18px 18px 0 0;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.055), 0 20px 50px -40px rgba(0,0,0,.85);
}
.ytp-info h1 {
    font-weight: 850;
    letter-spacing: -.045em;
    text-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.ytp-info-actions .ytp-pill {
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 12px 26px -24px rgba(0,0,0,.9);
}
.ytp-upnext { border-radius: 18px; padding: 14px; animation: ytpRise .55s .06s both; }
.ytp-next-card {
    border: 1px solid transparent;
    background: linear-gradient(120deg, rgba(255,255,255,.035), rgba(255,255,255,.008));
}
.ytp-next-card:hover,
.ytp-next-card.is-active {
    background: linear-gradient(120deg, rgba(33,84,216,.22), rgba(96,165,250,.06));
    border-color: rgba(147,197,253,.26);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 16px 34px -30px rgba(33,84,216,.9);
}

.ytp-filterbar {
    padding: 2px 0 0;
}
.ytp-chip {
    background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 10px 24px -22px rgba(0,0,0,.9);
}
.ytp-chip.is-active {
    background: linear-gradient(135deg, #F4F8FF, #DCEAFD);
    box-shadow: 0 12px 28px -18px rgba(191,219,254,.75), inset 0 1px 0 #fff;
}

.ytp-card {
    position: relative;
    overflow: hidden;
    padding: 7px 7px 10px;
    border-radius: 16px;
    animation: ytpRise .45s both;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.ytp-card:nth-child(1) { animation-delay: .03s; }
.ytp-card:nth-child(2) { animation-delay: .06s; }
.ytp-card:nth-child(3) { animation-delay: .09s; }
.ytp-card:nth-child(4) { animation-delay: .12s; }
.ytp-card:nth-child(5) { animation-delay: .15s; }
.ytp-card:nth-child(6) { animation-delay: .18s; }
.ytp-card:nth-child(7) { animation-delay: .21s; }
.ytp-card:nth-child(8) { animation-delay: .24s; }
.ytp-card:hover {
    transform: translateY(-4px);
    border-color: rgba(96,165,250,.36);
    background: linear-gradient(155deg, rgba(33,84,216,.16), rgba(255,255,255,.03));
    box-shadow:
        0 30px 60px -36px rgba(33,84,216,.75),
        inset 0 1px 0 rgba(255,255,255,.1);
}
.ytp-card-thumb {
    border-radius: 12px;
    border-color: rgba(147,197,253,.16);
    box-shadow: 0 18px 34px -30px rgba(0,0,0,.95);
}
.ytp-card-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(2,7,19,.05), transparent 45%, rgba(2,7,19,.28));
}
.ytp-card-play svg {
    border-color: rgba(191,219,254,.7);
    background: rgba(33,84,216,.72);
    box-shadow: 0 16px 34px -18px rgba(33,84,216,.95);
}
.ytp-card.is-playing {
    border-color: rgba(96,165,250,.45);
    box-shadow: 0 0 0 1px rgba(96,165,250,.18), 0 26px 55px -34px rgba(33,84,216,.8), inset 0 1px 0 rgba(255,255,255,.1);
}
.ytp-card.is-playing .ytp-card-thumb::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 2;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #60A5FA;
    box-shadow: 0 0 0 4px rgba(96,165,250,.14), 0 0 14px rgba(96,165,250,.9);
}

.ytp-app :focus-visible {
    outline: 2px solid #93C5FD;
    outline-offset: 3px;
    border-radius: 8px;
}
@media (prefers-reduced-motion: reduce) {
    .ytp-app *, .ytp-app *::before, .ytp-app *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

@media (max-width: 760px) {
    .ytp-topbar { padding: 0 10px !important; gap: 8px !important; }
    .ytp-top-actions { display: none !important; }
    .ytp-search { min-width: 0 !important; flex: 1 1 auto !important; }
    .ytp-mobile-logo { flex: 0 0 auto !important; }
    .ytp-main { overflow-x: hidden; }
    body[data-page="video-platform"] { overflow-x: hidden; }
}

/* Auto-hide player chrome during playback */
.ytp-controls,
.ytp-center,
.ytp-chrome-top {
    transition: opacity .24s ease, transform .24s ease;
}
.ytp-ui-hidden .ytp-controls,
.ytp-ui-hidden .ytp-center,
.ytp-ui-hidden .ytp-chrome-top {
    opacity: 0 !important;
    pointer-events: none !important;
}
