/* Ceriwis Gram (26 Nov 2026) — feed foto ala Instagram. Memakai variabel warna timeline.css (--card, --text, --line, --muted, --bg, --chip, --teal, --orange). */
body.cx-gram-page .cx-right{display:none!important}
@media (min-width:1181px){body.cx-gram-page .cx-wrap{grid-template-columns:232px minmax(0,1fr)}}
.gr-app{max-width:620px;margin:0 auto;color:var(--text);font-family:var(--f-body)}
.gr-app *{box-sizing:border-box}
.gr-app button{font-family:inherit;cursor:pointer}
.gr-load{padding:40px 20px;text-align:center;color:var(--muted)}
/* kepala + tab */
.gr-top{display:flex;align-items:center;gap:12px;padding:6px 4px 10px;position:sticky;top:var(--cx-top-h,56px);z-index:5;background:var(--bg)}
.gr-brand{font-size:22px!important;font-weight:800;letter-spacing:-.02em;margin:0!important;color:var(--text)}
.gr-tabs{display:flex;gap:4px;flex:1;min-width:0;overflow-x:auto;scrollbar-width:none}
.gr-tabs::-webkit-scrollbar{display:none}
html.cx .gr-tabs a{padding:7px 13px;border-radius:999px;color:var(--muted);font-weight:600;font-size:14px;white-space:nowrap;text-decoration:none}
html.cx .gr-tabs a.on{background:var(--text);color:var(--card)}
html.cx .gr-tabs a:hover{background:var(--chip);color:var(--text)}
html.cx .gr-tabs a.on:hover{background:var(--text);color:var(--card)}
html.cx a.gr-new{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;background:var(--teal);color:#fff;font-weight:700;font-size:14px;text-decoration:none;flex:none}
.gr-new svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
/* kartu */
.gr-feed{display:flex;flex-direction:column;gap:14px}
.gr-card{background:var(--card);border:1px solid var(--line);border-radius:14px;overflow:hidden}
.gr-hd{display:flex;align-items:center;gap:10px;padding:10px 8px 10px 12px}
html.cx a.gr-who{display:flex;align-items:center;gap:9px;min-width:0;color:var(--text);text-decoration:none}
.gr-who span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px}
.gr-av{width:34px;height:34px;border-radius:50%;object-fit:cover;flex:none;background:var(--chip)}
.gr-av-s{width:30px;height:30px}
.gr-ini{display:inline-flex;align-items:center;justify-content:center;font-weight:700;color:var(--teal);font-size:14px}
html.cx a.gr-t{color:var(--muted);font-size:13px;text-decoration:none;white-space:nowrap}
.gr-t::before{content:"\00B7";margin-right:6px}
.gr-ib{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:0;background:none;color:var(--text);border-radius:50%;padding:0;flex:none}
html.cx a.gr-ib{color:var(--text)}
.gr-ib svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.gr-ib:hover{background:var(--chip)}
.gr-more{margin-left:auto}
.gr-state{margin:0 12px 10px;padding:8px 11px;border-radius:10px;background:var(--chip);color:var(--muted);font-size:13px}
.gr-state-hold{background:var(--orange-soft);color:var(--text)}
/* media + carousel */
.gr-media{position:relative;background:#000;overflow:hidden;user-select:none;-webkit-user-select:none}
.gr-track{display:flex;width:100%;height:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
.gr-track::-webkit-scrollbar{display:none}
.gr-slide{flex:0 0 100%;height:100%;scroll-snap-align:center;scroll-snap-stop:always}
.gr-slide img{display:block;width:100%;height:100%;object-fit:cover;-webkit-user-drag:none}
.gr-cnt{position:absolute;top:10px;right:10px;background:rgba(0,0,0,.6);color:#fff;font-size:12px;font-weight:600;padding:3px 9px;border-radius:999px;pointer-events:none}
.gr-nav{position:absolute;top:50%;transform:translateY(-50%);width:30px;height:30px;border-radius:50%;border:0;background:rgba(255,255,255,.85);color:#1A1F1E;display:none;align-items:center;justify-content:center;padding:0;box-shadow:0 1px 4px rgba(0,0,0,.25)}
.gr-nav svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.gr-prev{left:10px}.gr-next{right:10px}
.gr-nav[hidden]{display:none!important}
@media (hover:hover) and (pointer:fine){.gr-nav{display:flex}}
.gr-dots{display:flex;justify-content:center;gap:4px;padding-top:8px;margin-bottom:-14px;position:relative;z-index:1;pointer-events:none}
.gr-dots i{width:6px;height:6px;border-radius:50%;background:var(--line)}
.gr-dots i.on{background:var(--teal)}
.gr-pop{position:absolute;left:50%;top:50%;width:96px;height:96px;margin:-48px 0 0 -48px;opacity:0;pointer-events:none;color:#fff;filter:drop-shadow(0 2px 8px rgba(0,0,0,.35))}
.gr-pop svg{width:100%;height:100%;fill:currentColor;stroke:none}
.gr-pop.on{animation:grpop .8s ease-out}
@keyframes grpop{0%{opacity:0;transform:scale(.4)}15%{opacity:1;transform:scale(1.15)}30%{transform:scale(.95)}45%{transform:scale(1)}80%{opacity:1}100%{opacity:0;transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.gr-pop.on{animation:none}}
.gr-nsfw .gr-track{filter:blur(28px);transform:scale(1.1)}
.gr-veil{position:absolute;inset:0;border:0;background:rgba(0,0,0,.35);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:20px;text-align:center}
.gr-veil b{font-size:22px;border:2px solid #fff;border-radius:8px;padding:2px 8px}
.gr-veil span{font-size:14px;max-width:260px}
/* aksi */
.gr-acts{display:flex;align-items:center;gap:2px;padding:6px 4px 0}
.gr-acts .gr-save{margin-left:auto}
.gr-like.on{color:#E0245E}
.gr-like.on svg{fill:currentColor}
.gr-like:active svg{transform:scale(.85)}
.gr-save.on svg{fill:currentColor}
.gr-likes{padding:2px 14px 0;font-size:14px}
.gr-cap{padding:4px 14px 0;font-size:14px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
html.cx .gr-cap a{color:var(--text);text-decoration:none}
.gr-cap.gr-clamp .gr-cap-t{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap}
.gr-cap.gr-clamp{display:block}
.gr-capmore{border:0;background:none;color:var(--muted);padding:0;font-size:14px}
html.cx a.gr-allc{display:block;padding:4px 14px 0;color:var(--muted);font-size:14px;text-decoration:none}
.gr-card > :last-child{margin-bottom:12px}
.gr-card > .gr-media:last-child,.gr-card > .gr-dots:last-child{margin-bottom:0}
/* jelajah / profil: kisi 3 kolom */
.gr-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}
html.cx a.gr-tile{position:relative;display:block;aspect-ratio:4/5;background:var(--chip);overflow:hidden}
.gr-tile img{width:100%;height:100%;object-fit:cover;display:block}
.gr-tile.gr-nsfw img{filter:blur(18px);transform:scale(1.1)}
.gr-tile-i{position:absolute;top:6px;right:6px;color:#fff;filter:drop-shadow(0 1px 2px rgba(0,0,0,.6))}
.gr-tile-i svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
.gr-tile-18{position:absolute;inset:auto auto 6px 6px;background:rgba(0,0,0,.6);color:#fff;font-size:11px;padding:1px 6px;border-radius:6px}
.gr-tile-st{position:absolute;left:6px;bottom:6px;background:rgba(0,0,0,.65);color:#fff;font-size:11px;padding:2px 7px;border-radius:6px}
.gr-tile:hover img{opacity:.92}
/* muat lagi / kosong */
.gr-more-s{min-height:40px;padding:16px;text-align:center;color:var(--muted);font-size:14px}
.gr-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:48px 20px;text-align:center;background:var(--card);border:1px solid var(--line);border-radius:14px}
.gr-empty b{font-size:17px}.gr-empty span{color:var(--muted);font-size:14px}
html.cx a.gr-btn,.gr-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px 18px;border-radius:999px;border:0;background:var(--teal);color:#fff;font-weight:700;font-size:14px;text-decoration:none}
.gr-btn:disabled{opacity:.45;cursor:default}
.gr-btn2{display:inline-flex;align-items:center;justify-content:center;padding:8px 16px;border-radius:999px;border:1px solid var(--line);background:var(--card);color:var(--text);font-weight:600;font-size:14px}
/* bilah atas (satu Gram / Gram baru) */
.gr-bar{display:flex;align-items:center;gap:8px;padding:4px 0 10px;position:sticky;top:var(--cx-top-h,56px);z-index:5;background:var(--bg)}
.gr-bar b{font-size:17px;flex:1}
.gr-one .gr-card{border-radius:14px 14px 0 0}
/* komentar */
.gr-cms{background:var(--card);border:1px solid var(--line);border-top:0;border-radius:0 0 14px 14px;padding:4px 0 0}
.gr-cm-list{display:flex;flex-direction:column}
.gr-cm{display:flex;gap:10px;padding:9px 14px}
.gr-cm-b{min-width:0;flex:1}
.gr-cm-b p{margin:0;font-size:14px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
html.cx .gr-cm-b p a{color:var(--text);text-decoration:none}
.gr-cm-b small{color:var(--muted);font-size:12px}
.gr-cdel{border:0;background:none;color:var(--muted);padding:0;font-size:12px}
.gr-cdel:hover{color:var(--text);text-decoration:underline}
.gr-cm-none{margin:0;padding:18px 14px;color:var(--muted);font-size:14px;text-align:center}
.gr-cm-old{margin:10px 14px 0}
.gr-cm-login{margin:10px 14px 14px}
.gr-cm-form{display:flex;align-items:flex-end;gap:10px;padding:10px 12px;border-top:1px solid var(--line);position:sticky;bottom:0;background:var(--card);border-radius:0 0 14px 14px}
html.cx .gr-cm-form textarea{flex:1;min-height:38px!important;max-height:120px;resize:none;border:1px solid var(--line)!important;border-radius:19px!important;padding:8px 14px!important;background:var(--bg)!important;color:var(--text)!important;font:inherit;font-size:16px!important;line-height:1.35}
.gr-cm-form button{border:0;background:none;color:var(--teal);font-weight:700;font-size:15px;padding:8px 4px}
.gr-cm-form button:disabled{opacity:.4;cursor:default}
/* Gram baru */
.gr-new-f{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:14px}
html.cx .gr-pick{display:flex;flex-direction:column;align-items:center;gap:6px;padding:44px 16px;border:2px dashed var(--line);border-radius:14px;cursor:pointer;text-align:center;color:var(--text)}
.gr-pick svg{width:42px;height:42px;fill:none;stroke:var(--teal);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.gr-pick b{font-size:16px}.gr-pick span{color:var(--muted);font-size:13px}
.gr-pick:hover{background:var(--hover)}
.gr-pick[hidden]{display:none}
.gr-pv-main{aspect-ratio:4/5;max-height:62vh;background:#000;border-radius:10px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.gr-pv-main img{max-width:100%;max-height:100%;object-fit:contain;display:block}
.gr-strip{display:flex;gap:8px;overflow-x:auto;padding:10px 0 4px}
.gr-pf{position:relative;flex:0 0 72px}
.gr-pf-img{display:block;width:72px;height:72px;padding:0;border:2px solid transparent;border-radius:10px;overflow:hidden;background:var(--chip)}
.gr-pf.cur .gr-pf-img,.gr-pf-img:focus-visible{border-color:var(--teal)}
.gr-pf-img img{width:100%;height:100%;object-fit:cover;display:block}
.gr-pf-bar{position:absolute;left:6px;right:6px;bottom:6px;height:4px;border-radius:2px;background:rgba(0,0,0,.35);overflow:hidden;pointer-events:none}
.gr-pf-bar i{display:block;height:100%;background:#fff;transition:width .2s}
.gr-pf.ok .gr-pf-bar{display:none}
.gr-pf.err .gr-pf-img{border-color:#C0392B}
.gr-pf.err .gr-pf-bar i{background:#C0392B;width:100%!important}
.gr-pf-ctl{position:absolute;top:3px;right:3px;display:flex;gap:3px}
.gr-pf-ctl button{width:22px;height:22px;border-radius:50%;border:0;background:rgba(0,0,0,.6);color:#fff;display:flex;align-items:center;justify-content:center;padding:0}
.gr-pf-ctl svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round}
.gr-pf-add{flex:0 0 72px;height:72px;border:2px dashed var(--line);border-radius:10px;background:none;color:var(--muted);font-size:28px;line-height:1}
.gr-lab{display:block;font-weight:700;font-size:14px;margin:14px 0 6px}
html.cx .gr-new-f textarea{width:100%;border:1px solid var(--line)!important;border-radius:10px!important;padding:10px 12px!important;background:var(--bg)!important;color:var(--text)!important;font:inherit;font-size:16px!important;line-height:1.45;resize:vertical;min-height:96px}
.gr-capn{text-align:right;color:var(--muted);font-size:12px;margin-top:4px}
.gr-note{color:var(--muted);font-size:13px;line-height:1.5;margin:10px 0 0}
/* lembar pilihan + toast */
.gr-sheet{position:fixed;inset:0;z-index:2000;background:rgba(0,0,0,.45);display:flex;align-items:flex-end;justify-content:center}
.gr-sheet-in{width:100%;max-width:420px;background:var(--card);border-radius:16px 16px 0 0;padding:6px 0 calc(6px + env(safe-area-inset-bottom));display:flex;flex-direction:column}
.gr-sheet-in button{border:0;background:none;color:var(--text);font-size:16px;padding:14px 18px;text-align:center;border-bottom:1px solid var(--line)}
.gr-sheet-in button:last-child{border-bottom:0;color:var(--muted)}
.gr-sheet-in button.gr-danger{color:#C0392B;font-weight:600}
.gr-sheet-in button:hover{background:var(--hover)}
@media (min-width:761px){.gr-sheet{align-items:center}.gr-sheet-in{border-radius:16px}}
.gr-toast{position:fixed;left:50%;bottom:90px;transform:translate(-50%,20px);opacity:0;z-index:2100;background:#1A1F1E;color:#fff;padding:10px 16px;border-radius:10px;font-size:14px;max-width:calc(100vw - 32px);transition:opacity .25s,transform .25s;pointer-events:none}
.gr-toast.on{opacity:1;transform:translate(-50%,0)}
/* HP: kartu penuh lebar, tanpa sudut */
@media (max-width:760px){
  .gr-app{max-width:none}
  .gr-top,.gr-bar{padding-left:10px;padding-right:10px}
  .gr-feed{gap:6px}
  .gr-card,.gr-empty,.gr-new-f{border-radius:0;border-left:0;border-right:0}
  .gr-one .gr-card{border-radius:0}
  .gr-cms,.gr-cm-form{border-radius:0;border-left:0;border-right:0}
  .gr-cm-form{bottom:calc(64px + env(safe-area-inset-bottom))}
  .gr-brand{font-size:20px!important}
  .gr-new span{display:none}
  html.cx a.gr-new{padding:7px}
}
/* timeline.css memaksa warna link (html.cx a:link !important) & ukuran svg (html.cx svg 18px) -> timpa khusus Gram */
html.cx .gr-app a.gr-new,html.cx .gr-app a.gr-new:link,html.cx .gr-app a.gr-new:visited,html.cx .gr-app a.gr-btn,html.cx .gr-app a.gr-btn:link,html.cx .gr-app a.gr-btn:visited{color:#fff!important}
html.cx .gr-app .gr-tabs a,html.cx .gr-app .gr-tabs a:link,html.cx .gr-app .gr-tabs a:visited{color:var(--muted)!important}
html.cx .gr-app .gr-tabs a:hover{color:var(--text)!important}
html.cx .gr-app .gr-tabs a.on,html.cx .gr-app .gr-tabs a.on:link,html.cx .gr-app .gr-tabs a.on:visited{color:var(--card)!important}
html.cx .gr-app a.gr-who,html.cx .gr-app a.gr-who:link,html.cx .gr-app a.gr-who:visited,html.cx .gr-app a.gr-ib,html.cx .gr-app a.gr-ib:link,html.cx .gr-app a.gr-ib:visited,html.cx .gr-app .gr-cap a,html.cx .gr-app .gr-cap a:link,html.cx .gr-app .gr-cap a:visited,html.cx .gr-app .gr-cm-b p a,html.cx .gr-app .gr-cm-b p a:link,html.cx .gr-app .gr-cm-b p a:visited{color:var(--text)!important}
html.cx .gr-app a.gr-t,html.cx .gr-app a.gr-t:link,html.cx .gr-app a.gr-t:visited,html.cx .gr-app a.gr-allc,html.cx .gr-app a.gr-allc:link,html.cx .gr-app a.gr-allc:visited{color:var(--muted)!important}
html.cx .gr-app .gr-ib svg{width:24px;height:24px;stroke-width:1.9}
html.cx .gr-app .gr-new svg{width:18px;height:18px;stroke-width:2}
html.cx .gr-app .gr-nav svg{width:18px;height:18px;stroke-width:2.4}
html.cx .gr-app .gr-pop svg{width:100%;height:100%;fill:currentColor;stroke:none}
html.cx .gr-app .gr-tile-i svg{width:18px;height:18px;stroke-width:2}
html.cx .gr-app .gr-pick svg{width:42px;height:42px;stroke:var(--teal);stroke-width:1.6}
html.cx .gr-app .gr-pf-ctl svg{width:13px;height:13px;stroke-width:2.6}
html.cx .gr-app .gr-like.on svg,html.cx .gr-app .gr-save.on svg{fill:currentColor}
html.cx .gr-sheet-in button{font-family:inherit}
html.cx .gr-app .gr-slide img,html.cx .gr-app .gr-tile img,html.cx .gr-app .gr-pf-img img{width:100%;height:100%;max-width:none}
html.cx .gr-app .gr-av{height:34px}html.cx .gr-app .gr-av-s{height:30px}
@media (min-width:761px){.gr-app{max-width:540px}}
/* ===== Klip (26 Nov 2026, "gas klip") ===== */
.gr-vmedia{background:#000}
.gr-vid{display:block;width:100%;height:100%;object-fit:cover;background:#000}
.gr-vbadge{position:absolute;left:10px;top:10px;display:flex;align-items:center;gap:4px;background:rgba(0,0,0,.6);color:#fff;font-size:12px;font-weight:600;padding:3px 8px 3px 6px;border-radius:999px;pointer-events:none}
.gr-vmute{position:absolute;right:10px;bottom:10px;width:34px;height:34px;border-radius:50%;border:0;background:rgba(0,0,0,.6);color:#fff;display:flex;align-items:center;justify-content:center;padding:0}
.gr-vplay{position:absolute;left:50%;top:50%;width:64px;height:64px;margin:-32px 0 0 -32px;border-radius:50%;background:rgba(0,0,0,.45);color:#fff;display:none;align-items:center;justify-content:center;pointer-events:none}
.gr-paused .gr-vplay{display:flex}
.gr-vwait{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#fff;font-size:14px;background:#111}
.gr-spin{width:30px;height:30px;border-radius:50%;border:3px solid rgba(255,255,255,.25);border-top-color:#fff;animation:grspin 1s linear infinite}
@keyframes grspin{to{transform:rotate(360deg)}}
.gr-views{display:inline-flex;align-items:center;gap:4px;color:var(--muted);font-size:13px;margin-left:6px}
.gr-tile-v{position:absolute;left:6px;bottom:6px;display:flex;align-items:center;gap:3px;color:#fff;font-size:12px;font-weight:700;filter:drop-shadow(0 1px 2px rgba(0,0,0,.7))}
.gr-tile-wait{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:var(--muted)}
.gr-sheet-h{display:block;text-align:center;font-size:15px;padding:12px 16px 8px;color:var(--text)}
/* Klip layar penuh */
body.gr-cv-open{overflow:hidden}
body.gr-cv-open .cx-bnav{display:none!important}
.gr-cv{position:fixed;inset:0;z-index:1500;background:#000;color:#fff}
.gr-cv-top{position:absolute;top:0;left:0;right:0;z-index:3;display:flex;align-items:center;gap:6px;padding:calc(8px + env(safe-area-inset-top)) 10px 8px;background:linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,0))}
.gr-cv-top b{flex:1;font-size:18px}
.gr-cv-b{width:40px;height:40px;border:0;border-radius:50%;background:rgba(0,0,0,.35);color:#fff;display:inline-flex;align-items:center;justify-content:center;padding:0;flex:none}
html.cx .gr-cv a.gr-cv-b,html.cx .gr-cv a.gr-cv-b:link,html.cx .gr-cv a.gr-cv-b:visited{color:#fff!important}
.gr-cv-list{position:absolute;inset:0;overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior:contain;scrollbar-width:none}
.gr-cv-list::-webkit-scrollbar{display:none}
.gr-cv-it{position:relative;height:100%;scroll-snap-align:start;scroll-snap-stop:always;display:flex;align-items:center;justify-content:center;overflow:hidden}
.gr-cv-v{width:100%;height:100%;object-fit:contain;background:#000}
.gr-cv-v.gr-cv-fill{object-fit:cover}
.gr-cv-play{position:absolute;left:50%;top:50%;width:72px;height:72px;margin:-36px 0 0 -36px;border-radius:50%;background:rgba(0,0,0,.4);display:none;align-items:center;justify-content:center;pointer-events:none}
.gr-cv-it.gr-paused .gr-cv-play{display:flex}
.gr-cv-it.gr-nsfw video{filter:blur(30px)}
.gr-cv-rail{position:absolute;right:8px;bottom:calc(90px + env(safe-area-inset-bottom));z-index:2;display:flex;flex-direction:column;align-items:center;gap:14px}
.gr-cv-r{border:0;background:none;color:#fff;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:12px;font-weight:600;padding:0;min-width:44px;text-shadow:0 1px 3px rgba(0,0,0,.6)}
.gr-cv-like.on{color:#FF3B5C}
.gr-cv-sv.on{color:#FFC94D}
.gr-cv-av .gr-av{width:42px;height:42px;border:2px solid #fff}
.gr-cv-info{position:absolute;left:12px;right:72px;bottom:calc(22px + env(safe-area-inset-bottom));z-index:2;text-shadow:0 1px 3px rgba(0,0,0,.7)}
html.cx .gr-cv a.gr-cv-who,html.cx .gr-cv a.gr-cv-who:link,html.cx .gr-cv a.gr-cv-who:visited{color:#fff!important;font-size:15px}
.gr-cv-cap{margin:6px 0 4px;font-size:14px;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;cursor:pointer}
.gr-cv-cap.open{display:block;max-height:40vh;overflow-y:auto}
.gr-cv-info small{display:flex;align-items:center;gap:4px;color:rgba(255,255,255,.8);font-size:12px}
.gr-cv-prog{position:absolute;left:0;right:0;bottom:env(safe-area-inset-bottom);height:3px;background:rgba(255,255,255,.2);z-index:2}
.gr-cv-prog i{display:block;height:100%;width:0;background:#fff}
.gr-cv-arrows{position:absolute;right:18px;top:50%;transform:translateY(-50%);z-index:3;display:none;flex-direction:column;gap:12px}
.gr-cv-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;color:#fff;font-size:16px}
html.cx .gr-cv .gr-veil{z-index:2}
@media (min-width:761px){
  .gr-cv-it{padding:12px 0}
  .gr-cv-v{width:auto;max-width:min(100%,calc((100vh - 24px) * 9 / 16));height:100%;border-radius:12px}
  .gr-cv-v.gr-cv-fill{width:calc((100vh - 24px) * 9 / 16);object-fit:cover}
  .gr-cv-rail{right:calc(50% - (100vh - 24px) * 9 / 32 - 64px);bottom:40px}
  .gr-cv-info{left:calc(50% - (100vh - 24px) * 9 / 32 + 14px);right:auto;width:calc((100vh - 24px) * 9 / 16 - 80px);bottom:36px}
  .gr-cv-arrows{display:flex}
  .gr-cv-prog{left:calc(50% - (100vh - 24px) * 9 / 32);right:auto;width:calc((100vh - 24px) * 9 / 16);bottom:12px}
}
html.cx .gr-cv svg,html.cx .gr-cv-b svg{width:24px;height:24px;stroke-width:2}
html.cx .gr-cv .gr-cv-r svg{width:30px;height:30px;stroke-width:1.8;filter:drop-shadow(0 1px 2px rgba(0,0,0,.5))}
html.cx .gr-cv .gr-cv-like.on svg,html.cx .gr-cv .gr-cv-sv.on svg{fill:currentColor}
html.cx .gr-cv .gr-cv-play svg{width:34px;height:34px;fill:#fff;stroke:none}
html.cx .gr-cv .gr-cv-info small svg{width:14px;height:14px}
html.cx .gr-cv .gr-pop svg{width:100%;height:100%;fill:#fff;stroke:none}
/* lembar komentar Klip */
.gr-cmsheet{z-index:2050}
.gr-cmsheet .gr-sheet-in{max-height:75vh;height:75vh;padding:0;display:flex;flex-direction:column;max-width:560px}
.gr-cmsheet-h{display:flex;align-items:center;justify-content:center;position:relative;padding:12px;border-bottom:1px solid var(--line);color:var(--text)}
.gr-cmsheet-h .gr-ib{position:absolute;right:6px;top:4px}
.gr-cmsheet-b{flex:1;overflow-y:auto;display:flex;flex-direction:column}
.gr-cmsheet-b .gr-cms{border:0;border-radius:0;flex:1;display:flex;flex-direction:column}
.gr-cmsheet-b .gr-cm-list{flex:1}
.gr-cmsheet-b .gr-cm-form{bottom:0!important;border-radius:0}
.gr-cmsheet .gr-sheet-in button{border-bottom:0;padding:0;font-size:inherit}
.gr-cmsheet .gr-cm-form button{padding:8px 4px;font-size:15px;color:var(--teal)}
.gr-cmsheet .gr-cdel{font-size:12px!important;color:var(--muted)}
/* pilihan Foto / Klip */
.gr-kind{display:flex;gap:6px;margin:0 0 10px}
html.cx .gr-kind a,html.cx .gr-kind a:link,html.cx .gr-kind a:visited{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:9px;border-radius:12px;background:var(--card);border:1px solid var(--line);color:var(--text)!important;font-weight:700;font-size:14px}
html.cx .gr-kind a.on,html.cx .gr-kind a.on:link,html.cx .gr-kind a.on:visited{background:var(--text);color:var(--card)!important;border-color:var(--text)}
/* editor (filter / atur / potong) */
.gr-pv-main canvas{max-width:100%;max-height:100%;display:block}
.gr-pv-main{position:relative}
.gr-pv-note{position:absolute;left:10px;right:10px;bottom:10px;background:rgba(0,0,0,.7);color:#fff;font-size:13px;padding:8px 10px;border-radius:8px}
.gr-ed{margin-top:12px}
.gr-ed-tabs{display:flex;border-bottom:1px solid var(--line);margin-bottom:10px}
.gr-ed-tabs button{flex:1;border:0;background:none;padding:10px;font-weight:700;color:var(--muted);font-size:14px;border-bottom:2px solid transparent}
.gr-ed-tabs button[aria-selected="true"]{color:var(--text);border-bottom-color:var(--text)}
.gr-fx-list{display:flex;gap:10px;overflow-x:auto;padding:2px 2px 8px;scrollbar-width:thin}
.gr-fx{flex:0 0 auto;border:0;background:none;padding:0;display:flex;flex-direction:column;align-items:center;gap:5px;color:var(--muted);font-size:12px}
.gr-fx canvas{width:72px;height:90px;border-radius:8px;background:var(--chip);border:2px solid transparent}
.gr-fx.on{color:var(--text);font-weight:700}
.gr-fx.on canvas{border-color:var(--teal)}
.gr-fx-k,.gr-adj,.gr-cov{display:flex;align-items:center;gap:10px;font-size:13px;padding:6px 2px}
.gr-fx-k span,.gr-adj span,.gr-cov span{flex:0 0 92px;color:var(--text)}
.gr-fx-k input,.gr-adj input,.gr-cov input{flex:1;accent-color:var(--teal);min-width:0}
.gr-adj output{flex:0 0 34px;text-align:right;color:var(--muted);font-variant-numeric:tabular-nums}
.gr-adj-0{margin-top:6px}
.gr-crop{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.gr-crop button{border:1px solid var(--line);background:var(--card);color:var(--text);border-radius:999px;padding:7px 14px;font-weight:600;font-size:13px}
.gr-crop button.on{background:var(--text);color:var(--card);border-color:var(--text)}
.gr-crop .gr-rot{display:inline-flex;align-items:center;padding:6px 10px}
.gr-crop .gr-all{margin-left:auto}
html.cx .gr-app .gr-crop svg{width:18px;height:18px}
.gr-step2 .gr-s2-th{display:flex;gap:6px;overflow-x:auto;margin-bottom:4px}
.gr-s2-th img{width:64px;height:80px;object-fit:cover;border-radius:8px;flex:none}
.gr-upbar{height:4px;border-radius:2px;background:var(--chip);overflow:hidden;margin-top:12px}
.gr-upbar i{display:block;height:100%;width:0;background:var(--teal);transition:width .2s}
.gr-upmsg{font-size:13px;color:var(--muted);margin:6px 0 0}
/* editor video */
.gr-vpv{position:relative;background:#000;border-radius:12px;overflow:hidden;aspect-ratio:9/16;max-height:62vh;margin:0 auto;display:flex;align-items:center;justify-content:center}
.gr-vpv video{width:100%;height:100%;object-fit:contain;display:block}
.gr-vvig{position:absolute;inset:0;pointer-events:none}
.gr-vpp{position:absolute;left:50%;top:50%;width:64px;height:64px;margin:-32px 0 0 -32px;border-radius:50%;border:0;background:rgba(0,0,0,.45);color:#fff;display:none;align-items:center;justify-content:center;padding:0}
.gr-vped.gr-paused .gr-vpp{display:flex}
html.cx .gr-app .gr-vpp svg{width:30px;height:30px;fill:#fff;stroke:none}
.gr-trim{margin-top:12px}
.gr-trim-h{display:flex;justify-content:space-between;font-size:14px;margin-bottom:6px}
.gr-trim-t{color:var(--muted);font-variant-numeric:tabular-nums}
.gr-trim-r{position:relative;height:64px;border-radius:8px;overflow:hidden;background:var(--chip)}
.gr-film{position:absolute;inset:0;display:flex}
.gr-film canvas{flex:1;width:0;height:100%;object-fit:cover}
.gr-trim-sel{position:absolute;top:0;bottom:0;border:3px solid #FFC94D;border-radius:8px;box-shadow:0 0 0 999px rgba(0,0,0,.45);pointer-events:none}
.gr-trim-r input{position:absolute;inset:0;width:100%;height:100%;margin:0;background:none;-webkit-appearance:none;appearance:none;pointer-events:none}
.gr-trim-r input::-webkit-slider-thumb{-webkit-appearance:none;pointer-events:auto;width:22px;height:64px;background:#FFC94D;border-radius:6px;cursor:ew-resize;border:0}
.gr-trim-r input::-moz-range-thumb{pointer-events:auto;width:22px;height:64px;background:#FFC94D;border-radius:6px;cursor:ew-resize;border:0}
.gr-trim-r input::-webkit-slider-runnable-track{background:none;height:64px}
.gr-vopt{margin-top:10px}
.gr-sw{display:flex;align-items:center;gap:10px;font-size:14px;padding:6px 2px}
.gr-sw input{width:20px;height:20px;accent-color:var(--teal)}
@media (prefers-reduced-motion:reduce){.gr-spin{animation:none}}
html.cx .gr-app a.gr-modl,html.cx .gr-app a.gr-modl:link,html.cx .gr-app a.gr-modl:visited{flex:none;font-size:13px;font-weight:700;color:var(--muted)!important;padding:6px 10px;border:1px solid var(--line);border-radius:999px}
.gr-modl b{display:inline-block;min-width:18px;padding:0 5px;border-radius:9px;background:var(--orange);color:#fff;font-size:11px;text-align:center}
@media (max-width:760px){html.cx .gr-app a.gr-modl{padding:5px 8px;font-size:12px}}
/* ===== F3 (26 Nov 2026): tagar, mention, komunitas ===== */
html.cx .gr-app a.gr-tag,html.cx .gr-app a.gr-tag:link,html.cx .gr-app a.gr-tag:visited,html.cx .gr-app a.gr-ment,html.cx .gr-app a.gr-ment:link,html.cx .gr-app a.gr-ment:visited,
html.cx .gr-sheet a.gr-tag,html.cx .gr-sheet a.gr-ment,html.cx .gr-sheet a.gr-tag:link,html.cx .gr-sheet a.gr-ment:link,html.cx .gr-sheet a.gr-tag:visited,html.cx .gr-sheet a.gr-ment:visited{color:var(--link)!important;font-weight:600}
html.cx .gr-cv a.gr-tag,html.cx .gr-cv a.gr-tag:link,html.cx .gr-cv a.gr-tag:visited,html.cx .gr-cv a.gr-ment,html.cx .gr-cv a.gr-ment:link,html.cx .gr-cv a.gr-ment:visited{color:#fff!important;font-weight:800}
html.cx .gr-app a.gr-cml,html.cx .gr-app a.gr-cml:link,html.cx .gr-app a.gr-cml:visited{color:var(--teal)!important;font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:40%;background:var(--chip);padding:2px 8px;border-radius:999px}
.gr-tags{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:2px 2px 12px;align-items:center}
.gr-tags::-webkit-scrollbar{display:none}
.gr-tags b{font-size:13px;color:var(--muted);flex:none;margin-right:2px}
html.cx .gr-app .gr-tags a,html.cx .gr-app .gr-tags a:link,html.cx .gr-app .gr-tags a:visited{flex:none;padding:6px 12px;border-radius:999px;background:var(--card);border:1px solid var(--line);color:var(--text)!important;font-weight:700;font-size:13px}
.gr-pghd{padding:0 2px 12px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.gr-pgsub{margin:0;color:var(--muted);font-size:14px;flex:1 1 100%}
.gr-pgacts{display:flex;gap:8px;flex-wrap:wrap}
html.cx .gr-app a.gr-btn2,html.cx .gr-app a.gr-btn2:link,html.cx .gr-app a.gr-btn2:visited{color:var(--text)!important}
.gr-commsel{margin-top:12px}
html.cx .gr-commsel select{width:100%;border:1px solid var(--line)!important;border-radius:10px!important;padding:9px 10px!important;background:var(--bg)!important;color:var(--text)!important;font:inherit;font-size:15px!important}
.gr-commsel small{display:block;color:var(--muted);font-size:12px;margin-top:4px}
.gr-mn{background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:0 6px 24px rgba(0,0,0,.12);overflow:hidden;margin-top:4px;z-index:20}
.gr-mn button{display:flex;align-items:center;gap:8px;width:100%;border:0;background:none;padding:8px 12px;color:var(--text);font:inherit;font-size:14px;text-align:left;cursor:pointer}
.gr-mn button:hover{background:var(--hover)}
.gr-cm-form .gr-mn{position:absolute;left:12px;right:12px;bottom:100%;margin:0 0 6px}
@media (max-width:760px){.gr-pghd,.gr-tags{padding-left:10px;padding-right:10px}}
