* {
  box-sizing: border-box;
}
img {
  max-width: 100%;
  height: auto;
}
:root {
  --anim-fast: 120ms;
  --anim-med: 180ms;
  --easing: cubic-bezier(0.22, 0.61, 0.36, 1);
  --bg: #101820;
  --fg-primary: #e9edf3;
  --fg-heading: #f3f7fb;
  --fg-muted: #b7becb;
  --fg-link: #9cc3ff;
  --placeholder: #8791a3;
  --header-bg: #1e1e1e;
  --header-border: #333;
  --search-bg: #0f1115;
  --search-border: #5f6673;
  --search-outline: #5b77ff;
  --search-error: #ff4d4f;
  --search-btn-bg: #2f6df6;
  --search-btn-ico: #fff;
  --panel-bg: #0c0f14;
  --panel-border: #5f6673;
  --thumb-bg: #222;
  --thumb-border: #333;
  --control-bg: #161a20;
  --control-fg: #e9edf3;
  --control-border: #2b3240;
  --sheet-bg: #171a20;
  --sheet-border: #2a3342;
  --sheet-sep: #2a3342;
  --radio-ring: #4c6fff;
  --article-scale: 1;
  --brand-accent: #fee715;
  --border-color: var(--search-border);
  --bg-elevated: var(--panel-bg);
  --fg-default: var(--fg-primary);
  --bg-hover: #151a20;
}
/* TAMBAHAN BARU: Kunci perilaku scroll di HTML agar tidak memantul */
html {
  overscroll-behavior-y: none; /* Mencegah efek pegas/pantulan saat scroll mentok di HP */
  height: 100%;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background-color: var(--bg); /* Warna cadangan jika gambar gagal muat */
  color: var(--fg-primary);
  line-height: 1.6;
  transition: color 0.3s;
  
  /* Setup agar konten bisa menumpuk di atas background */
  position: relative;
  min-height: 100%;
  width: 100%;
  overflow-x: hidden; /* Mencegah geser kanan-kiri */
}

/* --- BACKGROUND FIXED OPTIMAL (GPU ACCELERATED) --- */
body::before {
  content: "";
  /* Pakai fixed agar menempel di layar, bukan di konten */
  position: fixed; 
  top: 0;
  left: 0;
  
  /* Pakai width/height viewport device, bukan persen container */
  width: 100vw;
  height: 100vh;
  
  z-index: -999; /* Pastikan selalu di paling belakang */
  
  /* Gambar Default (Gelap) */
  background-image: url('/img/gelap.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  
  /* PENTING: Memaksa Hardware Acceleration di HP agar tidak berkedip/geser */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
  
  /* Transisi halus saat ganti tema */
  transition: background-image 0.3s ease;
  
  /* Pastikan background tidak menghalangi klik pada konten */
  pointer-events: none;
}

/* Gambar Mode Terang */
body.light-mode::before {
  background-image: url('/img/terang.png');
}
#header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
}
#menuBtn {
  font-size: 20px;
  background: none;
  border: 0;
  color: var(--fg-primary);
  cursor: pointer;
}
#siteName {
  font-size: 22px;
  font-weight: 600;
  color: var(--fg-heading);
  margin-left: -6px;
  margin-top: 4px;
}
.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--fg-primary);
  border-radius: 10px;
  cursor: pointer;
  outline: none;
}
.icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}
body.light-mode .icon-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}
.icon-btn.kebab::before {
  content: "⋮";
  font-size: 22px;
  line-height: 1;
}
.kebab-menu.top {
  position: fixed;
  right: 12px;
  top: 56px;
  min-width: 180px;
  background: var(--panel-bg);
  border: 0;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  padding: 6px;
  z-index: 1200;
}
.kebab-menu {
  min-width: 180px;
  background: var(--panel-bg);
  border: 0;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  padding: 6px;
  z-index: 1200;
}
body.light-mode .kebab-menu {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(3px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
}
.kebab-menu .menu-item {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: var(--fg-primary);
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  display: block;
  text-decoration: none;
}
.kebab-menu .menu-item:hover {
  background: rgba(255, 255, 255, 0.08);
}
body.light-mode .kebab-menu .menu-item:hover {
  background: rgba(0, 0, 0, 0.06);
}
body.light-mode .kebab-menu.top .menu-item:hover {
  background: rgba(0, 0, 0, 0.06);
}
.hidden {
  display: none !important;
}
#overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 1000;
}
#sidebar {
  position: fixed;
  top: 0;
  left: -260px;
  width: 260px;
  height: 100vh;
  transition: left 0.3s ease;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(3px);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
