/* Quiet navigation: content and state carry the hierarchy, not decorated containers. */
body.ydg-ui-refined .left-sidebars { gap: 4px; }
body.ydg-ui-refined .left-sidebars .video-sidebar {
 padding: 0; margin: 0; border: 0; border-radius: 0;
 background: transparent; box-shadow: none;
}
body.ydg-ui-refined .left-sidebars .video-sidebar__nav { gap: 3px; }
body.ydg-ui-refined .left-sidebars .video-sidebar__item {
 min-height: 42px; padding: 10px 12px; border: 0; border-radius: 6px;
 background: transparent; color: #b4b5be; box-shadow: none;
 font-size: 14px; font-weight: 500; line-height: 1.5;
}
body.ydg-ui-refined .left-sidebars .video-sidebar__item:not(.video-sidebar__item--vip):hover { background: #1b1e24; color: #f3f3f5; }
body.ydg-ui-refined .left-sidebars .video-sidebar__item:not(.video-sidebar__item--vip).is-active { background: #20232a; color: #fff; font-weight: 650; }
body.ydg-ui-refined .left-sidebars .video-sidebar h2 { margin: 12px 0 4px; font-size: 14px; font-weight: 600; color: #d4d4db; }
body.ydg-ui-refined .left-sidebars .video-sidebar h2::before { content: none; }
body.ydg-ui-refined .left-sidebars .video-sidebar__section-toggle { min-height: 44px; padding-left: 12px; }
/* These labels repeat the era already named in the heading. */
body.ydg-ui-refined .left-sidebars .video-sidebar__section-toggle .ydg-type-badge { display: none; }
body.ydg-ui-refined .left-sidebars .category-drawer-list { gap: 1px; }
body.ydg-ui-refined .left-sidebars .category-parent-row,
body.ydg-ui-refined .left-sidebars .category-drawer-item.is-open > .category-parent-row {
 border-color: transparent; border-radius: 6px; background: transparent; box-shadow: none;
}
body.ydg-ui-refined .left-sidebars .category-parent-row:hover { background: #1b1e24; }
body.ydg-ui-refined .left-sidebars .category-parent-link,
body.ydg-ui-refined .left-sidebars .category-child-item a {
 min-height: 40px; border: 0; border-radius: 5px; background: transparent;
 color: #b4b5be; font-weight: 500; font-size: 13px; box-shadow: none;
 transform: none; animation: none;
}
body.ydg-ui-refined .left-sidebars .category-parent-link { padding-left: 12px; }
body.ydg-ui-refined .left-sidebars .category-parent-link.is-active,
body.ydg-ui-refined .left-sidebars .category-child-item.is-active a { background: #23262e; color: #fff; font-weight: 650; }
body.ydg-ui-refined .left-sidebars .category-child-item a:hover { background: #1b1e24; color: #fff; }
body.ydg-ui-refined .left-sidebars .category-count,
body.ydg-ui-refined .left-sidebars .category-child-item em,
body.ydg-ui-refined .left-sidebars .video-sidebar__item em {
 padding: 0; min-width: 0; background: transparent; color: #858793; font-weight: 400; font-size: 11px;
}
body.ydg-ui-refined .left-sidebars .category-toggle { width: 32px; height: 32px; border-radius: 4px; background: transparent; color: #858793; }
body.ydg-ui-refined .left-sidebars .category-toggle:hover { background: #272a32; color: #fff; }
body.ydg-ui-refined .left-sidebars .category-children::before { background: #2a2d35; }
body.ydg-ui-refined .left-sidebars .video-sidebar--clips { margin-top: 12px; padding-top: 12px; border-top: 1px solid #24262e; }
body.ydg-ui-refined .left-sidebars .video-sidebar__clips-logo { width: 22px; height: 22px; flex-basis: 22px; border-radius: 4px; }
body.ydg-ui-refined .left-sidebars .video-sidebar__home-icon { width: 20px; height: 20px; color: #a3a5af; }
body.ydg-ui-refined .left-sidebars .video-sidebar__home-icon svg { width: 18px; height: 18px; }
body.ydg-ui-refined .left-sidebars :is(a,button):focus-visible { outline: 2px solid #c0c2cb; outline-offset: 2px; }

/* Desktop supporting rail: one surface, with space between useful sections. */
body.ydg-ui-refined .right-recommend-sidebar { gap: 24px; }
body.ydg-ui-refined .right-recommend-sidebar .right-widget:not(.right-widget--vip-active) {
 padding: 0 0 22px; border: 0; border-bottom: 1px solid #262831;
 border-radius: 0; background: transparent; box-shadow: none;
}
body.ydg-ui-refined .right-recommend-sidebar .right-widget h2 { font-size: 16px; font-weight: 650; letter-spacing: 0; }
body.ydg-ui-refined .right-recommend-sidebar .right-widget p { font-size: 13px; line-height: 1.8; color: #999ca8; }
body.ydg-ui-refined .right-recommend-sidebar .right-app-card__glow { display: none; }
body.ydg-ui-refined .right-recommend-sidebar .right-app-card__eyebrow { display: none; }
body.ydg-ui-refined .right-recommend-sidebar .right-app-card__icon { width: 44px; height: 44px; border-radius: 9px; box-shadow: none; }
body.ydg-ui-refined .right-recommend-sidebar .right-app-card__version { padding: 0; border: 0; background: transparent; color: #9396a2; font-weight: 400; font-size: 11px; }
body.ydg-ui-refined .right-recommend-sidebar .right-app-card__download {
 min-height: 40px; border-radius: 6px; background: #252831; color: #edeef1;
 box-shadow: none; transform: none; filter: none; font-weight: 600;
}
body.ydg-ui-refined .right-recommend-sidebar .right-app-card__download:hover { background: #30343f; }
body.ydg-ui-refined .right-recommend-sidebar .right-widget:not(.right-widget--vip-active) .right-widget__button {
 border-radius: 6px; background: #252831; color: #edeef1; font-weight: 600;
}
body.ydg-ui-refined .right-recommend-sidebar .right-widget--vip:not(.right-widget--vip-active) > .right-widget__button { background: #bd3546; color: #fff; }
body.ydg-ui-refined .right-recommend-sidebar .right-widget--vip-active { box-shadow: none; }
body.ydg-ui-refined .right-recommend-sidebar .vip-status-card__shine { display: none; }
body.ydg-ui-refined .right-recommend-sidebar .ydg-trial-sidebar { border: 0; border-radius: 6px; padding: 12px; }
body.ydg-ui-refined .right-recommend-sidebar .ydg-trial-sidebar__offer { font-size: 23px; }

@media (max-width: 767px) {
 body.ydg-ui-refined .left-sidebars { width: min(86vw, 320px); padding: 20px 18px max(24px,env(safe-area-inset-bottom,0px)); box-shadow: 10px 0 32px #0003; }
 body.ydg-ui-refined .mobile-drawer-auth { grid-template-columns: 1fr 1fr; gap: 0 12px; padding-bottom: 14px; margin-bottom: 8px; border-color: #24262e; }
 body.ydg-ui-refined .mobile-drawer-brand { grid-column: 1 / -1; margin-bottom: 14px; }
 body.ydg-ui-refined .mobile-drawer-brand__logo { height: 36px; max-width: 136px; }
 body.ydg-ui-refined .mobile-drawer-auth > a:not(.mobile-drawer-brand) {
  justify-content: center; min-height: 44px; padding: 8px; border: 0;
  border-radius: 5px; background: transparent; color: #d4d5dc; font-size: 14px;
  font-weight: 500; box-shadow: none; transform: none;
 }
 body.ydg-ui-refined .mobile-drawer-auth > a:not(.mobile-drawer-brand):hover { background: #1b1e24; }
 body.ydg-ui-refined .ydg-drawer-close { top: 16px; right: 12px; background: transparent; color: #a4a6af; font-size: 26px; border-radius: 5px; }
 body.ydg-ui-refined .left-sidebars .video-sidebar { margin-bottom: 2px; }
 body.ydg-ui-refined .left-sidebars .video-sidebar__item { min-height: 44px; font-size: 15px; }
 body.ydg-ui-refined .left-sidebars .video-sidebar--home { margin-bottom: 8px; }
 body.ydg-ui-refined .left-sidebars .video-sidebar--vip-entry { margin: 0 0 12px; padding-bottom: 16px; border-bottom: 1px solid #24262e; }
 body.ydg-ui-refined .left-sidebars .video-sidebar__item--vip { background: #bd3546; color: #fff; font-weight: 600; }
 body.ydg-ui-refined .left-sidebars .video-sidebar__item--vip-open:is(:hover,.is-active) { background: #a92b3d; }
 body.ydg-ui-refined .left-sidebars .video-sidebar__item--plan-monthly { background: #195c9d; }
 body.ydg-ui-refined .left-sidebars .video-sidebar__item--plan-quarterly { background: #a92c66; }
 body.ydg-ui-refined .left-sidebars .video-sidebar__item--plan-yearly { background: #ef932b; color: #241000; }
 body.ydg-ui-refined .left-sidebars .video-sidebar__item--plan-lifetime { background: #211d12; color: #f4d384; box-shadow: inset 0 0 0 1px #806b3b; }
 body.ydg-ui-refined .left-sidebars .video-sidebar__item--plan-trial { background: #b84149; }
 body.ydg-ui-refined .left-sidebars .video-sidebar__vip-icon { color: inherit; font-size: 18px; }
 body.ydg-ui-refined .left-sidebars .ydg-trial-sidebar--compact { margin-top: 5px; border: 0; border-radius: 6px; background: #f5e9d8; color: #71383a; }
 body.ydg-ui-refined .left-sidebars .ydg-trial-sidebar__label { font-size: 13px; font-weight: 600; }
 body.ydg-ui-refined .left-sidebars .ydg-trial-sidebar__label small { color: #877468; font-size: 10px; }
 body.ydg-ui-refined .left-sidebars .ydg-trial-sidebar__offer { font-size: 22px; font-weight: 700; }
 body.ydg-ui-refined .left-sidebars .video-sidebar h2 { margin-top: 0; margin-bottom: 0; font-size: 15px; }
 body.ydg-ui-refined .left-sidebars .video-sidebar__section-toggle { min-height: 46px; }
 body.ydg-ui-refined .left-sidebars .video-sidebar__section-toggle::after { width: 7px; height: 7px; border-width: 1px; color: #858793; }
 body.ydg-ui-refined .left-sidebars .category-parent-link,
 body.ydg-ui-refined .left-sidebars .category-child-item a { min-height: 44px; font-size: 14px; }
 body.ydg-ui-refined .left-sidebars .category-toggle { width: 40px; height: 40px; }
 body.ydg-ui-refined .left-sidebars .video-sidebar--clips { margin-top: 12px; padding-top: 12px; }
}
/* Ranking entries read as a list, with hover reserved for the current row. */
body.ydg-ui-refined.home .right-recommend-sidebar .right-hot-list--recent {
 padding: 0; gap: 6px; background: transparent; border-radius: 0;
}
body.ydg-ui-refined .right-recommend-sidebar .right-hot-item {
 background: transparent; border: 0; border-radius: 5px; box-shadow: none;
}
body.ydg-ui-refined.home .right-recommend-sidebar .right-hot-list--recent .right-hot-item {
 padding: 5px 0; background: transparent; box-shadow: none;
}
body.ydg-ui-refined.home .right-recommend-sidebar .right-hot-list--recent .right-hot-item:hover { background: #191c22; }
body.ydg-ui-refined.home .right-recommend-sidebar .right-hot-list--recent .right-hot-item::before { content: none; }
body.ydg-ui-refined .right-recommend-sidebar .right-hot-item strong { font-weight: 500; }
body.ydg-ui-refined .right-recommend-sidebar .right-hot-item__thumb b { border-radius: 3px; background: #32353c; font-weight: 600; }
body.ydg-ui-refined .right-recommend-sidebar .right-notice-feature { padding-left: 0; border-left: 0; }
body.ydg-ui-refined .right-recommend-sidebar .right-notice-feature__label { margin-bottom: 6px; color: #8d909b; letter-spacing: 0; }
