/* =======================================================
   GLOBAL — reset, tokens, shared utilities
   Dipanggil di SEMUA halaman. Jangan menambah warna baru di luar token ini.
   ============================================================ */
:root {
  --purple-900: #4c1d7a;
  --purple-700: #6d2aa6;
  --purple-600: #7b2fb5;
  --purple-500: #8a3cc4;
  --purple-grad: linear-gradient(135deg, #8b2fc9 0%, #6324a8 100%);
  --lav-50: #f6f4fb;
  --lav-100: #efeafb;
  --lav-200: #e3d9f6;
  --ink: #0f0f12;
  --ink-soft: #1a1a1f;
  --gray-500: #6b6b76;
  --gray-400: #8a8a94;
  --gray-300: #b9b9c2;
  --line: #e7e6ee;
  --green-base: #2fc56a;
  --green-light: #5fe28e;
  --white: #ffffff;
  --maxw: 1180px;

  /* Radius: satu skala untuk semua. Anak = induk dikurangi padding di antaranya, tidak pernah >= induk. */
  /* 13 Nov 2026 (revisi malam): sudut tipis, sedikit lebih kecil dari skala 10 Nov (4/8/12/16/20). */
  --r-xs: 3px;   /* badge, tag, kbd, angka */
  --r-sm: 6px;   /* tombol, input, chip, nav item, tab */
  --r-md: 8px;   /* kartu, dropdown, popover */
  --r-lg: 10px;  /* panel besar, modal, container section */
  --r-xl: 12px;  /* bingkai hero (maksimal) */
  /* alias lama, jangan dipakai di kode baru */
  --radius-xl: var(--r-md);
  --radius-lg: var(--r-md);
  --radius-md: var(--r-sm);
  --radius-sm: var(--r-sm);

  /* Spacing kelipatan 4 */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-6: 24px; --s-8: 32px; --s-12: 48px; --s-16: 64px;
  --control-h: 36px;

  /* Teks: hierarki lewat opacity warna ink */
  --text-1: rgba(15,15,18,.9);
  --text-2: rgba(15,15,18,.6);   /* kontras ~5:1 di putih */
  --text-3: rgba(15,15,18,.45);  /* hanya teks besar atau dekoratif */

  /* Permukaan & garis: tint dari warna brand yang sudah ada */
  --surface: var(--white);
  --surface-2: var(--lav-50);
  --surface-3: var(--lav-100);
  --border: rgba(15,15,18,.08);
  --border-strong: rgba(15,15,18,.16);
  --border-brand: rgba(123,47,181,.24);
  --shadow-pop: 0 0 0 1px var(--border), 0 12px 32px -16px rgba(15,15,18,.24);
  --focus-ring: 0 0 0 3px rgba(123,47,181,.16);

  /* Status (hex yang sudah dipakai sebelumnya) */
  --ok: #17703f;
  --ok-bg: #e8f7ee;
  --err: #b42318;
  --err-bg: #fdecec;
  --warn: #8a5a00;
  --warn-bg: #fff4dd;
  --warn-line: #f3d48b;
  --star: #f5a524;

  --ease: 400ms ease; /* hover santai (13 Nov 2026), dulu 160ms */

  /* Skala tipografi website (13 Nov 2026): H1 64, H2 42, H3 32, H4 20, H5 16, H6 14. Turun di layar kecil. */
  --fs-display: 72px; /* judul hero Beranda media dan business (sama) */
  --fs-h1: 64px; --fs-h2: 42px; --fs-h3: 32px; --fs-h4: 20px; --fs-h5: 16px; --fs-h6: 14px;
}
@media (max-width: 1000px) { :root { --fs-display: 60px; --fs-h1: 52px; --fs-h2: 36px; --fs-h3: 28px; } }
@media (max-width: 640px) { :root { --fs-display: 44px; --fs-h1: 40px; --fs-h2: 30px; --fs-h3: 24px; --fs-h4: 18px; } }

/* Mode gelap (13 Nov 2026): tombol ikon di navbar, pilihan disimpan localStorage al_theme (config.js, A.theme).
   Token ditukar; komponen tetap memakai token yang sama. --white = latar, --ink = teks. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --purple-700: #b88be6;
  --purple-600: #a777db;
  --lav-50: #17161d;
  --lav-100: #201e28;
  --lav-200: #2d2939;
  --ink: #f1f0f5;
  --ink-soft: #dddce4;
  --gray-500: #a4a3ae;
  --gray-400: #8b8a95;
  --gray-300: #55545f;
  --line: #2a2932;
  --white: #15151a;               /* permukaan (kartu, form) sedikit lebih terang dari latar halaman */
  --text-1: rgba(241,240,245,.92);
  --text-2: rgba(241,240,245,.66);
  --text-3: rgba(241,240,245,.46);
  --border: rgba(255,255,255,.09);
  --border-strong: rgba(255,255,255,.18);
  --border-brand: rgba(167,119,219,.32);
  --shadow-pop: 0 0 0 1px var(--border), 0 12px 32px -16px rgba(0,0,0,.7);
  --focus-ring: 0 0 0 3px rgba(167,119,219,.28);
  --ok: #5fd08f; --ok-bg: #12261b;
  --err: #ff8a80; --err-bg: #2c1514;
  --warn: #f0c060; --warn-bg: #2a2110; --warn-line: #5a4517;
}
/* Area yang memang selalu gelap (footer, section gelap) dan kartu bergambar terang: token aslinya dikunci
   supaya kontrasnya sama dengan mode terang. */