#sidebar.active {
  left: 0;
}
body.light-mode #sidebar {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(3px);
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}
.side-nav {
  padding: 10px 0;
}
.side-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: inherit;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  border-radius: 8px;
}
.side-item:hover {
  background: rgba(255, 255, 255, 0.08);
}
body.light-mode .side-item:hover {
  background: rgba(0, 0, 0, 0.06);
}
.side-label {
  font-size: 16px;
  font-weight: 600;
}
.side-sep {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin: 8px 0;
}
body.light-mode .side-sep {
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}
.side-item.active {
  background: rgba(99, 102, 241, 0.18);
  position: relative;
}
.side-item.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 3px;
  background: #6366f1;
}
body.light-mode .side-item.active {
  background: rgba(99, 102, 241, 0.12);
}
#container {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px;
  padding-bottom: 80px;
}
h1,
h2,
h3 {
  color: var(--fg-heading);
  margin: 0 0 14px;
}
.small,
.muted {
  color: var(--fg-muted);
}
.searchbox {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
.search-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.search-brand {
  font-size: 22px;
  font-weight: 700;
  color: var(--fg-heading);
}
.search-input-wrap:focus-within {
  border-color: var(--search-outline);
}
.search-input-modern.error {
  border-color: var(--search-error) !important;
}
#searchInput {
  flex: 1;
  padding: 10px 12px;
  font-size: 16px;
  color: var(--fg-primary);
  background: transparent;
  border: 0;
  outline: none;
}
#searchInput::placeholder {
  color: var(--placeholder);
}
#searchBtn::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  margin: 0 auto;
  background: var(--search-btn-ico);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='11' cy='11' r='7' fill='black'/><rect x='16' y='16' width='8' height='2' transform='rotate(45 16 16)' fill='black'/></svg>")
    no-repeat center / contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='11' cy='11' r='7' fill='black'/><rect x='16' y='16' width='8' height='2' transform='rotate(45 16 16)' fill='black'/></svg>")
    no-repeat center / contain;
}
.search-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  max-height: 65vh;
  overflow: auto;
  display: none;
  z-index: 20;
}
.searchbox.open .search-panel {
  display: block;
}
.result-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  color: var(--fg-primary);
  text-decoration: none;
  border-top: 1px solid #242424;
  background: var(--panel-bg);
}
.result-row:first-child { border-top: none; }
.result-row:hover { background: #151a20; }
.result-thumb {
  position: relative;
  width: 100%;
  max-width: 160px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  background: var(--thumb-bg);
  border: 1px solid var(--thumb-border);
}
.result-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.result-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg-heading);
  text-decoration: none;
  display: block;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}
.result-desc {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 2px;
  text-align: center;
}
.result-title .hl {
  color: var(--fg-link);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}
