/* FHA Community. White by default; dark mode uses the site palette (set on each page). The accent follows "Site colours". */
:root {
  color-scheme: light;
  --void: #f5f4f1;          /* page background */
  --card: #ffffff;
  --warm-white: #1d1916;    /* main text (named as on the main site) */
  --fg-rgb: 29, 25, 22;
  --bg-rgb: 255, 255, 255;
  --line: rgba(var(--fg-rgb), 0.1);
  --shadow: 0 1px 2px rgba(29, 25, 22, 0.05), 0 4px 14px rgba(29, 25, 22, 0.04);
}
html[data-theme="dark"] { --line: rgba(var(--fg-rgb), 0.12); --shadow: none; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--void); color: var(--warm-white);
  font: 16px/1.55 "Proxima Nova", "Avenir Next", "Helvetica Neue", Arial, sans-serif; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.c-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.c-muted, .c-meta { color: rgba(var(--fg-rgb), 0.6); }
.c-meta { font-size: 13px; }
.c-meta a { text-decoration: none; }
.c-meta a:hover { text-decoration: underline; }
.c-optional { font-weight: 400; color: rgba(var(--fg-rgb), 0.55); }
hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }

/* Top bar */
.c-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 62px; padding: 0 18px;
  background: var(--card); border-bottom: 1px solid var(--line); }
