/* AskjBoss — website styles (no build step needed) */
:root {
  --ink: #0F1A14; --ink-2: #26322C; --muted: #4A5650; --muted-2: #5A665F;
  --bg: #EEF1EC; --card: #FFFFFF; --line: #E1E5DF; --soft: #F1F3EF; --soft-2: #F4F5F1;
  --green: #0B6E4F; --green-dark: #08523B; --green-soft: #DFF0E8; --green-text: #0B5A40;
  --gold: #F2B84B; --red: #B4361F; --red-soft: #FCEDEA;
  --radius: 20px; --radius-sm: 12px;
  --display: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.5; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }
img, video { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; margin: 0; line-height: 1.15; }
button { font: inherit; cursor: pointer; }
[x-cloak] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.topbar-inner { max-width: 1360px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 20px; }
.search { flex: 1; display: flex; align-items: center; gap: 8px; height: 46px; border-radius: 999px; background: var(--soft); padding: 0 16px; color: var(--muted); min-width: 0; }
.search input { flex: 1; border: 0; background: transparent; font: inherit; color: var(--ink); outline: none; min-width: 0; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--soft); color: var(--ink); display: grid; place-items: center; }
.icon-btn:hover { background: #E6EAE4; color: var(--ink); }

/* ---------- Buttons, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 15px; white-space: nowrap; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #22312A; color: #fff; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-gold { background: var(--gold); color: #1A1206; }
.btn-gold:hover { background: #E9AA34; color: #1A1206; }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--soft); color: var(--ink); }
.btn-soft { background: var(--soft); color: var(--ink); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; background: var(--card); color: var(--ink-2); font-size: 14px; font-weight: 500; border: 0; white-space: nowrap; }
.chip:hover { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.chip.active { background: var(--ink); color: #fff; font-weight: 600; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.chips.scroll::-webkit-scrollbar { display: none; }
.tabs { display: inline-flex; gap: 4px; background: var(--card); border-radius: 999px; padding: 5px; flex-wrap: wrap; }

/* ---------- Layout ---------- */
.layout { max-width: 1360px; margin: 0 auto; padding: 22px 20px 90px; display: grid; grid-template-columns: 250px minmax(0, 1fr) 330px; gap: 22px; align-items: start; }
.layout.two { grid-template-columns: minmax(0, 1fr) 330px; }
.layout.narrow { grid-template-columns: minmax(0, 720px); justify-content: center; }
.col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.card { background: var(--card); border-radius: var(--radius); padding: 18px; }
.card-title { font-family: var(--display); font-size: 19px; font-weight: 700; margin: 0 0 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.card-title a { font-family: var(--body); font-size: 13px; font-weight: 600; }

/* left menu */
.profile-mini { display: flex; gap: 12px; align-items: center; }
.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; margin-top: 14px; }
.stats3 div { background: var(--soft-2); border-radius: 12px; padding: 8px 4px; }
.stats3 b { display: block; font-family: var(--display); font-size: 18px; }
.stats3 span { font-size: 11px; color: var(--muted); }
.menu { padding: 8px; }
.menu a { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 12px; border-radius: 12px; color: var(--ink-2); font-weight: 500; }
.menu a:hover { background: var(--soft-2); color: var(--ink); }
.menu a.active { background: var(--soft); color: var(--ink); font-weight: 700; }
.menu .dot { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.menu .count { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--green-text); }

/* avatars */
.avatar { width: 44px; height: 44px; border-radius: 50%; background: #C9A27A; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; flex-shrink: 0; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.sm { width: 34px; height: 34px; font-size: 12px; }
.avatar.lg { width: 56px; height: 56px; font-size: 19px; }
.avatar.biz { border-radius: 14px; background: var(--ink); font-family: var(--display); }

/* ---------- Stories ---------- */
.stories { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; }
.stories::-webkit-scrollbar { display: none; }
.story { flex-shrink: 0; width: 76px; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--ink); font-size: 12px; font-weight: 600; text-align: center; }
.story:hover { color: var(--ink); }
.story-ring { width: 68px; height: 68px; border-radius: 50%; padding: 3px; background: var(--gold); }
.story-ring span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; border: 3px solid #fff; background: var(--green); color: #fff; font-family: var(--display); font-weight: 800; font-size: 20px; }
.story-add .story-ring { background: transparent; border: 2px dashed #AEB8B1; padding: 0; display: grid; place-items: center; color: var(--muted); }
.story-name { max-width: 76px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Composer ---------- */
.composer-row { display: flex; gap: 12px; align-items: center; }
.composer-input { flex: 1; height: 48px; border-radius: 999px; background: var(--soft); padding: 0 18px; display: flex; align-items: center; color: var(--muted); min-width: 0; }
.composer-input:hover { color: var(--ink); background: #E9ECE7; }
.quick { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.quick a { height: 38px; padding: 0 14px; border-radius: 999px; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.quick a::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

/* ---------- Post card ---------- */
.post { background: var(--card); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.post-head { display: flex; align-items: center; gap: 12px; }
.post-who { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.post-name { font-weight: 700; display: flex; align-items: center; gap: 5px; color: var(--ink); }
.post-name:hover { color: var(--ink); text-decoration: underline; }
.post-where { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.post-where a { color: var(--muted); }
.post-where a:hover { color: var(--ink); text-decoration: underline; }
.post-title { font-family: var(--display); font-size: 21px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.post-title:hover { color: var(--green-dark); }
.post-body { margin: 0; font-size: 16px; line-height: 1.55; white-space: pre-line; word-wrap: break-word; }
.featured-tag { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: #1A1206; background: var(--gold); padding: 4px 8px; border-radius: 6px; }

.tbadge { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.t-news, .t-announcement, .t-general { background: #E6EAF0; color: #2C3A4F; }
.t-photo { background: #E4ECF6; color: #1F4E8C; }
.t-video { background: #F8E4DF; color: #9A2E18; }
.t-event { background: #EEE4F3; color: #5B2C75; }
.t-job, .t-opportunity { background: var(--green-soft); color: var(--green-text); }
.t-business, .t-service { background: #F6ECD8; color: #6E4700; }
.t-property { background: #E3EEEA; color: #2F5547; }
.t-lost_found, .t-community { background: #ECEFEA; color: #26322C; }
.t-traffic, .t-safety { background: #9A2E18; color: #fff; }

.media-grid { display: grid; gap: 4px; border-radius: 16px; overflow: hidden; }
.media-grid.n1 { grid-template-columns: 1fr; }
.media-grid.n2, .media-grid.n3, .media-grid.n4 { grid-template-columns: repeat(2, 1fr); }
.media-grid.n3 > :first-child { grid-row: span 2; }
.media-grid a { position: relative; display: block; background: var(--soft); min-height: 160px; }
.media-grid img { width: 100%; height: 100%; object-fit: cover; max-height: 520px; }
.media-grid.n1 img { max-height: 560px; }
.media-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(15, 26, 20, .55); color: #fff; font-family: var(--display); font-size: 26px; font-weight: 800; }
.video { border-radius: 16px; overflow: hidden; background: #000; position: relative; }
.vwm { position: absolute; top: 10px; right: 12px; z-index: 2; pointer-events: none; color: rgba(255,255,255,.85); font-weight: 800; font-size: 13px; letter-spacing: .02em; text-shadow: 0 1px 3px rgba(0,0,0,.7); background: rgba(0,0,0,.22); padding: 2px 8px; border-radius: 8px; }
.reel > .vwm { top: calc(64px + env(safe-area-inset-top)); right: 14px; }
.video video { width: 100%; max-height: 560px; }

.highlight { background: var(--ink); color: #fff; border-radius: 16px; padding: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.highlight h3 { font-size: 22px; }
.highlight .sub { color: #C9D2CC; font-size: 14px; }
.highlight .money { font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--gold); }

.post-stats { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); gap: 8px; }
.post-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; border-top: 1px solid #ECEFEA; padding-top: 8px; }
.act { height: 42px; border-radius: 12px; border: 0; background: transparent; color: var(--ink-2); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.act:hover { background: var(--soft-2); color: var(--ink); }
.act.on-like { background: var(--red-soft); color: var(--red); }
.act.on-save { background: var(--green-soft); color: var(--green-text); }

/* ---------- Sidebar ---------- */
.side-dark { background: var(--ink); color: #fff; }
.side-dark .card-title { color: #fff; }
.trend { display: flex; gap: 14px; padding-top: 12px; border-top: 1px solid #26352D; color: #fff; }
.trend:hover { color: #fff; }
.trend:hover .trend-title { text-decoration: underline; }
.trend-n { font-family: var(--display); font-size: 22px; font-weight: 800; color: var(--gold); width: 22px; flex-shrink: 0; }
.trend-tag { font-size: 12px; color: #A9B5AE; }
.trend-title { font-weight: 600; line-height: 1.35; }
.follow-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; color: var(--ink); }
.follow-row:hover { color: var(--ink); }
.city-dot { width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; flex-shrink: 0; }
.new-pill { font-size: 12px; font-weight: 700; color: var(--green-text); background: var(--green-soft); padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.biz-row { display: flex; align-items: center; gap: 10px; }
.cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.cloud a { font-size: 12px; padding: 6px 10px; border-radius: 999px; background: var(--soft); color: var(--ink-2); }
.cloud a:hover { background: #E3E8E1; color: var(--ink); }
.footer-note { font-size: 12px; color: var(--muted); line-height: 1.6; padding: 0 6px; }

/* ---------- Place pages ---------- */
.hero { border-radius: var(--radius); overflow: hidden; background: var(--card); }
.hero-cover { height: 180px; background: linear-gradient(135deg, #1E5B47, #0B6E4F 55%, #2F5547); position: relative; }
.hero-cover img { width: 100%; height: 100%; object-fit: cover; }
.hero-body { padding: 18px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; }
.hero h1 { font-size: 34px; font-weight: 800; }
.count-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.count-grid a { background: var(--card); border-radius: 14px; padding: 12px 8px; text-align: center; color: var(--ink); }
.count-grid a:hover { box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.count-grid b { display: block; font-family: var(--display); font-size: 22px; }
.count-grid span { font-size: 12px; color: var(--muted); }
.state-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.state-grid a { background: var(--card); border-radius: 16px; padding: 16px; color: var(--ink); display: flex; flex-direction: column; gap: 2px; }
.state-grid a:hover { box-shadow: inset 0 0 0 2px var(--green); color: var(--ink); }
.state-grid b { font-family: var(--display); font-size: 18px; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.input, .select, .textarea { width: 100%; height: 48px; border-radius: 12px; border: 1px solid #CDD4CE; background: #fff; padding: 0 14px; font: inherit; color: var(--ink); }
.textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.error { color: var(--red); font-size: 13px; font-weight: 600; }
.hint { font-size: 13px; color: var(--muted); }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.type-opt { position: relative; }
.type-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.type-opt span { display: flex; flex-direction: column; gap: 8px; min-height: 64px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; }
.type-opt input:checked + span { border: 2px solid var(--ink); background: var(--soft-2); padding: 9px 11px; }
.type-opt input:focus-visible + span { outline: 2px solid var(--green); }
.type-opt i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.upload { border: 2px dashed #C3CBC4; border-radius: 16px; padding: 18px; text-align: center; background: var(--soft-2); display: block; cursor: pointer; }
.upload:hover { border-color: var(--green); }
.previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; margin-top: 10px; }
.previews img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.notice { background: var(--soft); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--ink-2); }
.alert { border-radius: 14px; padding: 12px 16px; font-weight: 600; }
.alert-ok { background: var(--green-soft); color: var(--green-text); }
.alert-err { background: var(--red-soft); color: var(--red); }
.auth-wrap { min-height: calc(100vh - 67px); display: grid; place-items: center; padding: 30px 16px 90px; }
.auth-card { width: 100%; max-width: 460px; }
.auth-card h1 { font-size: 30px; margin-bottom: 6px; }

/* comments */
.comment { display: flex; gap: 10px; align-items: flex-start; }
.comment-bubble { background: var(--soft-2); border-radius: 16px; padding: 10px 14px; font-size: 14px; line-height: 1.45; flex: 1; min-width: 0; word-wrap: break-word; }
.comment-meta { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* status badges on "My updates" */
.sbadge { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.s-pending { background: #FFF3D6; color: #7A5200; }
.s-approved { background: var(--green-soft); color: var(--green-text); }
.s-rejected { background: var(--red-soft); color: var(--red); }
.s-hidden, .s-draft { background: var(--soft); color: var(--muted); }
.my-row { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-top: 1px solid #ECEFEA; }
.my-row:first-child { border-top: 0; }
.my-thumb { width: 64px; height: 64px; border-radius: 12px; background: var(--soft); object-fit: cover; flex-shrink: 0; }

.empty { text-align: center; padding: 40px 20px; }
.empty h3 { font-size: 22px; margin-bottom: 6px; }
.load-more { align-self: center; }
.pager { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; }

/* toast + mobile nav */
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; opacity: 0; pointer-events: none; transition: all .2s; z-index: 60; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.bottom-nav { display: none; }
.user-menu { position: relative; }
.dropdown { position: absolute; right: 0; top: 52px; background: #fff; border-radius: 16px; box-shadow: 0 12px 32px rgba(15, 26, 20, .16); padding: 8px; min-width: 210px; z-index: 50; }
.dropdown a, .dropdown button { display: flex; width: 100%; align-items: center; min-height: 42px; padding: 0 12px; border-radius: 10px; color: var(--ink); background: none; border: 0; font-size: 15px; text-align: left; }
.dropdown a:hover, .dropdown button:hover { background: var(--soft-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .layout > .left { display: none; }
}
@media (max-width: 860px) {
  body { font-size: 15px; }
  .layout, .layout.two { grid-template-columns: minmax(0, 1fr); padding: 12px 10px 100px; gap: 12px; }
  .layout > .right { display: none; }
  .topbar-inner { padding: 8px 12px; gap: 8px; }
  .logo-text { display: none; }
  .hide-sm { display: none !important; }
  .post, .card { padding: 14px; border-radius: 18px; }
  .post-actions { grid-template-columns: repeat(4, 1fr); }
  .act span.lbl { display: none; }
  .grid2, .grid3 { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: 28px; }
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; position: fixed; left: 0; right: 0; bottom: 0; height: 68px; background: #fff; border-top: 1px solid var(--line); z-index: 45; padding-bottom: env(safe-area-inset-bottom); }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: var(--muted-2); }
  .bottom-nav a.active { color: var(--green); font-weight: 700; }
  .bottom-nav .plus { justify-self: center; width: 50px; height: 50px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
}

/* icons in menus, tabs and buttons */
.menu .mi { width: 32px; height: 32px; border-radius: 10px; background: var(--soft-2); display: grid; place-items: center; flex-shrink: 0; }
.menu a.active .mi { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.chip svg, .quick a svg { flex-shrink: 0; }
.quick a.has-icon::before, .quick a:has(svg)::before { display: none; }
.dropdown a svg, .dropdown button svg { margin-right: 10px; color: var(--muted); flex-shrink: 0; }

/* ---------- Logo & header links ---------- */
.logo { gap: 0; }
.logo-word img { height: 32px; width: auto; display: block; }
.logo-icon { display: none; width: 40px; height: 40px; border-radius: 50%; }
.top-links { display: flex; gap: 4px; }
.top-links a { padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: 14px; }
.top-links a:hover, .top-links a.on { background: var(--soft); color: var(--ink); }
@media (max-width: 1100px) { .hide-md { display: none !important; } }
@media (max-width: 860px) {
  .logo-word { display: none; }
  .logo-icon { display: block; }
}

/* ---------- Hashtags ---------- */
.hashtag { color: var(--green); font-weight: 600; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--green-soft); color: var(--green-text); font-weight: 600; font-size: 14px; }
.tag-chip span { font-weight: 500; font-size: 12px; color: var(--muted); }
.tag-chip b { font-family: var(--display); color: var(--ink); }
.tag-chip:hover { background: #CDEADB; color: var(--green-dark); }
.tag-cloud.big .tag-chip { font-size: 15px; padding: 9px 14px; }
.chip.tagc { color: var(--green-text); font-weight: 600; }
.state-tags { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }

/* ---------- Place search & add-your-town ---------- */
.place-search { position: relative; }
.search-results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border-radius: 16px; box-shadow: 0 14px 34px rgba(15, 26, 20, .18); padding: 6px; z-index: 30; max-height: 360px; overflow: auto; }
.sr-row { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 10px; color: var(--ink); }
.sr-row:hover { background: var(--soft-2); color: var(--ink); }
.linkish { background: none; border: 0; padding: 0; color: var(--green); font-size: 14px; text-align: left; }
.linkish:hover { text-decoration: underline; }
.add-place { background: var(--soft-2); border-radius: 14px; padding: 14px; }

/* ---------- Businesses, products, booking ---------- */
.avatar.xl { width: 76px; height: 76px; font-size: 26px; border-radius: 20px; }
.premium-tag { font-size: 11px; font-weight: 800; letter-spacing: .06em; color: #1A1206; background: var(--gold); padding: 4px 8px; border-radius: 6px; white-space: nowrap; }
.biz-list { display: flex; gap: 14px; align-items: center; color: var(--ink); }
.biz-list:hover { box-shadow: inset 0 0 0 2px var(--green); color: var(--ink); }
.contact-row { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 18px 18px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.product-card { background: var(--card); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; color: var(--ink); }
.product-card:hover { box-shadow: inset 0 0 0 2px var(--green); color: var(--ink); }
.product-img { position: relative; aspect-ratio: 1; background: var(--soft); display: block; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.sold-tag { position: absolute; top: 8px; left: 8px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 6px; }
.product-body { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px 12px; }
.price { font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--green-text); }
.product-title { font-weight: 600; font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gallery { border-radius: 16px; overflow: hidden; background: var(--soft); }
.gallery img { width: 100%; max-height: 560px; object-fit: contain; }
.thumbs { display: flex; gap: 6px; margin-top: 8px; overflow-x: auto; }
.thumbs button { border: 2px solid transparent; padding: 0; border-radius: 10px; overflow: hidden; background: none; flex-shrink: 0; }
.thumbs button.on { border-color: var(--ink); }
.thumbs img { width: 64px; height: 64px; object-fit: cover; }
.service-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #ECEFEA; }
.service-row:first-child { border-top: 0; }
.service-opt { position: relative; }
.service-opt input { position: absolute; opacity: 0; inset: 0; }
.service-opt > span { display: flex; flex-direction: column; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); cursor: pointer; }
.service-opt input:checked + span { border: 2px solid var(--ink); background: var(--soft-2); padding: 11px 13px; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 8px; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; inset: 0; }
.slot span { display: grid; place-items: center; height: 44px; border-radius: 10px; border: 1px solid var(--line); font-weight: 700; cursor: pointer; }
.slot input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.slot input:focus-visible + span, .service-opt input:focus-visible + span { outline: 2px solid var(--green); }
.date-box { width: 54px; flex-shrink: 0; text-align: center; background: #EEE4F3; color: #5B2C75; border-radius: 12px; padding: 6px 0; line-height: 1.1; }
.date-box span { display: block; font-size: 11px; font-weight: 700; }
.date-box b { font-family: var(--display); font-size: 20px; }
.hours { width: 100%; border-collapse: collapse; font-size: 14px; }
.hours td { padding: 6px 0; border-top: 1px solid #ECEFEA; }
.hours td:last-child { text-align: right; color: var(--ink-2); }
.hours tr.today td { font-weight: 700; color: var(--green-text); }
.hours-row { display: grid; grid-template-columns: 110px 1fr 1fr auto; gap: 8px; align-items: center; }
.count-dot { background: var(--red); color: #fff; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; margin-left: 4px; }
@media (max-width: 860px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .hours-row { grid-template-columns: 1fr 1fr; }
  .hours-row b { grid-column: 1 / -1; }
  .avatar.xl { width: 60px; height: 60px; }
}
.claim-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: #FFF8E6; box-shadow: inset 0 0 0 1px #F2D48B; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.plan { display: flex; flex-direction: column; gap: 6px; }
.plan.best { box-shadow: inset 0 0 0 2px var(--gold); }
.plan-name { font-size: 15px; }
.plan-price { font-family: var(--display); font-size: 30px; font-weight: 800; }
.plan .btn { margin-top: 8px; }

/* =====================================================================
   v7 — calmer, modern look (overrides earlier rules)
   ===================================================================== */
:root { --bg: #F5F6F3; --line: #E7EAE5; --shadow: 0 1px 2px rgba(15, 26, 20, .05), 0 4px 16px rgba(15, 26, 20, .04); }
body { background: var(--bg); }
.card, .post, .hero { box-shadow: var(--shadow); }
.topbar { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom-color: var(--line); }
.topbar-inner { max-width: 1180px; gap: 14px; }
.search { height: 42px; max-width: 460px; background: #F0F2EE; }
.top-actions .btn { height: 40px; }

/* Home layout: one calm feed + one quiet sidebar */
.home { max-width: 1080px; margin: 0 auto; padding: 28px 20px 100px; display: grid; grid-template-columns: minmax(0, 660px) 300px; gap: 48px; justify-content: center; align-items: start; }
.home-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

.welcome { padding: 8px 0 6px; }
.welcome h1 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; max-width: 560px; }
.welcome p { color: var(--muted); font-size: 17px; margin: 12px 0 18px; max-width: 520px; }
.welcome-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.hello { display: flex; flex-direction: column; gap: 14px; }
.hello h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.hello p { margin: 4px 0 0; color: var(--muted); }
.composer-pill { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 999px; padding: 8px 8px 8px 10px; box-shadow: var(--shadow); color: var(--muted); }
.composer-pill:hover { color: var(--ink); box-shadow: 0 0 0 2px var(--green-soft), var(--shadow); }
.composer-pill > span:nth-child(2) { flex: 1; }
.composer-plus { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }

.stories-lite { gap: 16px; padding: 2px 0; background: none; box-shadow: none; }
.stories-lite .story-ring { width: 60px; height: 60px; }
.stories-lite .story { width: 66px; }

.feed-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.seg { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg a { padding: 12px 0; color: var(--muted); font-weight: 600; font-size: 15px; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.seg a:hover { color: var(--ink); }
.seg a.on { color: var(--ink); border-bottom-color: var(--ink); }
.filter { position: relative; flex-shrink: 0; }
.filter-btn { display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.filter-btn.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.link-btn { font-weight: 600; font-size: 14px; padding: 12px 0; }

/* Post card — lighter */
.post { padding: 18px 20px; gap: 10px; border-radius: 18px; }
.post-head { gap: 11px; }
.post-head .avatar { width: 40px; height: 40px; font-size: 14px; }
.post-name { font-size: 15px; }
.post-where { font-size: 13px; gap: 5px; }
.post-tags { display: flex; align-items: center; gap: 6px; margin-left: auto; flex-shrink: 0; }
.type-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); background: none !important; padding: 0; }
.type-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.type-dot.t-news, .type-dot.t-announcement, .type-dot.t-general { color: #2C3A4F; }
.type-dot.t-photo { color: #1F4E8C; } .type-dot.t-video { color: #B4361F; } .type-dot.t-event { color: #7A3E9D; }
.type-dot.t-job, .type-dot.t-opportunity { color: #0B6E4F; } .type-dot.t-business, .type-dot.t-service { color: #8A5A00; }
.type-dot.t-property { color: #2F5547; } .type-dot.t-traffic, .type-dot.t-safety { color: #B4361F; } .type-dot.t-lost_found, .type-dot.t-community { color: #4A5650; }
.mini-tag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--soft); color: var(--muted); }
.mini-tag.gold { background: #FFF1CF; color: #7A5200; }
.post-title { font-size: 19px; }
.post-body { font-size: 15.5px; color: #1E2A23; }
.media-grid, .video { border-radius: 14px; }
.highlight { border-radius: 14px; padding: 16px; }
.post-actions { display: flex; align-items: center; gap: 2px; border-top: 0; padding-top: 0; margin: 0 -8px -6px; }
.act { height: 38px; padding: 0 10px; border-radius: 999px; color: var(--muted-2); font-size: 13px; gap: 6px; }
.act:hover { background: var(--soft-2); color: var(--ink); }
.act.on-like { background: transparent; color: var(--red); }
.act.on-save { background: transparent; color: var(--green); }
.act-views { font-size: 12px; color: var(--muted-2); margin-left: auto; padding: 0 6px; }
.act-save { margin-left: 0; }

/* Sidebar — quiet, sticky */
.home-side { position: sticky; top: 86px; display: flex; flex-direction: column; gap: 26px; }
.side-block h2, .side-head h2 { font-family: var(--display); font-size: 17px; font-weight: 700; margin: 0; }
.side-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.side-head a { font-size: 13px; font-weight: 600; }
.side-empty { font-size: 14px; color: var(--muted); margin: 0; }
.trend-list { list-style: none; margin: 0; padding: 0; }
.trend-list a { display: grid; grid-template-columns: 22px 1fr; grid-template-rows: auto auto; column-gap: 8px; padding: 8px 0; color: var(--ink); border-top: 1px solid var(--line); }
.trend-list li:first-child a { border-top: 0; }
.trend-list .n { grid-row: span 2; font-family: var(--display); font-weight: 800; color: var(--muted-2); }
.trend-list .t { font-weight: 700; color: var(--green-text); }
.trend-list .c { font-size: 12px; color: var(--muted); }
.trend-list a:hover .t { text-decoration: underline; }
.place-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; color: var(--ink); }
.place-row:hover { color: var(--ink); }
.place-row:hover .place-name { text-decoration: underline; }
.place-dot { width: 34px; height: 34px; border-radius: 50%; background: var(--green-soft); color: var(--green-text); display: grid; place-items: center; font-weight: 800; font-family: var(--display); flex-shrink: 0; }
.place-name { display: flex; flex-direction: column; flex: 1; min-width: 0; font-weight: 600; font-size: 14px; }
.place-name small { font-weight: 400; color: var(--muted); font-size: 12px; }
.side-links { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; }
.side-links a { color: var(--muted); }
.side-links a:hover { color: var(--ink); }
.side-foot { font-size: 12px; color: var(--muted-2); margin: -14px 0 0; }
.side-foot a { color: var(--muted-2); text-decoration: underline; }

@media (max-width: 980px) {
  .home { grid-template-columns: minmax(0, 660px); gap: 0; }
  .home-side { display: none; }
}
@media (max-width: 860px) {
  .home { padding: 16px 12px 100px; }
  .post { padding: 14px 14px; border-radius: 16px; }
  .welcome h1 { font-size: 30px; }
  .hello h1 { font-size: 23px; }
  .seg { gap: 18px; }
  .act-views { display: none; }
  .act-save { margin-left: auto; }
}
.install-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; width: min(520px, calc(100% - 24px)); background: #fff; border-radius: 18px; box-shadow: 0 12px 40px rgba(15, 26, 20, .2); padding: 12px 12px 12px 14px; display: flex; align-items: center; gap: 12px; z-index: 55; }
.install-bar img { border-radius: 50%; flex-shrink: 0; }
.install-text { display: flex; flex-direction: column; flex: 1; min-width: 0; font-size: 13px; color: var(--muted); }
.install-text b { color: var(--ink); font-size: 15px; }
@media (max-width: 860px) { .install-bar { bottom: 80px; } }

/* =====================================================================
   v9 — calm inner pages + smaller images
   ===================================================================== */
.layout, .layout.two { max-width: 1080px; grid-template-columns: minmax(0, 660px) 300px; gap: 48px; justify-content: center; padding-top: 28px; }
.layout.narrow { max-width: 720px; grid-template-columns: minmax(0, 680px); }
.layout > .right .card, .layout > aside .card { box-shadow: none; background: #fff; border: 1px solid var(--line); }
.layout .home-side { position: sticky; top: 86px; }

/* Page header (places, businesses) */
.page-head { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.page-cover { height: 120px; background: linear-gradient(120deg, #0F1A14 0%, #1E5B47 55%, #0B6E4F 100%); }
.page-cover img { width: 100%; height: 100%; object-fit: cover; }
.page-info { display: flex; align-items: flex-end; gap: 14px; padding: 0 20px 14px; margin-top: -34px; flex-wrap: wrap; }
.page-badge { width: 72px; height: 72px; border-radius: 50%; border: 4px solid #fff; background: var(--green); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 28px; overflow: hidden; flex-shrink: 0; box-shadow: 0 2px 8px rgba(15, 26, 20, .12); }
.page-badge.sq { border-radius: 18px; background: var(--ink); }
.page-badge img { width: 100%; height: 100%; object-fit: cover; }
.page-text { flex: 1; min-width: 200px; padding-bottom: 2px; }
.page-text h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.page-meta { font-size: 14px; color: var(--muted); margin-top: 3px; }
.page-meta a { color: var(--muted); text-decoration: underline; text-decoration-color: #C9D0CA; }
.page-actions { display: flex; gap: 8px; padding-bottom: 2px; }
.page-below { padding: 0 20px 16px; }
.page-tabs { padding: 0 20px; border-top: 1px solid var(--line); }
.page-tabs-plain { border-bottom: 1px solid var(--line); }

/* Simple intro headings for list pages */
.intro h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.intro p { color: var(--muted); margin: 6px 0 14px; }
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-bar .input { flex: 2 1 220px; height: 44px; }
.filter-bar .select { flex: 1 1 140px; width: auto; height: 44px; }
.filter-bar .btn { height: 44px; }

/* Lists */
.list-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 4px 16px; }
.list-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); }
.list-row:first-child { border-top: 0; }
a.list-row:hover .place-name { text-decoration: underline; }
.list-row > svg { color: var(--muted-2); transform: rotate(-90deg); flex-shrink: 0; }
.list-more { display: block; text-align: center; padding: 12px 0; border-top: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.state-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.state-list a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border-radius: 14px; color: var(--ink); box-shadow: var(--shadow); }
.state-list a:hover { box-shadow: 0 0 0 2px var(--green-soft), var(--shadow); color: var(--ink); }
.state-list a > svg { color: var(--muted-2); transform: rotate(-90deg); }
.plain-block { background: #fff; border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow); }
.plain-block h2 { font-size: 17px; margin: 0 0 12px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 6px; }
.pill-list a { padding: 7px 12px; border-radius: 999px; background: var(--soft); color: var(--ink-2); font-size: 14px; }
.pill-list a:hover { background: #E4E8E2; color: var(--ink); }
.small-pills a { font-size: 13px; padding: 5px 10px; }
.stat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.stat-list a { padding: 8px 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-size: 13px; }
.stat-list b { font-family: var(--display); font-size: 17px; color: var(--ink); margin-right: 2px; }
.feed-title { font-family: var(--display); font-weight: 700; font-size: 16px; padding: 10px 0; }
.profile-top { display: flex; align-items: center; gap: 14px; }
.profile-top h1 { font-size: 26px; font-weight: 800; }

/* Smaller, tidier images */
.media-grid { max-height: 380px; }
.media-grid a { min-height: 0; }
.media-grid.n1 img { width: 100%; height: auto; max-height: 380px; object-fit: cover; aspect-ratio: auto; }
.media-grid.n2 a, .media-grid.n3 a, .media-grid.n4 a { height: 188px; }
.media-grid.n3 > :first-child { height: 380px; }
.media-grid.n2 a { height: 260px; }
.media-grid.full { max-height: none; }
.media-grid.full img { max-height: 520px; object-fit: contain; background: var(--soft); }
.video video { max-height: 380px; }
.gallery img { max-height: 440px; }
.product-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.product-img { aspect-ratio: 4 / 3; }
.hero-cover { height: 130px; }
.previews { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }

@media (max-width: 980px) {
  .layout, .layout.two { grid-template-columns: minmax(0, 660px); gap: 0; }
  .layout > aside, .layout .home-side { display: none; }
}
@media (max-width: 860px) {
  .layout, .layout.two, .layout.narrow { padding: 14px 10px 100px; }
  .page-cover { height: 96px; }
  .page-info { padding: 0 14px 12px; margin-top: -28px; }
  .page-badge { width: 60px; height: 60px; font-size: 22px; }
  .page-text h1 { font-size: 22px; }
  .page-below, .page-tabs { padding-left: 14px; padding-right: 14px; }
  .media-grid, .media-grid.n1 img { max-height: 300px; }
  .media-grid.n2 a, .media-grid.n2 a { height: 180px; }
  .media-grid.n3 a, .media-grid.n4 a { height: 140px; }
  .media-grid.n3 > :first-child { height: 284px; }
  .video video { max-height: 300px; }
  .gallery img { max-height: 320px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .state-list { grid-template-columns: 1fr 1fr; }
  .profile-top h1 { font-size: 21px; }
}

/* v10 — per-type post details */
.type-intro { margin: -4px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--green-soft); color: var(--green-text); font-size: 14px; }
.type-fields { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px 16px; margin: 0; }
.type-fields legend { font-weight: 700; font-size: 14px; padding: 0 6px; }
.cal-chip { background: #fff; color: var(--ink); border-radius: 12px; width: 56px; text-align: center; padding: 6px 0; flex-shrink: 0; line-height: 1.1; }
.cal-chip span { display: block; font-size: 11px; font-weight: 700; color: #5B2C75; }
.cal-chip b { font-family: var(--display); font-size: 22px; }
.facts { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.facts dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 16px; }
.facts dt { font-size: 12px; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; font-size: 14px; }
.facts-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.facts-actions .btn { height: 36px; font-size: 14px; }
.lf-tag { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .06em; padding: 3px 10px; border-radius: 6px; }
.lf-lost { background: var(--red-soft); color: var(--red); }
.lf-found { background: var(--green-soft); color: var(--green-text); }
.alert-box { border-radius: 14px; padding: 12px 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px 16px; border-left: 5px solid #E9A23B; background: #FFF6E5; }
.alert-box div { display: flex; flex-direction: column; }
.alert-box span { font-size: 12px; color: var(--muted); }
.alert-box b { font-size: 14px; }
.alert-box.lvl-emergency, .alert-box.lvl-severe { border-left-color: var(--red); background: var(--red-soft); }
.alert-box.lvl-advisory, .alert-box.lvl-light { border-left-color: #3D6B8F; background: #EAF1F8; }

/* v11 — wallet, tips, boosts */
.wallet-card { background: linear-gradient(135deg, #0F1A14, #1E5B47); color: #fff; border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow); }
.wallet-card .small { color: #B9DCCD; }
.wallet-balance { font-family: var(--display); font-size: 40px; font-weight: 800; letter-spacing: -0.02em; }
.tip-presets { display: flex; gap: 6px; flex-wrap: wrap; }
.tip-presets .chip { background: var(--soft); height: 34px; }
.tip-presets .chip.active { background: var(--ink); color: #fff; }
.tip-wrap { position: relative; }
.tip-pop { position: absolute; bottom: 44px; left: 0; width: 240px; background: #fff; border-radius: 16px; box-shadow: 0 14px 36px rgba(15, 26, 20, .2); padding: 12px; display: flex; flex-direction: column; gap: 8px; z-index: 20; }
.lbl-sm { font-size: 13px; }
.act-tips { font-size: 12px; font-weight: 700; color: #8A5A00; padding: 0 6px; }
.act-boost { color: #8A5A00; }
.post-flag { font-size: 12px; font-weight: 700; color: var(--muted); margin: -4px 0 -2px; }
.post-flag.gold { color: #8A5A00; }
.post.is-highlighted { box-shadow: 0 0 0 2px #F2B84B, var(--shadow); background: linear-gradient(#FFFDF6, #fff 120px); }
.boost-total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); }
.boost-total b { font-family: var(--display); font-size: 28px; }
@media (max-width: 860px) { .tip-pop { left: -60px; } }

/* v12 — chat, people */
.msg-btn { position: relative; }
.msg-dot { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.chat-row.unread .place-name { font-weight: 800; }
.chat-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; color: var(--muted); }
.chat-wrap { max-width: 720px; margin: 0 auto; height: calc(100vh - 67px); display: flex; flex-direction: column; background: #fff; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.chat-head .icon-btn svg { transform: rotate(90deg); }
.chat-who { display: flex; align-items: center; gap: 10px; color: var(--ink); flex: 1; min-width: 0; }
.chat-product { display: flex; gap: 10px; align-items: center; padding: 8px 14px; background: var(--soft-2); border-bottom: 1px solid var(--line); color: var(--ink); }
.chat-product img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.chat-product span, .bubble-product span { display: flex; flex-direction: column; font-size: 14px; }
.chat-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 6px; background: var(--bg); }
.chat-day { text-align: center; font-size: 12px; color: var(--muted); margin: 10px 0 4px; }
.bubble-row { display: flex; }
.bubble-row.mine { justify-content: flex-end; }
.bubble { max-width: 78%; background: #fff; border-radius: 16px 16px 16px 4px; padding: 8px 12px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; white-space: pre-wrap; word-wrap: break-word; font-size: 15px; }
.bubble-row.mine .bubble { background: var(--ink); color: #fff; border-radius: 16px 16px 4px 16px; }
.bubble small { align-self: flex-end; font-size: 11px; opacity: .65; }
.bubble-product { display: flex; gap: 8px; align-items: center; padding: 6px; border-radius: 10px; background: rgba(127, 127, 127, .12); color: inherit; }
.bubble-product img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.chat-form { display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.chat-form textarea { resize: none; height: 46px; padding-top: 12px; border-radius: 999px; }
.profile-stats { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.profile-stats b { font-family: var(--display); }
a.post-name { color: var(--ink); }
@media (max-width: 860px) { .chat-wrap { height: calc(100vh - 61px - 68px); } }

/* v13 — reactions, polls, Q&A, jobs */
.react-wrap { position: relative; display: flex; align-items: center; }
.react-more { padding: 0 6px; font-size: 11px; }
.react-pop { position: absolute; bottom: 44px; left: 0; display: flex; gap: 2px; background: #fff; border-radius: 999px; padding: 6px; box-shadow: 0 10px 30px rgba(15, 26, 20, .2); z-index: 20; }
.react-pop button { width: 38px; height: 38px; border: 0; background: none; border-radius: 50%; font-size: 22px; transition: transform .12s; }
.react-pop button:hover, .react-pop button.on { transform: scale(1.25); background: var(--soft); }
.react-top { font-size: 13px; letter-spacing: -3px; margin-left: 2px; }
.poll { display: flex; flex-direction: column; gap: 8px; }
.poll-opt { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: inherit; font-weight: 600; text-align: left; color: var(--ink); }
.poll-opt:hover:not(:disabled) { border-color: var(--green); }
.poll-bar { position: absolute; inset: 0 auto 0 0; background: var(--green-soft); transition: width .4s ease; z-index: 0; }
.poll-opt.mine .poll-bar { background: #BFE3D1; }
.poll-label, .poll-pct { position: relative; z-index: 1; }
.poll-opt.mine .poll-label::after { content: ' ✓'; color: var(--green-text); }
.q-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: #EAF1F8; font-size: 14px; }
.comment.is-best .comment-bubble { box-shadow: inset 0 0 0 2px var(--green); background: #F2FAF6; }
.best-tag { display: inline-block; font-size: 11px; font-weight: 800; color: #fff; background: var(--green); padding: 2px 8px; border-radius: 6px; margin-bottom: 4px; }
.comment-actions { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.comment-actions button { background: none; border: 0; padding: 2px 0; font-size: 12px; color: var(--muted); font-weight: 600; }
.comment-actions button:hover { color: var(--ink); }
.comment-actions .rate { display: inline-flex; gap: 10px; }
.comment-actions button.on { color: var(--green-text); }
.comment-actions button.on-bad { color: var(--red); }
.comment-actions .tip-pop { bottom: 26px; }

/* v14 — announcement bar, ads, footer, reports, pages */
.announce { display: flex; align-items: center; gap: 8px; padding: 0 10px; height: 36px; font-size: 14px; font-weight: 600; overflow: hidden; }
.announce a, .announce span { color: inherit; white-space: nowrap; }
.announce button { margin-left: auto; background: none; border: 0; color: inherit; opacity: .7; flex-shrink: 0; }
.announce-track { flex: 1; overflow: hidden; }
.announce-track.scroll > * { display: inline-block; padding-left: 100%; animation: ann-scroll 22s linear infinite; }
.announce:hover .announce-track.scroll > * { animation-play-state: paused; }
@keyframes ann-scroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .announce-track.scroll > * { animation: none; padding-left: 0; } }
.a-dark { background: var(--ink); color: #fff; }
.a-green { background: var(--green); color: #fff; }
.a-gold { background: var(--gold); color: #1A1206; }
.a-red { background: var(--red); color: #fff; }
.ad-slot { position: relative; text-align: center; overflow: hidden; border-radius: 14px; }
.ad-slot img { max-width: 100%; height: auto; margin: 0 auto; border-radius: 12px; }
.ad-header { max-width: 1080px; margin: 12px auto 0; padding: 0 20px; }
.ad-feed { background: #fff; padding: 10px; box-shadow: var(--shadow); }
.ad-label { display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; }
.site-footer { max-width: 1080px; margin: 0 auto; padding: 24px 20px 110px; text-align: center; font-size: 13px; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-bottom: 8px; }
.site-footer a { color: var(--muted); }
.report-link { background: none; border: 0; color: var(--muted-2); font-size: 13px; padding: 0 4px; }
.post-tags .report-link { font-size: 18px; line-height: 1; padding: 0 2px 6px; }
.modal-back { position: fixed; inset: 0; background: rgba(15, 26, 20, .45); display: grid; place-items: center; z-index: 80; padding: 16px; }
.modal { background: #fff; border-radius: 20px; padding: 20px; width: min(420px, 100%); max-height: 90vh; overflow: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.legal { font-size: 15.5px; line-height: 1.7; }
.legal h1 { font-size: 30px; margin-bottom: 12px; }
.legal h2 { font-size: 19px; margin: 22px 0 8px; }
.legal ul { padding-left: 20px; }
.legal a { text-decoration: underline; }

/* v16 — widgets, weather, rates */
.side-block.weather-w { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(135deg, #E8F3FB, #F3F8EE); color: var(--ink); }
.ww-icon { font-size: 34px; line-height: 1; }
.ww-main { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ww-main b { font-family: var(--display); font-size: 24px; line-height: 1.1; }
.ww-main small, .ww-hl { font-size: 12px; color: var(--muted); }
.mini-post { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-top: 1px solid var(--line); color: var(--ink); }
.side-head + .mini-post { border-top: 0; }
.mini-post b { font-size: 14px; font-weight: 600; line-height: 1.35; }
.mini-post .c, .ad-cta .c { font-size: 12px; color: var(--muted); }
.mini-post:hover b { text-decoration: underline; }
.rates-w { display: block; color: var(--ink); }
.rates-w table { width: 100%; border-collapse: collapse; font-size: 13px; }
.rates-w th { text-align: right; font-weight: 600; color: var(--muted); font-size: 12px; padding-bottom: 4px; }
.rates-w td { text-align: right; padding: 4px 0; border-top: 1px solid var(--line); }
.rates-w td:first-child, .rates-w th:first-child { text-align: left; font-weight: 700; }
.ad-cta { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px dashed #C3CBC4; border-radius: 16px; color: var(--ink); }
.convert-result { font-family: var(--display); font-size: 34px; font-weight: 800; margin: 6px 0; word-break: break-word; }
.weather-big { display: flex; align-items: center; gap: 18px; padding: 24px; border-radius: 22px; background: linear-gradient(135deg, #DCEEFB, #EEF7E8); }
.wb-icon { font-size: 64px; }
.weather-big b { display: block; font-family: var(--display); font-size: 48px; line-height: 1; }
.stat-list-item { padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.stat-list-item b { display: block; color: var(--ink); font-size: 16px; }

/* v18 — adverts */
.ad-slot a { display: block; }
.ad-slot picture, .ad-slot img { display: block; width: 100%; height: auto; border-radius: 14px; }
.ad-in_feed, .ad-post_bottom { background: #fff; border-radius: 18px; padding: 10px; box-shadow: var(--shadow); }
.ad-header-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.ad-header-wrap .ad-slot { margin-top: 12px; }
.ad-header img { max-height: 150px; object-fit: cover; }
.market-ad { grid-column: 1 / -1; }
.ad-placeholder { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 120px; padding: 18px; border: 2px dashed #C3CBC4; border-radius: 16px; background: #FAFBF8; color: var(--ink); text-align: center; }
.ad-placeholder b { font-family: var(--display); font-size: 18px; }
.ad-placeholder span { font-size: 13px; color: var(--muted); max-width: 320px; }
.ad-placeholder:hover { border-color: var(--green); color: var(--ink); }
.ad-sidebar .ad-placeholder { min-height: 140px; }

/* v19 — music */
.track-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); }
.track-row:first-child { border-top: 0; }
.track-row:hover .place-name { text-decoration: underline; }
.track-cover, .player-cover, .album-cover { display: grid; place-items: center; background: linear-gradient(135deg, #1E5B47, #0F1A14); color: #fff; overflow: hidden; flex-shrink: 0; }
.track-cover { width: 48px; height: 48px; border-radius: 10px; font-size: 20px; }
.track-cover img, .player-cover img, .album-cover img { width: 100%; height: 100%; object-fit: cover; }
.price-chip { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #FFF1CF; color: #7A5200; white-space: nowrap; }
.price-chip.free { background: var(--green-soft); color: var(--green-text); }
.player-card { display: flex; gap: 18px; align-items: flex-start; background: #fff; border-radius: 22px; padding: 18px; box-shadow: var(--shadow); flex-wrap: wrap; }
.player-cover { width: 160px; height: 160px; border-radius: 18px; font-size: 54px; }
.player-info { flex: 1; min-width: 240px; display: flex; flex-direction: column; gap: 4px; }
.player-info h1 { font-size: 28px; }
.player-info p { margin: 0; }
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.album-card { display: flex; flex-direction: column; gap: 4px; color: var(--ink); }
.album-cover { aspect-ratio: 1; border-radius: 16px; font-size: 40px; box-shadow: var(--shadow); }
.album-card small { color: var(--muted); font-size: 12px; }
@media (max-width: 860px) { .player-cover { width: 110px; height: 110px; } .player-info h1 { font-size: 22px; } }

/* v20 — movies */
.movie-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.movie-card { display: flex; flex-direction: column; gap: 4px; color: var(--ink); }
.movie-card small { color: var(--muted); font-size: 12px; }
.movie-poster { position: relative; aspect-ratio: 2 / 3; border-radius: 14px; overflow: hidden; display: grid; place-items: center; font-size: 40px; background: linear-gradient(160deg, #2A2F3A, #0F1A14); color: #fff; box-shadow: var(--shadow); }
.movie-poster img { width: 100%; height: 100%; object-fit: cover; }
.movie-poster .price-chip { position: absolute; top: 8px; right: 8px; }
.movie-poster-sm { width: 120px; height: 180px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.progress { height: 10px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--green); transition: width .3s; }

/* v22 — manual payments */
.bank-box { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: #FAFBF8; }
.bank-box .small, .bank-box span:not(.small) { grid-column: 1; }
.bank-box .bank-num { grid-column: 1; font-family: var(--display); font-size: 24px; letter-spacing: .04em; }
.bank-box button { grid-column: 2; grid-row: 1 / span 3; }

/* v23 — news & languages */
.read-source { align-self: flex-start; font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 10px; background: var(--soft); color: var(--ink); }
.read-source:hover { background: #E4E8E2; color: var(--ink); }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.lang-switch select { height: 32px; border-radius: 8px; border: 1px solid var(--line); background: #fff; padding: 0 8px; font: inherit; font-size: 13px; }

/* v24 — self-serve ads */
.ad-price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.ad-price { display: flex; flex-direction: column; gap: 2px; padding: 14px; }
.my-ad { display: flex; gap: 14px; align-items: flex-start; }
.my-ad img { width: 140px; max-height: 110px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
@media (max-width: 600px) { .my-ad { flex-direction: column; } .my-ad img { width: 100%; max-height: 160px; } }

/* v25 — full articles from licensed sources */
.article-body { font-size: 16.5px; line-height: 1.75; color: #1E2A23; }
.article-body p { margin: 0 0 14px; }
.article-body h2, .article-body h3, .article-body h4 { margin: 20px 0 8px; font-size: 19px; }
.article-body blockquote { margin: 14px 0; padding: 8px 14px; border-left: 4px solid var(--green); background: var(--soft-2); }
.article-body a { text-decoration: underline; }
.article-body ul, .article-body ol { padding-left: 22px; margin: 0 0 14px; }
.article-source { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; padding: 12px 14px; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; background: var(--soft-2); font-size: 14px; }
.article-source small { flex-basis: 100%; color: var(--muted); }

/* v26 — rates scrolling with the announcement */
.announce-track.scroll > * { animation-duration: var(--dur, 22s); }
.ticker { display: inline-flex; gap: 36px; white-space: nowrap; }
.ticker a, .ticker span { color: inherit; }
.ticker-rates { display: inline-flex; gap: 28px; }
.ticker-rates span { font-variant-numeric: tabular-nums; }
.announce-track:not(.scroll) .ticker { overflow: hidden; text-overflow: ellipsis; }

/* v27 — mobile apps */
.in-app .web-only { display: none !important; }
.in-app .install-bar { display: none !important; }
.store-badges { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }
.store-badges a { padding: 8px 14px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; font-size: 13px; }
.native-app .topbar { padding-top: env(safe-area-inset-top); }
.danger-zone summary { cursor: pointer; font-weight: 700; color: var(--red); }

/* ===== Delete button on posts (admin / owner) ===== */
.post-del { display: inline; margin: 0; }
.post-del-btn { border: 0; background: none; cursor: pointer; font-size: 15px; line-height: 1; padding: 2px 4px; opacity: .55; }
.post-del-btn:hover { opacity: 1; }

/* ===== Each kind of post gets its own soft background colour ===== */
.post--question     { background: #eefaf2; border-color: #cdeedb; }   /* light green */
.post--poll         { background: #f1f4ff; border-color: #d6defb; }   /* soft blue */
.post--news         { background: #ffffff; }
.post--job          { background: #fff8ec; border-color: #f6e2bd; }   /* warm sand */
.post--event        { background: #fbf1ff; border-color: #ead3f6; }   /* lilac */
.post--safety       { background: #fff2f0; border-color: #f7d2cc; }   /* soft red */
.post--traffic      { background: #fff6e6; border-color: #f5ddb0; }   /* amber */
.post--lost_found   { background: #f4f1ff; border-color: #ddd5fb; }
.post--business, .post--service { background: #f3f8ff; border-color: #d7e6fa; }
.post--property     { background: #f2fbfa; border-color: #cdebe7; }
.post--opportunity  { background: #f6fbea; border-color: #dcedbb; }
.post--announcement { background: #fffbe8; border-color: #f2e6a7; }
.post--community    { background: #f7f5f2; }
.post.is-highlighted { background: #fffaf0; }
/* Questions stand out a little more */
.post--question .post-title::before { content: "❓ "; }
.post--question .post-title { font-size: 1.12em; }
@media (prefers-color-scheme: dark) {
  .post[class*="post--"]:not(.post--news) { background: inherit; }
}

/* ===== New "add post" box ===== */
.composer2 { margin-top: 14px; background: #fff; border: 1px solid #e7e2da; border-radius: 18px; padding: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.composer2-top { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 999px; background: #f6f3ee; color: #6b6458; text-decoration: none; font-weight: 500; }
.composer2-top:hover { background: #efeae2; }
.composer2-actions { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.composer2-actions::-webkit-scrollbar { display: none; }
.c2 { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; color: #2b2a26; border: 1px solid transparent; }
.c2-photo { background: #e9f7ef; } .c2-video { background: #fdecef; } .c2-music { background: #f1ecff; }
.c2-question { background: #e8f6ee; } .c2-poll { background: #eaf0ff; } .c2-job { background: #fff4e3; }
.c2:hover { border-color: rgba(0,0,0,.12); }
.post-audio { display: flex; align-items: center; gap: 8px; margin: 10px 0; padding: 8px 12px; background: #f6f2ff; border-radius: 14px; }
.post-audio audio { width: 100%; height: 36px; }

/* ===== Feed sections between posts ===== */
.fm { margin: 14px 0; padding: 14px 14px 10px; border-radius: 18px; }
.fm-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.fm-head h3 { margin: 0; font-size: 17px; }
.fm-head a { font-size: 14px; font-weight: 600; }
.fm-slider { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.fm-person, .fm-biz { flex: 0 0 140px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 14px 10px; border: 1px solid #ece7df; border-radius: 16px; background: #fff; text-decoration: none; color: inherit; }
.fm-person-link { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; color: inherit; }
.fm-person .avatar.lg, .fm-biz .avatar.lg, .avatar.lg { width: 64px; height: 64px; font-size: 22px; }
.fm-tick { color: #1d9bf0; font-weight: 800; }
.btn.btn-sm { padding: 6px 14px; font-size: 13px; }
.fm-news { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fm-news a { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: #1f1d1a; font-weight: 600; line-height: 1.35; }
.fm-num { flex: 0 0 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 800; }
.fm-news-0 a { background: #fff0ec; } .fm-news-0 .fm-num { background: #e8553d; }
.fm-news-1 a { background: #eef6ff; } .fm-news-1 .fm-num { background: #2f7de1; }
.fm-news-2 a { background: #eefaf2; } .fm-news-2 .fm-num { background: #22995a; }
.fm-news-3 a { background: #fff8e6; } .fm-news-3 .fm-num { background: #d39a11; }
.fm-news-4 a { background: #f6efff; } .fm-news-4 .fm-num { background: #8752d6; }
.fm-news-5 a { background: #eefbfb; } .fm-news-5 .fm-num { background: #159a9c; }
.fm-news-6 a { background: #fdeef5; } .fm-news-6 .fm-num { background: #d23f86; }
.fm-q { background: #eefaf2; border-color: #cdeedb; }
.fm-q-row { display: block; padding: 10px 0; border-top: 1px solid #d6efe0; text-decoration: none; color: #1f1d1a; }
.fm-q-row:first-of-type { border-top: 0; }
.fm-q-row > span:first-child { display: block; font-weight: 600; }
.fm-q-meta { display: block; margin-top: 4px; font-size: 13px; color: #5a6b60; }
.fm-q-meta b { color: #1e7d4e; }

/* ===== Floating "Ask" button (left) ===== */
.ask-fab { position: fixed; left: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 60; display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px 12px 14px; border-radius: 999px; background: linear-gradient(135deg, #1e7d4e, #0f5d39); color: #fff; font-weight: 700; text-decoration: none;
  box-shadow: 0 8px 22px rgba(15, 93, 57, .35); }
.ask-fab:hover { transform: translateY(-1px); color: #fff; }
.ask-fab-icon { font-size: 18px; }
@media (min-width: 1000px) { .ask-fab { bottom: 24px; } }
/* On phones the floating button sits above the bottom bar: leave room so it never covers the footer (language picker). */
@media (max-width: 999px) { .site-footer { padding-bottom: calc(160px + env(safe-area-inset-bottom)); } }
@media (max-width: 380px) { .ask-fab-text { display: none; } .ask-fab { padding: 12px; } }

/* ===== "Earn" pop-up (right) ===== */
.earn-pop { position: fixed; right: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 70; width: min(340px, calc(100vw - 32px));
  display: flex; gap: 12px; padding: 16px; border-radius: 18px; background: #fffdf5; border: 1px solid #f2dfa4; box-shadow: 0 14px 34px rgba(0,0,0,.18); }
@media (min-width: 1000px) { .earn-pop { bottom: 24px; } }
.earn-pop strong { display: block; font-size: 16px; margin-bottom: 4px; }
.earn-pop p { margin: 0 0 10px; font-size: 14px; color: #5c5442; line-height: 1.4; }
.earn-emoji { font-size: 30px; line-height: 1; }
.earn-x { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 14px; cursor: pointer; color: #8a8270; }
.earn-more { display: inline-block; margin-left: 10px; font-size: 13px; }

/* ===== Live chat rooms ===== */
.live { margin: 14px 0; padding: 14px; border-radius: 18px; }
.live-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.live-head h3 { margin: 0; font-size: 17px; display: flex; align-items: center; gap: 8px; }
.live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #e0362c; box-shadow: 0 0 0 0 rgba(224,54,44,.6); animation: livepulse 1.6s infinite; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(224,54,44,.55); } 70% { box-shadow: 0 0 0 8px rgba(224,54,44,0); } 100% { box-shadow: 0 0 0 0 rgba(224,54,44,0); } }
.live-feed { height: 340px; overflow-y: auto; padding: 4px 2px; background: #faf8f4; border-radius: 12px; border: 1px solid #eee7dc; }
.live-empty { text-align: center; padding: 30px 0; }
.live-msg { margin: 6px 8px; padding: 8px 12px; background: #fff; border-radius: 12px; border: 1px solid #efe9df; max-width: 92%; }
.live-msg.mine { margin-left: auto; background: #eaf7ef; border-color: #cdeedb; }
.live-meta { font-size: 12px; display: flex; gap: 6px; align-items: center; }
.live-meta a { font-weight: 700; color: inherit; text-decoration: none; }
.live-body { font-size: 15px; margin-top: 2px; word-wrap: break-word; }
.live-reacts { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.live-react { border: 1px solid #e8e1d4; background: #fff; border-radius: 999px; padding: 1px 7px; font-size: 13px; cursor: pointer; }
.live-react.on { background: #fff3e6; border-color: #f2c48f; }
.live-react-pick { display: none; gap: 3px; }
.live-msg:hover .live-react-pick, .live-msg:focus-within .live-react-pick { display: inline-flex; }
@media (hover: none) { .live-react-pick { display: inline-flex; } .live-react-pick .live-react { padding: 1px 4px; } }
.live-mod { border: 0; background: none; cursor: pointer; font-size: 12px; opacity: .6; }
.live-form { margin-top: 10px; }
.live-emoji-row { display: flex; gap: 4px; margin-bottom: 6px; overflow-x: auto; }
.live-emoji-row button { border: 0; background: #f4f1ea; border-radius: 8px; padding: 4px 7px; font-size: 18px; cursor: pointer; }
.live-input { display: flex; gap: 8px; }
.live-input input { flex: 1; min-width: 0; padding: 10px 14px; border-radius: 999px; border: 1px solid #ddd5c6; font-size: 16px; }
.live-err { color: #b4360c; margin: 6px 0 0; }
.live-login { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 10px 0 0; }
.live-states { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin-top: 12px; }
.live-state { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; background: #fff; border: 1px solid #ece6db; border-radius: 14px; text-decoration: none; color: inherit; }
.live-state:hover { border-color: #e0362c; }

/* ===== Sports ===== */
.sp-h { display: flex; align-items: center; gap: 8px; font-size: 18px; margin: 18px 0 8px; }
.sp-league { padding: 10px 14px; margin-bottom: 10px; border-radius: 16px; }
.sp-league h3 { margin: 0 0 6px; font-size: 14px; color: #6b6458; }
.fx { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 10px 4px; border-top: 1px solid #f1ece4; text-decoration: none; color: inherit; }
.fx:first-of-type { border-top: 0; }
.fx.is-live { background: #fff6f5; border-radius: 10px; }
.fx-team { display: flex; align-items: center; gap: 8px; font-weight: 600; min-width: 0; }
.fx-team.away { justify-content: flex-end; text-align: right; }
.fx-team img { width: 22px; height: 22px; object-fit: contain; }
.fx-score { display: flex; flex-direction: column; align-items: center; min-width: 64px; }
.fx-score b { font-size: 17px; }
.fx-score small { font-size: 11px; color: #8a8270; display: flex; align-items: center; gap: 4px; }
.sp-match { padding: 16px; margin: 10px 0; border-radius: 18px; }

/* ===== Photo lightbox ===== */
.lb { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; }
.lb.on { display: flex; }
.lb img { max-width: 94vw; max-height: 86vh; object-fit: contain; border-radius: 6px; }
.lb-x { position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 22px; cursor: pointer; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-count { position: absolute; bottom: calc(16px + env(safe-area-inset-bottom)); left: 0; right: 0; text-align: center; color: #ddd; font-size: 14px; }

/* ===== Inline comments under posts ===== */
.ic { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(0,0,0,.07); }
.ic-list { display: grid; gap: 8px; max-height: 420px; overflow-y: auto; }
.ic-item { background: rgba(0,0,0,.035); border-radius: 12px; padding: 8px 12px; }
.ic-name { font-weight: 700; font-size: 13px; color: inherit; text-decoration: none; }
.ic-body { margin: 2px 0 0; font-size: 15px; white-space: pre-wrap; word-wrap: break-word; }
.ic-form { display: flex; gap: 8px; margin-top: 10px; }
.ic-form input { flex: 1; min-width: 0; padding: 9px 14px; border-radius: 999px; border: 1px solid #ddd5c6; font-size: 16px; }
.news-img { margin: 10px 0; }
.news-img img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 14px; display: block; }
.news-img figcaption { font-size: 12px; color: #8a8270; margin-top: 4px; }

/* ===== Reels ===== */
.reels-page { margin: 0; background: #000; color: #fff; overflow: hidden; }
.reels { height: 100vh; height: 100dvh; overflow-y: scroll; scroll-snap-type: y mandatory; scrollbar-width: none; }
.reels::-webkit-scrollbar { display: none; }
.reel { position: relative; height: 100vh; height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; display: flex; align-items: center; justify-content: center; background: #000; }
.reel video { width: 100%; height: 100%; object-fit: contain; max-width: 560px; }
.reel-info { position: absolute; left: 14px; right: 80px; bottom: calc(24px + env(safe-area-inset-bottom)); text-shadow: 0 1px 4px rgba(0,0,0,.7); }
.reel-user { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; }
.reel-info p { margin: 8px 0 0; font-size: 15px; line-height: 1.4; }
.reel-side { position: absolute; right: 10px; bottom: calc(40px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 16px; align-items: center; }
.reel-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; border: 0; background: none; color: #fff; font-size: 28px; text-decoration: none; cursor: pointer; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.reel-btn span { font-size: 12px; font-weight: 700; }
.reels-close { position: fixed; top: calc(12px + env(safe-area-inset-top)); left: 12px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.15); color: #fff; text-decoration: none; font-size: 20px; }
.reels-title { position: fixed; top: calc(18px + env(safe-area-inset-top)); left: 0; right: 0; text-align: center; z-index: 4; font-weight: 800; font-size: 18px; pointer-events: none; }
.reels-add { position: fixed; top: calc(12px + env(safe-area-inset-top)); right: 12px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #000; text-decoration: none; font-size: 24px; font-weight: 700; }
.reel-empty p { text-align: center; color: #ccc; } .reel-empty a { color: #fff; }
.reel-link { display: inline-block; margin: 8px 0 4px; font-weight: 700; font-size: 14px; }

/* ===== States slider in the feed ===== */
.fm-state { flex: 0 0 150px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 16px; text-decoration: none; color: #1f1d1a; }
.fm-state strong { font-size: 16px; }
.fm-state-0 { background: #e9f7ef; } .fm-state-1 { background: #eef4ff; } .fm-state-2 { background: #fff4e3; } .fm-state-3 { background: #f6efff; }
.fm-state-4 { background: #fdeef3; } .fm-state-5 { background: #eefbfb; } .fm-state-6 { background: #fffbe8; }

/* ===== Related lists under posts / businesses / products / profiles ===== */
.related { margin: 18px 0 8px; }
.related-title { font-size: 18px; margin: 0 0 10px; }
.related-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.rp { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 16px; border: 1px solid #ece6db; background: #fff; text-decoration: none; color: #1f1d1a; }
.rp img { width: 100%; height: 120px; object-fit: cover; border-radius: 10px; margin-bottom: 4px; }
.rp-type { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #6b6458; }
.rp strong { font-size: 15px; line-height: 1.35; }

/* ===== Share menu ===== */
.share-wrap { position: relative; display: inline-flex; }
.share-menu { position: absolute; right: 0; bottom: 42px; z-index: 30; min-width: 190px; background: #fff; border: 1px solid #e8e1d4; border-radius: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.15); padding: 6px; display: flex; flex-direction: column; }
.share-menu a, .share-menu button { display: block; text-align: left; padding: 9px 12px; border-radius: 10px; font-size: 14px; color: #1f1d1a; text-decoration: none; border: 0; background: none; cursor: pointer; }
.share-menu a:hover, .share-menu button:hover { background: #f4f1ea; }

/* ===== Printing a post (Print / Save as PDF) ===== */
@media print {
  header, nav, aside, footer:not(.article-source), .ad-slot, .composer2, .ask-fab, .earn-pop, .post-actions, .actions, .share-wrap,
  .related, .ic, .live, #aj-toast, .bottom-nav, .mobile-nav, .load-more, .comment-form, form { display: none !important; }
  body { background: #fff !important; }
  .layout, main, .col { display: block !important; width: 100% !important; max-width: 100% !important; margin: 0 !important; }
  .post { border: 0 !important; box-shadow: none !important; background: #fff !important; }
  a { color: #000; text-decoration: none; }
  img { max-width: 100% !important; page-break-inside: avoid; }
}

/* ===== YouTube video in posts ===== */
.ytv { position: relative; margin: 10px 0; border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.ytv iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ytv-poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #000; }
.ytv img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ytv-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(15, 93, 57, .88); box-shadow: 0 6px 20px rgba(0,0,0,.35); transition: transform .15s; }
.ytv-poster:hover .ytv-play { transform: translate(-50%, -50%) scale(1.08); }
.ytv-preview { margin-top: 8px; }
.ytv-note { position: absolute; left: 10px; bottom: 10px; background: rgba(0,0,0,.65); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 999px; }

/* ===== Inline "What's on your mind?" box ===== */
.qp { margin-top: 14px; background: #fff; border: 1px solid #e7e2da; border-radius: 18px; padding: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.qp-top { display: flex; gap: 10px; align-items: flex-start; }
.qp-area { flex: 1; min-width: 0; border-radius: 14px; background: #f6f3ee; transition: background .2s; }
.qp-area textarea { width: 100%; min-height: 48px; border: 0; background: transparent; resize: none; padding: 12px 14px; font-size: 16px; line-height: 1.45; color: inherit; outline: none; font-family: inherit; }
.qp-area.has-bg { min-height: 160px; display: flex; align-items: center; }
.qp-area.has-bg textarea { text-align: center; font-size: 22px; font-weight: 700; min-height: 140px; }
.qp-area.has-bg textarea::placeholder { color: inherit; opacity: .75; }
.qp-photos { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.qp-photos img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; }
.qp-bgs, .qp-emojis { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.qp-bg { width: 32px; height: 32px; border-radius: 9px; border: 2px solid transparent; cursor: pointer; }
.qp-bg.on { border-color: #1f1d1a; }
.qp-bg-none { background: #f1ede6; font-size: 12px; color: #6b6458; }
.qp-emojis button { border: 0; background: #f4f1ea; border-radius: 8px; padding: 4px 7px; font-size: 20px; cursor: pointer; }
.qp-state { margin-top: 10px; width: 100%; }
.qp-bar { display: flex; align-items: center; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.qp-aa { width: 34px; height: 34px; border-radius: 9px; border: 0; cursor: pointer; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #f25aa0, #f6893b, #f4c542, #22995a, #2f7de1, #8752d6); }
.qp-tool { width: 34px; height: 34px; border-radius: 9px; display: inline-grid; place-items: center; font-size: 18px; background: #f6f3ee; border: 0; cursor: pointer; text-decoration: none; color: #6b6458; }
.qp-more { margin-left: auto; }
.qp-post { min-width: 84px; }
.qp-hint { margin: 8px 0 0; }

/* ===== Coloured-background text posts in the feed ===== */
.post-bgtext { margin: 10px 0; min-height: 200px; border-radius: 14px; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 26px 20px; font-size: 24px; font-weight: 800; line-height: 1.3; word-wrap: break-word; }
.post-bgtext a { color: inherit; text-decoration: underline; }

/* ===== Floating mini music player ===== */
.mini-player { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 65; width: min(460px, calc(100vw - 24px));
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 16px; background: #10261b; color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.3); }
@media (min-width: 1000px) { .mini-player { bottom: 20px; } }
.mp-toggle { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #22995a; color: #fff; font-size: 15px; cursor: pointer; flex: 0 0 auto; }
.mp-info { flex: 1; min-width: 0; }
.mp-title { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-track { height: 5px; margin-top: 6px; background: rgba(255,255,255,.2); border-radius: 999px; cursor: pointer; overflow: hidden; }
.mp-bar { height: 100%; width: 0; background: #f4c542; }
.mp-close { border: 0; background: none; color: #cfd8d3; font-size: 16px; cursor: pointer; }
body:has(.mini-player) .ask-fab { bottom: calc(146px + env(safe-area-inset-bottom)); }
@media (min-width: 1000px) { body:has(.mini-player) .ask-fab { bottom: 84px; } }

/* replies + @mentions + notifications */
.comment-reply { margin-top: 10px; }
.comment-reply .comment-bubble { background: #f6f7f5; }
a.mention { color: var(--green, #0B6E4F); font-weight: 700; text-decoration: none; }
.linklike { border: 0; background: none; padding: 0; color: var(--green, #0B6E4F); font-weight: 700; cursor: pointer; }
.bell-btn { position: relative; }
.note-list { display: flex; flex-direction: column; }
.note { display: flex; gap: 12px; padding: 12px 14px; border-bottom: 1px solid #eef0ec; text-decoration: none; color: var(--ink); align-items: flex-start; }
.note:hover { background: #f7f8f6; }
.note.unread { background: #f1f8f4; }
.note-ico { width: 36px; height: 36px; border-radius: 50%; background: #e8f3ed; display: grid; place-items: center; flex-shrink: 0; font-size: 17px; font-weight: 800; color: var(--green, #0B6E4F); }
.note b { display: block; font-size: 14px; }
.note span { display: block; font-size: 13px; color: #5c6660; }
.note time { font-size: 12px; color: #8a938d; }

/* leaderboard + badges */
.lb-hero { background: linear-gradient(135deg, #0B6E4F, #14532d); color: #fff; border-radius: 18px; padding: 22px; }
.lb-hero h1 { margin: 0 0 6px; font-size: 26px; }
.lb-hero p { margin: 0; opacity: .9; }
.lb-reset { display: inline-block; margin-top: 10px; background: rgba(255,255,255,.18); padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.lb-me { background: #fff8e6; border: 1px solid #f3dfa6; border-radius: 12px; padding: 10px 14px; font-size: 14px; }
.lb-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #eef0ec; color: var(--ink); text-decoration: none; }
.lb-row:hover { background: #f7f8f6; }
.lb-row.lb-top { background: #fffdf5; }
.lb-row.lb-mine { outline: 2px solid #0B6E4F; outline-offset: -2px; }
.lb-rank { width: 30px; text-align: center; font-weight: 800; font-size: 18px; }
.lb-name { flex: 1; min-width: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-badges { font-weight: 400; margin-left: 4px; }
.lb-pts { font-weight: 800; color: #0B6E4F; white-space: nowrap; }
.lb-pts small { font-weight: 600; color: #6b746e; }
.badge-row { display: flex; flex-wrap: wrap; gap: 6px; }
.ubadge { display: inline-flex; gap: 4px; align-items: center; background: #f1f8f4; color: #0B6E4F; border: 1px solid #cfe7da; border-radius: 999px; padding: 3px 10px; font-size: 13px; font-weight: 700; }
.fm-winners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fm-winner { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 12px 6px; border-radius: 14px; background: #fffaf0; text-decoration: none; color: var(--ink); }
.fm-winner .medal { font-size: 26px; }

/* "Show more news" in the Latest headlines box */
.fm-latest .fm-more { display: block; margin: 10px auto 0; }

/* Latest headlines box: colourful numbered titles + time, and "Show more news" */
.fm-latest .fm-hl-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fm-latest .fm-hl-time { font-weight: 500; font-size: 12px; color: #6b665e; }
.fm-latest .fm-more { display: block; margin: 12px 0 0 auto; }

/* "Promote this post" on every post page (anyone can promote any post) */
.promote-cta { display: flex; gap: 12px; align-items: center; padding: 12px 14px; text-decoration: none; color: inherit; background: #fff8e6; border: 1px solid #f3dca0; }
.promote-cta-ic { font-size: 24px; }
.promote-cta b { display: block; }
.promote-cta small { color: #6b665e; }

/* Continue with Google / Facebook */
.social-login { display: grid; gap: 10px; margin: 0 0 6px; }
.social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; font-weight: 700; text-decoration: none; border-radius: 999px; }
.social-google { background: #fff; color: #1f1d1a; border: 1.5px solid #dadce0; }
.social-facebook { background: #1877f2; color: #fff; border: 1.5px solid #1877f2; }
.social-or { display: flex; align-items: center; gap: 10px; color: #8a857c; font-size: 13px; margin: 6px 0 4px; }
.social-or::before, .social-or::after { content: ''; flex: 1; height: 1px; background: #e5e2db; }
/* Action row under every post: with Promote added it must still fit small phones */
@media (max-width: 420px) {
  .post-actions { gap: 0; margin: 0 -6px -6px; }
  .post-actions .act { padding: 0 7px; gap: 4px; }
  .act-save { margin-left: auto; }
}
@media (max-width: 374px) {
  .post-actions .act .lbl-sm { display: none; }
}

/* Action row under every post: with Promote added it must still fit small phones */
@media (max-width: 420px) {
  .post-actions { gap: 0; margin: 0 -6px -6px; }
  .post-actions .act { padding: 0 7px; gap: 4px; }
}
@media (max-width: 374px) {
  .post-actions .act .lbl-sm { display: none; }
}

/* Insights / post stats */
.ins-range { display: flex; gap: 8px; flex-wrap: wrap; }
.ins-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 520px) { .ins-tiles { grid-template-columns: repeat(2, 1fr); } }
.ins-tile { background: #fff; border: 1px solid #ECEFEA; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.ins-tile span { font-size: 13px; color: #6b665e; }
.ins-tile b { font-size: 24px; line-height: 1.2; }
.ins-up { color: #1e7d4e; font-size: 12px; font-weight: 700; } .ins-down { color: #b4360c; font-size: 12px; font-weight: 700; }
.ins-chart { margin: 0 0 14px; } .ins-chart figcaption { margin-bottom: 6px; } .ins-chart svg { width: 100%; height: 140px; display: block; }
.ins-post { display: flex; flex-direction: column; gap: 4px; padding: 10px 0; border-top: 1px solid #ECEFEA; color: inherit; text-decoration: none; }
.ins-post:first-of-type { border-top: 0; }
.ins-post-t { font-weight: 700; display: flex; flex-direction: column; gap: 2px; } .ins-post-n { font-size: 13px; color: #6b665e; }
.ins-rrow { display: grid; grid-template-columns: 110px 1fr 48px; gap: 10px; align-items: center; margin: 6px 0; font-size: 14px; }
.ins-rbar { height: 10px; background: #f1efe9; border-radius: 99px; overflow: hidden; } .ins-rbar i { display: block; height: 100%; background: #e8553d; border-radius: 99px; }
.ins-rrow b { text-align: right; }
.ins-cta { display: block; padding: 10px 12px; margin: 0 0 10px; border-radius: 12px; background: #eef6ff; color: inherit; text-decoration: none; }
.ins-own { background: #eef6ff; border-color: #cfe2fb; }
.ins-axis { display: flex; justify-content: space-between; font-size: 12px; color: #8a857c; margin-top: 4px; }
.ins-chart svg { height: 120px; }

/* Account menu: short, scrolls if needed, Log out always visible at the bottom */
.acct-menu { width: 280px; max-width: calc(100vw - 24px); padding: 8px; display: flex; flex-direction: column; max-height: calc(100vh - 70px); max-height: calc(100dvh - 70px); }
.acct-scroll { overflow-y: auto; flex: 1 1 auto; min-height: 0; border-top: 1px solid #ECEFEA; border-bottom: 1px solid #ECEFEA; padding: 6px 0; margin: 4px 0; }
.acct-menu .acct-head { min-height: 56px; gap: 10px; }
.acct-av { width: 40px; height: 40px; border-radius: 50%; background: #8C6A4F; color: #fff; display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.acct-head b { display: block; line-height: 1.2; } .acct-head small { color: var(--muted); font-size: 13px; }
.acct-val { margin-left: auto; font-size: 13px; color: var(--muted); font-weight: 600; }
.acct-emo { width: 18px; margin-right: 10px; text-align: center; }
.acct-more svg { transition: transform .15s; } .acct-more[aria-expanded="true"] svg { transform: rotate(180deg); }
.acct-sub a { padding-left: 40px; min-height: 38px; font-size: 14px; }
.acct-foot { display: grid; gap: 2px; }
.acct-menu .acct-logout { color: #b4360c; font-weight: 700; }
.acct-menu .acct-logout svg { color: #b4360c; }

/* "Post something" buttons in the sidebar + Music / Audio type colour */
.t-audio { background: #F1E6F8; color: #6E2E91; }
.type-dot.t-audio { color: #8A3FB0; }
.side-post h3 { margin: 0 0 10px; }
.side-post-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.side-post-btn { display: inline-flex; align-items: center; gap: 4px; padding: 7px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; text-decoration: none; background: #f4f2ec; color: #1f1d1a; border: 1px solid transparent; }
.side-post-btn:hover { border-color: #d8d3c8; filter: brightness(.97); }

/* Sell on marketplace */
.t-sale { background: #FFF1DD; color: #8A4A00; }
.type-dot.t-sale { color: #C06A00; }
.product-card .by-person { color: #8A4A00; font-weight: 600; }
.sell-box .btn + .btn { margin-top: 8px; }