.results-box {
  margin-top: 8px;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  max-height: 65vh;
  overflow-y: auto;
}
.results-box.hidden {
  display: none;
}
.result-info {
  padding: 1px 1px;
  font-size: 14px;
  color: var(--fg-muted);
  background: var(--panel-bg);
}
.results-box .result-row {
  border-top: 1px solid #242424;
}
.results-box .result-row:first-child {
  border-top: none;
}
.results-box .empty {
  padding: 14px 16px;
  color: var(--fg-muted);
  text-align: center;
}
#searchResults .empty {
  padding: 14px 16px;
  color: var(--fg-muted);
  text-align: center;
}
#settingsSheet {
  position: fixed;
  left: 50%;
  top: 56px;
  transform: translateX(-50%);
  width: min(720px, 92vw);
  background: var(--sheet-bg);
  border: 1px solid var(--sheet-border);
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  z-index: 1100;
}
#settingsSheet.hidden {
  display: none;
}
.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--sheet-sep);
}
#settingsTitle {
  margin: 0;
  font-size: 22px;
  color: var(--fg-heading);
}
#settingsClose {
  background: none;
  border: 0;
  color: var(--fg-primary);
  font-size: 18px;
  cursor: pointer;
}
.settings-group {
  padding: 16px 18px;
}
.group-title {
  font-weight: 800;
  color: var(--fg-heading);
  font-size: 18px;
}
.group-desc {
  color: var(--fg-muted);
  margin-bottom: 10px;
}
.radio-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.radio {
  display: flex;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.radio input {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--control-border);
  background: transparent;
  display: grid;
  place-items: center;
}
.radio input:checked {
  border-color: var(--radio-ring);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--radio-ring) 20%, transparent);
}
.radio input:checked::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--radio-ring);
}
.radio span {
  color: var(--fg-primary);
}
#settingsSheet hr {
  border: 0;
  border-top: 1px solid var(--sheet-sep);
  margin: 0;
}
.sheet-brand {
  text-align: center;
  padding: 20px;
  font-size: 26px;
  letter-spacing: 1px;
  font-weight: 800;
  color: var(--fg-heading);
}
body.light-mode {
  --fg-primary: #1f2937;
  --fg-heading: #111827;
  --fg-muted: #4b5563;
  --fg-link: #2563eb;
  --placeholder: #9aa3af;
  --header-bg: #ffffff;
  --header-border: #e5e7eb;
  --search-bg: #ffffff;
  --search-border: #cfd3da;
  --panel-bg: #ffffff;
  --panel-border: #cfd3da;
  --thumb-bg: #f3f4f6;
  --thumb-border: #e5e7eb;
  --control-bg: #ffffff;
  --control-fg: #1f2937;
  --control-border: #cbd5e1;
  --sheet-bg: #ffffff;
  --sheet-border: #e5e7eb;
  --sheet-sep: #e5e7eb;
  --brand-accent: #0D074D;
  --border-color: var(--search-border);
  --bg-elevated: var(--panel-bg);
  --fg-default: var(--fg-primary);
  --bg-hover: #f7f9fc;
}
body.light-mode #siteName {
  color: var(--fg-heading);
}
body.light-mode .result-row {
  background: var(--panel-bg);
  border-top: 1px solid #eceff4;
}
body.light-mode .result-row:hover {
  background: #f7f9fc;
}
#articlePage {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.25s ease;
  overflow-y: auto;
}
#articlePage.active {
  opacity: 1;
  transform: translateY(0);
}
#articlePage.hidden {
  display: none;
}
.article-view {
  max-width: 820px;
  margin: 0 auto;
  padding: 18px 16px 72px;
}
.article-title-hero {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 6px 0 14px;
  color: var(--fg-heading);
  font-weight: 900;
  font-size: clamp(18px, 4.8vw, 28px);
  line-height: 1.2;
}
@media (max-width: 380px) {
  .article-title-hero {
    font-size: clamp(17px, 5vw, 24px);
  }
}
.preview-box {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  display: block;
  background: transparent;
  margin: 0 0px 18px;
  text-decoration: none;
}
.preview-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  display: block;
  background: var(--thumb-bg);
  border: 1px solid var(--thumb-border);
}
.preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.preview-note {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--fg-heading);
  font-weight: 800;
  text-align: center;
  font-size: clamp(16px, 3.8vw, 22px);
  line-height: 1.35;
  padding: 6px;
}
.article-desc {
  margin: 6px calc(0px * var(--article-scale)) 14px;
  font-size: calc(1.1rem * var(--article-scale));
  line-height: 1.55;
  color: var(--fg-primary);
}
.article-prose {
  font-size: calc(1rem * var(--article-scale));
  line-height: 1.75;
  color: var(--fg-primary);
  margin: 0 calc(0px * var(--article-scale)) 24px;
}
/* --- PERBAIKAN TAMPILAN DESKRIPSI --- */

/* Wrapper Utama */
.description-wrapper {
    /* Margin kiri/kanan disesuaikan agar sejajar dengan teks lain */
    margin: 10px 0 24px; 
    color: var(--fg-primary);
}

/* Judul Fitur (Script ini memiliki fitur :) */
.feature-title {
    margin: 0 0 8px;
    font-weight: 700;
    font-size: calc(1.05rem * var(--article-scale));
    color: var(--fg-heading);
}

/* Sub-judul Tips */
.article-desc-heading {
    margin: 28px 0 12px; /* Jarak atas lebih besar untuk pemisah */
    font-size: calc(1.2rem * var(--article-scale));
    font-weight: 700;
    color: var(--fg-heading);
    border-bottom: 1px solid var(--sheet-sep);
    padding-bottom: 6px;
}

/* Reset Styling List (ul) di dalam deskripsi */
.description-wrapper ul {
    list-style: none !important; /* Paksa hilangkan bullet default browser */
    padding: 0;
    margin: 0;
}

/* Styling Item List (li) */
.description-wrapper li {
    position: relative;
    padding-left: 24px; /* Ruang untuk bullet custom */
    margin-bottom: 8px;
    line-height: 1.6;
    font-size: calc(1rem * var(--article-scale));
}