.c-brand { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 800; font-size: 17px; text-decoration: none; letter-spacing: -0.01em; }
.c-brand span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-logo { flex: 0 0 auto; width: 42px; height: 42px; margin: 0 -2px 0 -6px; object-fit: contain; }
.c-mark { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; background: var(--gold); color: #fff; display: grid; place-content: center; font-size: 12px; font-weight: 800; letter-spacing: -0.02em; }
.c-top-actions { display: flex; align-items: center; gap: 8px; }
.c-top-actions form { margin: 0; }
.c-top-link { padding: 8px 10px; font-size: 15px; font-weight: 700; text-decoration: none; }
.c-theme { display: grid; place-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.c-theme svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.c-theme:hover { background: rgba(var(--fg-rgb), 0.06); }
.c-sun { display: none; }
html[data-theme="dark"] .c-sun { display: block; }
html[data-theme="dark"] .c-moon { display: none; }
.c-count { display: inline-grid; place-content: center; min-width: 20px; height: 20px; margin-left: auto; padding: 0 6px; border-radius: 999px; background: var(--gold); color: #fff; font-size: 11px; font-weight: 800; }
.c-top-link { white-space: nowrap; }
@media (max-width: 440px) { .c-top-link { display: none; } .c-brand span:last-child { max-width: 52vw; } }

/* Layout: menu on the left, feed in the middle, "about" on the right on wide screens */
.c-shell { flex: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 22px 18px 60px; display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 28px; align-items: start; }
.c-shell.has-right { grid-template-columns: 236px minmax(0, 1fr) 280px; }
.c-shell.is-single { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.c-main { min-width: 0; width: 100%; max-width: 720px; }
.c-shell:not(.is-single) .c-main { justify-self: center; }
.c-side, .c-right { position: sticky; top: 84px; }
.c-sidenav { display: grid; gap: 2px; }
.c-sidenav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 15px; color: rgba(var(--fg-rgb), 0.82); }
.c-sidenav a:hover { background: rgba(var(--fg-rgb), 0.05); }
.c-sidenav a[aria-current] { background: var(--card); color: var(--warm-white); box-shadow: var(--shadow), inset 3px 0 0 var(--gold); }
html[data-theme="dark"] .c-sidenav a[aria-current] { background: rgba(var(--fg-rgb), 0.08); }
.c-ico { display: grid; place-content: center; width: 28px; height: 28px; border-radius: 8px; background: rgba(var(--fg-rgb), 0.06); font-size: 15px; line-height: 1; flex: 0 0 auto; }
.c-side-title { margin: 18px 0 6px; padding-left: 12px; font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(var(--fg-rgb), 0.5); }
.c-lock { font-size: 12px; opacity: 0.7; }
@media (max-width: 1180px) { .c-shell.has-right { grid-template-columns: 236px minmax(0, 1fr); } .c-right { display: none; } }
@media (max-width: 860px) {
  .c-shell, .c-shell.has-right { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-top: 12px; }
  .c-side { position: static; margin: 0 -18px; }
  .c-side-title { display: none; }
  .c-sidenav { display: flex; gap: 8px; overflow-x: auto; padding: 2px 18px 6px; scrollbar-width: none; }
  .c-sidenav::-webkit-scrollbar { display: none; }
  .c-sidenav a { flex: 0 0 auto; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: 14px; white-space: nowrap; }
  .c-sidenav a[aria-current] { border-color: var(--gold); box-shadow: none; }
  .c-ico { width: 24px; height: 24px; border-radius: 50%; font-size: 13px; }
  .c-main { max-width: none; }
}

/* Cards, headings, messages */
.c-card { margin: 0 0 14px; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.c-card h1 { margin: 0 0 8px; font-size: clamp(24px, 4vw, 30px); line-height: 1.15; letter-spacing: -0.02em; }
.c-card h2 { margin: 0 0 12px; font-size: 17px; }
.c-card p { margin: 0 0 12px; }
.c-card p:last-child { margin-bottom: 0; }
.c-narrow { max-width: 520px; margin-left: auto; margin-right: auto; }
.c-empty { text-align: center; padding: 34px 20px; }
.c-section-title { margin: 22px 0 12px; font-size: 18px; }
.c-crumb { margin: 0 0 10px; font-size: 14px; }
.c-crumb a { text-decoration: none; color: rgba(var(--fg-rgb), 0.65); }
.c-flash { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: rgba(54, 135, 0, 0.1); border: 1px solid rgba(54, 135, 0, 0.35); font-size: 15px; }
.c-flash.is-error { background: rgba(var(--fg-rgb), 0.04); border-color: var(--gold); }
/* Offline: saved copies and the outbox (community.js + sw.js) */
.c-video-save { margin: 0 0 10px; font-size: 13px; color: rgba(var(--fg-rgb), 0.68); }
.c-video-save .c-link { font-size: 13px; }
.c-offline { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: rgba(var(--fg-rgb), 0.04); border: 1px solid rgba(var(--fg-rgb), 0.2); font-size: 15px; }
.c-offline p { margin: 0 0 6px; }
.c-offline > :last-child { margin-bottom: 0; }
.c-offline a { color: var(--gold); font-weight: 700; }
.c-offline summary { cursor: pointer; font-weight: 700; }
.c-offline ul { margin: 8px 0 0; padding: 0; list-style: none; }
.c-offline li { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 7px 0; border-top: 1px solid rgba(var(--fg-rgb), 0.1); font-size: 14px; }
.c-offline li span { min-width: 0; overflow-wrap: anywhere; }
.c-older { text-align: center; }

/* Welcome area */
.c-welcome { margin: 0 0 16px; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.c-welcome-banner { width: 100%; aspect-ratio: 16 / 6; object-fit: cover; object-position: center 22%; }
.c-welcome-video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.c-welcome-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.c-welcome-file { aspect-ratio: auto; }   /* an uploaded video keeps its own shape (phone videos are tall) */
.c-welcome-file video { display: block; width: 100%; max-height: 78vh; background: #000; }
.c-vup-now { margin: 6px 0 0; font-size: 14px; }
.c-vup-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 10px; font-size: 14px; font-weight: 600; }
.c-vup-bar progress { width: 160px; height: 10px; accent-color: var(--gold); }
.c-vup-bad { color: var(--gold); font-weight: 700; }
.c-vup-bad progress { display: none; }
.c-vup-tip { margin: 6px 0 0; font-size: 13px; color: rgba(var(--fg-rgb), 0.65); }
.c-welcome-art { display: grid; place-items: end start; aspect-ratio: 16 / 5; padding: 22px 24px; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, rgba(255, 255, 255, 0.28), transparent 55%), linear-gradient(120deg, var(--gold), var(--gold-light) 55%, var(--ember)); }
.c-welcome-art span { font-size: clamp(22px, 4vw, 34px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.05; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2); }
.c-welcome-body { padding: 22px 24px 24px; }
.c-welcome-body h1 { margin: 0 0 10px; font-size: clamp(24px, 4.2vw, 34px); line-height: 1.1; letter-spacing: -0.02em; }
.c-welcome-text { color: rgba(var(--fg-rgb), 0.78); font-size: 17px; }
.c-welcome-text a { color: var(--gold); }
.c-welcome-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.c-welcome-show { margin: 0 0 12px; font-size: 14px; color: rgba(var(--fg-rgb), 0.65); }
.c-space-list { margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: 12px; }
.c-space-list li { display: grid; gap: 2px; }
.c-space-list span { color: rgba(var(--fg-rgb), 0.65); font-size: 15px; }
.c-space-list strong span { color: inherit; }

/* Admin editors (welcome, space) */
.c-editor { margin-top: 16px; }
.c-editor > summary { list-style: none; }
.c-editor > summary::-webkit-details-marker { display: none; }
.c-editor[open] > summary { margin-bottom: 8px; }
.c-editor .c-form { padding: 16px; border: 1px dashed rgba(var(--fg-rgb), 0.25); border-radius: 14px; background: rgba(var(--fg-rgb), 0.02); }
.c-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.c-two > div { display: grid; gap: 8px; }
@media (max-width: 560px) { .c-two { grid-template-columns: 1fr; } }

/* Space heading */
.c-space-head { margin: 0 0 16px; }
.c-space-head.has-banner { overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.c-space-banner { width: 100%; aspect-ratio: 16 / 4.5; object-fit: cover; }
.c-space-head.has-banner .c-space-title, .c-space-head.has-banner .c-editor { padding: 0 20px; }
.c-space-head.has-banner .c-space-title { padding-top: 16px; }
.c-space-head.has-banner .c-editor { padding-bottom: 16px; }
.c-space-title { display: flex; gap: 14px; align-items: center; }
.c-space-icon { display: grid; place-content: center; width: 52px; height: 52px; flex: 0 0 auto; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: 26px; box-shadow: var(--shadow); }
.c-space-head h1 { margin: 0; font-size: clamp(22px, 3.6vw, 28px); line-height: 1.15; letter-spacing: -0.02em; }
.c-space-head p { margin: 2px 0 0; color: rgba(var(--fg-rgb), 0.65); }
.c-space-head.has-banner .c-space-title + .c-editor, .c-space-head.has-banner .c-space-title:last-child { padding-bottom: 16px; }

/* Buttons and forms */
.c-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px;
  background: var(--gold); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background 160ms ease; }
.c-btn:hover { background: var(--gold-light); }
.c-btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.c-btn-ghost { background: transparent; color: var(--warm-white); border: 1px solid rgba(var(--fg-rgb), 0.22); }
.c-btn-ghost:hover { background: rgba(var(--fg-rgb), 0.05); }
.c-btn-danger { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.c-btn[disabled] { opacity: 0.6; cursor: progress; }
.c-link { padding: 0; border: 0; background: none; color: inherit; text-decoration: underline; cursor: pointer; font-size: inherit; }
.c-form { display: grid; gap: 8px; }
.c-form label:not(.c-check) { margin-top: 8px; font-size: 14px; font-weight: 700; }
.c-form .c-btn { margin-top: 12px; justify-self: start; }
input[type="email"], input[type="text"], input[type="search"], input[type="date"], input[type="time"], input[type="number"], input[type="url"], input:not([type]), select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid rgba(var(--fg-rgb), 0.18); border-radius: 12px; background: var(--card); font-size: 16px; }
html[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), html[data-theme="dark"] select, html[data-theme="dark"] textarea { background: rgba(var(--fg-rgb), 0.04); }
select option { color: #191512; background: #fff; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 40, 0, 0.12); }
textarea { resize: vertical; min-height: 48px; }
input[type="file"] { font-size: 14px; max-width: 100%; }
.c-suggest { margin: 2px 0 0; font-size: 14px; color: rgba(var(--fg-rgb), 0.75); }
.c-suggest .c-link { font-weight: 800; color: var(--gold); }
.c-suggest-box { margin: 0 0 14px; padding: 14px 16px; border: 1px solid var(--gold); border-radius: 12px; background: rgba(217, 40, 0, 0.05); }
.c-suggest-box p { margin: 0 0 10px !important; }
.c-suggest-box form { margin: 0; }
.c-code { font-size: 26px !important; letter-spacing: 0.3em; text-align: center; font-variant-numeric: tabular-nums; }
.c-check { display: flex; align-items: flex-start; gap: 10px; margin-top: 6px; font-size: 15px; }
.c-check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--gold); flex: 0 0 auto; }
.c-fieldset { margin: 4px 0 0; padding: 0; border: 0; }
.c-fieldset legend { margin-bottom: 4px; font-size: 14px; font-weight: 700; }
.c-form-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.c-form-actions .c-btn { margin-top: 0; }
.c-inline { display: inline; }
.c-rules { margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: rgba(var(--fg-rgb), 0.04); font-size: 14px; }
.c-rules ul, .c-rules-list { margin: 0; padding-left: 20px; }
.c-rules li, .c-rules-list li { margin-bottom: 6px; }
.c-search { display: flex; gap: 8px; margin-bottom: 14px; }
.c-search .c-btn { flex: 0 0 auto; }

/* Avatars and badges */
.c-avatar { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; overflow: hidden; display: grid; place-content: center; background: rgba(var(--fg-rgb), 0.1);
  color: var(--warm-white); font-size: 15px; font-weight: 800; text-decoration: none; }
.c-avatar img { width: 100%; height: 100%; object-fit: cover; }
.c-avatar-sm { width: 34px; height: 34px; font-size: 13px; }
.c-avatar-lg { width: 88px; height: 88px; font-size: 30px; }
.c-me[aria-current] { box-shadow: 0 0 0 2px var(--gold); }
.c-badge { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--gold); color: #fff; font-size: 11px; font-weight: 800; vertical-align: 2px; }
.c-badge-soft { background: rgba(var(--fg-rgb), 0.1); color: var(--warm-white); }

/* Composer */
.c-composer { margin: 0 0 16px; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.c-composer-row { display: flex; gap: 10px; align-items: flex-start; }
.c-composer-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; padding-left: 44px; }
.c-composer-bar select { width: auto; flex: 1 1 160px; padding: 9px 12px; }
.c-composer-bar .c-btn { margin-left: auto; }
.c-file { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(var(--fg-rgb), 0.18); font-size: 14px; font-weight: 700; cursor: pointer; }
.c-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.c-file-name { margin: 8px 0 0 44px; font-size: 13px; color: rgba(var(--fg-rgb), 0.6); }
.c-composer-main { flex: 1; min-width: 0; display: grid; gap: 8px; }
.c-title-in { font-weight: 800; font-size: 17px; }
.js .c-composer.is-compact .c-toolbar { display: none; }
.c-toolbar { display: flex; flex-wrap: wrap; gap: 4px; }
.c-tool { min-height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: transparent; font-size: 13px; font-weight: 700; cursor: pointer; color: rgba(var(--fg-rgb), 0.75); }
.c-tool:hover { background: rgba(var(--fg-rgb), 0.06); color: var(--warm-white); }
.c-tool b, .c-tool i { font-size: 15px; }
.c-form .c-toolbar { margin-bottom: 8px; }
button.c-file { background: transparent; }
.c-file.is-on { border-color: var(--gold); color: var(--gold); }
.c-poll-build { display: grid; gap: 8px; margin: 12px 0 0 44px; padding: 12px 14px; border: 1px dashed rgba(var(--fg-rgb), 0.22); border-radius: 12px; }
.c-poll-build legend { padding: 0 6px; font-weight: 800; font-size: 14px; }
.c-poll-build .c-link { justify-self: start; font-size: 14px; font-weight: 700; color: var(--gold); text-decoration: none; }
.c-previews { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0 44px; }
.c-previews:empty { display: none; }
.c-previews img { width: 92px; height: 92px; object-fit: cover; border-radius: 10px; }
.c-doc-chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 10px; background: rgba(var(--fg-rgb), 0.06); font-size: 14px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-file-name.is-error { color: var(--gold); font-weight: 700; }
.c-hint { margin: 8px 0 0 44px; font-size: 13px; color: rgba(var(--fg-rgb), 0.65); }
@media (max-width: 480px) {
  .c-composer-bar, .c-file-name, .c-previews, .c-poll-build, .c-hint { padding-left: 0; margin-left: 0; }
  .c-poll-build { padding-left: 12px; }
  .c-composer-bar select { flex-basis: 100%; order: 5; }
}

/* @mention list while typing */
.c-mentions { position: relative; z-index: 15; margin: 0; padding: 6px; list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14); max-width: 340px; }
.c-mentions li { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; cursor: pointer; font-size: 15px; font-weight: 700; }
.c-mentions li.is-active, .c-mentions li:hover { background: rgba(var(--fg-rgb), 0.07); }
.c-avatar-xs { width: 28px; height: 28px; font-size: 11px; }
.c-mention { font-weight: 700; text-decoration: none; }
.c-body a.c-mention { color: var(--gold); }

/* Posts */
.c-post { margin: 0 0 14px; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.c-post.is-hidden, .c-comment.is-hidden { opacity: 0.6; }
.c-pinned, .c-hidden-note { margin: -4px 0 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.c-hidden-note { color: rgba(var(--fg-rgb), 0.55); }
.c-post-head { display: flex; align-items: flex-start; gap: 10px; }
.c-who { flex: 1; min-width: 0; display: grid; }
.c-name { font-weight: 800; text-decoration: none; }
.c-name:hover { text-decoration: underline; }
.c-body { margin-top: 10px; overflow-wrap: anywhere; }
.c-body p { margin: 0 0 0.65em; }
.c-body ul, .c-body ol { margin: 0 0 0.65em; padding-left: 1.4em; }
.c-body li { margin: 0.15em 0; }
.c-body > :last-child { margin-bottom: 0; }
.c-post-title { margin: 12px 0 0; font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; overflow-wrap: anywhere; }
h1.c-post-title { font-size: 26px; }
.c-post-title a { text-decoration: none; }
.c-post-title a:hover { text-decoration: underline; }
.c-post-title + .c-body { margin-top: 6px; }
.c-body a { color: var(--gold); }
.c-more { font-weight: 700; }
/* Photos, videos, documents and polls inside posts */
.c-gallery { display: grid; gap: 4px; margin-top: 12px; border-radius: 12px; overflow: hidden; }
.c-gallery a { position: relative; display: block; min-height: 0; background: rgba(var(--fg-rgb), 0.05); }
.c-gallery img { width: 100%; height: 100%; object-fit: cover; }
.c-gallery-1 img { height: auto; max-height: 560px; object-fit: contain; margin: 0 auto; }
.c-gallery-2 { grid-template-columns: 1fr 1fr; aspect-ratio: 2 / 1.1; }
.c-gallery-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 3 / 2; }
.c-gallery-3 a:first-child { grid-row: span 2; }
.c-gallery-4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 4 / 3; }
.c-gallery-all { aspect-ratio: auto; grid-template-rows: none; grid-auto-rows: 220px; }
.c-gallery-all a:first-child { grid-row: auto; }
.c-gallery-all a:last-child:nth-child(odd) { grid-column: span 2; }
.c-more-photos { position: absolute; inset: 0; display: grid; place-content: center; background: rgba(0, 0, 0, 0.5); color: #fff; font-size: 28px; font-weight: 800; }
.c-video { position: relative; margin-top: 12px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.c-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.c-attach { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; }
.c-attach:hover { background: rgba(var(--fg-rgb), 0.04); }
.c-attach > span:first-child { font-size: 26px; }
.c-attach > span:last-child { display: grid; min-width: 0; font-weight: 700; overflow-wrap: anywhere; }
.c-attach small { font-weight: 400; color: rgba(var(--fg-rgb), 0.6); }
.c-poll { margin-top: 12px; display: grid; gap: 8px; }
.c-poll-head { margin: 0; font-size: 13px; font-weight: 800; color: rgba(var(--fg-rgb), 0.65); }
.c-poll-opt { margin: 0; }
.c-poll-opt button { position: relative; display: flex; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; padding: 10px 14px; overflow: hidden; isolation: isolate;
  border: 1px solid rgba(var(--fg-rgb), 0.18); border-radius: 12px; background: transparent; text-align: left; font-weight: 700; cursor: pointer; }
.c-poll-opt button::before { content: ""; position: absolute; inset: 0 auto 0 0; z-index: -1; width: var(--pct, 0%); background: rgba(var(--fg-rgb), 0.07); }
.c-poll-opt button:hover { border-color: var(--gold); }
.c-poll-opt.is-mine button { border-color: var(--gold); }
.c-poll-opt.is-mine button::before { background: rgba(var(--fg-rgb), 0.12); }
.c-poll-n { flex: 0 0 auto; color: rgba(var(--fg-rgb), 0.7); }
.c-poll .c-meta { margin: 0; }

/* Reactions */
.c-react { display: flex; align-items: center; gap: 2px; }
.c-react-pick { position: relative; }
.c-react-pick summary { list-style: none; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 17px; color: rgba(var(--fg-rgb), 0.6); }
.c-react-pick summary::-webkit-details-marker { display: none; }
.c-react-pick summary sup { font-size: 10px; font-weight: 800; line-height: 1; }
.c-react-pick summary:hover, .c-react-pick[open] summary { background: rgba(var(--fg-rgb), 0.07); }
.c-react-list { position: absolute; left: -40px; bottom: 44px; z-index: 12; display: flex; gap: 2px; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16); }
.c-react-list form { margin: 0; }
.c-react-btn { width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: transparent; font-size: 24px; line-height: 1; cursor: pointer; transition: transform 0.12s; }
.c-react-btn:hover, .c-react-btn:focus-visible { transform: scale(1.25); background: rgba(var(--fg-rgb), 0.06); }
.c-react-btn.is-on { background: rgba(var(--fg-rgb), 0.09); }
.c-react-sum { padding: 0 6px; font-size: 14px; color: rgba(var(--fg-rgb), 0.7); white-space: nowrap; }
.c-saved { display: inline-flex; align-items: center; margin-left: auto; font-size: 13px; font-weight: 700; color: var(--gold); }
.c-post-foot { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--line); }
.c-post-foot form { margin: 0; }
.c-act { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent;
  color: rgba(var(--fg-rgb), 0.7); font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; }
.c-act:hover { background: rgba(var(--fg-rgb), 0.05); color: var(--warm-white); }
.c-act.is-on { color: var(--gold); }

/* "…" menus */
.c-menu { position: relative; flex: 0 0 auto; }
.c-menu summary { list-style: none; display: grid; place-content: center; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 18px; color: rgba(var(--fg-rgb), 0.55); }
.c-menu summary::-webkit-details-marker { display: none; }
.c-menu summary:hover, .c-menu[open] summary { background: rgba(var(--fg-rgb), 0.07); }
.c-menu-list { position: absolute; right: 0; top: 38px; z-index: 10; min-width: 190px; padding: 6px; background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14); }
.c-menu-list a, .c-menu-list button { display: block; width: 100%; padding: 9px 12px; border: 0; border-radius: 8px; background: none; text-align: left; font-size: 14px; text-decoration: none; cursor: pointer; }
.c-menu-list a:hover, .c-menu-list button:hover { background: rgba(var(--fg-rgb), 0.06); }
.c-menu-list form { margin: 0; }
.c-danger { color: var(--gold) !important; }

/* Comments */
.c-comment-list { margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: 14px; }
.c-comment { display: flex; gap: 10px; align-items: flex-start; }
.c-comment-col { flex: 1; min-width: 0; }
.c-comment-main { min-width: 0; padding: 10px 14px; border-radius: 14px; background: rgba(var(--fg-rgb), 0.045); }
.c-comment-head { margin: 0; font-size: 14px; }
.c-comment .c-body { margin-top: 4px; font-size: 15px; }
.c-reply-to { margin: 2px 0 0 10px; }
.c-reply-to summary { display: inline-block; list-style: none; padding: 2px 4px; font-size: 13px; font-weight: 800; color: rgba(var(--fg-rgb), 0.6); cursor: pointer; }
.c-reply-to summary::-webkit-details-marker { display: none; }
.c-reply-to summary:hover, .c-reply-to[open] summary { color: var(--gold); }
.c-reply-to .c-reply { margin: 6px 0 4px -10px; }
.c-replies { margin: 10px 0 0; padding: 0 0 0 12px; list-style: none; display: grid; gap: 12px; border-left: 2px solid var(--line); }
.c-replies .c-avatar-sm { width: 28px; height: 28px; font-size: 11px; }
.c-reply { display: flex; gap: 10px; align-items: flex-start; }
.c-reply textarea { flex: 1; }
.c-reply .c-btn { flex: 0 0 auto; }
.c-reply { position: relative; }
.c-reply .c-mentions { position: absolute; left: 44px; top: calc(100% + 4px); min-width: 240px; }
.c-reply-sm .c-mentions { left: 0; }
@media (max-width: 480px) { .c-reply { flex-wrap: wrap; } .c-reply textarea { flex-basis: calc(100% - 44px); } .c-reply > .c-btn { margin-left: 44px; }
  .c-reply-sm textarea { flex-basis: 100%; } .c-reply-sm > .c-btn { margin-left: 0; }
  .c-replies { margin-left: -30px; padding-left: 8px; } .c-comment > .c-menu summary { width: 28px; } .c-saved { margin-left: 0; } }

/* Profiles and members */
.c-profile { display: flex; gap: 18px; align-items: flex-start; }
.c-profile h1 { font-size: 26px; margin: 0 0 4px; }
.c-profile-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.c-profile-actions form { margin: 0; }
.c-profile-photo { display: flex; gap: 16px; align-items: center; }
.c-profile-photo label { margin-top: 0 !important; }
@media (max-width: 480px) { .c-profile { flex-direction: column; } }
.c-members { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.c-member { display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.c-member > div { min-width: 0; display: grid; }
.c-member .c-meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Top bar: search, messages, notifications */
.c-search-top { position: relative; flex: 1; max-width: 480px; margin: 0 auto; }
.c-search-top svg { position: absolute; left: 13px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); fill: none; stroke: rgba(var(--fg-rgb), 0.5); stroke-width: 2; stroke-linecap: round; }
.c-search-top input { height: 42px; padding: 0 14px 0 38px; border-radius: 999px; background: rgba(var(--fg-rgb), 0.04); font-size: 15px; }
.c-icon { position: relative; display: grid; place-content: center; width: 40px; height: 40px; border-radius: 50%; text-decoration: none; }
.c-icon:hover, .c-icon[aria-current] { background: rgba(var(--fg-rgb), 0.06); }
.c-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.c-dot { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-content: center; border: 2px solid var(--card); }
.c-icon-search { display: none; }
@media (max-width: 860px) { .c-search-top { display: none; } .c-icon-search { display: grid; } .c-top-actions { gap: 2px; } }
@media (max-width: 400px) { .c-theme { width: 36px; height: 36px; } .c-icon { width: 36px; height: 36px; } }

/* Tabs: Discussion · Learning · Events · Leaderboard · About */
.c-tabs { display: flex; gap: 4px; margin: -6px 0 16px; padding: 0 2px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.c-tabs::-webkit-scrollbar { display: none; }
.c-tabs a { flex: 0 0 auto; padding: 10px 14px 12px; font-weight: 700; font-size: 15px; text-decoration: none; color: rgba(var(--fg-rgb), 0.65); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.c-tabs a:hover { color: var(--warm-white); }
.c-tabs a[aria-current] { color: var(--gold); border-bottom-color: var(--gold); }
.c-page-head { margin: 0 0 16px; }
.c-page-head h1 { margin: 0 0 4px; font-size: clamp(24px, 4vw, 30px); letter-spacing: -0.02em; }
.c-page-head p { margin: 0; }

/* Levels on profile pictures */
.c-av-wrap { position: relative; flex: 0 0 auto; display: inline-block; }
.c-lv { position: absolute; right: -3px; bottom: -3px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: #2563eb; color: #fff;
  font-size: 10px; font-weight: 800; display: grid; place-content: center; border: 2px solid var(--card); }

/* Featured posts row */
.c-featured { margin: 0 0 16px; padding: 16px 0 6px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.c-featured > summary { display: flex; align-items: center; justify-content: space-between; padding-right: 18px; list-style: none; cursor: pointer; }
.c-featured > summary::-webkit-details-marker { display: none; }
.c-featured h2 { margin: 0; font-size: 20px; letter-spacing: -0.01em; }
.c-chev { width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 160ms ease; opacity: 0.6; }
.c-featured[open] .c-chev { transform: rotate(-135deg); }
.c-feat-row { display: flex; gap: 12px; margin-top: 14px; padding: 0 18px 12px 0; overflow-x: auto; scroll-snap-type: x mandatory; }
.c-feat { flex: 0 0 min(300px, 78%); display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; scroll-snap-align: start; background: var(--card); }
.c-feat header { display: flex; gap: 8px; align-items: center; }
.c-feat header div { display: grid; min-width: 0; }
.c-feat h3 { margin: 4px 0 0; font-size: 17px; line-height: 1.25; }
.c-feat h3 a { text-decoration: none; }
.c-feat p { margin: 0; color: rgba(var(--fg-rgb), 0.72); font-size: 14px; }
.c-feat img { border-radius: 10px; aspect-ratio: 16 / 9; object-fit: cover; }
.c-feat-more { margin-top: auto; color: var(--gold); font-weight: 700; font-size: 14px; text-decoration: none; }

/* Community card (right column, About) */
.c-ccard { position: relative; margin: 0 0 14px; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.c-ccard-banner { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 35%; display: block; }
.c-ccard-art { background: radial-gradient(120% 140% at 0% 0%, rgba(255, 255, 255, 0.28), transparent 55%), linear-gradient(120deg, var(--gold), var(--gold-light) 55%, var(--ember)); }
.c-ccard-badge { position: absolute; top: 10px; right: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: #1e6b34; font-size: 12px; font-weight: 700; }
.c-ccard-logo { position: relative; width: 64px; height: 64px; margin: -34px 0 0 16px; padding: 6px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.c-ccard-body { padding: 8px 18px 14px; }
.c-ccard-body h2 { margin: 0 0 6px; font-size: 19px; }
.c-ccard-body p { margin: 0; color: rgba(var(--fg-rgb), 0.72); font-size: 14.5px; }
.c-ccard-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 12px 8px 14px; border-top: 1px solid var(--line); text-align: center; }
.c-ccard-stats dt { order: 2; color: rgba(var(--fg-rgb), 0.6); font-size: 13px; }
.c-ccard-stats dd { margin: 0; font-size: 18px; font-weight: 800; }
.c-ccard-stats div { display: flex; flex-direction: column-reverse; }
.c-ccard.is-big .c-ccard-banner { aspect-ratio: 16 / 5; }
.c-ccard.is-big .c-ccard-body h2 { font-size: 24px; }

/* Leaderboard */
.c-lb-widget header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.c-lb-widget header h2 { margin: 0; }
.c-lb-widget header a { color: var(--gold); font-size: 14px; font-weight: 700; text-decoration: none; }
.c-lb-mini, .c-lb { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.c-lb-mini li, .c-lb li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.c-lb li { padding: 8px 10px; border-radius: 12px; }
.c-lb li.is-me { background: rgba(217, 40, 0, 0.06); }
.c-rank { width: 22px; text-align: center; font-weight: 800; color: rgba(var(--fg-rgb), 0.55); }
.c-lb li:nth-child(-n+3) .c-rank { color: var(--gold); }
.c-pts { margin-left: auto; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.c-lb-name, .c-lb-mini .c-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 480px) { .c-lb .c-badge { display: none; } }
.c-seg { display: inline-flex; gap: 4px; margin-top: 10px !important; padding: 4px; border-radius: 999px; background: rgba(var(--fg-rgb), 0.06); }
.c-seg a { padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; color: rgba(var(--fg-rgb), 0.7); }
.c-seg a[aria-current] { background: var(--card); color: var(--warm-white); box-shadow: var(--shadow); }
.c-mylevel { display: flex; align-items: center; gap: 14px; }
.c-mylevel > div { display: grid; }
.c-howpoints ul { margin: 0 0 10px; padding-left: 20px; }

/* Notifications */
.c-notes { margin: 0; padding: 0; list-style: none; display: grid; }
.c-notes li { display: flex; align-items: center; gap: 12px; padding: 12px 8px; border-bottom: 1px solid var(--line); }
.c-notes li:last-child { border-bottom: 0; }
.c-notes li.is-new { background: rgba(217, 40, 0, 0.05); border-radius: 10px; }
.c-notes a { flex: 1; text-decoration: none; }
.c-notes .c-meta { flex: 0 0 auto; }

/* Messages */
.c-msg-layout { display: grid; gap: 14px; }
.c-msg-layout.has-chat { grid-template-columns: 280px minmax(0, 1fr); align-items: start; }
@media (max-width: 1000px) { .c-msg-layout.has-chat { grid-template-columns: minmax(0, 1fr); } .c-msg-layout.has-chat .c-inbox { display: none; } }
.c-conv-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.c-conv-list li { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; }
.c-conv-list li[aria-current] { background: rgba(var(--fg-rgb), 0.06); }
.c-conv-list li.is-new strong { color: var(--gold); }
.c-conv-list a:not(.c-avatar) { flex: 1; min-width: 0; display: grid; text-decoration: none; }
.c-conv-list a:not(.c-avatar) span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgba(var(--fg-rgb), 0.65); font-size: 14px; }
.c-chat { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.c-chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.c-chat-head > div { flex: 1; display: grid; min-width: 0; }
.c-thread { margin: 0; padding: 16px; list-style: none; display: flex; flex-direction: column; gap: 8px; max-height: 58vh; min-height: 220px; overflow-y: auto; }
.c-bubble { max-width: 80%; align-self: flex-start; }
.c-bubble > div { padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: rgba(var(--fg-rgb), 0.07); overflow-wrap: anywhere; }
.c-bubble.is-mine { align-self: flex-end; text-align: right; }
.c-bubble.is-mine > div { border-radius: 16px 16px 4px 16px; background: var(--gold); color: #fff; text-align: left; }
.c-bubble.is-mine a { color: #fff; }
.c-bubble .c-meta { font-size: 11.5px; }
.c-thread-empty { margin: auto; }
.c-chat-form { padding: 12px 16px; border-top: 1px solid var(--line); }
.c-chat-note { margin: 0 !important; padding: 0 16px 14px; font-size: 13px; }

/* Events */
.c-event { margin: 0 0 14px; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.c-event-img { width: 100%; height: auto; display: block; }   /* flyers often carry text, so they are never cropped */
.c-event-main { display: flex; gap: 16px; padding: 16px 18px; }
.c-event-main > div:last-child { flex: 1; min-width: 0; }
.c-event h3 { margin: 0 0 4px; font-size: 18px; line-height: 1.25; }
.c-event > .c-editor { padding: 0 18px 16px; margin-top: 0; }
.c-date { flex: 0 0 auto; display: grid; place-content: center; width: 58px; height: 62px; border-radius: 12px; border: 1px solid var(--line); text-align: center; line-height: 1.1; }
.c-date span { color: var(--gold); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.c-date b { font-size: 24px; }
.c-date.is-any b { font-size: 18px; color: var(--gold); }
.c-event-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0 0 !important; }
.c-event-actions form { margin: 0; }
.c-live { margin: 0 0 4px !important; color: var(--ember); font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.c-kicker-sm { margin: 0 0 4px !important; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.c-new-event { margin: 0 0 16px; }
.c-three { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 0 12px; }
.c-three > div { display: grid; gap: 8px; }
@media (max-width: 560px) { .c-three { grid-template-columns: 1fr 1fr; } }

/* Learning */
.c-courses { margin: 0 0 10px; padding: 0; list-style: none; display: grid; gap: 10px; }
.c-course { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.c-course > div { flex: 1; display: grid; min-width: 0; }
.c-res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.c-res { overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.c-res img, .c-res-art { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.c-res-art { display: grid; place-content: center; font-size: 36px; background: rgba(var(--fg-rgb), 0.05); }
.c-res-body { padding: 12px 14px 14px; }
.c-res h3 { margin: 0 0 6px; font-size: 16px; line-height: 1.3; }
.c-res h3 a { text-decoration: none; }
.c-res p { margin: 0; color: rgba(var(--fg-rgb), 0.7); font-size: 14px; }
.c-res > .c-editor { padding: 0 14px 14px; margin-top: 0; }
.c-plain-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.c-plain-list form { display: inline; margin-left: 8px; }
.c-plain-list a { text-decoration: none; }

/* Add to home screen */
html.is-app [data-hide-in-app] { display: none !important; }
.c-app-card { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 16px; padding: 14px 16px; background: var(--card); border: 1px solid var(--gold);
  border-radius: 16px; box-shadow: var(--shadow); }
.c-app-card img { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.c-app-card > div { flex: 1 1 200px; display: grid; gap: 2px; }
.c-app-card span { color: rgba(var(--fg-rgb), 0.65); font-size: 14px; }
.c-app-card-actions { display: flex; align-items: center; gap: 14px; margin: 0; }
.c-app { text-align: left; }
.c-app-icon { width: 88px; height: 88px; margin: 0 0 14px; border-radius: 22px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.c-app-installed { padding: 12px 14px; border-radius: 12px; background: rgba(54, 135, 0, 0.1); font-weight: 700; }
.c-app-install { margin: 0 0 6px !important; }
.c-steps { margin: 16px 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; }
.c-steps.is-mine { border-color: var(--gold); background: rgba(217, 40, 0, 0.04); }
.c-steps h2 { margin: 0 0 10px; font-size: 17px; }
.c-steps ol { margin: 0; padding-left: 22px; }
.c-steps li { margin-bottom: 8px; }
.c-share { display: inline-grid; place-content: center; width: 26px; height: 26px; vertical-align: -7px; border-radius: 6px; background: rgba(var(--fg-rgb), 0.07); }
.c-share svg { width: 16px; height: 16px; fill: none; stroke: #0a84ff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Right-hand column */
.c-about p { color: rgba(var(--fg-rgb), 0.75); font-size: 15px; }
.c-faces { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }

/* Team page */
.c-manage-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.c-manage-list li { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.c-manage-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.c-manage-list li > div:not(.c-row-actions) { flex: 1 1 260px; min-width: 0; display: grid; gap: 2px; }
.c-manage-list a { color: var(--gold); }
.c-row-actions { display: flex; gap: 8px; }
.c-row-actions form { margin: 0; }
.c-lock-big { font-size: 40px; margin: 0 0 6px !important; }

/* Footer */
.c-foot { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; padding: 22px 16px 30px; border-top: 1px solid var(--line); font-size: 13px; color: rgba(var(--fg-rgb), 0.55); }
.c-foot a { text-decoration: none; }
.c-foot a:hover { color: var(--warm-white); }

/* Round 2 */
/* Group chat rooms */
.c-room-ico { flex: 0 0 auto; display: grid; place-content: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(var(--fg-rgb), 0.06); font-size: 18px; }
.c-room-list li.is-new strong { color: var(--gold); }
.c-room-back { display: none; text-decoration: none; font-size: 20px; padding: 0 6px 0 0; }
@media (max-width: 1000px) { .c-room-back { display: inline-block; } }
.c-room-thread { margin: 0; padding: 12px 16px; list-style: none; display: flex; flex-direction: column; max-height: 62vh; min-height: 260px; overflow-y: auto; }
.c-cmsg { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 6px 4px 2px; border-radius: 10px; }
.c-cmsg.is-cont { padding-top: 0; }
.c-cmsg:hover { background: rgba(var(--fg-rgb), 0.03); }
.c-cmsg-gap { flex: 0 0 34px; }
.c-cmsg-main { flex: 1; min-width: 0; }
.c-cmsg-head { margin: 0; font-size: 14px; }
.c-cmsg .c-body { margin-top: 0; font-size: 15px; }
.c-cmsg.is-hidden { opacity: 0.55; }
.c-cmsg .c-menu { opacity: 0; }
.c-cmsg:hover .c-menu, .c-cmsg .c-menu[open], .c-cmsg .c-menu:focus-within { opacity: 1; }
@media (hover: none) { .c-cmsg .c-menu { opacity: 0.6; } }
.c-cmsg .c-menu summary { width: 28px; height: 28px; font-size: 15px; }
.c-day { display: flex; align-items: center; gap: 10px; margin: 12px 0 6px; font-size: 12px; font-weight: 800; color: rgba(var(--fg-rgb), 0.55); }
.c-day::before, .c-day::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.c-room-admin { padding: 0 16px 14px; }

/* Getting started checklist */
.c-checklist { margin: 0 0 16px; }
.c-checklist header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.c-checklist h2 { margin: 0; font-size: 18px; }
.c-checklist header .c-meta { margin: 2px 0 0; }
.c-checklist header form { margin: 0; }
.c-progress { height: 8px; margin: 12px 0 6px; border-radius: 999px; background: rgba(var(--fg-rgb), 0.08); overflow: hidden; }
.c-progress span { display: block; height: 100%; border-radius: 999px; background: var(--gold); }
.c-check-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.c-check-steps li { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; }
.c-check-steps li > div { display: grid; }
.c-check-steps a { font-weight: 800; }
.c-check-steps s { font-weight: 700; color: rgba(var(--fg-rgb), 0.5); }
.c-tick { flex: 0 0 auto; display: grid; place-content: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; border: 2px solid rgba(var(--fg-rgb), 0.25); font-size: 13px; font-weight: 800; }
.is-done .c-tick { border-color: var(--gold); background: var(--gold); color: #fff; }

/* Scheduling a post (the team) */
.c-sched { display: grid; gap: 6px; margin: 12px 0 0 44px; padding: 12px 14px; border: 1px dashed rgba(var(--fg-rgb), 0.22); border-radius: 12px; }
.c-sched legend { padding: 0 6px; font-weight: 800; font-size: 14px; }
.c-sched label { font-size: 14px; font-weight: 700; }
.c-sched input { max-width: 280px; }
@media (max-width: 480px) { .c-sched { margin-left: 0; } }

/* Insights (the team) */
.c-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 16px; }
.c-tile { display: grid; gap: 2px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.c-tile-label { font-size: 13px; font-weight: 700; color: rgba(var(--fg-rgb), 0.65); }
.c-tile strong { font-size: 28px; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
.c-insight-note { margin: -4px 0 16px; }
.c-chart-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin-bottom: 14px; }
.c-chart-pair > .c-card { margin: 0; }
.c-chart h2, .c-chart-pair h2 { margin: 0; font-size: 17px; }
.c-chart > .c-meta, .c-chart-pair .c-card > .c-meta { margin: 2px 0 12px; }
.c-cols { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2px; align-items: end; height: 170px; padding: 18px 0 22px; border-bottom: 1px solid var(--line); }
.c-cols-top { position: absolute; top: 0; left: 0; right: 0; border-top: 1px dashed var(--line); font-size: 11px; line-height: 1; padding-top: 3px; color: rgba(var(--fg-rgb), 0.55); }
.c-col { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; outline: none; cursor: default; }
.c-col-bar { display: block; width: 100%; max-width: 24px; border-radius: 4px 4px 0 0; background: rgba(var(--fg-rgb), 0.5); }
.c-col.is-now .c-col-bar { background: var(--gold); }
.c-col-val { margin-bottom: 4px; font-size: 12px; font-weight: 700; }
.c-col-x { position: absolute; bottom: -20px; font-size: 11px; white-space: nowrap; color: rgba(var(--fg-rgb), 0.55); }
.c-col:hover .c-col-bar, .c-col:focus-visible .c-col-bar { filter: brightness(0.85); }
.c-col:hover::after, .c-col:focus-visible::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); z-index: 5; padding: 6px 10px;
  border-radius: 8px; background: var(--warm-white); color: var(--card); font-size: 12px; font-weight: 700; white-space: nowrap; pointer-events: none; }
.c-col:first-child:hover::after, .c-col:nth-child(2):hover::after { left: 0; transform: none; }
.c-col:last-child:hover::after { left: auto; right: 0; transform: none; }
.c-table-view { margin-top: 14px; font-size: 14px; }
.c-table-view summary { cursor: pointer; font-weight: 700; color: rgba(var(--fg-rgb), 0.7); }
.c-table-view table { margin-top: 8px; border-collapse: collapse; width: 100%; max-width: 320px; }
.c-table-view th, .c-table-view td { padding: 4px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.c-table-view td:last-child, .c-table-view th:last-child { text-align: right; }
.c-hbars { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.c-hbars li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 14px; }
.c-hbars a { font-weight: 700; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-hbar { display: block; height: 8px; border-radius: 999px; background: rgba(var(--fg-rgb), 0.06); overflow: hidden; }
.c-hbar span { display: block; height: 100%; border-radius: 999px; background: rgba(var(--fg-rgb), 0.5); }
.c-hbar-n { min-width: 2ch; text-align: right; font-weight: 700; }
.c-top-posts { padding-left: 1.4em; list-style: decimal; }
.c-top-posts li { display: grid; padding: 6px 0; }
.c-top-posts a { font-weight: 700; }
@media (max-width: 480px) { .c-chat-form { flex-wrap: nowrap; } .c-chat-form textarea { flex-basis: auto; } .c-chat-form > .c-btn { margin-left: 0; } }

/* Round 3: notifications and emails */
.c-notify h3 { margin: 18px 0 6px; font-size: 16px; }
.c-notify h2 + .c-push h3 { margin-top: 4px; }
.c-push { padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.c-push-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.c-push-tip { margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-size: 14px; }
.c-push-tip a { font-weight: 800; color: var(--gold); }

/* About tab: benefits of joining */
.c-benefits { padding: 22px 22px 20px; }
.c-benefits h2 { margin: 0 0 16px; font-size: 22px; line-height: 1.3; letter-spacing: -0.01em; }
.c-benefit-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.c-benefit-grid li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: rgba(var(--fg-rgb), 0.04); }
.c-benefit-n { flex: 0 0 auto; display: grid; place-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #fff; font-size: 14px; font-weight: 800; }
.c-benefit-grid h3 { margin: 4px 0 4px; font-size: 16px; line-height: 1.3; }
.c-benefit-grid p { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(var(--fg-rgb), 0.78); }
.c-benefits .c-benefit-close { margin: 16px 0 0; padding: 14px 16px; border-left: 3px solid var(--gold); border-radius: 4px 12px 12px 4px; background: rgba(var(--fg-rgb), 0.04); font-weight: 700; }

/* Events: webinar banners (the flyer from the sign-up page, shown whole) and the list of ways to attend */
.c-event-banner { display: block; background: rgba(var(--fg-rgb), 0.05); }
.c-event-banner img { width: 100%; height: auto; display: block; }
.c-event-times { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 2px; font-size: 14px; color: rgba(var(--fg-rgb), 0.75); }

/* Visitor front page: spaces under their group headings */
.c-space-group { margin: 18px 0 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.c-card h2 + .c-space-group { margin-top: 6px; }

/* Top bar: on phones the name drops the word "Community" so it fits beside the icons */
.c-brand-tail { font-weight: inherit; }
@media (max-width: 600px) { .c-brand-tail { display: none; } }

/* Paid membership: choosing a plan, paying and telling us (lib/membership.php) */
.c-pay h1 { margin-bottom: 10px; }
.c-pay-step { margin: 22px 0 0; padding: 0; border: 0; min-width: 0; }
.c-pay-step legend { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; padding: 0; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.c-pay-step legend span { display: grid; place-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: #fff; font-size: 12px; letter-spacing: 0; }
.c-pay-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.c-pay-option { position: relative; display: block; cursor: pointer; }
.c-pay-option input { position: absolute; top: 17px; left: 15px; width: 18px; height: 18px; margin: 0; accent-color: var(--gold); }
.c-pay-option > span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 14px 14px 44px; border: 1.5px solid var(--line); border-radius: 14px; transition: border-color 150ms ease, background 150ms ease; }
.c-pay-option b { font-size: 16px; }
.c-pay-option small { color: rgba(var(--fg-rgb), 0.62); font-size: 13.5px; line-height: 1.45; }
.c-pay-option em { margin-top: auto; padding-top: 6px; font-style: normal; font-weight: 800; }
.c-pay-option em small { font-weight: 400; }
.c-pay-option input:checked + span { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; background: rgba(var(--fg-rgb), 0.025); }
.c-pay-option input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.c-pay-badge { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--ember); color: #fff; font-size: 11px; font-weight: 800; vertical-align: 2px; white-space: nowrap; }
.c-pay-seg { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; }
.c-pay-seg label { position: relative; cursor: pointer; }
.c-pay-seg input { position: absolute; opacity: 0; pointer-events: none; }
.c-pay-seg span { display: block; padding: 9px 18px; border-radius: 999px; font-size: 15px; font-weight: 700; }
.c-pay-seg input:checked + span { background: var(--gold); color: #fff; }
.c-pay-seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.c-pay-step .c-meta { margin: 8px 0 0; }
.c-pay-total { margin: 22px 0 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.c-pay-total span { font-size: 34px; font-weight: 900; letter-spacing: -0.02em; }
.c-pay-total small { color: rgba(var(--fg-rgb), 0.6); }
.c-pay-email { margin: 0 0 14px !important; font-size: 15px; }
.c-pay-go { width: 100%; min-height: 52px; font-size: 16px; }
.c-pay .c-meta { margin-top: 10px; }
.c-pay-done h2 { font-size: 19px; }
.c-pay-how { margin: 4px 0 12px; padding: 0; border: 0; }
.c-pay-label { display: block; margin: 6px 0; font-size: 14px; font-weight: 700; }
.c-pay-input { width: 100%; padding: 11px 12px; border: 1px solid rgba(var(--fg-rgb), 0.2); border-radius: 10px; background: var(--card); }
.c-pay-done .c-btn { margin-top: 14px; }
.c-pay-help { margin-top: 16px !important; }
.c-pay-wait { text-align: center; }
.c-pay-icon { margin: 0 0 6px !important; font-size: 40px; }
.c-renew a { font-weight: 800; }
.c-pay-reject summary, .c-pay-record summary { cursor: pointer; list-style: none; }
.c-pay-reject summary::-webkit-details-marker, .c-pay-record summary::-webkit-details-marker { display: none; }
.c-pay-reject[open] { flex-basis: 100%; }
.c-pay-reject form { margin-top: 10px; }
.c-pay-record { margin: 16px 0 4px; }
.c-pay-record summary { color: var(--gold); font-weight: 800; }
#payments h3 { margin: 20px 0 8px; font-size: 15px; }
#payments .c-row-actions { flex-wrap: wrap; align-items: flex-start; }
@media (max-width: 520px) {
  .c-pay-options { grid-template-columns: 1fr; }
  .c-pay-seg { display: flex; }
  .c-pay-seg label { flex: 1; text-align: center; }
}
.c-flash.c-renew { background: rgba(var(--fg-rgb), 0.04); border-color: var(--gold); }

/* Daily devotional (lib/devotional.php) */
.c-devo-card { border-left: 4px solid var(--gold); }
.c-devo-card h2 { margin: 2px 0 6px; font-size: 20px; line-height: 1.25; }
.c-devo-card h2 a { text-decoration: none; }
.c-devo-excerpt { color: rgba(var(--fg-rgb), 0.72); }
.c-devo-head { margin-bottom: 14px; }
.c-devo-head h1 { margin: 0; }
.c-devo-label { margin: 0 0 8px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.c-devo-today .c-post { border-top: 4px solid var(--gold); }
.c-devo-today .c-post-title { font-size: clamp(22px, 3.4vw, 28px); line-height: 1.2; letter-spacing: -0.01em; }
.c-devo-today .c-body { font-size: 17px; line-height: 1.75; }
.c-devo-share { margin: -2px 0 18px; }
.c-devo-write h2 { margin-bottom: 6px; }
.c-devo-example { margin: 8px 0 12px; padding: 12px 14px; border-radius: 10px; background: rgba(var(--fg-rgb), 0.05); font: 14px/1.6 ui-monospace, Consolas, monospace; white-space: pre-wrap; }
.c-devo-list { margin: 0; padding: 0; list-style: none; }
.c-devo-list li + li { border-top: 1px solid var(--line); }
.c-devo-list a { display: grid; gap: 2px; padding: 12px 0; text-decoration: none; }
.c-devo-list a:hover strong { text-decoration: underline; }

/* "Coming soon" rooms: a small label under the name in the menu (beside it on phones), and a note for the team inside */
.c-side-name { display: grid; gap: 3px; min-width: 0; }
.c-soon { justify-self: start; padding: 1px 8px; border-radius: 999px; background: rgba(var(--fg-rgb), 0.07); color: rgba(var(--fg-rgb), 0.62); font-size: 11px; font-weight: 700; line-height: 1.6; white-space: nowrap; }
@media (max-width: 860px) { .c-side-name { display: inline-flex; align-items: center; gap: 6px; } }
.c-soon-note { margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: rgba(var(--fg-rgb), 0.05); font-size: 14px; }

/* WhatsApp community link in the left menu */
.c-wa-link .c-ico svg { width: 18px; height: 18px; display: block; }
.c-wa-link { font-weight: 700; }

/* "New on WhatsApp": the green number, the top-bar icon (only while something is new), the Home notice and the team's box */
.c-count-wa, .c-icon-wa .c-dot { background: #15803d; }
.c-icon-wa svg { width: 23px; height: 23px; stroke: none; }
@media (max-width: 460px) { .c-top:has(.c-icon-wa) .c-brand span:last-child { display: none; } }   /* phones: room for the extra icon (the logo stays) */
.c-btn-wa { background: #15803d; }
.c-btn-wa:hover { background: #166534; }
.c-wa-card { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; border-left: 4px solid #25D366; }
.c-wa-card-ico svg { display: block; width: 34px; height: 34px; }
.c-wa-card-text { flex: 1 1 220px; min-width: 0; }
.c-wa-card-text ul { margin: 4px 0 0; padding: 0; list-style: none; }
.c-wa-card-text li { margin: 3px 0 0; overflow-wrap: anywhere; }
.c-wa-card-text li .c-meta { white-space: nowrap; }
.c-wa-card-actions { display: flex; align-items: center; gap: 16px; }
.c-wa-card-actions form { margin: 0; }
.c-wa-card-actions .c-link { font-size: 14px; }
.c-wa-tell { padding: 14px 20px; }
.c-wa-tell summary { display: flex; align-items: center; gap: 10px; font-weight: 700; cursor: pointer; list-style: none; }
.c-wa-tell summary::-webkit-details-marker { display: none; }
.c-wa-tell summary::after { content: "+"; margin-left: auto; font-size: 20px; font-weight: 600; line-height: 1; color: rgba(var(--fg-rgb), 0.5); }
.c-wa-tell[open] summary::after { content: "\2013"; }
.c-wa-tell-ico svg { display: block; width: 22px; height: 22px; }
.c-wa-tell-form { display: grid; gap: 8px; margin: 14px 0 6px; }
.c-wa-tell-form label { font-size: 14px; font-weight: 700; }
.c-wa-tell-row { display: flex; flex-wrap: wrap; gap: 8px; }
.c-wa-tell-row input { flex: 1 1 220px; width: auto; min-width: 0; }
.c-wa-tell-row .c-btn { min-height: 46px; }
.c-wa-tell-form .c-meta { margin: 0; }
.c-wa-tell .c-kicker-sm { margin-top: 12px !important; }
.c-wa-tell-list { margin: 0; padding: 0; list-style: none; }
.c-wa-tell-list li { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.c-wa-tell-list li > div { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.c-wa-tell-list form { flex: none; margin: 0; }
.c-wa-tell-list .c-link { font-size: 14px; }

/* Phone notifications: the one-tap bar under the top bar, until this device has them on */
.c-pushbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; padding: 10px 18px; background: var(--card); border-bottom: 1px solid var(--line); font-size: 14px; }
.c-pushbar[hidden] { display: none; }
.c-pushbar-actions { display: flex; align-items: center; gap: 14px; }

/* Voice notes: the record button in a form, the strip while recording or ready to send, and the player */
.c-voice { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.c-voice input[type="file"] { display: none; }
.c-voice-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(var(--fg-rgb), 0.18);
  background: transparent; color: inherit; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.c-voice-btn:hover { border-color: var(--gold); }
.c-mic { flex: 0 0 auto; width: 20px; height: 20px; vertical-align: -4px; }
.c-voice-label .c-mic, .c-voice-say .c-mic { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }
.c-voice-btn.is-on { border-color: #c62828; background: #c62828; color: #fff; }
.c-composer-bar .c-voice-btn { min-height: 40px; }
.c-reply-sm .c-voice-btn { min-width: 36px; min-height: 36px; padding: 0 8px; }
.c-voice-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 10px 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; }
.c-composer .c-voice-strip { margin-left: 44px; }
.c-chat > .c-voice-strip { margin: 0 16px 10px; }
.c-voice-strip audio { flex: 1 1 220px; min-width: 0; max-width: 100%; height: 40px; }
.c-voice-strip.is-rec { border-color: #c62828; }
.c-voice-dot { width: 12px; height: 12px; border-radius: 50%; background: #c62828; animation: c-voice-pulse 1.2s ease-in-out infinite; }
.c-voice-time { font-weight: 800; font-variant-numeric: tabular-nums; }
.c-voice-say { flex: 1 1 140px; min-width: 0; }
.c-voice-say.is-error { color: var(--gold); font-weight: 700; }
@keyframes c-voice-pulse { 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .c-voice-dot { animation: none; } }
.c-voice-note { display: grid; gap: 6px; margin-top: 10px; max-width: 420px; }
.c-voice-note audio { width: 100%; min-width: 220px; height: 40px; }
.c-voice-label { font-size: 13px; font-weight: 700; color: rgba(var(--fg-rgb), 0.7); }
.c-bubble .c-voice-note { margin-top: 4px; }
.c-bubble > div:empty { display: none; }
.c-bubble.is-mine .c-voice-label { color: #fff; }
.c-body + .c-voice-note { margin-top: 8px; }
.c-comment-main > .c-comment-head + .c-voice-note, .c-cmsg-main > .c-voice-note:first-child { margin-top: 4px; }
@media (max-width: 480px) {
  .c-composer .c-voice-strip { margin-left: 0; }
  .c-reply > .c-voice:not([hidden]) { margin-left: 44px; } .c-reply > .c-voice:not([hidden]) + .c-btn { margin-left: 0; }
  .c-reply-sm > .c-voice:not([hidden]) { margin-left: 0; }
  .c-chat-form > .c-voice:not([hidden]) { margin-left: 0; }
  .c-voice-note audio { min-width: 0; }
}

/* "Learn about our community" (/community/learn): the brochure as a page (lib/learn.php) */
.c-learn-link { margin: 0 0 14px; }
.c-learn-cover { margin: 0 0 14px; overflow: hidden; border-radius: 18px; background: var(--gold); color: #fff; box-shadow: var(--shadow); }
.c-learn-cover img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 30%; }
.c-learn-cover-body { padding: 24px 24px 26px; }
.c-learn-kicker { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.c-learn-cover h1 { margin: 0 0 8px; font-size: clamp(32px, 7vw, 52px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 900; }
.c-learn-tag { margin: 0 0 14px; font-size: clamp(18px, 3.4vw, 24px); font-weight: 800; line-height: 1.25; }
.c-learn-cover-body p { margin: 0 0 12px; }
.c-learn-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0 !important; }
.c-learn-cover .c-btn { background: #fff; color: #1d1916; }
.c-learn-cover .c-btn:hover { background: rgba(255, 255, 255, 0.88); }
.c-learn-cover .c-btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.c-learn-cover .c-btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }
.c-learn-size { font-weight: 400; opacity: 0.85; }
.c-learn-sec { padding: 24px 22px; }
.c-learn-sec h2 { margin: 0 0 10px; font-size: clamp(24px, 4.6vw, 32px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 900; }
.c-learn-lead { color: rgba(var(--fg-rgb), 0.72); font-size: 17px; }
.c-learn-label { margin: 20px 0 10px !important; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(var(--fg-rgb), 0.6); }
.c-learn-sub { margin: 24px 0 12px; font-size: 20px; line-height: 1.2; letter-spacing: -0.01em; }
.c-learn-dark { margin: 16px 0 0; padding: 20px 22px; border-radius: 16px; background: #1d1916; color: #fff; }
html[data-theme="dark"] .c-learn-dark, html[data-theme="dark"] .c-learn-plan.is-dark { border: 1px solid rgba(255, 255, 255, 0.16); }
.c-learn-dark h3 { margin: 0 0 6px; font-size: 24px; line-height: 1.15; letter-spacing: -0.01em; }
.c-learn-dark p:last-child { margin: 0; color: rgba(255, 255, 255, 0.85); }
.c-learn-grid { margin: 0 0 16px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.c-learn-grid li, .c-learn-steps li, .c-learn-rhythm div, .c-learn-plan { background: rgba(var(--fg-rgb), 0.04); background: color-mix(in srgb, var(--gold) 9%, var(--card)); }
.c-learn-grid li { padding: 14px 16px; border-radius: 14px; }
.c-learn-grid h3 { margin: 0 0 2px; font-size: 16px; line-height: 1.3; }
.c-learn-grid p { margin: 0 !important; font-size: 15px; line-height: 1.45; color: rgba(var(--fg-rgb), 0.72); }
.c-learn-grid li.is-accent, .c-learn-steps li.is-accent { background: var(--gold); color: #fff; }
.c-learn-grid li.is-accent p, .c-learn-steps li.is-accent p, .c-learn-grid li.is-accent .c-kicker-sm, .c-learn-steps li.is-accent .c-learn-n { color: #fff; }
.c-learn-steps { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 10px; }
.c-learn-steps li { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 14px; }
.c-learn-n { flex: 0 0 26px; text-align: center; font-size: 28px; font-weight: 900; line-height: 1; color: var(--gold); }
.c-learn-steps h3 { margin: 0 0 2px; font-size: 17px; line-height: 1.3; }
.c-learn-steps p { margin: 0 !important; color: rgba(var(--fg-rgb), 0.75); }
.c-learn-steps li:not(.is-accent) a { color: inherit; }
.c-learn-chips { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.c-learn-chips li { display: grid; place-items: center; min-height: 44px; padding: 8px 14px; border-radius: 999px; background: #1d1916; color: #fff; font-size: 15px; font-weight: 700; line-height: 1.25; text-align: center; }
html[data-theme="dark"] .c-learn-chips li { background: rgba(255, 255, 255, 0.12); }
.c-learn-rhythm { margin: 0; display: grid; gap: 6px; }
.c-learn-rhythm div { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 12px; padding: 10px 16px; border-radius: 10px; }
.c-learn-rhythm dt { color: var(--gold); font-weight: 800; }
.c-learn-rhythm dd { margin: 0; font-weight: 700; }
.c-learn-rhythm div:first-child { background: #1d1916; color: #fff; }
html[data-theme="dark"] .c-learn-rhythm div:first-child { background: rgba(255, 255, 255, 0.12); }
.c-learn-promise { margin: 6px 0 0; padding: 22px 24px; border-radius: 16px; background: var(--gold); color: #fff; }
.c-learn-promise h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }
.c-learn-promise ol { margin: 0; padding-left: 22px; font-size: 17px; }
.c-learn-promise li { padding: 4px 0; }
.c-learn-promise li::marker { font-weight: 800; }
.c-learn-ticks { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.c-learn-ticks li { position: relative; padding-left: 26px; }
.c-learn-ticks li::before { content: "\2713"; position: absolute; left: 0; color: var(--gold); font-weight: 900; }
.c-learn-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0 0; }
.c-learn-plan { padding: 20px 22px; border-radius: 16px; }
.c-learn-plan p { margin: 0 0 6px !important; }
.c-learn-plan p:last-child { margin: 0 !important; }
.c-learn-plan .c-learn-price { margin: 2px 0 6px !important; font-size: clamp(30px, 6vw, 40px); font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; }
.c-learn-plan.is-dark { background: #1d1916; color: #fff; }
.c-learn-close { margin: 22px 0 0; padding: 24px; border-radius: 16px; background: var(--gold); color: #fff; }
.c-learn-close p { margin: 0 0 8px !important; font-size: clamp(22px, 4.4vw, 30px); font-weight: 900; line-height: 1.15; letter-spacing: -0.02em; }
.c-learn-close span { font-weight: 700; }
@media (max-width: 560px) {
  .c-learn-cover-body, .c-learn-sec { padding: 20px 16px; }
  .c-learn-cover img { aspect-ratio: 4 / 3; }
  .c-learn-grid, .c-learn-chips, .c-learn-ticks, .c-learn-plans { grid-template-columns: minmax(0, 1fr); }
  .c-learn-rhythm div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .c-learn-actions .c-btn { width: 100%; }
}