:root[data-theme="dark"] :is(.hero-card, .bx-hero, .bx-brief .bz-form, .sp-form-wrap .bz-form) {
  --ink: #0f0f12; --ink-soft: #1a1a1f; --white: #ffffff; --line: #e7e6ee;
  --lav-50: #f6f4fb; --lav-100: #efeafb; --lav-200: #e3d9f6;
  --gray-500: #6b6b76; --purple-700: #6d2aa6; --purple-600: #7b2fb5;
  --text-1: rgba(15,15,18,.9); --text-2: rgba(15,15,18,.6); --text-3: rgba(15,15,18,.45);
  --border: rgba(15,15,18,.08); --border-strong: rgba(15,15,18,.16);
  color: var(--ink);
}
:root[data-theme="dark"] :is(.site-footer, .bx-brief, .sp-hero, .sp-dark, .of-final, .cat-footer) {
  --ink: #0a0a0d; --white: #ffffff; --lav-200: #e3d9f6;
  border-top: 1px solid rgba(255,255,255,.08);
}
:root[data-theme="dark"] body { background: #0b0b0e; }
:root[data-theme="dark"] .hero-card { --notch-bg: #0b0b0e; }
:root[data-theme="dark"] .hero-notch .marquee-item { color: #dddce4; }
:root[data-theme="dark"] .bx-logos img { filter: brightness(0) invert(1); }
:root[data-theme="dark"] .btn-primary { color: #fff; }
:root[data-theme="dark"] img:not([src$=".svg"]) { color-scheme: light; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: 'Inter Tight', sans-serif; }
:focus-visible { outline: 2px solid var(--purple-600); outline-offset: 2px; }

/* shared utility */
.wrap { max-width: var(--maxw); margin: 0 auto; }
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--control-h);
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: background var(--ease), border-color var(--ease), color var(--ease), opacity var(--ease), filter var(--ease);
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--purple-grad); color: var(--white); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-soft); }
.btn-outline { border: 1px solid var(--border-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--surface-2); border-color: var(--ink); }
.btn-gray { background: var(--gray-500); color: var(--white); }
.btn-gray:hover { background: var(--ink-soft); }

