/* ============================================================
   GabungGrup — token dasar
   Palet: latar sage lembut, panel gelap forest-green untuk header/
   footer/CTA, aksen mint untuk aksi utama. Kartu putih polos, tanpa
   bayangan generik — pakai border tipis + radius sedang.
   ============================================================ */
:root {
  --bg-page: #eef5ee;
  --bg-dark: #10231a;
  --bg-dark-soft: #163629;
  --card: #ffffff;
  --line: #8da191;
  --lane: #05ff6d;
  --ijo: #00ffd5;
  --text-main: #14231a;
  --text-muted: #5c6d62;
  --mint: #2fae6b;
  --mint-dark: #1f8f56;
  --mint-soft: #e3f5e9;
  --heart: #e0536e;
  --heart-soft: #fbe4e8;
  --radius: 16px;
  --max-w: 460px;
  font-size: 16px;
}

* { box-sizing: border-box; }

/* Hilangkan kotak highlight bawaan browser mobile pas tombol/link ditekan
   (bikin kelihatan kaku/patah-patah), diganti efek tekan custom yang lebih
   halus lewat transform:scale di bagian tombol masing-masing. */
* {
  -webkit-tap-highlight-color: transparent;
}
button, a, input, textarea, select {
  -webkit-tap-highlight-color: transparent;
}
button:focus, a:focus {
  outline: none;
}
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--mint-dark);
  outline-offset: 2px;
}
button {
  font-family: inherit;
}

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-main);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 18px 40px;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--bg-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  position: sticky;
  top: 0;
  z-index: 30;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.02rem;
}
.brand-logo { width: 26px; height: 26px; border-radius: 8px; }
.footer-brand .brand-logo { width: 22px; height: 22px; }
.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  display: inline-block;
}
/* Tombol menu: tanda garis SENGAJA disembunyikan, tapi tombolnya tetap ada
   di pojok kanan atas dan tetap membuka menu saat ditekan. Mau tampilkan
   garisnya lagi? Ganti "display: none" di bawah jadi "display: block". */
.menu-btn {
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  margin: -10px -8px -10px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  align-items: center;
  padding: 0;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 26px;
  height: 2px;
  background: #0ccf36;
  border-radius: 2px;
}
.menu-btn:focus-visible { outline: none; }

.mobile-nav {
  position: fixed;
  top: 0;
  right: -280px;
  width: 260px;
  height: 100vh;
  background: var(--bg-dark-soft);
  z-index: 50;
  display: flex;
  flex-direction: column;
  padding: 90px 22px 24px;
  gap: 6px;
  transition: right .25s ease;
}
.mobile-nav.open { right: 0; }
.mobile-nav a {
  color: #eafaf0;
  padding: 12px 10px;
  border-radius: 10px;
  font-weight: 500;
}
.mobile-nav a.active { background: rgba(255,255,255,0.08); }
.mobile-nav a.nav-cta {
  margin-top: 10px;
  background: var(--mint);
  color: #06170e;
  text-align: center;
  font-weight: 700;
}
.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 40;
  display: none;
}
.nav-backdrop.open { display: block; }

/* ---------- Hero ---------- */
.hero {
  background: var(--bg-dark);
  color: #fff;
  padding: 34px 18px 46px;
  border-radius: 0 0 26px 26px;
}
.hero h1 {
  font-size: 1.55rem;
  color: #fff;
}
.hero p.lead {
  color: #b9c9bf;
  margin-bottom: 18px;
  font-size: 0.95rem;
}
.search-box {
  display: flex;
  gap: 8px;
  background: #fff;
  border-radius: 14px;
  padding: 6px;
}
.search-box input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 8px;
  font-size: 0.95rem;
  border-radius: 10px;
}
.search-box button, .btn {
  background: var(--mint);
  color: #06170e;
  border: none;
  border-radius: 10px;
  padding: 11px 16px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.92rem;
}
.btn-mint { display: inline-block; }
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
}
.btn-dark {
  background: var(--bg-dark);
  color: #fff;
}
.btn-block { width: 100%; display: block; text-align: center; }

