:root{--bg:#141210;--bar:#1c1916;--chip:#2a2520;--chip-h:#3a332b;--text:#f3ede4;--muted:#a99f91;--visited:#8a8277;--accent:#f29211;--img:#221e1a}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font:14px/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
a{color:inherit;text-decoration:none}
img{display:block;border:0}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
.sprite{display:none}
.ic{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;flex:none}

.hdr{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;height:48px;background:var(--bar);border-bottom:1px solid #000}
.hb{display:flex;align-items:center;justify-content:center;width:48px;height:48px}
.hb .ic{width:26px;height:26px}
.logo{font-size:23px;font-weight:300;letter-spacing:.5px;white-space:nowrap;line-height:48px}
.logo span{color:var(--accent);font-weight:700}

.sbar{display:none;gap:6px;padding:8px;background:var(--bar)}
.sbar.open{display:flex}
.sbar input{flex:1;min-width:0;height:42px;padding:0 14px;border:0;border-radius:21px;background:#fff;color:#111;font-size:16px;outline:0}
.sbar button{width:52px;height:42px;border-radius:21px;background:var(--accent);color:#111;display:flex;align-items:center;justify-content:center}

.chips{display:flex;gap:6px;overflow-x:auto;padding:8px 6px;background:var(--bar);scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chips a{flex:none;height:32px;line-height:32px;padding:0 13px;border-radius:16px;background:var(--chip);font-size:13px;font-weight:600;white-space:nowrap}
.chips a:active,.tags a:active{background:var(--chip-h)}

.drawer{display:none;position:fixed;inset:0;z-index:60;background:rgba(0,0,0,.6)}
.menu-open{overflow:hidden}
.menu-open .drawer{display:block}
.drawer-in{position:absolute;top:0;left:0;bottom:0;width:86%;max-width:340px;background:var(--bar);overflow-y:auto;overscroll-behavior:contain}
.drawer-h{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;height:48px;padding-left:14px;background:var(--bar);font-size:16px;font-weight:700;border-bottom:1px solid #000}
.drawer-list{display:grid;grid-template-columns:1fr 1fr;gap:1px;padding:6px}
.drawer-list a{display:flex;justify-content:space-between;gap:6px;padding:11px 8px;border-radius:4px;font-size:14px}
.drawer-list a:active{background:var(--chip)}
.drawer-list i{font-style:normal;font-size:12px;color:var(--muted)}

.wrap{max-width:1440px;margin:0 auto;padding:0 4px}
.ad{text-align:center;margin:8px 0}
.ad:empty{display:none}
.ad>*{margin-left:auto!important;margin-right:auto!important}
.ad-foot{margin:16px 0}
h1,.sec{margin:0;padding:10px 4px 8px;font-size:17px;font-weight:700;line-height:1.25}
.sec{padding-top:18px}

.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 4px}
.card{display:block;min-width:0}
.card-img{position:relative;display:block;aspect-ratio:16/9;background:var(--img);border-radius:4px;overflow:hidden}
.card-img img{width:100%;height:100%;object-fit:cover}
.dur{position:absolute;right:4px;bottom:4px;padding:2px 5px;border-radius:3px;background:rgba(0,0,0,.78);color:#fff;font-size:12px;font-weight:700;line-height:16px}
.card-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:5px 2px 0;font-size:14px;font-weight:600;line-height:18px;height:36px;overflow-wrap:anywhere}
.card:visited .card-title{color:var(--visited)}
.card-meta{display:flex;justify-content:space-between;gap:6px;margin:3px 2px 0;font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden}
.card-meta span{display:flex;align-items:center;gap:3px;overflow:hidden;text-overflow:ellipsis}
.card-meta .ic{width:14px;height:14px}
.card:active .card-img{opacity:.8}

.pager{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;margin:18px 0 6px}
.pager a{height:48px;line-height:48px;border-radius:6px;background:var(--chip);text-align:center;font-size:15px;font-weight:700}
.pager a.next{background:var(--accent);color:#111}
.pager b{padding:0 6px;color:var(--muted);font-weight:600}

.tags{display:flex;flex-wrap:wrap;gap:6px;padding:4px 2px}
.tags a{height:34px;line-height:34px;padding:0 13px;border-radius:17px;background:var(--chip);font-size:13px;font-weight:600}

.vt{font-size:16px;padding:10px 4px 8px}
.player{position:relative;aspect-ratio:16/9;background:#000;overflow:hidden;margin:0 -4px}
.player .poster{position:absolute;inset:0;display:block}
.player .poster img{width:100%;height:100%;object-fit:contain}
.player .play{position:absolute;left:50%;top:50%;width:76px;height:76px;margin:-38px 0 0 -38px;border-radius:50%;background:rgba(0,0,0,.6);box-shadow:0 4px 20px rgba(0,0,0,.8)}
.player .play:after{content:"";position:absolute;left:30px;top:22px;border-left:26px solid #fff;border-top:16px solid transparent;border-bottom:16px solid transparent}
.player video{position:absolute;inset:0;width:100%;height:100%;background:#000}
.qsel{position:absolute;bottom:56px;right:10px;z-index:5;font:700 13px/1 Arial,sans-serif;transition:opacity .25s}
.qsel.idle{opacity:0;pointer-events:none}
.qsel-b{padding:7px 10px;border-radius:4px;background:rgba(0,0,0,.7);color:#fff}
.qsel-l{position:absolute;bottom:100%;right:0;margin-bottom:4px;padding:4px 0;border-radius:4px;background:rgba(0,0,0,.88)}
.qsel-l button{display:block;width:100%;padding:8px 18px;color:#fff;text-align:right;white-space:nowrap}
.qsel-l button.on{color:var(--accent)}
.vinfo{display:flex;gap:16px;padding:10px 4px 4px;color:var(--muted);font-size:13px}
.vinfo span{display:flex;align-items:center;gap:5px}
.vinfo .ic{width:16px;height:16px}

.trd{margin-top:22px}
.ftr{padding:18px 10px 90px;text-align:center;font-size:13px;color:var(--muted);border-top:1px solid #222}

@media (min-width:600px){.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 8px}.wrap{padding:0 8px}.player{margin:0}}
@media (min-width:900px){.grid{grid-template-columns:repeat(4,minmax(0,1fr))}.vgrid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px}.vside .ad:first-child{margin-top:0}.logo{font-size:26px}}
@media (min-width:1200px){.grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media (hover:hover){.card:hover .card-title{color:var(--accent)}.chips a:hover,.tags a:hover,.drawer-list a:hover{background:var(--chip-h)}}
.hdr .hr{display:flex}
.new{position:absolute;left:4px;top:4px;padding:1px 5px;border-radius:3px;background:var(--accent);color:#111;font-size:11px;font-weight:800;line-height:16px}
.drawer-list a.fav{grid-column:1/-1;color:var(--accent);font-weight:700}
.recent .row{display:flex;gap:6px;overflow-x:auto;padding:0 2px 4px;scrollbar-width:none}
.recent .row::-webkit-scrollbar{display:none}
.recent .card{flex:none;width:44vw;max-width:220px}
.vbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 4px 0}
.vote,.act{display:flex;align-items:center;justify-content:center;gap:6px;height:38px;min-width:48px;padding:0 12px;border-radius:19px;background:var(--chip);font-size:13px;font-weight:700}
.vote .ic,.act .ic{width:20px;height:20px}
.vote.on{background:var(--accent);color:#111}
.vote.dn.on{background:#cc4040;color:#fff}
.vote:disabled{cursor:default}
.act.on{color:var(--accent)}
.act.on .ic{fill:currentColor}
#hx_fav{margin-left:auto}
.vres{font-size:14px;font-weight:700;color:var(--accent)}
.card .rm{position:absolute;right:4px;top:4px;width:32px;height:32px;border-radius:16px;background:rgba(0,0,0,.75);color:#fff;font-size:22px;line-height:30px}
.empty{padding:30px 10px;text-align:center;color:var(--muted)}
.endscr{position:absolute;inset:0;z-index:6;display:flex;flex-direction:column;justify-content:center;gap:6px;padding:6px 8px;background:rgba(0,0,0,.9);overflow:auto}
.endscr-h{text-align:center;font-size:11px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:var(--muted)}
.endscr-g{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;width:74%;max-width:420px;margin:0 auto}
.endscr-g .card-title,.endscr-g .card-meta,.endscr-g .new,.endscr-g .rate{display:none}
.endscr-g .dur{font-size:10px;line-height:13px;padding:1px 3px;right:2px;bottom:2px}
.endscr-t{position:relative;display:flex;align-items:center;justify-content:center;gap:12px;width:74%;max-width:420px;margin:2px auto 0;padding:8px 10px;border-radius:8px;background:var(--accent);color:#111;overflow:hidden}
.endscr-t i{position:absolute;left:0;top:0;bottom:0;width:100%;background:rgba(255,255,255,.35);transition:width 10s linear}
.endscr-t span{position:relative;font-size:16px;font-weight:800}
.endscr-t button{position:relative;padding:5px 12px;border-radius:14px;background:rgba(0,0,0,.75);color:#fff;font-size:12px;font-weight:700}
@media (min-width:600px){.endscr-g{gap:8px}}
@media (max-width:420px){#hx_fav span{display:none}#hx_fav{padding:0}}
.drawer-h.sub{position:static;font-size:14px;color:var(--muted);border-top:1px solid #000}
.sorts{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin:0 0 10px}
.sorts a{height:36px;line-height:36px;border-radius:6px;background:var(--chip);text-align:center;font-size:13px;font-weight:700}
.sorts a.on{background:var(--accent);color:#111}
.rate{position:absolute;left:4px;bottom:4px;display:flex;align-items:center;gap:3px;padding:2px 5px;border-radius:3px;background:rgba(0,0,0,.78);color:#fff;font-size:12px;font-weight:700;line-height:16px}
.rate .ic{width:13px;height:13px;color:var(--accent)}
.more{display:block;width:100%;max-width:420px;height:46px;margin:16px auto 4px;border-radius:8px;background:var(--chip);font-size:15px;font-weight:700}
.more:active{background:var(--chip-h)}
.hot .dot{display:inline-block;width:9px;height:9px;margin:0 7px 1px 0;border-radius:50%;background:#e53935;animation:hxp 1.6s infinite}
@keyframes hxp{0%{box-shadow:0 0 0 0 rgba(229,57,53,.7)}70%{box-shadow:0 0 0 7px rgba(229,57,53,0)}100%{box-shadow:0 0 0 0 rgba(229,57,53,0)}}
.player iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.player #sl{z-index:2}
.ntv{max-width:300px;margin:8px auto}
.fh{position:absolute;right:4px;top:4px;z-index:2;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:16px;background:rgba(0,0,0,.55);color:#fff}
.fh .ic{width:18px;height:18px}
.fh.on{color:var(--accent)}
.fh.on .ic{fill:currentColor}
.endscr-g .fh{display:none}
.drawer-list a.hist{color:var(--text)}

.logo span{color:var(--accent)}
.hdr,.drawer-h{border-bottom-color:#0c0a08}
.sorts a.on,.pager a.next,.vote.on,.new,.sbar button,.endscr-t{color:#141210}
.card-meta .ic,.vinfo .ic{color:#c9a46a}
.rate .ic,.fh.on,.act.on,.drawer-list a.fav,.qsel-l button.on,.vres{color:#f5b04a}
.dur{background:rgba(20,18,16,.82)}
.desc{margin:18px 4px 6px;color:var(--muted);font-size:13px;line-height:1.5}
.sec .all{float:right;color:var(--accent);font-size:13px;font-weight:600;line-height:22px}
.msub{margin:0;padding:0 4px 8px;color:var(--muted);font-size:13px}
.msub a,.tags a.mdl{color:var(--accent)}
.letters{display:flex;flex-wrap:wrap;gap:5px;padding:2px 2px 10px}
.letters a{min-width:34px;height:34px;line-height:34px;padding:0 4px;text-align:center;border-radius:8px;background:var(--chip);font-size:13px;font-weight:700}
.letters a.top{padding:0 12px}
.letters a.on{background:var(--accent);color:#141210}
.mlist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:2px 2px 16px}
.mlist a{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:0 12px;border-radius:10px;background:var(--chip)}
.mlist b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600}
.mlist i{flex:none;font-style:normal;font-size:12px;color:var(--muted)}
@media (min-width:600px){.mlist{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:900px){.mlist{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media (hover:hover){.mlist a:hover,.letters a:not(.on):hover{background:var(--chip-h)}.mlist a:hover b{color:var(--accent)}}
.sorts{grid-template-columns:repeat(4,1fr)}