/* Bullet Point Custom (•) */
.description-wrapper li::before {
    content: "•";
    position: absolute;
    left: 4px; /* Posisi bullet dari kiri */
    top: 0;
    color: var(--fg-link); /* Warna biru muda */
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1.6;
}
#articlePage .back-link {
  display: inline-block;
  margin: 0 calc(0px * var(--article-scale)) 0;
  font-size: calc(1rem * var(--article-scale));
  line-height: 1.6;
  color: var(--fg-link);
  text-decoration: none;
}
#articlePage .back-link:hover {
  text-decoration: underline;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(20px);
  background: #1f2937;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 2000;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
body.light-mode .toast {
  background: #111827;
  color: #fff;
}
.brand-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-head__word {
  font-family: "Rubik", sans-serif;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.2px;
  color: var(--brand-accent);
  font-size: 20px;
  line-height: 1;
}
.brand-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  text-align: left;
  gap: 1px;
}
.brand-strip__logo {
  width: 60px;
  height: 60px;
}
.brand-strip__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.brand-strip__word {
  font-family: "Rubik", sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 24px;
  color: var(--brand-accent);
  margin-top: 4px;
  line-height: 0.8;
}
.brand-strip__tagline {
  font-family: "Inconsolata", monospace;
  font-weight: 700;
  font-size: 14px;
  color: var(--fg-muted);
  margin-top: -7px;
}
.brand-strip,
.brand-strip * {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
}
.brand-head,
.brand-head * {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
}
@media (max-width: 400px) {
  .brand-strip__logo {
    width: 40px;
    height: 40px;
  }
  .brand-strip__word {
    font-size: 20px;
  }
  .brand-strip__tagline {
    font-size: 11px;
  }
}
.category-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 18px;
  z-index: 1300;
}
.category-modal.hidden {
  display: none;
}
.category-modal__card {
  width: min(720px, 94vw);
  background: var(--sheet-bg);
  border: 1px solid var(--sheet-border);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.category-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--sheet-sep);
}
.category-modal__header h3 {
  margin: 0;
  font-size: 18px;
  color: var(--fg-heading);
}
.category-close {
  background: transparent;
  border: 0;
  color: var(--fg-primary);
  font-size: 18px;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
}
.category-close:hover {
  background: rgba(255, 255, 255, 0.08);
}
body.light-mode .category-close:hover {
  background: rgba(0, 0, 0, 0.06);
}

.category-modal__search {
  padding: 12px 14px;
  border-bottom: 1px solid var(--sheet-sep);
}
#categorySearchInput {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  color: var(--fg-primary);
  background: var(--search-bg);
  border: 1.5px solid var(--search-border);
  border-radius: 8px;
  outline: none;
}
#categorySearchInput:focus {
  border-color: var(--search-outline);
}
.category-modal__list {
  max-height: 384px;
  overflow-y: auto;
  overflow-x: hidden;
}
.category-modal__list::-webkit-scrollbar {
  width: 8px;
}
.category-modal__list::-webkit-scrollbar-thumb {
  background: rgba(120, 120, 120, 0.4);
  border-radius: 4px;
}
.category-modal__list::-webkit-scrollbar-thumb:hover {
  background: rgba(120, 120, 120, 0.6);
}
.category-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  border: 0;
  cursor: pointer;
  background: transparent;
  color: var(--fg-primary);
  padding: 10px 10px;
  border-radius: 8px;
}
.category-item:hover {
  background: rgba(255, 255, 255, 0.06);
}
body.light-mode .category-item:hover {
  background: rgba(0, 0, 0, 0.06);
}
.category-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--radio-ring);
}
.category-name {
  font-weight: 600;
}
.category-count {
  margin-left: auto;
  color: var(--fg-muted);
  font-size: 12px;
}
body:not(.light-mode) #header {
  background: linear-gradient(to bottom, rgb(75, 1, 186) 0%, rgb(40, 2, 100) 50%, rgb(10, 2, 23) 100%);
  border-bottom: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
body.light-mode #header {
  background: linear-gradient(
    to bottom,
    rgb(188, 199, 253) 0%,
    rgb(172, 175, 239) 50%,
    rgb(156, 152, 225) 100%
  );
  border-bottom: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