/* Tombol dengan panah (13 Nov 2026): panah ikon biasa di sebelah teks, tanpa kotak. */
.btn-pill { border-radius: var(--r-sm); padding: 0 16px; height: var(--control-h); }
.btn-pill.btn-outline, .btn-pill.btn-glass { padding: 0 16px; }
.btn-arrow {
  display: inline-grid; place-items: center; margin-left: -2px;
  background: none; color: inherit;
  transition: transform var(--ease);
}
.btn-arrow svg { width: 16px; height: 16px; }
.btn-pill:hover .btn-arrow { transform: translateX(2px); }
.btn-disabled, .btn[aria-disabled="true"] { background: var(--lav-100); color: var(--gray-400); cursor: not-allowed; box-shadow: none !important; transform: none !important; filter: none !important; }
.btn-disabled { padding: 0 16px; }
@media (max-width: 560px) { :root { --control-h: 40px; } }
.btn[aria-disabled="true"] .btn-arrow { color: var(--gray-300); }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14.5px; color: var(--ink);
  border-bottom: 1.5px solid currentColor; padding-bottom: 4px; width: fit-content;
}
.text-link svg { width: 16px; height: 16px; }
.text-link:hover { color: var(--purple-600); }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: var(--r-sm);
  background: var(--lav-100); color: var(--purple-700);
}
.chip--glass { background: rgba(255,255,255,.75); color: var(--ink); backdrop-filter: blur(8px); }
.chip--soon { background: var(--white); color: var(--gray-500); }

/* ---------- Placeholder [ISI: ...] ----------
   Teks yang belum diisi sengaja dibuat mencolok supaya tidak lolos ke produksi. */