.stat-row {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.stat-pill {
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 10px 14px;
  flex: 1;
}
.stat-pill b { display: block; font-size: 1.15rem; }
.stat-pill span { font-size: 0.75rem; color: #b9c9bf; }

/* ---------- Section headers ---------- */
.section { padding-top: 28px; }
.section-title { font-size: 1.15rem; }
.section-sub { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 16px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.link-small { color: var(--mint-dark); font-size: 0.85rem; font-weight: 600; }

/* ---------- Kategori chip grid (beranda) ---------- */
.chip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.chip-card {
  background: var(--ijo);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}
.chip-icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  margin-bottom: 8px;
  overflow: hidden;
}
.chip-icon img { width: 100%; height: 100%; object-fit: cover; }
.chip-card b { display: block; font-size: 0.92rem; }
.chip-card span { color: var(--text-muted); font-size: 0.76rem; }

/* ---------- Kartu grup ---------- */
.group-card {
  background: var(--card);
  border: 2px solid var(--lane);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 6px;
}
.group-card-top { display: flex; gap: 12px; align-items: flex-start; }
.group-icon {
  width: 54px; height: 54px;
  border-radius: 100%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: #05ff6d;
  overflow: hidden;
}
.group-icon img { width: 100%; height: 100%; object-fit: cover; }
.group-title { font-size: 1rem; margin-bottom: 1px; display:flex; align-items:center; gap:6px;}
.badge-verified { color: var(--mint-dark); font-size: 0.9rem; }
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--mint-dark);
  background: var(--mint-soft);
  padding: 3px 9px;
  border-radius: 999px;
  margin: 4px 0 6px;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 5px; }
.tag-row .tag { margin: 4px 0 2px; }
.group-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin: 4px 0 10px;
}
.group-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}
.group-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.like-btn {
  background: var(--heart-soft);
  color: var(--heart);
  border: none;
  border-radius: 999px;
  padding: 7px 13px;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.like-btn.liked { background: var(--heart); color: #fff; }
.action-right { display: flex; gap: 8px; align-items: center; }
.icon-btn {
  background: var(--bg-page);
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
}
.detail-btn {
  color: var(--mint-dark);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 8px 4px;
}
.group-card {
  padding-bottom: 12px;
}
.group-actions {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 2px;
}

/* ---------- Steps / numbered list ---------- */
.step-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
}
.step-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--mint-dark);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-card h4 { font-size: 0.95rem; }
.step-card p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ---------- Tips (ikon) ---------- */
.tip-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
}
.tip-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--mint-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.05rem;
}

