/* YouTube look-alike screens (.ytp). Not affiliated with YouTube. Controls live in pvcore.css. */
/* ===== mock screens ===== */
.ytp { --bg: #fff; --fg: #0f0f0f; --fg2: #606060; --chip: #f2f2f2; --chipfg: #0f0f0f; --chipsel: #0f0f0f; --chipselfg: #fff; --line: #e5e5e5; --hover: #f2f2f2; --btn: #f2f2f2; --searchbg: #fff; --searchline: #ccc; --searchbtn: #f8f8f8;
  font-family: Roboto, Arial, sans-serif; background: var(--bg); color: var(--fg); text-align: left; position: relative; -webkit-font-smoothing: antialiased; line-height: 1.4; }
.ytp.dark { --bg: #0f0f0f; --fg: #f1f1f1; --fg2: #aaa; --chip: #272727; --chipfg: #f1f1f1; --chipsel: #f1f1f1; --chipselfg: #0f0f0f; --line: #303030; --hover: #272727; --btn: #272727; --searchbg: #121212; --searchline: #303030; --searchbtn: #222; }
.ytp * { box-sizing: border-box; margin: 0; padding: 0; }
.ytp svg { display: block; fill: currentColor; }
.ytp.hi .mine .th { box-shadow: 0 0 0 3px #ff3d3d; }
.ytp .top { height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; background: var(--bg); }
.ytp .top .l { display: flex; align-items: center; gap: 16px; width: 200px; }
.ytp .top .ic { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.ytp .vlogo { display: flex; align-items: center; gap: 4px; font: 700 20px/1 Roboto, Arial, sans-serif; letter-spacing: -.5px; }
.ytp .vlogo .vmk { width: 28px; height: 20px; background: #f00; border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.ytp .vlogo .vmk i { border-left: 8px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 2px; }
.ytp .search { display: flex; flex: 0 1 600px; }
.ytp .search .in { flex: 1; height: 40px; border: 1px solid var(--searchline); border-right: 0; border-radius: 40px 0 0 40px; padding: 0 16px; display: flex; align-items: center; font-size: 16px; background: var(--searchbg); color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ytp .search .in.ph { color: var(--fg2); }
.ytp .search .bt { width: 64px; height: 40px; border: 1px solid var(--searchline); border-radius: 0 40px 40px 0; background: var(--searchbtn); display: flex; align-items: center; justify-content: center; }
.ytp .top .mic { width: 40px; height: 40px; border-radius: 50%; background: var(--btn); display: flex; align-items: center; justify-content: center; margin-left: 10px; }
.ytp .top .r { display: flex; align-items: center; gap: 8px; width: 200px; justify-content: flex-end; }
.ytp .top .r .vpill { height: 36px; border-radius: 18px; background: var(--btn); padding: 0 14px 0 10px; display: flex; align-items: center; gap: 6px; font: 500 14px Roboto, Arial; }
.ytp .av { border-radius: 50%; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 500; flex: none; }
.ytp .body { display: flex; }
.ytp .rail { width: 72px; flex: none; padding: 4px; display: flex; flex-direction: column; align-items: center; }
.ytp .rail .it { width: 64px; height: 74px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 10px; border-radius: 10px; }
.ytp .rail .it.sel { background: var(--hover); }
.ytp .main { flex: 1; min-width: 0; }
.ytp .chips { display: flex; gap: 12px; padding: 12px 24px; overflow: hidden; background: var(--bg); }
.ytp .vchip { height: 32px; border-radius: 8px; background: var(--chip); color: var(--chipfg); padding: 0 12px; display: flex; align-items: center; font: 500 14px Roboto, Arial; white-space: nowrap; flex: none; }
.ytp .vchip.sel { background: var(--chipsel); color: var(--chipselfg); }
.ytp .grid { display: grid; gap: 40px 16px; padding: 16px 24px 32px; }
.ytp .vcard .th { position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: #272727; }
.ytp .th { position: relative; overflow: hidden; background: #272727; aspect-ratio: 16/9; border-radius: 12px; }
.ytp .th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ytp .dur { position: absolute; right: 8px; bottom: 8px; background: rgba(0, 0, 0, .8); color: #fff; font: 500 12px/18px Roboto, Arial; padding: 0 4px; border-radius: 4px; letter-spacing: .5px; }
.ytp .vprog { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .3); }
.ytp .vprog i { display: block; height: 100%; background: #f00; }
.ytp .vcard .info { display: flex; gap: 12px; padding-top: 12px; }
.ytp .vcard .vtx { min-width: 0; flex: 1; }
.ytp .ti { font: 500 16px/22px Roboto, Arial; color: var(--fg); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.ytp .ch { font: 400 14px/20px Roboto, Arial; color: var(--fg2); margin-top: 4px; display: flex; align-items: center; gap: 4px; }
.ytp .mt { font: 400 14px/20px Roboto, Arial; color: var(--fg2); }
.ytp .vf { width: 14px; height: 14px; flex: none; fill: var(--fg2); }
.ytp .dots { width: 24px; flex: none; color: var(--fg); margin-top: -2px; }
/* search */
.ytp .res { display: flex; flex-direction: column; gap: 16px; padding: 16px 24px 32px; max-width: 1096px; margin: 0 auto; width: 100%; }
.ytp .res .row { display: flex; gap: 16px; }
.ytp .res .th { width: 360px; flex: none; }
.ytp .res .ti { font: 400 18px/26px Roboto, Arial; -webkit-line-clamp: 2; }
.ytp .res .mt { font-size: 12px; line-height: 18px; margin-top: 2px; }
.ytp .res .chrow { display: flex; align-items: center; gap: 8px; margin: 12px 0; font: 400 12px/18px Roboto, Arial; color: var(--fg2); }
.ytp .res .desc { font: 400 12px/18px Roboto, Arial; color: var(--fg2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ytp .res .tags { margin-top: 8px; }
.ytp .res .tags span { display: inline-block; background: var(--chip); color: var(--fg2); font: 500 12px/18px Roboto, Arial; padding: 0 6px; border-radius: 4px; }
/* watch */
.ytp .watch { display: flex; gap: 24px; padding: 24px; justify-content: center; }
.ytp .watch .pl { width: 856px; flex: none; }
.ytp .player { aspect-ratio: 16/9; border-radius: 12px; background: #000; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ytp .player .ctl { position: absolute; left: 0; right: 0; bottom: 0; height: 48px; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); }
.ytp .player .ctl i { position: absolute; left: 12px; right: 12px; bottom: 36px; height: 3px; background: rgba(255, 255, 255, .3); }
.ytp .player .ctl i b { display: block; width: 34%; height: 100%; background: #f00; }
.ytp .watch h1 { font: 600 20px/28px Roboto, Arial; margin: 12px 0; }
.ytp .wrow { display: flex; align-items: center; gap: 12px; }
.ytp .wrow .vnm { font: 500 16px/22px Roboto, Arial; display: flex; align-items: center; gap: 4px; }
.ytp .wrow .sub { font: 400 12px/18px Roboto, Arial; color: var(--fg2); }
.ytp .vbtn { height: 36px; border-radius: 18px; padding: 0 16px; display: flex; align-items: center; font: 500 14px Roboto, Arial; background: var(--btn); }
.ytp .vbtn.vsb { background: var(--fg); color: var(--bg); }
.ytp .desc2 { margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--btn); font: 400 14px/20px Roboto, Arial; }
.ytp .side { width: 402px; flex: none; }
.ytp .side .chips { padding: 0 0 12px; gap: 8px; }
.ytp .side .row { display: flex; gap: 8px; margin-bottom: 8px; }
.ytp .side .th { width: 168px; flex: none; border-radius: 8px; }
.ytp .side .dur { right: 4px; bottom: 4px; font-size: 12px; }
.ytp .side .ti { font: 500 14px/20px Roboto, Arial; }
.ytp .side .ch { font-size: 12px; line-height: 18px; margin-top: 2px; }
.ytp .side .mt { font-size: 12px; line-height: 18px; }
/* mobile */
.ytp.m { width: 390px; }
.ytp.m .top { height: 52px; padding: 0 8px 0 12px; }
.ytp.m .top .r { width: auto; gap: 4px; }
.ytp.m .top .ic { width: 36px; height: 36px; }
.ytp.m .chips { padding: 6px 12px 10px; gap: 8px; }
.ytp.m .vchip { height: 32px; font-size: 14px; }
.ytp.m .mfeed { display: flex; flex-direction: column; gap: 22px; padding: 4px 0 90px; }
.ytp.m .vcard .th { border-radius: 12px; margin: 0 12px; }
.ytp.m .vcard .info { padding: 12px 12px 0; gap: 12px; }
.ytp.m .ti { font: 500 14px/20px Roboto, Arial; }
.ytp.m .ch, .ytp.m .mt { font-size: 12px; line-height: 18px; }
.ytp.m .vnav { position: absolute; left: 0; right: 0; bottom: 0; height: 56px; background: var(--bg); border-top: 1px solid var(--line); display: flex; justify-content: space-around; align-items: center; font: 400 10px Roboto, Arial; }
.ytp.m .vnav div { display: flex; flex-direction: column; align-items: center; gap: 3px; }
/* tiny sizes */
.ytp .tiny { padding: 24px; display: flex; flex-direction: column; gap: 22px; }
.ytp .tiny .tr { display: flex; gap: 14px; align-items: flex-start; }
.ytp .tiny .lbl { width: 150px; flex: none; font: 500 13px/18px Roboto, Arial; color: var(--fg2); }
.ytp .tiny .th { border-radius: 8px; flex: none; }
