/* Portal Gaya Detik — satu file CSS, tanpa framework/library.
   Warna berasal dari variabel per portal (diisi plugin dari config logo). */
.pgd-wrap{max-width:1100px;min-width:0;margin:0 auto;padding:0 14px;background:#fff;color:#161616;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.pgd-wrap h2{font-size:21px;font-weight:800;color:var(--pgd-brand);margin:0 0 12px}
.pgd-wrap h3{font-weight:700;line-height:1.35;margin:8px 0 4px}
.pgd-wrap h3 a{color:#161616;text-decoration:none}
.pgd-wrap img{max-width:100%;height:auto;border-radius:10px;display:block}
.pgd-meta{color:#8a8a8a;font-size:12px;margin:2px 0 0}
.pgd-sec{padding:20px 0;border-bottom:1px solid #eee}
.pgd-sec-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.pgd-more{color:var(--pgd-accent);font-weight:700;text-decoration:none;font-size:14px;white-space:nowrap}
.pgd-kanal{position:sticky;top:0;z-index:50;display:flex;gap:10px 16px;flex-wrap:wrap;overflow-x:visible;background:var(--pgd-brand);padding:10px 12px;border-radius:0 0 10px 10px;scrollbar-width:none}
.pgd-kanal a{color:#fff;font-weight:700;text-decoration:none;white-space:nowrap;font-size:14px}
.pgd-kanal ul{display:flex;gap:10px 16px;flex-wrap:wrap;list-style:none;margin:0;padding:0}
.pgd-kanal a.pgd-lokerlink{background:var(--pgd-accent);padding:2px 10px;border-radius:999px}
.pgd-grid-headline{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}
.pgd-grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.pgd-catlabel{display:inline-block;margin-top:8px;color:var(--pgd-accent);font-size:12px;font-weight:700}
.pgd-video-utama{background:#000;border-radius:12px;padding:18px 14px}
.pgd-video-utama h2{color:#fff}
.pgd-vcard-big{max-width:360px;margin:0 auto}
.pgd-vcard-big h3 a{color:#fff}
.pgd-player{display:block;position:relative;aspect-ratio:9/16;background:#111;border-radius:12px;overflow:hidden;cursor:pointer}
.pgd-player img{width:100%;height:100%;object-fit:cover;border-radius:0}
.pgd-player video{width:100%;height:100%}
.pgd-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:58px;height:58px;border-radius:50%;border:0;background:rgba(255,255,255,.92);color:#111;font-size:20px;cursor:pointer}
.pgd-dur{position:absolute;right:8px;bottom:8px;background:rgba(0,0,0,.75);color:#fff;font-size:12px;padding:2px 7px;border-radius:6px}
.pgd-feed-item{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid #f2f2f2}
.pgd-feed-thumb img{width:110px;height:80px;object-fit:cover}
.pgd-rail{display:flex;gap:14px;overflow-x:auto;padding-bottom:8px;scroll-snap-type:x mandatory}
.pgd-rail>*{flex:0 0 200px;scroll-snap-align:start}
.pgd-rail-video>*{flex-basis:170px}
.pgd-jobcard{border:1px solid #eee;border-left:4px solid var(--pgd-loker);border-radius:10px;padding:12px}
.pgd-loc{color:var(--pgd-loker);font-size:12px;font-weight:700}
.pgd-grid-video{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:16px}
.pgd-tags{list-style:none;margin:0;padding:0}
.pgd-tags li{display:flex;align-items:center;gap:10px;padding:7px 0;border-bottom:1px solid #f2f2f2}
.pgd-hash{font-size:26px;font-weight:800;color:#c9c9c9}
.pgd-tags a{color:#161616;font-weight:700;text-decoration:none;text-transform:lowercase}
.pgd-pop{list-style:none;margin:0;padding:0}
.pgd-pop li{display:flex;gap:14px;padding:10px 0;border-bottom:1px solid #f2f2f2}
.pgd-rank{font-size:34px;font-weight:800;color:#c9c9c9;line-height:1}
.pgd-more-btn{display:inline-block;margin-top:14px;background:#f2f2f2;color:var(--pgd-accent);font-weight:700;padding:9px 18px;border-radius:999px;text-decoration:none}
.pgd-fastnote{color:#8a8a8a;font-size:12px;padding:14px 0}
.pgd-paging{margin-top:18px;text-align:center}

/* --- Halaman /video: feed vertikal gaya TikTok --- */
.pgd-tt-page{max-width:none;padding:0;background:#000;color:#fff}
.pgd-tt-top{display:flex;align-items:center;gap:14px;background:var(--pgd-brand);padding:10px 14px;height:52px;box-sizing:border-box}
.pgd-tt-back{color:#fff;font-weight:700;text-decoration:none;font-size:15px}
.pgd-tt-title{color:#fff;font-weight:800;font-size:16px}
.pgd-tt-feed{height:calc(100dvh - 52px);overflow-y:auto;scroll-snap-type:y mandatory;scrollbar-width:none;background:#000}
.pgd-tt-feed::-webkit-scrollbar{display:none}
.pgd-tt-item{position:relative;height:calc(100dvh - 52px);scroll-snap-align:start;scroll-snap-stop:always;background:#000;overflow:hidden}
.pgd-tt-video{width:100%;height:100%;object-fit:contain;background:#000;display:block}
@media(min-width:768px){.pgd-tt-item{max-width:480px;margin:0 auto}}
.pgd-tt-bigplay{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:72px;height:72px;border-radius:50%;border:0;background:rgba(255,255,255,.92);color:#111;font-size:26px;cursor:pointer;display:none}
.pgd-tt-item.pgd-paused .pgd-tt-bigplay{display:block}
.pgd-tt-info{position:absolute;left:14px;right:76px;bottom:24px;color:#fff;pointer-events:none}
.pgd-tt-info h3{color:#fff;font-size:17px;margin:0 0 4px;text-shadow:0 1px 6px rgba(0,0,0,.8)}
.pgd-tt-info p{color:rgba(255,255,255,.85);font-size:12px;margin:0;text-shadow:0 1px 4px rgba(0,0,0,.8)}
.pgd-tt-mute{position:absolute;right:14px;bottom:96px;width:46px;height:46px;border-radius:50%;border:0;background:rgba(0,0,0,.55);cursor:pointer;display:flex;align-items:center;justify-content:center}
.pgd-tt-hint{position:absolute;left:50%;transform:translateX(-50%);bottom:24px;right:auto;color:rgba(255,255,255,.9);font-size:12px;font-weight:700;background:rgba(0,0,0,.45);padding:5px 12px;border-radius:999px;animation:pgd-bounce 1.6s ease-in-out infinite;pointer-events:none;white-space:nowrap}
@keyframes pgd-bounce{0%,100%{transform:translate(-50%,0)}50%{transform:translate(-50%,6px)}}
.pgd-tt-paging{background:#000;margin:0;padding:14px 0}
.pgd-tt-paging a,.pgd-tt-paging span{color:#fff}

/* --- Kolom aksi gaya TikTok: suka (hati), komentar, bagikan --- */
.pgd-tt-actions{position:absolute;right:10px;bottom:92px;display:flex;flex-direction:column;gap:18px;align-items:center;z-index:3}
.pgd-tt-act{display:flex;flex-direction:column;align-items:center;gap:3px;background:none;border:0;padding:0;color:#fff;cursor:pointer;text-decoration:none;font-size:12px;font-weight:700;text-shadow:0 1px 4px rgba(0,0,0,.65)}
.pgd-tt-act .pgd-tt-ico{width:48px;height:48px;border-radius:50%;background:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center}
.pgd-tt-act svg{width:26px;height:26px;fill:#fff}
.pgd-tt-like.pgd-liked svg{fill:var(--pgd-accent)}
.pgd-tt-like.pgd-pop .pgd-tt-ico{animation:pgd-pop .3s ease}
@keyframes pgd-pop{50%{transform:scale(1.25)}}
.pgd-tt-mute{bottom:24px}
.pgd-tt-toast{position:fixed;left:50%;bottom:96px;transform:translateX(-50%);background:rgba(20,20,20,.92);color:#fff;padding:9px 16px;border-radius:999px;font-size:13px;font-weight:600;z-index:999;opacity:0;pointer-events:none;transition:opacity .25s;white-space:nowrap}
.pgd-tt-toast.pgd-show{opacity:1}

/* --- Perbaikan tampilan HP: banner bawaan tema (728/970px) tidak boleh melebar melewati layar --- */
body{overflow-x:hidden;overflow-x:clip}
.newkarma-core-topbanner,.newkarma-core-topbanner-aftermenu{max-width:100%;overflow:hidden;text-align:center}
.newkarma-core-topbanner img,.newkarma-core-topbanner-aftermenu img{max-width:100%;height:auto}
.pgd-wrap{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.pgd-wrap h3{font-size:16px;overflow-wrap:break-word}
.pgd-grid-headline>*,.pgd-grid-2>*,.pgd-grid-video>*,.pgd-rail>*{min-width:0}
/* --- Panel komentar gaya detik + login Google --- */
.pgd-authchip{margin-left:auto;display:flex;align-items:center;gap:7px;color:#fff;font-size:13px;font-weight:600}
.pgd-authchip a{color:#fff;font-weight:700;text-decoration:underline}
.pgd-authchip-login{background:#fff;color:var(--pgd-brand)!important;padding:5px 14px;border-radius:999px;text-decoration:none!important}
.pgd-authchip-name{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pgd-cmt-ava{flex:0 0 40px;width:40px;height:40px;border-radius:50%;color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center;font-size:17px}
.pgd-ava-sm{flex-basis:26px;width:26px;height:26px;font-size:12px}
.pgd-sheet-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.5);opacity:0;pointer-events:none;transition:opacity .25s;z-index:200}
.pgd-sheet-backdrop.pgd-open{opacity:1;pointer-events:auto}
.pgd-sheet{position:fixed;left:0;right:0;bottom:0;max-height:78dvh;background:#fff;color:#161616;border-radius:16px 16px 0 0;transform:translateY(105%);transition:transform .3s ease;z-index:201;display:flex;flex-direction:column;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;box-shadow:0 -6px 30px rgba(0,0,0,.35)}
@media(min-width:768px){.pgd-sheet{left:50%;right:auto;width:480px;margin-left:-240px}}
.pgd-sheet.pgd-open{transform:translateY(0)}
.pgd-sheet-head{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid #eee;font-size:16px;color:#161616}
.pgd-sheet-close{background:none;border:0;font-size:26px;line-height:1;cursor:pointer;color:#666;padding:0 4px}
.pgd-sheet-list{overflow-y:auto;padding:4px 16px}
.pgd-cmt{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid #f2f2f2}
.pgd-cmt-body{min-width:0}
.pgd-cmt-name{font-weight:700;font-size:14px}
.pgd-cmt-time{color:#8a8a8a;font-size:12px}
.pgd-cmt-text{font-size:14px;line-height:1.45;margin-top:2px;white-space:pre-wrap;overflow-wrap:break-word}
.pgd-cmt-empty{color:#8a8a8a;font-size:14px;padding:16px 0;text-align:center}
.pgd-sheet-foot{padding:12px 16px;border-top:1px solid #eee;background:#fff}
.pgd-sheet-foot textarea{width:100%;box-sizing:border-box;border:1px solid #ddd;border-radius:10px;padding:9px 10px;font:inherit;font-size:14px;resize:vertical;min-height:42px}
.pgd-btn-kirim{margin-top:8px;background:var(--pgd-brand);color:#fff;border:0;font-weight:700;padding:10px 18px;border-radius:8px;cursor:pointer;font-size:14px}
.pgd-btn-kirim:disabled{opacity:.6;cursor:wait}
.pgd-btn-google{display:flex;align-items:center;justify-content:center;gap:9px;background:#fff;color:#161616;border:1px solid #ddd;font-weight:700;padding:11px;border-radius:8px;text-decoration:none;font-size:14px}
.pgd-sheet-note{color:#8a8a8a;font-size:13px;text-align:center;padding:4px 0}

@media(max-width:640px){
.pgd-grid-headline{grid-template-columns:1fr 1fr}
.pgd-grid-2{grid-template-columns:1fr 1fr}
.pgd-grid-video{grid-template-columns:1fr 1fr}
.pgd-wrap h2{font-size:19px}
.pgd-wrap h3{font-size:14px}
.pgd-vcard-big{max-width:300px}
}

/* === v1.2.5: samakan beranda dengan detik mobile === */
.pgd-kanal{background:#fff;border-bottom:2px solid var(--pgd-brand);border-radius:0}
.pgd-kanal a{color:#161616}
.pgd-kanal a.pgd-lokerlink{background:none;padding:0;color:var(--pgd-accent)}
.pgd-hero{border-radius:14px;overflow:hidden;margin-bottom:4px}
.pgd-hero-media{position:relative;display:block;aspect-ratio:4/3;background:#0b1e42;text-decoration:none}
.pgd-hero-media img{width:100%;height:100%;object-fit:cover;display:block}
.pgd-hero-body{position:absolute;left:0;right:0;bottom:0;display:block;padding:38px 14px 12px;background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.45) 45%,var(--pgd-brand) 100%)}
.pgd-hero-title{display:block;color:#fff;font-weight:800;font-size:20px;line-height:1.28}
.pgd-hero-meta{display:block;color:rgba(255,255,255,.85);font-size:12px;margin-top:6px}
.pgd-hrow{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid #f0f0f0}
.pgd-hrow-thumb{flex:0 0 108px;width:108px;height:76px;border-radius:8px;overflow:hidden;display:block;background:#eee}
.pgd-hrow-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.pgd-hrow-body{min-width:0}
.pgd-hrow-body h3{margin:0;font-size:15px;line-height:1.35}
.pgd-hrow-body h3 a{color:#161616;text-decoration:none}
.pgd-hrow-body .pgd-meta{margin:4px 0 0}
.pgd-vrail{display:flex;gap:10px;overflow-x:auto;padding:2px 2px 8px;scrollbar-width:none}
.pgd-vrail::-webkit-scrollbar{display:none}
.pgd-vtile{position:relative;flex:0 0 118px;width:118px;aspect-ratio:9/16;border-radius:10px;overflow:hidden;background:#111;display:block;text-decoration:none}
.pgd-vtile img{width:100%;height:100%;object-fit:cover;display:block}
.pgd-vtile-play{position:absolute;top:8px;right:8px;width:26px;height:26px;border-radius:50%;background:rgba(255,255,255,.94)}
.pgd-vtile-play::after{content:'';position:absolute;left:10px;top:8px;border-left:9px solid #111;border-top:5.5px solid transparent;border-bottom:5.5px solid transparent}
.pgd-vtile-title{position:absolute;left:0;right:0;bottom:0;height:96px;display:flex;align-items:flex-end;padding:0 8px 8px;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.8));color:#fff;font-weight:700;font-size:12.5px;line-height:1.3;overflow:hidden}
.pgd-vtile-t{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.pgd-tags{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}
.pgd-tags li{border-bottom:none;padding:6px 0}
.pgd-hash{font-size:15px;color:var(--pgd-accent)}

/* === v1.2.7: menu kanal grid 4 kolom seimbang === */
.pgd-kanal{display:grid;grid-template-columns:repeat(4,1fr);gap:2px 0;padding:8px 6px}
.pgd-kanal ul{display:contents}
.pgd-kanal li{display:flex;margin:0;padding:0}
.pgd-kanal a{display:flex;align-items:center;justify-content:center;width:100%;min-height:34px;padding:4px 2px;text-align:center;white-space:normal;line-height:1.2}

/* === v1.2.8: menu bar merah tebal + strip tren + aksen referensi === */
.pgd-kanal{background:var(--pgd-accent);border-bottom:none;margin:0 -14px;padding:10px 14px}
.pgd-kanal a{color:#fff;font-weight:800;font-size:15px}
.pgd-kanal a.pgd-lokerlink{background:#fff;color:var(--pgd-accent);width:auto;justify-self:center;padding:4px 16px;border-radius:999px;min-height:30px}
.pgd-tren{display:flex;align-items:center;gap:10px;background:#FDECEC;border-radius:10px;padding:9px 12px;margin:10px 0 2px}
.pgd-tren-label{color:var(--pgd-accent);font-weight:800;font-size:13.5px;white-space:nowrap}
.pgd-tren-items{display:flex;align-items:center;gap:9px;overflow-x:auto;scrollbar-width:none;white-space:nowrap}
.pgd-tren-items::-webkit-scrollbar{display:none}
.pgd-tren-items a{color:#26324a;font-weight:600;font-size:13.5px;text-decoration:none;white-space:nowrap}
.pgd-tren-dot{color:#c8c8c8;font-style:normal}
.pgd-vicon{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:8px;background:var(--pgd-accent);margin-right:8px}
.pgd-sec-head h2{display:flex;align-items:center}
.pgd-hero-cat{display:inline-block;background:var(--pgd-accent);color:#fff;font-weight:700;font-size:11.5px;padding:3px 10px;border-radius:999px;margin-bottom:8px}
