/* Lillah public community pages. Same palette and type as My Lillah; no external requests. */
:root {
  --paper: #f5f7f4; --surface: #ffffff; --ink: #0c5139; --text: #17241f; --muted: #5d6b65;
  --line: #dce4de; --soft: #ebf1ed; --good: #1f8a5b; --accent: #0c5139; --brand-2: #ffe500;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b1512; --surface: #13211c; --ink: #cfeadb; --text: #e3eee8; --muted: #93a79e;
    --line: #24362e; --soft: #1a2b24; --good: #5fc592; --accent: #cfeadb; color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 16px/1.6 var(--sans); }
a { color: var(--ink); }
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.25; text-wrap: balance; }
h1 { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.015em; }
h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
h3 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 10px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.top { display: flex; align-items: center; justify-content: space-between; max-width: 880px; margin: 0 auto; padding: 14px 16px; }
.brand { font-weight: 800; text-decoration: none; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { width: 32px; height: 32px; border-radius: 8px; display: block; }
.cta-logo { width: 64px; height: 64px; border-radius: 15px; display: block; margin: 0 0 12px; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.top nav a { margin-left: 16px; font-weight: 600; font-size: .95rem; text-decoration: none; }
main { max-width: 880px; margin: 0 auto; padding: 8px 16px 48px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }

.hero { padding: 20px 0 8px; }
.kicker { color: var(--muted); font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--good); border: 1px solid currentColor; border-radius: 999px; padding: 2px 10px; vertical-align: middle; margin-left: 8px; }
.meta { color: var(--muted); margin: 8px 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 6px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; text-decoration: none; color: var(--ink); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: var(--paper); }

section { margin-top: 28px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.event { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; text-decoration: none; color: inherit; }
.date { text-align: center; background: var(--soft); border-radius: 12px; padding: 8px 4px; color: var(--ink); }
.date b { display: block; font-size: 1.4rem; line-height: 1.1; }
.date span { font-size: .78rem; text-transform: uppercase; font-weight: 700; letter-spacing: .04em; }
.small { font-size: .9rem; color: var(--muted); }
.pill { display: inline-block; font-size: .78rem; font-weight: 700; background: var(--soft); border-radius: 999px; padding: 2px 9px; margin-right: 6px; }
.desc { white-space: pre-line; }
dl.contact { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
dl.contact dt { color: var(--muted); }
dl.contact dd { margin: 0; overflow-wrap: anywhere; }

.fin { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 8px 0 12px; }
.fin div { background: var(--soft); border-radius: 12px; padding: 12px; }
.fin small { display: block; color: var(--muted); font-weight: 600; }
.fin strong { font-size: 1.15rem; color: var(--ink); font-variant-numeric: tabular-nums; }
table.cat { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.cat td { padding: 6px 0; border-bottom: 1px solid var(--line); }
table.cat td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.note { border-left: 3px solid var(--accent); padding: 6px 12px; background: var(--soft); border-radius: 0 10px 10px 0; margin: 8px 0; }
details summary { cursor: pointer; font-weight: 600; color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.grid a { text-decoration: none; color: inherit; }
.search { display: flex; gap: 8px; margin: 12px 0 4px; }
.search input { flex: 1; min-width: 0; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; background: var(--surface); color: var(--text); font: inherit; }

footer { max-width: 880px; margin: 0 auto; padding: 24px 16px 40px; color: var(--muted); font-size: .88rem; border-top: 1px solid var(--line); }
footer a { color: var(--muted); }
@media (max-width: 520px) { h1 { font-size: 1.6rem; } .top nav a { margin-left: 12px; } }

/* Community profile: cover, logo, name */
.profile { margin-bottom: 8px; }
.cover { position: relative; aspect-ratio: 8 / 3; border-radius: 20px; overflow: hidden; background: var(--soft); }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cover.plain {
  background-color: #0c5139;
  background-image:
    radial-gradient(circle at 100% 0, rgba(255,229,0,.28), transparent 42%),
    conic-gradient(from 45deg at 50% 50%, rgba(255,255,255,.07) 0 25%, transparent 0 50%, rgba(255,255,255,.07) 0 75%, transparent 0),
    linear-gradient(160deg, #0c5139, #08382a);
  background-size: auto, 44px 44px, auto;
}
.profile-head { display: flex; align-items: flex-start; gap: 18px; margin: -48px 0 0 20px; position: relative; }
.profile-name { padding-top: 58px; min-width: 0; }
.profile-name .kicker { margin: 0 0 2px; }
.profile-name h1 { overflow-wrap: anywhere; }
.logo { width: 48px; height: 48px; border-radius: 14px; object-fit: cover; flex: none; background: var(--surface); display: block; }
.logo.big { width: 112px; height: 112px; border-radius: 26px; border: 4px solid var(--paper); box-shadow: 0 8px 24px rgba(0,0,0,.14); }
.logo.initials { display: inline-flex; align-items: center; justify-content: center; background: #0c5139; color: #ffe500; font-weight: 800; letter-spacing: .02em; font-size: 1.05rem; }
.logo.big.initials { font-size: 2.4rem; }
.verified { display: inline-flex; align-items: center; gap: 6px; margin: 8px 0 0; font-size: .82rem; font-weight: 700; color: var(--good); }
.verified span { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--good); color: var(--paper); font-size: .7rem; }
.address { margin-top: 14px; }
.stats { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 4px 0 0; color: var(--muted); font-weight: 600; font-size: .92rem; }
.stats { gap: 6px 0; }
.stats li + li::before { content: '·'; margin: 0 10px; }
.tabs { display: flex; gap: 8px; overflow-x: auto; margin: 18px -16px 0; padding: 4px 16px 12px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: .9rem; text-decoration: none; }
.tabs a:hover { border-color: var(--ink); }
section[id] { scroll-margin-top: 16px; }

.columns { display: grid; gap: 0 28px; }
@media (min-width: 760px) {
  .columns { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
  .col-side { position: sticky; top: 12px; }
}
.col-main > section:first-child, .col-side > section:first-child { margin-top: 24px; }
@media (max-width: 759px) {
  .columns { display: flex; flex-direction: column; }
  .col-main, .col-side { display: contents; }
  #tentang { order: -1; margin-top: 24px; }
  #acara { margin-top: 24px; }
}

.next { border-top: 4px solid var(--brand-2); }
.next .eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.next-row { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: start; }
.next h3 { font-size: 1.15rem; margin-bottom: 4px; }
.next h3 a { text-decoration: none; }
.date.big { padding: 12px 6px; background: #0c5139; color: #fff; }
.date.big b { font-size: 2rem; }
.date.big span { display: block; font-size: .68rem; line-height: 1.3; text-transform: none; letter-spacing: 0; font-weight: 600; opacity: .9; }
.next + .list { margin-top: 10px; }
.empty p:first-child { font-weight: 600; color: var(--ink); }

/* Directory cards with images */
.ccard { padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
.ccard:hover { border-color: var(--ink); transform: translateY(-2px); }
.ccard .cover { border-radius: 0; aspect-ratio: 16 / 6; }
.ccard-body { display: flex; gap: 12px; align-items: flex-start; padding: 0 14px 14px; }
.ccard-body .logo { margin-top: -22px; border: 3px solid var(--surface); box-shadow: 0 4px 12px rgba(0,0,0,.1); width: 52px; height: 52px; }
.ccard-body h3 { margin-top: 8px; }
.ccard-body .small { margin: 2px 0 0; }
.organiser { display: flex; gap: 12px; align-items: center; text-decoration: none; color: inherit; max-width: 420px; }
.organiser > span { display: flex; flex-direction: column; }
.organiser b { color: var(--ink); }

@media (max-width: 520px) {
  .cover { aspect-ratio: 2 / 1; border-radius: 16px; }
  .profile-head { margin: -40px 0 0 12px; flex-direction: column; gap: 10px; }
  .profile-name { padding-top: 0; }
  .logo.big { width: 88px; height: 88px; border-radius: 22px; }
  .logo.big.initials { font-size: 1.9rem; }
  .next-row { grid-template-columns: 1fr; }
  .date.big { display: flex; align-items: baseline; gap: 10px; text-align: left; padding: 10px 14px; }
  .date.big b { font-size: 1.6rem; }
  .date.big span { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) { .ccard { transition: none; } .ccard:hover { transform: none; } }

/* Shared hadith page */
.hadith-share { background: var(--surface); border: 1px solid var(--line); border-top: 5px solid var(--brand-2); border-radius: 18px; padding: 24px 20px; margin-top: 12px; max-width: 680px; }
.hadith-share .eyebrow { color: var(--muted); font-weight: 600; font-size: .9rem; }
.hadith-share h1 { font-size: 1.6rem; margin-bottom: 16px; }
.hadith-share h1.gist { font-style: italic; margin-bottom: 8px; }
.hadith-share .meta { display: flex; flex-direction: column; gap: 2px; color: var(--muted); font-size: .9rem; margin: 0 0 16px; }
.hadith-share .meta b { color: var(--ink); }
.hadith-share .arabic { font-family: 'Amiri', 'Traditional Arabic', 'Geeza Pro', serif; font-size: 1.6rem; line-height: 2.1; text-align: right; color: var(--ink); margin: 0 0 16px; }
.hadith-share .translation { font-size: 1.08rem; line-height: 1.75; }
.hadith-share .ref { color: var(--muted); font-size: .9rem; }
.hadith-share details { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.hadith-share summary { font-weight: 700; cursor: pointer; color: var(--ink); }
.cta { max-width: 680px; background: var(--ink); color: #fff; border-radius: 18px; padding: 20px; }
.cta p { color: #fff; }
.cta .btn { background: var(--brand-2); border-color: var(--brand-2); color: #0c5139; }
.btn.primary { background: #0c5139; border-color: #0c5139; color: #fff; }

/* Analytics consent (only shown when GA4 is set up) */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 560px; margin: 0 auto; background: #0C3B2A; color: #fff; border-radius: 16px; padding: 16px 18px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 260px; font-size: 15px; line-height: 1.45; color: #fff; }
.consent a { color: #FFE500; }
.consent-btns { display: flex; gap: 8px; }
.consent button { min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.6); background: transparent; color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; }
.consent button[data-yes] { background: #FFE500; border-color: #FFE500; color: #0C3B2A; }

/* Speakers (1.15.17) */
.avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; display: block; background: var(--soft); }
.avatar.big { width: 128px; height: 128px; border: 4px solid var(--paper); box-shadow: 0 8px 24px rgba(0,0,0,.14); }
.avatar.initials { display: inline-flex; align-items: center; justify-content: center; background: #0c5139; color: #ffe500; font-weight: 800; font-size: 1.1rem; }
.avatar.big.initials { font-size: 2.6rem; }
.scard { display: flex; gap: 12px; align-items: center; text-decoration: none; color: inherit; }
.scard > span { display: flex; flex-direction: column; min-width: 0; }
.scard b { color: var(--ink); }
.scard.wide { max-width: 560px; }
.scard:hover { border-color: var(--ink); }
.speaker-hero { display: flex; gap: 22px; align-items: flex-start; padding: 22px; border-top: 5px solid var(--brand-2); }
.speaker-hero h1 { overflow-wrap: anywhere; margin-bottom: 4px; }
.speaker-hero .kicker { margin: 0 0 4px; }
.chips { margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips .pill { margin: 0; }
@media (max-width: 560px) {
  .speaker-hero { flex-direction: column; align-items: center; text-align: center; }
  .speaker-hero .chips, .speaker-hero .actions, .speaker-hero .stats { justify-content: center; }
}

/* Shared pages: one call to action into the app, with what happens next (1.15.18) */
.appbox { margin: 18px 0 6px; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 10px 30px -22px rgba(12, 81, 57, .5); max-width: 560px; }
.appbox .btn.big { display: flex; width: 100%; min-height: 52px; font-size: 1.05rem; border-radius: 14px; }
.appbox-steps { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 8px; }
.appbox-steps li { counter-increment: s; display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: .92rem; color: var(--muted); line-height: 1.45; }
.appbox-steps li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; background: var(--soft); color: var(--ink); font-weight: 800; font-size: .8rem; display: inline-flex; align-items: center; justify-content: center; }
.appbox-steps b { color: var(--text); }
.appbox-who { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--good) 12%, transparent); color: var(--good); font-weight: 600; font-size: .92rem; }
.signed-in .appbox-steps { display: none; }
.appbox-alt { margin: 10px 0 0; font-size: .92rem; text-align: center; }
.actions.secondary { margin-top: 10px; }
.actions:empty { display: none; }
.facts { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.facts li { font-size: .85rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--soft); color: var(--ink); }
.facts li:first-child { background: #ffe500; color: #0c5139; }
.about { display: flex; gap: 12px; align-items: center; max-width: 680px; }
.about img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.about p { margin: 0; font-size: .92rem; color: var(--muted); }
.about b { color: var(--ink); }
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .2s ease; }
.dock.show { transform: none; }
.dock .btn { display: flex; width: 100%; max-width: 560px; margin: 0 auto; min-height: 50px; }
@media (prefers-reduced-motion: reduce) { .dock { transition: none; } }
.speaker-hero + .appbox { margin-top: 16px; }
@media (max-width: 560px) { .speaker-hero + .appbox { margin-left: auto; margin-right: auto; } }
.appbox-lead { margin: 0 0 12px; color: var(--text); font-weight: 600; }
.path-steps{list-style:none;counter-reset:ps;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.path-steps li{counter-increment:ps;display:flex;flex-direction:column;gap:2px;background:#fff;border:1px solid #dce4de;border-radius:14px;padding:12px 14px 12px 52px;position:relative}
.path-steps li::before{content:counter(ps);position:absolute;left:14px;top:12px;width:26px;height:26px;border-radius:50%;background:#0c5139;color:#fff;font-weight:800;font-size:.8125rem;display:grid;place-items:center}

/* Event highlights ("Poin acara", 1.18.0) */
.highlights { list-style: none; padding: 4px 18px; margin: 0; }
.highlights li { display: flex; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.highlights li:last-child { border-bottom: 0; }
.highlights li::before { content: "✓"; color: #1f8a5b; font-weight: 800; }
.highlights li > span { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.highlights small { opacity: .75; }
.highlights .hl-value { white-space: nowrap; }

/* 1.19.0: header CTA, icon buttons, back link to the community */
.top-cta { margin-left: auto; display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; background: #0c5139; color: #fff !important; font-weight: 700; font-size: .92rem; text-decoration: none; }
.top-cta:hover { background: #0a4430; }
.btn .ico { flex: none; }
.btn-wa, .btn-map { display: inline-flex; align-items: center; gap: 8px; }
.btn-wa .ico { color: #25D366; }
.btn-map .ico { color: #d93025; }
.backlink { margin: 0 0 14px; }
.backlink a { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; color: var(--ink, #0c5139); }
.backlink a::before { content: "‹"; font-size: 1.4rem; line-height: 1; margin-right: 2px; }
.logo.tiny { width: 28px; height: 28px; border-radius: 8px; }
.logo.tiny.initials { font-size: .7rem; }

/* 1.19.96: attendee stories, ratings and the past-events archive */
.rating-sum { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.stars { letter-spacing: 1px; color: #d8d2c2; font-size: 18px; }
.stars .on { color: #f2b400; }
.stories { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.story-body { margin: 0 0 8px; line-height: 1.6; white-space: normal; }
.list.past .date { opacity: .85; }