@media (hover: hover) {
  .result-row:hover,
  .category-item:hover,
  .pagination button:hover,
  #searchBtn:hover,
  #articleKebab:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ui-press {
    transition: none !important;
  }
  .ripple {
    display: none !important;
  }
}
.category-modal {
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--anim-med) var(--easing),
    visibility 0s linear var(--anim-med);
  backdrop-filter: blur(0);
  margin-top: 58px;
}
.category-modal:not(.hidden) {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--anim-med) var(--easing);
}
.category-modal__card {
  transform: translateY(8px);
  transition: transform var(--anim-med) var(--easing);
}
.category-modal:not(.hidden) .category-modal__card {
  transform: translateY(0);
}
.search-panel {
  transition: opacity var(--anim-fast) var(--easing),
    transform var(--anim-fast) var(--easing);
  opacity: 0;
  transform: translateY(4px);
}
.searchbox.open .search-panel {
  margin-top: 8px;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  opacity: 1;
  transform: translateY(0);
}
#sidebar {
  transition: left var(--anim-med) var(--easing),
    transform var(--anim-med) var(--easing),
    box-shadow var(--anim-med) var(--easing);
}
#sidebar.active {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.kebab-menu .menu-sep {
  border: 0;
  height: 1px;
  margin: 6px 4px;
  background: var(--sheet-border, rgba(255, 255, 255, 0.12));
}
.menu-item.has-caret {
  position: relative;
  padding-right: 28px;
}
.menu-item.has-caret::after {
  content: "▾";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
  font-size: 12px;
}
.footer{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 100;
  background: #0f1115a5;
  padding: 7px 10px 7px;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  transform: translateZ(0);
}
body.light-mode .footer{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  padding: 7px 10px 7px;
  border-top: 1px solid rgba(0,0,0,.12);
  text-align: center;
  transform: translateZ(0);
}
.footer-inner{
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-social .soc .fab {
  font-size: 24px;
  line-height: 1;
}
.footer-social{
  display: flex;
  gap: 14px;
}
.footer-social .soc{
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: #fff;
  border: 2px solid var(--brand-accent, #FEE715);
  border-radius: 999px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.footer-social .soc:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
  background: var(--brand-accent, #FEE715);
  color: #0b0d13;
}
.footer-social .soc:link,
.footer-social .soc:visited,
.footer-social .soc:active {
  color: #fff;
  border-color: var(--brand-accent, #FEE715);
  background: transparent;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
body.light-mode .footer-social .soc {
  border-color: var(--brand-accent);
  color: var(--brand-accent);
}
body.light-mode .footer-social .soc:hover {
  border-color: var(--brand-accent);
  background: var(--brand-accent);
  color: #fff;
}
body.light-mode .footer-social .soc:link,
body.light-mode .footer-social .soc:visited,
body.light-mode .footer-social .soc:active {
  color: var(--brand-accent);
  border-color: var(--brand-accent);
}
.footer-social .soc:focus-visible {
  outline: 2px solid var(--brand-accent, #FEE715);
  outline-offset: 2px;
  text-decoration: none;
}
body.light-mode .footer-social .soc:focus-visible {
  outline: 2px solid var(--brand-accent, #0D074D);
}
.notranslate {
  unicode-bidi: isolate;
}
.result-header{
  position: sticky; top: 0; z-index: 1;
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px;
  background: var(--panel-bg);
  padding: 6px 10px;
  border-bottom: none;
}
.result-header .result-info{
  border-bottom: none;
  background: transparent;
  padding: 0;
  font-size: 14px;
  color: var(--fg-muted);
}
.close-results{
  background: transparent; border: 0;
  padding: 6px 10px; font-size: 18px; line-height: 1;
  color: var(--fg-primary); cursor: pointer; border-radius: 4px;
}
.close-results:hover{ background: rgba(255,255,255,.08); }
body.light-mode .close-results:hover{ background: rgba(0,0,0,.06); }
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}
.result-main { 
  min-width: 0; 
}
.result-desc{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  max-height: calc(1.4em * 2);
}
.help-page {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1400;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding-top: 40px;
}
.help-page.hidden {
  display: none;
}
.help-page .card {
  max-width: 860px;
  width: 94%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 16px 12px;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.help-page ul {
  margin: 0 0 10px 16px;
  padding-left: 16px;
}
.help-page h2{ margin: 4px 0 12px; font-size: 22px; }
.help-page h3{ margin: 16px 0 8px; font-size: 16px; }
.help-page ul{ margin: 0 0 10px 18px; }
body.no-scroll {
  overflow: hidden;
}
.side-ico {
  font-size: 22px; 
  flex-shrink: 0;
  width: 30px; 
  text-align: center;
  color: #9aa3af; 
  transition: color 0.2s ease;
}
.side-item:hover .side-ico {
  color: #fff;
}
.side-item.active .side-ico {
  color: #6366f1;
}
body.light-mode .side-ico {
  color: #111; 
}
body.light-mode .side-item:hover .side-ico {
  color: #000;
}
body.light-mode .side-item.active .side-ico {
  color: #4f46e5; 
}
.article-prose a {
  color: var(--fg-link);
  text-decoration: underline;
  word-break: break-all;
}
.search-input-modern {
  display: flex;
  align-items: center;
  background: var(--search-bg);
  border: 2px solid var(--search-border);
  border-radius: 30px;
  padding: 6px 10px;
  transition: border-color 0.18s ease;
  position: relative;
}
.search-input-modern:focus-within {
  border-color: var(--search-outline);
}
.search-input-modern input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--fg-primary);
  font-size: 16px;
  padding: 8px 10px;
  outline: none;
}
.search-icon {
  width: 20px;
  height: 20px;
  margin-left: 6px;
  background: var(--fg-muted);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='11' cy='11' r='7' fill='black'/><rect x='16' y='16' width='8' height='2' transform='rotate(45 16 16)' fill='black'/></svg>")
    no-repeat center / contain;
  border: 2px solid transparent;
  border-radius: 50%;
}
.search-icon.loading {
  mask: none;
  background: none;
  border: 2px solid var(--fg-muted);
  border-top-color: transparent;
  animation: googleSpin 0.9s linear infinite;
}
@keyframes googleSpin {
  0% {
    transform: rotate(0deg);
    border-top-color: transparent;
  }
  25% {
    border-top-color: var(--fg-link);
  }
  50% {
    border-top-color: var(--brand-accent);
  }
  75% {
    border-top-color: var(--fg-link);
  }
  100% {
    transform: rotate(360deg);
    border-top-color: transparent;
  }
}
#clearBtn {
  background: transparent;
  border: none;
  color: var(--fg-muted);
  font-size: 20px;
  margin-right: 4px;
  cursor: pointer;
  transition: opacity 0.2s;
}
#clearBtn.hidden {
  opacity: 0;
  pointer-events: none;
}
#filterBtn {
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  top: 1px;
  left: -4px;
  color: var(--fg-muted);
  transition: color 0.2s ease;
}
#filterBtn i {
  font-size: 18px;
  line-height: 1;
}
#filterBtn:hover {
  color: var(--fg-primary);
}
#latestArticlesContainer {
  margin-top: 24px;
}
.section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--fg-heading);
  margin-bottom: 12px;
  padding-left: 4px;
}
#latestArticlesList {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.latest-card-list {
  display: flex;
  gap: 12px;
  background: transparent;
}
.thumb-wrapper-list {
  position: relative;
  display: block;
  width: 160px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--thumb-bg);
}
.thumb-wrapper-list img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.details-wrapper-list {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 8px;
  padding-top: 2px;
}
.meta-list {
  flex: 1;
  min-width: 0;
}
.title-list {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg-heading);
  text-decoration: none;
  display: block;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}