/* ---------- FAQ ---------- */
details.faq {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
details.faq summary {
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  list-style: none;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq p {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ---------- CTA banner + footer ---------- */
.cta-banner {
  background: var(--bg-dark);
  color: #fff;
  border-radius: 22px;
  padding: 26px 20px;
  margin: 32px 18px 0;
  text-align: left;
}
.cta-eyebrow { color: var(--mint); font-size: 0.8rem; font-weight: 700; }
.cta-banner h3 { color: #fff; margin-top: 6px; font-size: 1.15rem; }
.cta-banner p { color: #b9c9bf; font-size: 0.87rem; margin-bottom: 16px; }

.site-footer {
  background: var(--bg-dark);
  color: #cfe0d5;
  padding: 30px 18px 26px;
  margin-top: 18px;
}
.footer-brand { color: #fff; font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 10px;}
.footer-desc { font-size: 0.83rem; color: #a9bdb0; }
.footer-badge {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.75rem;
  margin: 10px 0 22px;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 10px;
}
.footer-cols h4 { color: #fff; font-size: 0.85rem; margin-bottom: 8px; }
.footer-cols a { display: block; font-size: 0.82rem; color: #a9bdb0; padding: 4px 0; }
.footer-copy { font-size: 0.75rem; color: #7f9587; margin-top: 24px; }

/* ---------- Forms ---------- */
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 0.92rem;
  font-family: inherit;
  background: #fff;
}
.form-field textarea { resize: vertical; min-height: 90px; }
.form-field input.field-locked {
  background: var(--mint-soft);
  color: var(--mint-dark);
  font-weight: 700;
  border-color: var(--mint);
}
.form-hint { font-size: 0.76rem; color: var(--text-muted); margin-top: 5px; }
.alert {
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.86rem;
  margin-bottom: 16px;
}
.alert-success { background: var(--mint-soft); color: var(--mint-dark); }
.alert-error { background: #fdeceb; color: #c0392b; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%, 20px);
  background: var(--bg-dark);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transition: all .25s ease;
  z-index: 80;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Chip picker (kategori di form kirim grup) ---------- */
.chip-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.chip-option {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--card);
  border: 1.5px solid var(--lane);
  border-radius: 999px;
  padding: 8px 14px 8px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-main);
  transition: all .15s ease;
  position: relative;
}
.chip-option-icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--chip-color, var(--mint));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
}
.chip-option.selected {
  border-color: var(--chip-color, var(--mint-dark));
  background: color-mix(in srgb, var(--chip-color, var(--mint)) 12%, white);
  box-shadow: 0 0 0 1px var(--chip-color, var(--mint-dark)) inset;
}

/* ---------- Polesan tombol umum: transisi halus + efek tekan ---------- */
.btn, .like-btn, .icon-btn, .detail-btn, .secondary-btn, .join-btn, .chip-option, .pagination a {
  transition: transform .12s ease, box-shadow .12s ease, background-color .15s ease;
}
.btn:active, .join-btn:active, .like-btn:active, .secondary-btn:active, .chip-option:active {
  transform: scale(0.97);
}
.btn, .join-btn { box-shadow: 0 3px 10px rgba(47,174,107,0.28); }
.btn-dark, .btn-outline { box-shadow: none; }

/* ---------- Ikon bagikan (panah kirim, bukan rantai) ---------- */
.share-btn .share-icon-svg { width: 10px; height: 10px; display: block; }
.icon-btn.share-btn { display: flex; align-items: center; justify-content: center; }
/* ---------- Iklan popup (diatur owner) ---------- */
.popup-ad-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.0);
  z-index: 50;

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}
.popup-ad-box {
  position: relative;
  max-width: 300px;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 0 4px;
  border-left: 5px dashed rgba(252, 0, 231);
  border-right: 5px dashed rgba(252, 0, 231);
}
.popup-ad-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  display: block;
}
.popup-ad-close {
  position: absolute;
  top: -14px;
  right: -2px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #e02424;
  color: var(--lane);
  border: none;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
  z-index: 1;
}


/* ---------- Breadcrumb (halaman detail grup) ---------- */
.breadcrumb {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 16px 0 14px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb .sep { margin: 0 4px; }
.breadcrumb .current { color: var(--text-main); font-weight: 600; }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 8px; justify-content: center; margin: 20px 0 4px; }
.pagination a, .pagination span {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  background: var(--card);
  border: 1px solid var(--line);
}
.pagination a.active { background: var(--bg-dark); color: #fff; border-color: var(--bg-dark); }
.pagination .ellipsis { background: none; border: none; color: var(--text-muted); }
.pagination a.next { background: var(--card); }

/* ---------- Halaman detail grup: aksi gabung/salin/bagikan ---------- */
.detail-hero-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 10px;
  overflow: hidden;
}
.detail-hero-icon img { width: 100%; height: 100%; object-fit: cover; }
.join-btn {
  background: var(--mint);
  color: #06170e;
  border: none;
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  font-weight: 900;
  font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center; gap: 4px;
  cursor: pointer;
}
.view-count-line {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin: 10px 0 14px;
}
.detail-action-row {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}
.detail-action-row .like-btn { flex-shrink: 0; }
.secondary-btn {
  flex: 1;
  background: var(--bg-page);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 8px;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer;
}
.count-line {
  display: flex;
  justify-content: space-around;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin: 10px 0 2px;
}
.info-box-grid { display: grid; gap: 10px; margin-top: 12px; }
.info-box {
  background: var(--bg-page);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
.info-box .info-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 4px;
}
.info-box .info-value { font-weight: 700; font-size: 1rem; }

/* ---------- Admin ---------- */
.admin-shell { max-width: 720px; margin: 0 auto; padding: 20px 16px 60px; }
.admin-login-card {
  max-width: 360px;
  margin: 60px auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 22px;
}
.admin-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.85rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.admin-table th {
  text-align: left;
  padding: 11px 10px;
  background: var(--bg-page);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}
.admin-table td { text-align: left; padding: 12px 10px; border-top: 1px solid var(--line); vertical-align: middle; }
.admin-table tbody tr:hover { background: var(--bg-page); }
.status-pill { padding: 3px 9px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; }
.status-pending { background: #fff2d9; color: #a86500; }
.status-approved { background: var(--mint-soft); color: var(--mint-dark); }
.status-rejected { background: #fdeceb; color: #c0392b; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.admin-actions form { display: inline; }
.admin-actions button, .admin-actions a button {
  border: none;
  background: var(--bg-page);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
}
.admin-actions form[action*="approve"] button, .admin-actions form[action*="/edit"] button { background: var(--mint-soft); color: var(--mint-dark); }
.admin-actions form[action*="hapus"] button { background: #fdeceb; color: #c0392b; }
.admin-actions form[action*="reject"] button { background: #fff2d9; color: #a86500; }
.admin-topbar {
  display:flex; justify-content:space-between; align-items:center;
  margin-bottom: 18px;
}
.admin-tabs { display:flex; gap:8px; margin-bottom:16px; }
.admin-tabs a {
  padding:7px 14px; border-radius:999px; font-size:0.82rem; font-weight:700;
  background:var(--bg-page); border:1px solid var(--line);
}
.admin-tabs a.active { background:var(--bg-dark); color:#fff; border-color:var(--bg-dark); }
.admin-img-preview {
  width:72px; height:72px; border-radius:14px; object-fit:cover;
  background:var(--bg-page); border:1px solid var(--line);
}
.inline-form { display:flex; gap:6px; align-items:center; }
.inline-form input[type=number] { width:56px; padding:5px 6px; border-radius:8px; border:1px solid var(--line); }

/* ---------- Badge "Layanan Informasi" mengambang: bisa digeser & ditutup ---------- */
.info-float-badge {
  position: fixed;
  right: 16px;
  bottom: 22px;
  z-index: 60;
  display: flex;
  align-items: center;
  background: var(--lane);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.info-float-badge:active { cursor: grabbing; }
.info-float-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 6px 11px 12px;
  color: #fa0202;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  -webkit-user-drag: none;
}
.info-float-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255,255,255,0.15);
}
.info-float-icon img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.info-float-close {
  width: 22px; height: 22px;
  margin: 0 9px 0 2px;
  flex-shrink: 0;
  border-radius: 50%;
  border: none;
  background: rgb(5, 255, 109);
  color: #fa0202;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

/* ---------- Tombol suka 👍 / tidak suka 👎 ---------- */
.vote-group { display: flex; align-items: center; gap: 8px; }
.vote-btn {
  background: var(--bg-page);
  color: var(--text-main);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease;
}
.vote-btn:active { transform: scale(0.94); }
.vote-btn.like-btn.liked { background: #e3f5e9; border-color: #1f8f56; color: #14663d; }
.vote-btn.dislike-btn.disliked { background: #fdeaea; border-color: #d93c3c; color: #a32222; }
.detail-action-row .vote-group { flex-shrink: 0; }

/* ---------- Laporkan postingan ---------- */
.report-open-btn {
  display: block;
  width: 100%;
  margin: 14px 0 4px;
  padding: 10px;
  background: none;
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.report-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 80;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
.report-modal.open { display: flex; }
.report-sheet {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 18px 18px 0 0;
  padding: 18px 18px 22px;
  max-height: 90vh;
  overflow-y: auto;
  animation: reportUp .22s ease;
}
@keyframes reportUp { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.report-reasons { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.report-reasons label {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.88rem;
  cursor: pointer;
}
.report-reasons input { width: auto; accent-color: var(--mint-dark); }
.report-sheet textarea {
  width: 100%;
  min-height: 70px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 0.88rem;
  resize: vertical;
}
.report-error { color: #b42318; font-size: 0.8rem; min-height: 18px; margin: 6px 0 4px; }
.report-actions { display: flex; gap: 8px; }
.report-actions .secondary-btn { flex: 1; }
.report-actions .btn { flex: 2; }
body.no-scroll { overflow: hidden; }

/* ---------- Nama situs: animasi "menulis tangan" ---------- */
.brand-write {
  position: relative;
  display: inline-block;
  font-family: 'Dancing Script', 'Segoe Script', 'Brush Script MT', cursive;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: 0.3px;
  white-space: nowrap;
  padding: 0 6px 2px 2px;
}
.brand-write-ink {
  display: inline-block;
  clip-path: inset(-25% 100% -25% -5%);
  animation: brandWriteInk 7s cubic-bezier(.5,.05,.35,1) infinite;
}
.brand-pen {
  position: absolute;
  top: 16%;
  left: 0;
  width: 3px;
  height: 68%;
  border-radius: 2px;
  background: var(--lane);
  box-shadow: 0 0 8px var(--lane);
  transform: rotate(16deg);
  opacity: 0;
  animation: brandWritePen 7s cubic-bezier(.5,.05,.35,1) infinite;
}
@keyframes brandWriteInk {
  0%      { clip-path: inset(-25% 100% -25% -5%); opacity: 1; }
  55%     { clip-path: inset(-25% -5% -25% -5%);  opacity: 1; }
  88%     { clip-path: inset(-25% -5% -25% -5%);  opacity: 1; }
  96%     { clip-path: inset(-25% -5% -25% -5%);  opacity: 0; }
  96.01%  { clip-path: inset(-25% 100% -25% -5%); opacity: 0; }
  100%    { clip-path: inset(-25% 100% -25% -5%); opacity: 0; }
}
@keyframes brandWritePen {
  0%   { left: 0;    opacity: 0; }
  3%   { left: 2%;   opacity: 1; }
  55%  { left: 96%;  opacity: 1; }
  58%  { left: 96%;  opacity: 0; }
  100% { left: 96%;  opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-write-ink { animation: none; clip-path: none; opacity: 1; }
  .brand-pen { display: none; }
}