.isi {
  background: #fff4c2; color: #6b5300;
  border-radius: var(--r-xs); padding: 0 4px;
  font-weight: 500;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- Reveal on scroll (diatur oleh render.js) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

.section-hidden { display: none !important; }

@media (max-width: 1320px) {
  .wrap { padding: 0 24px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
}

/* Rasio cover seragam 1.3:1 (kartu insight, produk, portfolio). Gambar di luar rasio dipotong rata tengah. */
html .insight-card-band, html .product-cover, html .work-thumb { aspect-ratio: 1.3 / 1; }
html .pf-thumb { aspect-ratio: 16 / 9; }
html .pf-thumb img, html .work-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Kartu produk: tombol beli selalu di kanan bawah. Kalau sempit, harga coret turun ke bawah harga, tombol tetap. */
html .product-foot { flex-wrap: nowrap; align-items: flex-end; }
html .product-foot .btn { flex-shrink: 0; margin-left: auto; }
html .product-price { min-width: 0; flex-direction: column; align-items: flex-start; gap: 4px; }

/* ===== Final: aksesibilitas, bahasa, iklan, persetujuan ===== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 300; padding: 8px 16px; border-radius: var(--r-sm); background: var(--ink); color: var(--white); font-weight: 600; font-size: 14px; transition: top .4s ease; }
.skip-link:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* Tombol ID / EN */
.lang-sw { display: inline-flex; align-items: center; height: var(--control-h); padding: 4px; border-radius: var(--r-sm); background: var(--lav-100); gap: 4px; }
.lang-sw button { height: calc(var(--control-h) - 8px); min-width: 34px; padding: 0 8px; border: 0; border-radius: var(--r-xs); background: transparent; font: 600 12.5px 'Inter', sans-serif; color: var(--gray-500); cursor: pointer; }
.lang-sw button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(15,15,18,.14); }

/* Persetujuan data di form */
.form-consent { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 16px; font-size: 13px; line-height: 1.5; color: var(--gray-500); cursor: pointer; }
.form-consent input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--purple-600); }
.form-consent a, .form-note a { color: var(--ink-soft); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.form-note { margin-top: 8px; font-size: 12px; line-height: 1.5; color: var(--gray-400); }
.hero-copy .form-note { margin: 4px 0 0; padding-left: 24px; font-size: 12px; color: var(--gray-500); max-width: 440px; }
.hero-copy .form-note a { color: var(--ink-soft); }
/* Tombol saran salah ketik email ("Maksud kamu ...?") */
.email-suggest { margin-left: 8px; padding: 4px 12px; border: 1px solid currentColor; border-radius: var(--r-sm); background: transparent; color: inherit; font: 600 12px/1.6 'Inter', sans-serif; cursor: pointer; }
.email-suggest:hover { background: rgba(123,47,181,.12); }

/* Slot iklan (kosong = disembunyikan otomatis) */
.promo-band { padding: 12px 0 48px; }
.promo-zone { margin: 32px auto; }
.promo-unit { position: relative; display: block; margin: 0 auto; max-width: 100%; border-radius: var(--r-md); overflow: hidden; background: var(--lav-50); }
.promo-unit img { width: 100%; height: auto; display: block; }
.promo-unit .promo-tag { position: absolute; top: 6px; left: 8px; padding: 4px 8px; border-radius: var(--r-xs); background: rgba(255,255,255,.85); font-size: 10px; font-weight: 600; color: var(--gray-500); }
.promo-unit .promo-cta { position: absolute; right: 10px; bottom: 10px; padding: 8px 12px; border-radius: var(--r-sm); background: var(--ink); color: var(--white); font-size: 12.5px; font-weight: 600; }
.promo-unit--desktop { display: block; } .promo-unit--mobile { display: none; }
@media (max-width: 760px) { .promo-unit--desktop { display: none; } .promo-unit--mobile { display: block; } .promo-only-desktop { display: none !important; } }
@media (min-width: 761px) { .promo-only-mobile { display: none !important; } }
.art-shell { position: relative; }
.promo-side { position: absolute; top: 136px; right: max(24px, calc((100vw - 1320px) / 2)); width: 160px; }
.promo-side .promo-unit { position: sticky; top: 96px; }
@media (max-width: 1279px) { .promo-side { display: none !important; } }
.pg-more { display: flex; justify-content: center; margin-top: 32px; }
[hidden] { display: none !important; }
.legal-note { padding: 12px 16px; border-radius: var(--r-md); background: var(--lav-100); font-size: 13.5px; margin-bottom: 32px; }

/* ---------- Sumber gambar (credit dari dashboard: <field>Credit / <field>CreditUrl) ---------- */
.img-credit { position: absolute; right: 8px; bottom: 8px; z-index: 2; max-width: calc(100% - 16px); padding: 4px 8px; border-radius: var(--r-xs); background: rgba(15,15,18,.62); color: var(--white); font-size: 11px; font-weight: 500; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.img-credit:hover { background: rgba(15,15,18,.85); text-decoration: underline; }
.img-credit-line { display: block; margin: 8px 0 0; font-size: 12px; color: var(--gray-500); }
a.img-credit-line { text-decoration: underline; text-underline-offset: 2px; }
.work-thumb { position: relative; }
.art-cover + .img-credit-line { margin: -24px 0 32px; }
.pd-hero-fig { margin: 0; }

/* H3: slot iklan ramah Core Web Vitals. Ruang dipesan per slot (aspect-ratio) supaya CLS 0; gambar contain, tidak terpotong. */
[data-promo-slot="article-top"] { max-width: 728px; aspect-ratio: 728 / 90; margin-inline: auto; }
[data-promo-slot="article-mid"] { max-width: 300px; aspect-ratio: 300 / 250; margin-inline: auto; }
[data-promo-slot="article-end"], [data-promo-slot="home-band"] { max-width: 970px; aspect-ratio: 970 / 250; margin-inline: auto; }
[data-promo-slot="article-side"] { max-width: 300px; aspect-ratio: 300 / 600; margin-inline: auto; }
[data-promo-slot] > .promo-only-desktop, [data-promo-slot] > .promo-only-mobile { height: 100%; }
[data-promo-slot] .promo-unit { height: 100%; }
[data-promo-slot] .promo-unit img { height: 100%; object-fit: contain; }
.art-side-ad { position: sticky; top: 96px; }
.promo-mid { margin: 32px auto; }
.art-end { margin: 32px auto 8px; }
@media (max-width: 760px) {
  [data-promo-slot="article-top"] { max-width: 320px; aspect-ratio: 320 / 100; }
  [data-promo-slot="article-end"], [data-promo-slot="home-band"] { max-width: 300px; aspect-ratio: 300 / 250; }
  .art-side-ad, .promo-no-mobile { display: none !important; }
}
@media (min-width: 761px) { .promo-no-desktop { display: none !important; } }

/* ---------- Angka: lebar tetap supaya kolom angka rapi ---------- */
.product-price, .tp-price, .tp-detail-price, .cat-no, .kuis-score, .ad-count, .ov-kpi, .kt-count, time,
[data-num] { font-variant-numeric: tabular-nums; }

/* Delight tombol utama (13 Nov 2026): panah bergerak bolak-balik, pesawat kertas terbang lalu kembali.
   Hanya saat hover / fokus, mati kalau "kurangi animasi" aktif. */
.btn-send { width: 16px; height: 16px; flex: none; margin-left: 8px; }
.btn-has-send { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .btn-pill:hover .btn-arrow svg, .btn-pill:focus-visible .btn-arrow svg { animation: btn-nudge .9s ease-in-out infinite; }
  .btn:hover .btn-send, .btn:focus-visible .btn-send { animation: btn-fly 1.4s ease-in-out infinite; }
}
@keyframes btn-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }
@keyframes btn-fly { 0% { transform: translate(0, 0) scale(1); opacity: 1; } 45% { transform: translate(16px, -16px) scale(.6); opacity: 0; } 46% { transform: translate(-12px, 12px) scale(.6); opacity: 0; } 100% { transform: translate(0, 0) scale(1); opacity: 1; } }

/* Tag (13 Nov 2026): maksimal satu tag ungu (yang paling penting), info lain teks abu biasa tanpa kotak. */
.tag-main { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: var(--r-xs); background: rgba(123,47,181,.1); color: var(--purple-700); font-size: 12.5px; font-weight: 500; line-height: 1.5; white-space: nowrap; }
.tag-rest { font-size: 12.5px; font-weight: 400; color: var(--text-2); }
.tag-main + .tag-rest { margin-left: 8px; }
:root[data-theme="dark"] .tag-main { background: rgba(167,119,219,.16); }

/* Tombol ikon tema untuk halaman tanpa navbar umum (katalog, live review). Navbar umum punya gaya sendiri (.nav-icon). */
.theme-btn { display: inline-grid; place-items: center; width: var(--control-h); height: var(--control-h); border: 1px solid var(--border-strong); border-radius: var(--r-sm); background: transparent; color: var(--ink); cursor: pointer; transition: background var(--ease), border-color var(--ease); }
.theme-btn:hover { background: var(--border); border-color: var(--ink); }
.theme-btn svg { width: 16px; height: 16px; }
.theme-btn .ico-sun, :root[data-theme="dark"] .theme-btn .ico-moon { display: none; }
:root[data-theme="dark"] .theme-btn .ico-sun { display: block; }
:root[data-theme="dark"] :is(.cat-header, .lr-header) { background: rgba(15,15,18,.85); border-bottom-color: rgba(255,255,255,.06); }

/* ---------- Animasi (13 Nov 2026): fade masuk/keluar di semua interaksi. Mati total untuk prefers-reduced-motion. ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Pindah halaman (browser yang mendukung View Transitions lintas halaman: Chrome/Edge 126+) */
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: fx-out .18s ease both; }
  ::view-transition-new(root) { animation: fx-in .28s ease both; }
  /* Halaman pertama dibuka */
  body { animation: fx-fade .3s ease both; }

  @keyframes fx-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
  @keyframes fx-fade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes fx-out { from { opacity: 1; } to { opacity: 0; transform: translateY(4px); } }
  @keyframes fx-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

  /* Konten yang dirender ulang (filter tag, tab kategori, pencarian, ganti bahasa, data baru): tiap item fade masuk */
  [data-render] > *, .hl-grid > *, .pf-grid > *, .tp-grid > *, .fp > *, .cat-grid > *,
  #adList > *, #adOverview > *, .kt-cards > *, .ad-row, .ide-card, .kt-card-wrap { animation: fx-in .28s ease both; }
  .form-msg:not(:empty), .ad-toast, .ad-info:not([hidden]) { animation: fx-in .22s ease both; }
  /* Ganti tag / kategori berita, tools, portofolio: lebih santai (sekitar 1 detik) */
  .hl-grid > *, [data-render="home-news"] > *, [data-render="insight-hub"] > *, .tp-grid > *, .pf-grid > *, .cat-grid > * { animation-duration: 1s; animation-timing-function: cubic-bezier(.22,.8,.22,1); }

  /* Modal & panel: latar memudar, kotak muncul sedikit membesar */
  .pd-overlay:not([hidden]), .ad-confirm, .ad-scrim, .pal-scrim, .nav-dd-panel:not([hidden]) { animation: fx-fade .2s ease both; }
  .pd-overlay:not([hidden]) .pd-modal, .ad-confirm-box, .ad-drawer, .pal-scrim > * { animation: fx-pop .24s cubic-bezier(.2,.7,.2,1) both; }
  nav.menu.open { animation: fx-fade .4s ease both; }
  /* Dropdown & panel lipat (13 Nov 2026): muncul turun pelan; keluar lewat A.fx.hide */
  .nav-dd-panel:not([hidden]), .ad-user-menu:not([hidden]) { animation: fx-pop .4s cubic-bezier(.22,.8,.22,1) both; }
  fieldset:has(> legend .ad-collapse) > :not(legend):not([hidden]) { animation: fx-in .45s ease both; }

  /* Keluar: A.fx.out / A.fx.hide (config.js) */
  .fx-leave { animation: fx-out .3s ease forwards !important; pointer-events: none; }
  .fx-leave .pd-modal, .fx-leave.ad-confirm .ad-confirm-box { animation: fx-out .3s ease forwards !important; }

  /* Interaksi kecil: tombol tertekan */
  .btn:active, .btn-navbar:active, .nav-icon:active, .theme-btn:active { transform: scale(.98); }
}