.title-list:hover {
  text-decoration: underline;
}
.meta-line-list {
  display: block;
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 6px;
  white-space: nowrap;
}
.dots-menu-yt {
  position: relative;
  flex-shrink: 0;
}
.dots-btn-yt {
  background: transparent;
  border: 0;
  color: var(--fg-muted);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  padding: 4px;
  border-radius: 50%;
  margin-top: -4px;
}
.dots-btn-yt:hover {
  background: rgba(255, 255, 255, 0.1);
}
body.light-mode .dots-btn-yt:hover {
  background: rgba(0, 0, 0, 0.1);
}
.dropdown-yt {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: -55px;
  z-index: 10;
}
@media (max-width: 420px) {
  .thumb-wrapper-list {
    width: 120px;
  }
  .title-list {
    font-size: 15px;
  }
  .meta-line-list {
    font-size: 12px;
  }
}
#searchGradientOverlay {
  position: fixed;
  left: 0;
  right: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05),
    rgba(0, 0, 0, 0.7)
  );
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 19;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease, clip-path 350ms ease;
  clip-path: inset(0 0 0 0); 
}
body.light-mode #searchGradientOverlay {
  background: linear-gradient(
    to bottom,
    rgba(109, 92, 71, 0.0) 0%,
    rgba(109, 92, 71, 0.25) 50%,
    rgba(109, 92, 71, 0.45) 100%
  );
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
#searchGradientOverlay.visible {
  opacity: 1;
  pointer-events: none;
}
#searchGradientOverlay.hiding-up {
  opacity: 1;
  clip-path: inset(0 0 100% 0);
}
#helpPage .back-link {
  color: var(--fg-link);
  text-decoration: none;
  font-size: 1rem;
}
#helpPage .back-link:hover {
  text-decoration: underline;
}
.load-more-btn {
  display: block;
  width: 90%;
  max-width: 300px;
  margin: 20px auto 16px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  border: 1px solid var(--control-border);
  background: var(--control-bg);
  color: var(--fg-primary);
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.load-more-btn:hover {
  border-color: var(--search-outline);
  background: var(--panel-bg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
body.light-mode .load-more-btn:hover {
  border-color: var(--search-outline);
  background: #fff;
}
.load-more-btn.hidden {
  display: none;
}
@keyframes multiBlinkDark {
  0%, 49.9% {
    caret-color: rgb(74, 222, 128);
  }
  50%, 100% {
    caret-color: rgb(8, 204, 238);
  }
}
@keyframes multiBlinkLight {
  0%, 49.9% {
    caret-color: rgb(22, 163, 74);
  }
  50%, 100% {
    caret-color: var(--fg-link); 
  }
}
#searchInput:focus {
  animation: multiBlinkDark 2s infinite;
}
body.light-mode #searchInput:focus {
  animation-name: multiBlinkLight;
  animation-duration: 2s;
}
@media (min-width: 768px) {
  #container,
  .searchbox {
    max-width: 800px;
  }
  .article-view {
    max-width: 860px;
  }
  .category-modal__card,
  .help-page .card {
    width: min(800px, 94vw);
  }
}
@media (min-width: 1100px) {
  #menuBtn {
    display: none;
  }
  #sidebar {
    left: 0;
    box-shadow: none;
    border-right: 1px solid var(--sheet-border);
  }
  #overlay {
    display: none !important;
  }
  #header,
  main#container,
  #siteFooter.footer {
    margin-left: 260px;
  }
  #siteFooter.footer {
    width: calc(100% - 260px); 
  }
  main#container {
     padding-bottom: 120px;
  }
  #container,
  .searchbox {
    max-width: 900px;
  }
  .article-view {
    max-width: 960px;
  }
}
.pagination-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid var(--border-color);
  margin-top: 8px;
}
.pagination-info {
  font-size: 0.9em;
  color: var(--fg-muted);
}
.pagination-btn {
  background-color: var(--bg-elevated);
  color: var(--fg-default);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 8px 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}
