/* ===== MyPakistan.online — homepage (2026-10-24; v2 engagement layout 2026-10-25) ===== */
:root {
  --g0: #012A13; --g1: #01411C; --g2: #0B7A3E; --g3: #2FBF71; --g4: #D7F5E3;
  --ink: #0F1A14; --ink-2: #3D4A43; --ink-3: #5E6B64;
  --paper: #F7F5EF; --card: #FFFFFF; --line: #E4E1D6;
  --saffron: #F2A900; --rose: #E5486B; --sky: #2C8DD6;
  --r-lg: 24px; --r-md: 16px; --r-sm: 10px;
  --shadow: 0 1px 2px rgba(15,26,20,.06), 0 8px 24px -12px rgba(15,26,20,.18);
  --wrap: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 calc(16px * var(--mp-fs, 1))/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; border-radius: 6px; }
.lucide, [data-lucide] { width: 1em; height: 1em; stroke-width: 2; flex-shrink: 0; }

/* ---------- logo mark ---------- */
.mark { width: 36px; height: 36px; flex-shrink: 0; }
.mark .t1 { fill: var(--m1, var(--g1)); } .mark .t2 { fill: var(--m2, var(--g2)); }
.mark .t3 { fill: var(--m3, var(--g3)); } .mark .cs { fill: var(--m4, var(--g1)); }
.on-dark .mark { --m1: #fff; --m2: rgba(255,255,255,.72); --m3: var(--g3); --m4: #fff; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-name { font-weight: 800; font-size: 20px; letter-spacing: -.02em; line-height: 1; }
.brand-name b { color: var(--g2); font-weight: 800; }
.on-dark .brand-name { color: #fff; } .on-dark .brand-name b { color: var(--g3); }
.brand-name small { font-weight: 600; font-size: 12px; color: var(--ink-3); letter-spacing: 0; margin-left: 2px; }
.on-dark .brand-name small { color: rgba(255,255,255,.65); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s; }
.nav.scrolled { background: rgba(1,42,19,.92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.nav-links { display: none; align-items: center; gap: 28px; }
.nav-links a { color: rgba(255,255,255,.82); text-decoration: none; font-size: calc(15px * var(--mp-fs, 1)); font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
#auth-widget { display: none; align-items: center; gap: 6px; }
#auth-widget a { color: #fff !important; text-decoration: none; font-size: calc(14px * var(--mp-fs, 1)); font-weight: 600; padding: 8px 14px; border-radius: 12px; }
#auth-widget a:last-child { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); }
.menu-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; font-size: calc(20px * var(--mp-fs, 1)); cursor: pointer; }
@media (min-width: 900px) { .nav-links, #auth-widget { display: flex; } .menu-btn { display: none; } }
.mobile-menu { background: rgba(1,42,19,.97); border-top: 1px solid rgba(255,255,255,.1); padding: 12px 16px 20px; }
.mobile-menu a { display: block; color: #fff; text-decoration: none; padding: 12px 14px; border-radius: 12px; font-weight: 500; }
.mobile-menu a:hover { background: rgba(255,255,255,.08); }
#auth-widget-mobile a { color: #fff !important; }
@media (min-width: 900px) { .mobile-menu { display: none !important; } }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: var(--g0); overflow: hidden; isolation: isolate; }
.hero-img { position: absolute; inset: 0; z-index: -2; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(1,42,19,.72) 0%, rgba(1,42,19,.30) 45%, rgba(1,42,19,.88) 86%, var(--g0) 100%),
              linear-gradient(90deg, rgba(1,36,16,.85) 0%, rgba(1,36,16,.45) 55%, transparent 85%); }
.hero-in { padding-top: 124px; min-height: min(100svh, 880px); display: flex; flex-direction: column; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: calc(13px * var(--mp-fs, 1)); font-weight: 600; letter-spacing: .02em; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); width: fit-content; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--g3); box-shadow: 0 0 0 4px rgba(47,191,113,.25); }
.hero h1 { font-size: calc(clamp(38px, 7vw, 76px) * var(--mp-fs, 1)); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; margin: 20px 0 0; max-width: 14ch; }
.hero h1 em { font-style: normal; color: var(--g3); }
.hero-sub { font-size: calc(clamp(17px, 2vw, 20px) * var(--mp-fs, 1)); color: rgba(255,255,255,.86); max-width: 56ch; margin: 18px 0 0; }
.hero-sub .ur { text-align: left; font-family: "Noto Nastaliq Urdu", serif; display: block; font-size: 1.15em; line-height: 2.1; margin-top: 4px; color: rgba(255,255,255,.75); }
.ask { margin-top: 30px; max-width: 720px; }
.ask-label { font-size: calc(13px * var(--mp-fs, 1)); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 14px; background: rgba(255,255,255,.95); color: var(--ink); text-decoration: none; font-weight: 600; font-size: calc(15px * var(--mp-fs, 1)); border: 0; cursor: pointer; font-family: inherit; transition: transform .15s, box-shadow .15s; }
.chip:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
.chip i, .chip svg { color: var(--g2); font-size: calc(18px * var(--mp-fs, 1)); }
.chip.ghost { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.chip.ghost i, .chip.ghost svg { color: var(--g3); }
/* Hero quick actions: one rich colour per button (cycles for new buttons). White text on every colour meets AA.
   Solemn days (Ashura, Quaid's remembrance) keep the quiet outlined chips from events.css. */
:root:not([data-compose="solemn"]) .ask .chip { color: #fff; border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 8px 22px -12px var(--c2), inset 0 1px 0 rgba(255,255,255,.22); }
:root:not([data-compose="solemn"]) .ask .chip i, :root:not([data-compose="solemn"]) .ask .chip svg { color: #fff; opacity: .95; }
:root:not([data-compose="solemn"]) .ask .chip:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px var(--c2), inset 0 1px 0 rgba(255,255,255,.28); filter: brightness(1.06); }
.ask .chip:nth-child(7n+1) { --c1: #7C3AED; --c2: #5B21B6; }   /* violet: university */
.ask .chip:nth-child(7n+2) { --c1: #0D9488; --c2: #0F766E; }   /* teal: fees */
.ask .chip:nth-child(7n+3) { --c1: #2563EB; --c2: #1E40AF; }   /* blue: phone prices */
.ask .chip:nth-child(7n+4) { --c1: #D97706; --c2: #B45309; }   /* amber: PTA tax */
.ask .chip:nth-child(7n+5) { --c1: #DC2626; --c2: #991B1B; }   /* red: emergency */
.ask .chip:nth-child(7n+6) { --c1: #DB2777; --c2: #9D174D; }   /* rose: missing person */
.ask .chip.ghost { --c1: #F5B301; --c2: #C98A00; }              /* gold: today's rates */
:root:not([data-compose="solemn"]) .ask .chip.ghost { color: #2A1B00; }
:root:not([data-compose="solemn"]) .ask .chip.ghost i, :root:not([data-compose="solemn"]) .ask .chip.ghost svg { color: #2A1B00; }
:root:not([data-compose="solemn"]) .ask .chip .chip-new { background: #fff; color: #1a1a1a; }
.skyline { margin-top: auto; height: clamp(90px, 15vw, 190px); color: var(--g0); position: relative; }
.skyline::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.16);
  -webkit-mask: url(/img/home/landband.svg) center bottom / contain no-repeat; mask: url(/img/home/landband.svg) center bottom / contain no-repeat; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 18px 0 26px; font-size: calc(14px * var(--mp-fs, 1)); color: rgba(255,255,255,.75); border-top: 1px solid rgba(255,255,255,.12); }
.hero-meta b { color: #fff; }

/* truck-art band (Magnific stock vector) */
.truck { height: 18px; background: url(/img/home/truck-strip.webp) center / auto 100% repeat-x; }
.truck.tall { height: 30px; }

/* ---------- sections ---------- */
section { scroll-margin-top: 72px; }
.sec { padding: 80px 0; }
@media (min-width: 900px) { .sec { padding: 112px 0; } }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.kicker { font-size: calc(13px * var(--mp-fs, 1)); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--g2); }
.sec h2 { font-size: calc(clamp(30px, 4.4vw, 48px) * var(--mp-fs, 1)); line-height: 1.1; letter-spacing: -.03em; margin: 10px 0 0; font-weight: 800; }
.sec-head p { color: var(--ink-2); font-size: calc(18px * var(--mp-fs, 1)); margin: 14px 0 0; }

/* status pills */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: calc(12px * var(--mp-fs, 1)); font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill.live { background: #DDF6E7; color: #075E2E; }
.pill.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #13A055; }
.pill.build { background: #FFF1CC; color: #7A5200; }
.pill.soon { background: #ECEAE2; color: #4D5550; }

/* ---------- live now ---------- */
.live-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .live-grid { grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; } .live-grid .feature { grid-row: span 2; } }
.lcard { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.lcard:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15,26,20,.06), 0 22px 40px -18px rgba(15,26,20,.35); }
.lcard .ph { aspect-ratio: 16/9; overflow: hidden; background: #ddd; }
.lcard.feature .ph { flex: 1; min-height: 260px; aspect-ratio: auto; }
.lcard.feature .ph { position: relative; }
.lcard.feature .ph img { position: absolute; inset: 0; }
.lcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.lcard:hover .ph img { transform: scale(1.04); }
.lcard .body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.lcard .top { display: flex; align-items: center; gap: 12px; }
.app-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: #fff; font-size: calc(22px * var(--mp-fs, 1)); flex-shrink: 0; }
.lcard h3 { margin: 0; font-size: calc(22px * var(--mp-fs, 1)); letter-spacing: -.02em; line-height: 1.2; }
.lcard .sub { font-size: calc(13px * var(--mp-fs, 1)); color: var(--ink-3); font-weight: 600; }
.lcard p { margin: 0; color: var(--ink-2); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 4px; }
.facts div { font-size: calc(13px * var(--mp-fs, 1)); color: var(--ink-3); }
.facts b { display: block; font-size: calc(22px * var(--mp-fs, 1)); color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--g2); }
.lcard .pill { margin-left: auto; }

/* icon colours */
.c-green { background: linear-gradient(135deg, #13A055, #0B6B37); } .c-violet { background: linear-gradient(135deg, #8B5CF6, #6D28D9); }
.c-sky { background: linear-gradient(135deg, #38BDF8, #0369A1); } .c-amber { background: linear-gradient(135deg, #F59E0B, #C2410C); }
.c-rose { background: linear-gradient(135deg, #FB7185, #BE123C); } .c-teal { background: linear-gradient(135deg, #2DD4BF, #0F766E); }
.c-indigo { background: linear-gradient(135deg, #818CF8, #4338CA); } .c-lime { background: linear-gradient(135deg, #84CC16, #3F6212); }
.c-slate { background: linear-gradient(135deg, #64748B, #1E293B); } .c-red { background: linear-gradient(135deg, #F87171, #B91C1C); }
.c-gold { background: linear-gradient(135deg, #EAB308, #854D0E); } .c-pink { background: linear-gradient(135deg, #F472B6, #9D174D); }
.c-orange { background: linear-gradient(135deg, #FB923C, #C2410C); } .c-cyan { background: linear-gradient(135deg, #22D3EE, #0E7490); }

/* ---------- one id ---------- */
.oneid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .oneid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.pillar { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; }
.pillar i, .pillar svg { font-size: calc(24px * var(--mp-fs, 1)); color: var(--g2); }
.pillar b { display: block; margin-top: 10px; font-size: calc(17px * var(--mp-fs, 1)); }
.pillar span { display: block; color: var(--ink-3); font-size: calc(14px * var(--mp-fs, 1)); line-height: 1.45; margin-top: 4px; }
.idcard { position: relative; border-radius: 28px; padding: 28px; color: #fff; background: linear-gradient(140deg, var(--g2), var(--g0)); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(1,42,19,.6); }
.idcard::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255,255,255,.06); }
.idcard .row { display: flex; align-items: center; justify-content: space-between; }
.idcard .who { margin-top: 36px; font-size: calc(26px * var(--mp-fs, 1)); font-weight: 800; letter-spacing: -.02em; }
.idcard .muted { color: rgba(255,255,255,.7); font-size: calc(14px * var(--mp-fs, 1)); }
.idcard .apps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.idcard .apps span { font-size: calc(13px * var(--mp-fs, 1)); font-weight: 600; padding: 6px 10px; border-radius: 10px; background: rgba(255,255,255,.12); }
.steps { counter-reset: s; display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps li::before { counter-increment: s; content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: var(--g4); color: var(--g1); font-weight: 800; display: grid; place-items: center; flex-shrink: 0; }
.steps b { display: block; } .steps span { color: var(--ink-3); font-size: calc(15px * var(--mp-fs, 1)); }

/* ---------- have your say (see v2 below) ---------- */
.say { background: #EFECE2; }
.say-forms { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 20px; }
@media (min-width: 800px) { .say-forms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.box label, .box h3 { display: block; font-weight: 800; font-size: calc(17px * var(--mp-fs, 1)); margin: 0 0 4px; }
.box p { margin: 0 0 14px; color: var(--ink-3); font-size: calc(14.5px * var(--mp-fs, 1)); }
.field { display: flex; gap: 8px; }
.field input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid #CFCBBE; font: inherit; font-size: calc(15px * var(--mp-fs, 1)); background: #fff; color: var(--ink); }
.field input:focus { outline: 3px solid rgba(47,191,113,.35); border-color: var(--g2); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 12px; border: 0; background: var(--g2); color: #fff; font: inherit; font-weight: 700; font-size: calc(15px * var(--mp-fs, 1)); cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--g1); }
.ok { margin: 10px 0 0; color: #075E2E; font-weight: 600; font-size: calc(14px * var(--mp-fs, 1)); }

/* ---------- footer ---------- */
.foot { background: var(--g0); color: rgba(255,255,255,.78); padding: 56px 0 110px; font-size: calc(14.5px * var(--mp-fs, 1)); }
@media (min-width: 900px) { .foot { padding-bottom: 40px; } }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.3fr 2fr; } }
.foot p { margin: 14px 0 0; max-width: 40ch; }
.foot-apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 20px; }
@media (min-width: 640px) { .foot-apps { grid-template-columns: repeat(3, 1fr); } }
.foot-apps a, .foot-apps span { text-decoration: none; color: rgba(255,255,255,.78); }
.foot-apps a:hover { color: #fff; }
.foot-apps a b { color: #fff; }
.foot h4 { color: #fff; font-size: calc(13px * var(--mp-fs, 1)); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: calc(13px * var(--mp-fs, 1)); color: rgba(255,255,255,.6); }

/* ---------- mobile bottom nav ---------- */
.bnav { position: fixed; inset: auto 0 0; z-index: 50; background: rgba(1,42,19,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid rgba(255,255,255,.1); padding-bottom: env(safe-area-inset-bottom, 0px); }
.bnav-in { display: flex; justify-content: space-around; height: 62px; align-items: center; }
.bnav a { display: flex; flex-direction: column; align-items: center; gap: 2px; color: rgba(255,255,255,.72); text-decoration: none; font-size: calc(11px * var(--mp-fs, 1)); font-weight: 600; min-width: 64px; }
.bnav a i, .bnav a svg { font-size: calc(21px * var(--mp-fs, 1)); }
.bnav a.on { color: var(--g3); }
@media (min-width: 900px) { .bnav { display: none; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .lcard, .chip, .lcard .ph img, .sp-card, .sp-card img { transition: none; }
}
.hidden { display: none !important; }
.lcard.feature .body { flex: 0 0 auto; }

/* <mp-apps> shared switcher: reserve its box before the script defines it */
mp-apps:not(:defined) { display: inline-block; width: 42px; height: 42px; }

/* ======================================================================================================
   v2 (2026-10-25): engagement layout. Today strip, Spotlight, Coming next, For you, live apps, trust, votes.
   Dark surfaces use the look palette (--lk-deep / --lk-accent2 from events.css + the <style id="mp-look">).
   ====================================================================================================== */
.hero-ur { font-family: "Noto Nastaliq Urdu", serif; font-size: 1.15em; line-height: 2.1; margin: 4px 0 0; color: rgba(255,255,255,.75); text-align: left; }
[data-look]:not([data-look="none"]) .hero-ur { display: none; }
[data-layout="daylight"] .hero-ur, [data-layout="minimal"] .hero-ur { color: #4D5550; }
.chip-new { font-size: calc(11px * var(--mp-fs, 1)); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: var(--saffron); color: #2A1B00; border-radius: 6px; padding: 1px 6px; }
.pill.new { background: #FFE7A3; color: #5C3D00; }
.pill.beta { background: #E3E8FF; color: #2C3A8C; }
.pill.trust { background: #E6F0FF; color: #1E3A8A; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.muted { color: var(--ink-3); }
.hm-notice { position: fixed; z-index: 90; left: 50%; bottom: 84px; transform: translateX(-50%); margin: 0; max-width: calc(100% - 32px); background: #0F1A14; color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; box-shadow: 0 16px 40px -12px rgba(0,0,0,.5); }
@media (min-width: 900px) { .hm-notice { bottom: 24px; } }

/* ---------- today strip ---------- */
.today { position: relative; color: #fff; background: var(--lk-deep, var(--g0)); padding: 40px 0 44px; }
.today { --lt-acc: color-mix(in srgb, var(--lk-accent2, #2FBF71) 55%, #fff); }
.today .kicker { color: var(--lt-acc); }
.today-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.today h2 { margin: 6px 0 0; font-size: calc(clamp(24px, 3.4vw, 34px) * var(--mp-fs, 1)); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
.today-date { font-size: calc(14px * var(--mp-fs, 1)); color: rgba(255,255,255,.75); min-height: 1.6em; }
.tiles { display: grid; gap: 12px; }
@media (min-width: 760px) { .tiles { grid-template-columns: 1fr 1fr; } .tiles .prayer { grid-row: span 2; } }
@media (min-width: 1100px) { .tiles { grid-template-columns: 1.25fr 1fr 1fr; } .tiles .prayer { grid-row: auto; } }
.tiles-side { display: grid; gap: 12px; align-content: start; }
.tiles-side:empty { display: none; }
@media (min-width: 520px) { .tiles-side { grid-template-columns: 1fr 1fr; } .tiles-side > :only-child { grid-column: 1 / -1; } }
@media (min-width: 760px) { .tiles-side { grid-template-columns: 1fr; } }
.tile { padding: 16px 18px; border-radius: var(--r-md); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); min-width: 0; }
.tile-h { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: calc(14px * var(--mp-fs, 1)); color: rgba(255,255,255,.88); }
.tile-h svg, .tile-h i { color: var(--lt-acc); font-size: calc(18px * var(--mp-fs, 1)); }
.tile-v { font-size: calc(26px * var(--mp-fs, 1)); font-weight: 800; letter-spacing: -.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.tile-v small { font-size: calc(14px * var(--mp-fs, 1)); font-weight: 600; color: rgba(255,255,255,.75); }
.tile-v.two { display: flex; gap: 22px; flex-wrap: wrap; }
.tile-v.two span small { display: block; font-size: calc(12px * var(--mp-fs, 1)); letter-spacing: .04em; text-transform: uppercase; }
.tile-s { font-size: calc(12.5px * var(--mp-fs, 1)); color: rgba(255,255,255,.72); margin-top: 6px; line-height: 1.45; }
.tile-s a { color: #fff; }
.pt-city { margin-left: auto; max-width: 55%; font: inherit; font-size: calc(14px * var(--mp-fs, 1)); font-weight: 600; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); border-radius: 10px; padding: 6px 8px; }
.pt-city option, .pt-city optgroup { color: #0F1A14; background: #fff; }
.pt-next { margin-top: 10px; font-size: calc(15px * var(--mp-fs, 1)); color: rgba(255,255,255,.9); min-height: 1.6em; }
.pt-next b { color: var(--lt-acc); font-size: calc(18px * var(--mp-fs, 1)); }
.pt-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pt-list li { padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.06); display: flex; flex-direction: column; }
.pt-list li span { font-size: calc(12px * var(--mp-fs, 1)); color: rgba(255,255,255,.75); }
.pt-list li b { font-size: calc(17px * var(--mp-fs, 1)); font-variant-numeric: tabular-nums; }
.pt-list li.next { background: color-mix(in srgb, var(--lk-accent2, #2FBF71) 26%, transparent); outline: 1px solid var(--lt-acc); }
.pt-asr { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; white-space: nowrap; }
.help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.help-grid a { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.95); color: #0F1A14; text-decoration: none; font-size: calc(13px * var(--mp-fs, 1)); font-weight: 600; min-height: 56px; }
.help-grid a b { font-size: calc(22px * var(--mp-fs, 1)); color: #A3122B; letter-spacing: -.01em; line-height: 1.1; }
.help-grid a:hover { background: #fff; }
.wa-cta { margin-top: 14px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--r-md); background: #E7FFEF; color: #0B3D21; text-decoration: none; }
.wa-cta svg:first-child { font-size: calc(26px * var(--mp-fs, 1)); color: #128C3E; }
.wa-cta span span { display: block; font-size: calc(14px * var(--mp-fs, 1)); color: #2B5A3D; }
.wa-cta svg:last-child { margin-left: auto; }
[data-compose="solemn"] .help-grid a b { color: #6E1020; }

/* ---------- spotlight ---------- */
.spot-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .spot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .spot-grid { grid-template-columns: repeat(3, 1fr); } .sp-card.big { grid-column: span 2; grid-row: span 2; } }
.sp-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; min-width: 0; }
.sp-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15,26,20,.06), 0 22px 40px -18px rgba(15,26,20,.35); }
.sp-card .ph { aspect-ratio: 16/9; overflow: hidden; background: #ddd; }
.sp-card.big .ph { aspect-ratio: 4/3; }
@media (min-width: 1100px) { .sp-card.big .ph { aspect-ratio: auto; flex: 1; min-height: 300px; position: relative; } .sp-card.big .ph img { position: absolute; inset: 0; } .sp-card.big .body { flex: 0 0 auto; } }
.sp-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sp-card:hover .ph img { transform: scale(1.04); }
.sp-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.sp-card h3 { margin: 0; font-size: calc(19px * var(--mp-fs, 1)); letter-spacing: -.015em; line-height: 1.25; }
.sp-card.big h3 { font-size: calc(clamp(22px, 2.4vw, 28px) * var(--mp-fs, 1)); }
.sp-card p { margin: 0; color: var(--ink-2); font-size: calc(15px * var(--mp-fs, 1)); }
.sp-card .go { font-size: calc(15px * var(--mp-fs, 1)); }
.sp-card.tool { flex-direction: row; align-items: flex-start; gap: 0; padding-left: 18px; }
.sp-card.tool .sp-ic { margin-top: 20px; }
.sp-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sp-app { display: inline-flex; align-items: center; gap: 6px; font-size: calc(12px * var(--mp-fs, 1)); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.sp-app span { width: 8px; height: 8px; border-radius: 50%; background: var(--g2); }
.dot-violet { background: #7C3AED !important; } .dot-sky { background: #0284C7 !important; } .dot-teal { background: #0F766E !important; } .dot-red { background: #DC2626 !important; }
.dot-amber { background: #D97706 !important; } .dot-green { background: #15803D !important; }
.sp-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: #fff; font-size: calc(21px * var(--mp-fs, 1)); flex-shrink: 0; }
.coming { margin-top: 40px; }
.coming-h { display: flex; align-items: center; gap: 8px; margin: 0; font-size: calc(20px * var(--mp-fs, 1)); letter-spacing: -.01em; }
.coming-h svg { color: var(--g2); }
.coming-p { margin: 4px 0 16px; color: var(--ink-3); }
.coming-grid { display: grid; gap: 12px; }
@media (min-width: 700px) { .coming-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .coming-grid { grid-template-columns: repeat(3, 1fr); } }
.soon-card { display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--r-md); border: 1.5px dashed #C9C4B4; background: rgba(255,255,255,.55); }
.soon-card .sp-ic { opacity: .85; }
.soon-card .body { flex: 1; min-width: 0; }
.soon-card h3 { margin: 4px 0 2px; font-size: calc(17px * var(--mp-fs, 1)); }
.soon-card p { margin: 0; font-size: calc(14px * var(--mp-fs, 1)); color: var(--ink-3); }
.notify { margin-top: 8px; }
.notify summary { cursor: pointer; font-weight: 700; color: var(--g2); font-size: calc(14px * var(--mp-fs, 1)); list-style: none; display: inline-flex; min-height: 32px; align-items: center; }
.notify summary::-webkit-details-marker { display: none; }
.notify summary::before { content: "+ "; }
.notify[open] summary::before { content: "− "; }
.notify .field { margin-top: 6px; }
.notify .field input { padding: 9px 12px; font-size: calc(14px * var(--mp-fs, 1)); }
.notify .btn { padding: 9px 14px; font-size: calc(14px * var(--mp-fs, 1)); }

/* ---------- for you ---------- */
:root:not(.mp-signed-in) [data-aud="signed-in"] { display: none !important; }
:root.mp-signed-in [data-aud="signed-out"] { display: none !important; }
.foryou { padding-top: 0; }
.fy-card { display: grid; gap: 28px; padding: 28px; border-radius: 28px; color: #fff; background: linear-gradient(140deg, color-mix(in srgb, var(--lk-deep, #012A13) 70%, #0B7A3E), var(--lk-deep, #012A13)); box-shadow: 0 30px 60px -30px rgba(1,42,19,.55); }
@media (min-width: 900px) { .fy-card { grid-template-columns: 1.2fr 1fr; padding: 44px; align-items: center; } }
.fy-card .kicker { color: color-mix(in srgb, var(--lk-accent2, #2FBF71) 55%, #fff); }
.fy-card h2 { margin: 8px 0 0; font-size: calc(clamp(26px, 3.6vw, 40px) * var(--mp-fs, 1)); line-height: 1.12; letter-spacing: -.025em; }
.fy-card p { color: rgba(255,255,255,.82); margin: 12px 0 0; font-size: calc(16.5px * var(--mp-fs, 1)); max-width: 52ch; }
.fy-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn.ghost:hover { background: rgba(255,255,255,.1); }
.fy-card .btn:not(.ghost) { background: #fff; color: #0F1A14; }
.fy-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fy-points li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.08); }
.fy-points svg { font-size: calc(22px * var(--mp-fs, 1)); color: color-mix(in srgb, var(--lk-accent2, #2FBF71) 55%, #fff); margin-top: 2px; }
.fy-points b { display: block; } .fy-points span { color: rgba(255,255,255,.78); font-size: calc(14.5px * var(--mp-fs, 1)); }
.fy-apps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.fy-apps a { font-size: calc(14px * var(--mp-fs, 1)); font-weight: 700; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.12); color: #fff; text-decoration: none; }
.fy-list { display: grid; gap: 10px; }
.fy-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #fff; color: #0F1A14; text-decoration: none; }
.fy-item.soon { background: rgba(255,255,255,.1); color: #fff; }
.fy-item.soon .fy-txt span { color: rgba(255,255,255,.72); }
.fy-txt { flex: 1; min-width: 0; } .fy-txt b { display: block; } .fy-txt span { font-size: calc(13.5px * var(--mp-fs, 1)); color: var(--ink-3); }
.fy-item > svg:last-child { color: var(--g2); }

/* ---------- live apps (four) ---------- */
.lcard h3 .ur { font-family: "Noto Nastaliq Urdu", serif; font-size: .7em; font-weight: 500; color: var(--ink-3); margin-left: 4px; }
@media (min-width: 800px) { .live-grid.four { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; } .live-grid.four .feature { grid-row: auto; } }
.live-grid.four .lcard.feature .ph { flex: none; min-height: 0; aspect-ratio: 16/9; position: relative; }

/* ---------- trust ---------- */
.trust { padding-top: 0; }
.pillars.four { grid-template-columns: 1fr; }
@media (min-width: 640px) { .pillars.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pillars.four { grid-template-columns: repeat(4, 1fr); } }

/* ---------- votes: "What should we build next?" (redesign 2026-10-25) ----------
   Theme-aware: the pulse panel and the idea CTA take var(--lk-deep)/--lk-accent2 so every event look re-skins them;
   solemn days drop the topic colours to grey and stop the live pulse. Topic colours are AA on their tints. */
.sec-head p a { color: var(--g2); font-weight: 700; }
.say { position: relative; overflow: hidden; background: #EFECE2;
  background-image: radial-gradient(60% 50% at 100% 0%, color-mix(in srgb, var(--lk-accent2, #2FBF71) 14%, transparent), transparent 70%),
                    radial-gradient(50% 40% at 0% 100%, color-mix(in srgb, var(--saffron) 10%, transparent), transparent 70%); }
.say-head { display: grid; gap: 24px; align-items: end; margin-bottom: 32px; }
.say-head .sec-head { margin-bottom: 0; }
@media (min-width: 960px) { .say-head { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; } }
.say-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; padding: 0; margin: 20px 0 0; }
.say-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.75); border: 1px solid var(--line); font-size: calc(14px * var(--mp-fs, 1)); font-weight: 600; color: var(--ink-2); }
.say-steps span { display: inline-grid; place-items: center; width: calc(26px * var(--mp-fs, 1)); height: calc(26px * var(--mp-fs, 1)); border-radius: 50%; background: var(--g2); color: #fff; font-size: calc(13px * var(--mp-fs, 1)); font-weight: 800; }

.vote-pulse { position: relative; overflow: hidden; padding: 22px 24px; border-radius: 22px; color: #fff;
  background: linear-gradient(145deg, color-mix(in srgb, var(--lk-deep, #012A13) 72%, #0B7A3E), var(--lk-deep, #012A13));
  box-shadow: 0 24px 48px -28px rgba(1,42,19,.6); }
.vote-pulse::after { content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--lk-accent2, #2FBF71) 45%, transparent), transparent 70%); pointer-events: none; }
.vote-pulse { --vp-acc: color-mix(in srgb, var(--lk-accent2, #2FBF71) 55%, #fff); }
.vp-top { display: flex; align-items: center; gap: 8px; font-size: calc(12.5px * var(--mp-fs, 1)); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--vp-acc); }
.vp-top svg, .vp-top i { font-size: calc(16px * var(--mp-fs, 1)); }
.vp-big { display: grid; gap: 2px; margin: 10px 0 14px; }
.vp-n { font-size: calc(44px * var(--mp-fs, 1)); line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.vp-n.vp-new { font-size: calc(28px * var(--mp-fs, 1)); line-height: 1.15; }
.vp-big span { color: rgba(255,255,255,.82); font-size: calc(15px * var(--mp-fs, 1)); }
.vp-facts { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid rgba(255,255,255,.16); display: grid; gap: 6px; font-size: calc(14px * var(--mp-fs, 1)); color: rgba(255,255,255,.86); }
.vp-facts b { color: var(--vp-acc); font-weight: 800; margin-right: 4px; }

.votes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 640px) { .votes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .votes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1200px) { .votes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 639px) { .votes.is-collapsed .vote-f:nth-child(n+6) { display: none; } }
.vote-f { margin: 0; display: flex; min-width: 0; --vc: #0B6B3A; --vt: #E1F4E8; }
.vote-f[data-hue="teal"] { --vc: #0E6461; --vt: #DAF2EF; } .vote-f[data-hue="indigo"] { --vc: #3443A8; --vt: #E5E8FB; }
.vote-f[data-hue="amber"] { --vc: #7E5200; --vt: #FCEFCF; } .vote-f[data-hue="rose"] { --vc: #A11F45; --vt: #FCE3EA; }
.vote-f[data-hue="red"] { --vc: #AA2216; --vt: #FDE5E1; } .vote-f[data-hue="lime"] { --vc: #3C640C; --vt: #E9F4D3; }
.vote-f[data-hue="blue"] { --vc: #1A5698; --vt: #E0ECFA; } .vote-f[data-hue="orange"] { --vc: #994209; --vt: #FDE7D6; }
.vote-f[data-hue="violet"] { --vc: #65389A; --vt: #EFE6FA; } .vote-f[data-hue="brown"] { --vc: #6F4410; --vt: #F5EADA; }
.vote-f[data-hue="sky"] { --vc: #0D5F82; --vt: #DCF0F8; }
.interest-btn { position: relative; width: 100%; min-height: 44px; display: flex; flex-direction: column; align-items: stretch; text-align: left; gap: 6px;
  padding: 18px 18px 16px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); cursor: pointer; font: inherit; color: var(--ink); text-decoration: none;
  box-shadow: 0 1px 2px rgba(15,26,20,.05); transition: border-color .18s, transform .18s, box-shadow .18s; }
.interest-btn::before { content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--vc); opacity: .85; }
.interest-btn:hover { border-color: color-mix(in srgb, var(--vc) 45%, var(--line)); transform: translateY(-3px); box-shadow: 0 18px 36px -22px color-mix(in srgb, var(--vc) 60%, transparent); }
.interest-btn:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; }
.vc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.vc-ic { display: inline-grid; place-items: center; width: calc(46px * var(--mp-fs, 1)); height: calc(46px * var(--mp-fs, 1)); border-radius: 14px; background: var(--vt); color: var(--vc); flex-shrink: 0; }
.vc-ic svg, .vc-ic i { font-size: calc(23px * var(--mp-fs, 1)); }
.vc-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: calc(12px * var(--mp-fs, 1)); font-weight: 700; white-space: nowrap; border: 1px solid transparent; }
.vc-chip.st-open { background: #F2F0E8; color: #3D4A43; border-color: #E4E1D6; }
.vc-chip.st-planned { background: #E0ECFA; color: #1A5698; }
.vc-chip.st-building { background: #FCEFCF; color: #7E5200; }
.vc-chip.st-done { background: #DDF6E7; color: #075E2E; }
.vc-live { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: vc-pulse 1.6s ease-in-out infinite; }
@keyframes vc-pulse { 50% { opacity: .3; transform: scale(.7); } }
.interest-btn .vt { font-weight: 800; font-size: calc(17px * var(--mp-fs, 1)); line-height: 1.3; letter-spacing: -.01em; }
.interest-btn .vd { font-size: calc(14px * var(--mp-fs, 1)); color: var(--ink-3); line-height: 1.45; flex: 1; }
.vc-foot { display: grid; gap: 10px; margin-top: 10px; }
.vc-meter { display: block; height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--vt) 80%, #EAE7DD); overflow: hidden; }
.vc-meter i { display: block; height: 100%; min-width: 0; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--vc) 70%, #fff), var(--vc)); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.vc-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.interest-btn .vote-count { font-size: calc(13.5px * var(--mp-fs, 1)); font-weight: 700; color: var(--ink-2); }
.vc-cta { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 16px; border-radius: 999px; background: var(--vt); color: var(--vc); font-weight: 800; font-size: calc(14.5px * var(--mp-fs, 1)); transition: background .18s, color .18s; }
.vc-cta svg, .vc-cta i { font-size: calc(17px * var(--mp-fs, 1)); }
.interest-btn:hover .vc-cta { background: var(--vc); color: #fff; }
.interest-btn.voted { border-color: var(--vc); box-shadow: inset 0 0 0 1px var(--vc), 0 18px 36px -24px color-mix(in srgb, var(--vc) 70%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--vt) 45%, #fff), #fff 55%); }
.interest-btn.voted .vc-cta { background: var(--vc); color: #fff; }
.interest-btn:disabled { cursor: progress; opacity: .8; }
.vc-lead { position: absolute; top: -11px; right: 16px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: var(--saffron); color: #2A1E00; font-size: calc(12px * var(--mp-fs, 1)); font-weight: 800; box-shadow: 0 6px 14px -6px rgba(242,169,0,.8); }
.vote-f.done .interest-btn { background: linear-gradient(180deg, #F2FBF5, #fff); }
.vc-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #075E2E; font-size: calc(14px * var(--mp-fs, 1)); }
.votes-more { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; margin-top: 12px; border-radius: 14px; border: 1px dashed #BDB8A8; background: rgba(255,255,255,.6); color: var(--ink); font: inherit; font-weight: 700; font-size: calc(15px * var(--mp-fs, 1)); cursor: pointer; }
@media (min-width: 640px) { .votes-more { display: none !important; } }

.say-forms { margin-top: 28px; align-items: stretch; }
@media (min-width: 900px) { .say-forms { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) !important; } }
.say-cta { position: relative; overflow: hidden; margin: 0; padding: 28px; border-radius: 24px; color: #fff;
  background: linear-gradient(135deg, var(--lk-deep, #012A13) 0%, color-mix(in srgb, var(--lk-deep, #012A13) 60%, #0B7A3E) 100%);
  box-shadow: 0 30px 60px -32px rgba(1,42,19,.6); --sc-acc: color-mix(in srgb, var(--lk-accent2, #2FBF71) 55%, #fff); }
.say-cta::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid color-mix(in srgb, var(--lk-accent2, #2FBF71) 16%, transparent); pointer-events: none; }
.say-cta > * { position: relative; z-index: 1; }
.say-cta-ic { display: inline-grid; place-items: center; width: calc(52px * var(--mp-fs, 1)); height: calc(52px * var(--mp-fs, 1)); border-radius: 16px; background: var(--saffron); color: #2A1E00; margin-bottom: 14px; box-shadow: 0 10px 24px -10px rgba(242,169,0,.8); }
.say-cta-ic svg, .say-cta-ic i { font-size: calc(26px * var(--mp-fs, 1)); }
.say-cta-h { display: block; font-size: calc(clamp(24px, 2.6vw, 30px) * var(--mp-fs, 1)); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.say-cta p { margin: 8px 0 18px; color: rgba(255,255,255,.84); font-size: calc(15.5px * var(--mp-fs, 1)); max-width: 52ch; }
.say-cta .field input { min-height: 50px; border-color: transparent; }
.say-cta .btn-cta { min-height: 50px; padding: 12px 20px; background: var(--saffron); color: #2A1E00; }
.say-cta .btn-cta:hover { background: #FFC233; }
.say-cta .ok { color: var(--sc-acc); }
.say-board { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 10px; color: #fff; font-weight: 700; font-size: calc(15px * var(--mp-fs, 1)); text-decoration: underline; text-decoration-color: color-mix(in srgb, #fff 40%, transparent); text-underline-offset: 4px; }
.say-board:hover { text-decoration-color: #fff; }
.say-sub { display: flex; flex-direction: column; justify-content: center; border-radius: 24px; padding: 28px; }
.say-sub-ic { display: inline-grid; place-items: center; width: calc(44px * var(--mp-fs, 1)); height: calc(44px * var(--mp-fs, 1)); border-radius: 14px; background: var(--g4); color: var(--g2); margin-bottom: 12px; }
.say-sub-ic svg, .say-sub-ic i { font-size: calc(22px * var(--mp-fs, 1)); }
.say-sub .field input, .say-sub .btn { min-height: 48px; }
@media (max-width: 420px) {
  .say-cta, .say-sub { padding: 22px 18px; }
  .say-cta .field, .say-sub .field { flex-wrap: wrap; }
  .say-cta .field .btn, .say-sub .field .btn { flex: 1 1 100%; }
}
/* every look: bars and the voted state follow the topic; solemn days stay quiet */
[data-event-tone="solemn"] .vote-f, [data-compose="solemn"] .vote-f { --vc: #3D4A43; --vt: #ECEBE6; }
[data-event-tone="solemn"] .vc-lead, [data-compose="solemn"] .vc-lead { background: #3D4A43; color: #fff; box-shadow: none; }
[data-event-tone="solemn"] .say-cta-ic, [data-compose="solemn"] .say-cta-ic { background: rgba(255,255,255,.14); color: #fff; box-shadow: none; }
[data-event-tone="solemn"] .say-cta .btn-cta, [data-compose="solemn"] .say-cta .btn-cta { background: #fff; color: #111; }
[data-event-tone="solemn"] .say, [data-compose="solemn"] .say { background-image: none; }
[data-event-tone="solemn"] .vc-live, [data-mp-motion="reduce"] .vc-live { animation: none; }
[data-mp-motion="reduce"] .interest-btn, [data-mp-motion="reduce"] .vc-meter i { transition: none; }
[data-mp-motion="reduce"] .interest-btn:hover { transform: none; }
@media (prefers-reduced-motion: reduce) { .vc-live { animation: none; } .interest-btn, .vc-meter i { transition: none; } .interest-btn:hover { transform: none; } }

/* ---------- ideas board (/ideas) ---------- */
.ib-hero { background: var(--lk-deep, var(--g0)); color: #fff; padding: 108px 0 36px; }
.ib-hero h1 { margin: 8px 0 0; font-size: calc(clamp(32px, 5vw, 52px) * var(--mp-fs, 1)); letter-spacing: -.03em; line-height: 1.08; }
.ib-hero p { color: rgba(255,255,255,.82); max-width: 60ch; font-size: calc(17px * var(--mp-fs, 1)); }
.ib-hero .kicker { color: var(--g3); }
.ib-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px; }
.ib-tabs a { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; text-decoration: none; font-weight: 600; font-size: calc(14px * var(--mp-fs, 1)); }
.ib-tabs a[aria-current] { background: #fff; color: #0F1A14; }
.ib-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .ib-grid { grid-template-columns: 1.6fr 1fr; } }
.idea { display: flex; gap: 14px; padding: 16px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); margin-bottom: 10px; }
.idea form { margin: 0; }
.vote { width: 64px; min-height: 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; border-radius: 12px; border: 1px solid var(--line); background: #F7F5EF; cursor: pointer; font: inherit; color: var(--ink); }
.vote b { font-size: calc(19px * var(--mp-fs, 1)); line-height: 1.1; } .vote span { font-size: calc(11px * var(--mp-fs, 1)); color: var(--ink-3); }
.vote svg { color: var(--g2); }
.vote.voted { background: #DDF6E7; border-color: var(--g2); }
.idea-b { flex: 1; min-width: 0; }
.idea-b h3 { margin: 4px 0 2px; font-size: calc(17px * var(--mp-fs, 1)); }
.idea-b p { margin: 4px 0 0; color: var(--ink-2); font-size: calc(14.5px * var(--mp-fs, 1)); }
.idea-b .reply { background: #F2FBF5; border-radius: 10px; padding: 8px 10px; }
.idea-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.idea-meta .app, .ib-done .app { font-size: calc(12px * var(--mp-fs, 1)); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.st { font-size: calc(12px * var(--mp-fs, 1)); font-weight: 700; padding: 2px 9px; border-radius: 999px; background: #ECEAE2; color: #3D4A43; }
.st-planned { background: #E3E8FF; color: #2C3A8C; } .st-building { background: #FFE7A3; color: #5C3D00; } .st-done { background: #DDF6E7; color: #075E2E; }
.ib-done { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ib-done li { padding: 12px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 2px; }
.ib-done li span:not(.app) { color: var(--ink-2); font-size: calc(14px * var(--mp-fs, 1)); }
.ib-done time { font-size: calc(12px * var(--mp-fs, 1)); color: var(--ink-3); }
.ib-form label { display: block; font-weight: 700; font-size: calc(14px * var(--mp-fs, 1)); margin: 10px 0 4px; }
.ib-form select, .ib-form textarea, .ib-form input[type=email] { width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid #CFCBBE; font: inherit; background: #fff; color: var(--ink); }
.ib-form textarea { min-height: 110px; resize: vertical; }
mp-feedback:not(:defined) { display: inline-block; min-width: 120px; height: 44px; }
.ok.bad { color: #B42318; }
.say-cta .ok.bad { color: #FFC9BF; }
.vote-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 160px; padding: 20px; border-radius: 20px; border: 2px dashed #C9C4B3; background: rgba(255,255,255,.45); color: var(--ink-2); text-align: center; text-decoration: none; transition: border-color .18s, background .18s; }
.vote-add svg, .vote-add i { font-size: calc(28px * var(--mp-fs, 1)); color: var(--g2); }
.vote-add b { font-size: calc(16px * var(--mp-fs, 1)); color: var(--ink); }
.vote-add span { font-size: calc(14px * var(--mp-fs, 1)); }
.vote-add:hover { border-color: var(--g2); background: #fff; }
@media (max-width: 639px) { .votes.is-collapsed .vote-add { display: none; } .vote-add { min-height: 100px; } }
[data-event-tone="solemn"] .vc-chip, [data-compose="solemn"] .vc-chip { background: #F2F0E8; color: #3D4A43; border-color: #E4E1D6; }

/* 2026-10-25: Terms / Privacy / Contact links in every portal footer */
.foot-legal a, .foot-home { color: inherit; display: inline-block; padding: 8px 2px; }

/* 2026-11-07: app cards without a photo keep their natural height next to a photo card */
@media (min-width: 800px) { .live-grid.four .lcard:not(:has(.ph)) { align-self: start; } }
