.kh-feed-page{overflow:hidden!important;background:#050508!important}.kh-feed-page footer{display:none!important}.kh-feed-page main{min-height:0}#kh-feed-root{color:#fff;background:radial-gradient(ellipse at top,#201320,#050508 65%);padding:8px 12px 0}#kh-feed-root *{box-sizing:border-box}.kh-feed-top{max-width:720px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;height:35px;font-size:14px;font-weight:800}.kh-feed-hint{font-size:11px;font-weight:400;color:#a1a1aa}.kh-feed-shell{display:flex;align-items:center;justify-content:center;gap:20px}#kh-feed{width:min(100%,var(--kh-feed-width,440px));height:var(--kh-feed-height,75dvh);overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior-y:contain;scrollbar-width:none;border-radius:20px;background:#111;outline-offset:3px}#kh-feed::-webkit-scrollbar{display:none}.kh-clip{height:100%;width:100%;position:relative;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden;background:#08080a;isolation:isolate}.kh-clip-bg{position:absolute;inset:-20px;width:calc(100% + 40px);height:calc(100% + 40px);object-fit:cover;filter:blur(20px) brightness(.3);z-index:-1}.kh-clip video{width:100%;height:100%;object-fit:cover;display:block}.kh-clip-shade{position:absolute;inset:0;background:linear-gradient(transparent 50%,rgba(0,0,0,.9));pointer-events:none}.kh-clip-actions{position:absolute;right:10px;bottom:166px;display:flex;flex-direction:column;align-items:center;gap:13px}.kh-clip-actions button{display:flex;flex-direction:column;align-items:center;gap:3px;border:0;background:none;color:#fff;cursor:pointer;padding:4px;font-size:12px;min-width:46px;text-shadow:0 2px 8px #000}.kh-clip-actions svg{width:30px;height:30px;filter:drop-shadow(0 2px 3px #000)}.kh-clip-actions [aria-pressed=true]{color:#fb427b}.kh-clip-actions [aria-pressed=true] svg{fill:currentColor}.kh-clip-actions a{display:block;width:45px;height:61px;border:2px solid #fff;border-radius:9px;overflow:hidden}.kh-clip-actions img{width:100%;height:100%;object-fit:cover}.kh-clip-info{position:absolute;bottom:32px;left:16px;right:16px;color:#fff;pointer-events:none}.kh-clip-info h2{font-size:17px;line-height:1.6;font-weight:800;margin:0 48px 4px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.kh-clip-info p{font-size:12px;color:#d4d4d8;line-height:1.6;margin:0 48px 12px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.kh-watch{display:flex;gap:8px;align-items:center;justify-content:center;background:linear-gradient(100deg,#f52e78,#bd1c57);border:1px solid #fa5e94;border-radius:12px;padding:12px;color:white;text-decoration:none;font-size:14px;font-weight:800;pointer-events:auto;box-shadow:0 6px 24px #f52e7833}.kh-clip-play{position:absolute;inset:0;bottom:155px;width:100%;border:0;background:none;color:white;cursor:pointer;display:flex;align-items:center;justify-content:center}.kh-clip-play span{width:64px;height:64px;background:#0006;border:1px solid #fff4;border-radius:100%;display:grid;place-items:center;font-size:29px}.kh-clip-play[data-playing=true] span{opacity:0}.kh-clip-play:focus-visible span{opacity:1}.kh-clip-mute{position:absolute;top:12px;right:12px;background:#0008;color:white;border:1px solid #ffffff40;border-radius:99px;font-size:12px;padding:8px 11px;cursor:pointer}.kh-clip-progress{position:absolute;bottom:8px;left:14px;right:14px;display:flex;align-items:center;gap:8px;color:#ddd;font-size:10px}.kh-clip-progress input{width:100%;accent-color:#fa397b;cursor:pointer}.kh-clip-error{position:absolute;top:30%;left:16px;right:16px;background:#17171eee;border:1px solid #fff3;border-radius:14px;padding:16px;text-align:center;font-size:13px}.kh-clip-error button{margin-top:12px;background:#f32b71;color:white;border:0;border-radius:8px;padding:8px 14px}.kh-feed-arrow{border:1px solid #ffffff25;width:44px;height:44px;border-radius:50%;background:#17171e;color:#fff;cursor:pointer;font-size:23px}#kh-feed-status{font-size:11px;text-align:center;margin:4px 0;min-height:16px;color:#d4d4d8}.kh-feed-empty{padding:50px 20px;text-align:center;color:#aaa;line-height:2}.kh-feed-empty a{color:#f875a4}#kh-feed-comments{width:min(100% - 20px,480px);max-height:80dvh;border:1px solid #ffffff25;border-radius:20px;padding:18px;background:#17171e;color:white;z-index:10001}#kh-feed-comments::backdrop{background:#0009;backdrop-filter:blur(5px)}.kh-comments-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.kh-comments-head h2{font-size:17px;font-weight:800}.kh-comments-head button{border:0;border-radius:50%;background:#ffffff16;color:white;width:34px;height:34px;cursor:pointer}#kh-comments-list{overflow-y:auto;max-height:45dvh}.kh-comment{padding:12px 0;border-bottom:1px solid #ffffff12}.kh-comment strong{font-size:13px}.kh-comment time{font-size:10px;color:#999;margin-left:8px}.kh-comment p{font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0}#kh-comment-form{display:flex;align-items:flex-end;gap:8px;margin-top:16px}#kh-comment-body{width:100%;background:#09090c;color:white;border:1px solid #ffffff30;padding:10px;border-radius:10px;resize:none;font-size:14px}#kh-comment-form button,#kh-comments-more{background:#ed2b6d;border:0;color:white;border-radius:10px;padding:11px;cursor:pointer}#kh-comments-more{margin:12px 0}.kh-comments-login{display:block;background:#ed2b6d;color:white;padding:12px;text-align:center;border-radius:10px;margin-top:14px}#kh-comment-status{font-size:12px;color:#ff94b9;margin-top:8px}.kh-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:767px){#kh-feed-root{padding:0}.kh-feed-top{padding:0 12px;height:34px}.kh-feed-arrow{display:none}#kh-feed{width:100%;max-width:480px;border-radius:0}.kh-clip-info h2{font-size:16px}.kh-feed-hint{font-size:10px}}@media(prefers-reduced-motion:reduce){#kh-feed{scroll-behavior:auto}}

/* v1.1: video surface below controls; explicit stacking for mobile taps. */
.kh-clip video{position:relative;z-index:0;pointer-events:none}
.kh-clip-bg{pointer-events:none}.kh-clip-shade{z-index:1}
.kh-clip-play{z-index:2;touch-action:pan-y}
.kh-clip-actions,.kh-clip-info,.kh-clip-mute,.kh-clip-progress{z-index:4}
.kh-clip-actions button{touch-action:manipulation;min-height:48px}
.kh-clip-error{z-index:6}
#kh-feed-login{width:min(100% - 32px,400px);padding:28px 22px;border:1px solid #fff3;border-radius:20px;background:#17171e;color:#fff;text-align:center}
#kh-feed-login::backdrop{background:#000b;backdrop-filter:blur(5px)}
#kh-feed-login h2{font-size:19px;font-weight:800;margin:12px 0}
#kh-feed-login p{font-size:14px;line-height:1.9;color:#d4d4d8;margin:12px 0 20px}
#kh-feed-login-link{display:block;border-radius:12px;padding:13px;background:#ed2b6d;color:#fff;font-weight:800;text-decoration:none}
#kh-feed-login-close{position:absolute;right:12px;top:10px;border:0;background:#ffffff18;color:#fff;border-radius:50%;width:32px;height:32px;cursor:pointer}
@media(max-width:767px){
 .kh-feed-page header{display:none!important}
 #kh-feed-root{position:fixed;inset:0;bottom:var(--kh-feed-nav-height,70px);padding:0;z-index:30}
 .kh-feed-top{position:absolute;left:0;right:0;top:0;height:48px;padding:0 16px;z-index:5;background:linear-gradient(#0008,transparent);pointer-events:none}
 .kh-feed-hint{display:none}
 .kh-feed-shell{width:100%;height:100%;gap:0}
 #kh-feed{width:100%;max-width:none;border-radius:0}
 .kh-clip-mute{top:55px}
 .kh-clip-actions{right:8px;bottom:155px;gap:10px}
 .kh-clip-actions svg{width:34px;height:34px}
 #kh-feed-status{position:absolute;left:12px;right:72px;top:52px;z-index:6;pointer-events:none}
 #kh-feed-status button{pointer-events:auto}
}
@media(max-height:500px){.kh-clip-actions{bottom:80px;gap:2px}.kh-clip-actions a{display:none}.kh-clip-actions button{min-height:38px}.kh-clip-actions svg{width:25px;height:25px}.kh-clip-info p{display:none}.kh-watch{padding:7px}.kh-clip-info h2{font-size:13px;-webkit-line-clamp:1}}

/* v1.3: supplied glossy play icon and a compact animated watch button. */
.kh-clip-play{bottom:0}
.kh-clip-play span{width:114px;height:114px;border:0;border-radius:0;background:transparent url('../images/kh-popular-green-play.png') center/contain no-repeat;filter:drop-shadow(0 5px 12px #0009);transition:opacity .15s,transform .15s}
.kh-clip-play:active span{transform:scale(.94)}
.kh-clip-play[data-playing=true]:focus-visible span{opacity:0}
.kh-clip-play[data-playing=false] span{opacity:1}
.kh-clip-mute[hidden]{display:none!important}
.kh-watch{width:max-content;max-width:100%;margin:0 auto;min-height:46px;padding:9px 19px;border-radius:15px;font-size:14px;position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(135deg,#ff1765,#e9004f);border:1px solid #ffffffa6;animation:kh-feed-watch-glow 2.4s ease-in-out infinite}
.kh-watch-label{position:relative;z-index:2;display:inline-flex;align-items:center;justify-content:center;gap:8px;line-height:1.8}
.kh-watch-icon{display:block;flex:0 0 31px;width:31px;height:31px;background:transparent url('../images/kh-popular-green-play.png') center/contain no-repeat;margin:-4px}
.kh-watch::before{content:"";position:absolute;inset:-60% auto -60% -55%;width:35%;background:linear-gradient(90deg,transparent,#ffffff6b,transparent);transform:skewX(-20deg);animation:kh-feed-watch-shine 3.8s ease-in-out infinite;pointer-events:none;z-index:1}
.kh-watch-spark{position:absolute;z-index:1;color:#fff;font-size:10px;line-height:1;opacity:0;pointer-events:none;text-shadow:0 0 5px #fff;animation:kh-feed-watch-spark 3s ease-in-out infinite}
@keyframes kh-feed-watch-glow{0%,100%{box-shadow:0 0 6px #ff2375cc,0 0 16px #ff237573,inset 0 0 7px #ffffff38}50%{box-shadow:0 0 10px #ff2375,0 0 28px #ff2375a6,inset 0 0 10px #ffffff52}}
@keyframes kh-feed-watch-shine{0%,15%{left:-55%;opacity:0}25%{opacity:1}65%,100%{left:125%;opacity:0}}
@keyframes kh-feed-watch-spark{0%,100%{opacity:0;transform:translateY(7px) scale(.4)}40%{opacity:.9;transform:translateY(0) scale(1)}75%{opacity:0;transform:translateY(-9px) scale(.5)}}
@media(prefers-reduced-motion:reduce){.kh-watch{animation:none}.kh-watch::before,.kh-watch-spark{display:none}.kh-clip-play span{transition:none}}
@media(max-height:500px){.kh-watch{padding:6px 14px;min-height:38px}.kh-clip-play span{width:90px;height:90px}}

/* v1.4: smaller Play, closed comments and last-20-second swipe cue. */
.kh-clip-play span{width:78px;height:78px}
.kh-watch{min-height:44px;padding:7px 15px;font-size:13px}
.kh-watch-icon{width:28px;height:28px;flex-basis:28px}
.kh-clip-actions button:disabled{opacity:.45;cursor:default}
.kh-clip-swipe-hint{position:absolute;left:50%;top:56%;transform:translateX(-50%);z-index:3;pointer-events:none;display:flex;flex-direction:column;align-items:center;gap:6px;white-space:nowrap;color:#fff;font-size:12px;font-weight:700;text-shadow:0 2px 5px #000;background:#0005;border-radius:18px;padding:8px 14px}
.kh-clip-swipe-hint[hidden]{display:none!important}
.kh-swipe-hand{font-size:36px;line-height:1.2;animation:kh-swipe-up 1.5s ease-in-out infinite}
@keyframes kh-swipe-up{0%{transform:translateY(12px);opacity:0}25%{opacity:1}80%,100%{transform:translateY(-15px);opacity:0}}
@media(prefers-reduced-motion:reduce){.kh-swipe-hand{animation:none}}

/* v1.5: visible cue also on a single/final clip. */
.kh-clip-swipe-hint{top:42%;z-index:5;font-size:15px;padding:13px 20px;background:#000a;border:1px solid #ffffff70;box-shadow:0 4px 20px #0008;gap:10px}
.kh-swipe-hand{font-size:56px}
@keyframes kh-swipe-up{0%,100%{transform:translateY(12px);opacity:.7}65%{transform:translateY(-18px);opacity:1}}

/* v1.6: supplied GIF only, without caption or surrounding panel. */
.kh-clip-swipe-hint{padding:0;gap:0;background:none;border:0;box-shadow:none;width:176px;max-width:42%;font-size:0}
.kh-swipe-gif{display:block;width:100%;height:auto;object-fit:contain}

/* v1.9: preserve original GIF movement; discard its dark pixels at render time. */
.kh-swipe-gif{filter:url(#kh-swipe-remove-dark);width:100%;height:auto}
.kh-clip-swipe-hint{width:210px;max-width:48%;background:none;border:0;box-shadow:none;padding:0}

/* v1.11: dragging reveals the neighboring card; no native vertical momentum. */
#kh-feed{scroll-snap-type:none;scroll-behavior:auto;touch-action:pan-x pinch-zoom;overflow-y:hidden}
#kh-feed .kh-clip-play{touch-action:pan-x pinch-zoom}