.pagination-btn:hover:not(:disabled) {
  background-color: var(--bg-hover);
}
.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.download-content-wrapper.hidden {
    display: none !important; 
    /* Gunakan !important jika ada CSS lain yang menimpanya */
}
/* --- TAMPILAN DOWNLOAD KACA (GLASSMORPHISM) --- */

/* 1. Styling Tombol Toggle (Mode Gelap/Default) */
.download-toggle-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
    
    /* Efek Kaca Gelap */
    background: rgba(20, 25, 35, 0.60); /* Transparan gelap */
    backdrop-filter: blur(12px);         /* Efek Blur */
    -webkit-backdrop-filter: blur(12px); /* Dukungan Safari */
    border: 1px solid rgba(255, 255, 255, 0.15); /* Garis tepi tipis transparan */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    
    color: var(--fg-heading); 
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    margin: 20px 0 0; 
    transition: all 0.3s ease;
}

/* Hover Effect */
.download-toggle-btn:hover {
    background: rgba(40, 45, 60, 0.75);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Saat Tombol Terbuka */
.download-toggle-btn[aria-expanded="true"] {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent; /* Hilangkan garis bawah agar menyatu */
    background: rgba(20, 25, 35, 0.75); /* Sedikit lebih pekat saat aktif */
}

/* Panah Indikator */
.download-toggle-btn::after {
    content: "\25BC"; /* Panah Bawah */
    font-size: 0.8em;
    margin-left: 10px;
    transition: transform 0.3s ease;
    opacity: 0.7;
}
.download-toggle-btn[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* 2. Styling Isi Konten (Mode Gelap/Default) */
.download-content-wrapper {
    /* Efek Kaca Gelap (Menyatu dengan tombol) */
    background: rgba(20, 25, 35, 0.50); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: none; /* Hapus garis atas agar menyatu dengan tombol */
    
    padding: 10px 18px 18px;
    margin-bottom: 0px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    
    color: var(--fg-primary);
    font-size: 0.95em;
    line-height: 2.0; 
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

/* Menyembunyikan konten (Wajib ada) */
.download-content-wrapper.hidden {
    display: none !important; 
}


/* --- MODE TERANG (LIGHT MODE) --- */

body.light-mode .download-toggle-btn {
    /* Efek Kaca Terang */
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #111; /* Teks Gelap */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.light-mode .download-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.85);
}

body.light-mode .download-toggle-btn[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.85);
    border-bottom-color: transparent;
}

body.light-mode .download-content-wrapper {
    /* Efek Kaca Terang untuk Konten */
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-top: none;
    color: #333;
}
/* --- GAYA TAMBAHAN: BAGIAN PEMASANGAN (INSTALLATION) --- */

.install-section {
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px dashed var(--sheet-sep);
}

/* 1. Kotak Peringatan (Kuning) */
.install-warning {
  background: rgba(255, 193, 7, 0.1);
  border-left: 4px solid #ffc107; /* Kuning Emas */
  color: #ffca2c;
  padding: 12px 16px;
  border-radius: 6px;
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
body.light-mode .install-warning {
  color: #856404;
  background: #fff3cd;
}

/* 2. Judul & Deskripsi */
.install-title {
  color: var(--fg-heading);
  font-size: 1.3rem;
  margin-bottom: 8px;
  font-weight: 800;
  border-left: none; 
  padding-left: 0; 
}

.install-desc {
  color: var(--fg-primary);
  margin-bottom: 15px;
}

/* 3. Video Container & Tombol Youtube (Mirip Screenshot) */
.install-video-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  padding: 10px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.yt-embed-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* Rasio 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
  margin-bottom: 12px;
}

.yt-embed-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* Tombol Merah Tonton di YouTube */
.btn-yt-official {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background-color: #ff0000;
  color: #fff;
  font-family: 'Roboto', sans-serif; /* Font ala YouTube */
  font-weight: 500;
  font-size: 16px;
  padding: 10px;
  border-radius: 25px; /* Bulat lonjong */
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-yt-official:hover {
  background-color: #cc0000;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
  transform: translateY(-1px);
}

.btn-yt-official i {
  font-size: 1.2rem;
}

/* 4. Outro Text */
.install-outro {
  background: var(--bg-elevated);
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  color: var(--fg-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: justify;
}
.pull-refresh {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
}

.ptr-content {
  position: relative;
  width: 100%;
  /* Tinggi dikurangi agar tidak makan tempat */
  height: 90px; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  opacity: 0;
  transition: opacity 0.2s;
  gap: 10px; /* Jarak elemen lebih rapat */
  /* Background pudar halus */
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
}

/* WADAH SPINNER (UKURAN DIPERKECIL) */
.tech-spinner {
  position: relative;
  /* Ukuran diperkecil dari 50px ke 35px */
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  will-change: transform;
}

/* CINCIN LUAR (CYAN NEON) */
.tech-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  /* Garis lebih tipis (2px) agar elegan di layar kecil */
  border: 2px solid transparent; 
  border-top-color: #00f3ff; 
  border-right-color: rgba(0, 243, 255, 0.3); 
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.5); 
}

/* CINCIN DALAM (UNGU NEON) */
.tech-ring.inner {
  width: 65%;
  height: 65%;
  border: 2px solid transparent;
  border-bottom-color: #bc13fe; 
  border-left-color: rgba(188, 19, 254, 0.5);
  box-shadow: 0 0 8px rgba(188, 19, 254, 0.5);
}

/* INTI (CORE) */
.tech-core {
  width: 20%;
  height: 20%;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 12px 3px rgba(255, 255, 255, 0.8);
  opacity: 0.9;
}

/* TEKS (UKURAN DIPERKECIL) */
.ptr-text {
  font-size: 0.75rem; /* Font lebih kecil */
  font-family: 'Consolas', monospace;
  color: #a0a0a0;
  font-weight: 700;
  letter-spacing: 1.5px;
  opacity: 0;
  text-shadow: 0 0 5px rgba(0,0,0,0.8);
}

/* --- STATES (DIATUR JS) --- */
.pull-refresh.pulling .ptr-content {
  opacity: 1;
}

.pull-refresh.refreshing .ptr-content {
  opacity: 1;
  transform: translateY(0) !important;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* --- ANIMASI SAAT LOADING --- */
.pull-refresh.refreshing .tech-ring {
  animation: spinRight 0.8s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.pull-refresh.refreshing .tech-ring.inner {
  animation: spinLeft 1.2s linear infinite;
}

.pull-refresh.refreshing .tech-core {
  animation: pulseCore 0.6s ease-in-out infinite alternate;
}

.pull-refresh.refreshing .ptr-text {
  opacity: 1;
  color: #fff;
  animation: blinkText 1s infinite;
}

@keyframes spinRight { 100% { transform: rotate(360deg); } }
@keyframes spinLeft { 100% { transform: rotate(-360deg); } }
@keyframes pulseCore { 
  0% { transform: scale(0.8); opacity: 0.6; } 
  100% { transform: scale(1.4); opacity: 1; box-shadow: 0 0 20px white; } 
}
@keyframes blinkText { 50% { opacity: 0.5; } }