/* Penanda tab yang bergeser (A.fx.pill). Warna penanda = warna tab aktif tiap wadah. */
.has-pill { position: relative; }
.has-pill > :not(.tab-pill) { position: relative; z-index: 1; }
.tab-pill { position: absolute; left: 0; top: 0; z-index: 0; border-radius: var(--r-xs); pointer-events: none; opacity: 0; transition: transform 1s cubic-bezier(.22,.8,.22,1), width 1s cubic-bezier(.22,.8,.22,1), height .6s ease, opacity .4s ease; }
.hl-tabs > .tab-pill { background: var(--white); box-shadow: 0 0 0 1px var(--border); }
.tp-tabs > .tab-pill, .pf-cats > .tab-pill { background: var(--ink); border-radius: var(--r-sm); }
.ad-tabs > .tab-pill { background: var(--lav-100); border-radius: var(--r-sm); }
.has-pill > [aria-pressed="true"], .has-pill > .active { background: transparent !important; box-shadow: none !important; border-color: transparent !important; transition: color .6s ease; }
@media (prefers-reduced-motion: reduce) { .tab-pill { transition: none; } }
/* Tombol tab dalam wadah ber-penanda dibuat transparan supaya penanda terlihat saat bergeser di belakangnya. */
.has-pill.has-pill > :is(button, a) { background-color: transparent; }
