/* Clarity presentation for the generated Journal, Community and member pages.
   Load after community.css and clarity.css. Admin has its own unchanged shell. */
.clarity-community {
  --black: #f3f7ff;
  --navy: #edf1fa;
  --surface: #fff;
  --glass: #fff;
  --text: #06070b;
  --text-muted: #525d70;
  --text-faint: #525d70;
  --slate: #525d70;
  --slate-dim: #525d70;
  --primary: #5946b2;
  --accent: #5946b2;
  --violet: #5946b2;
  --cyan: #5946b2;
  --gold: #79551b;
  --green: #176543;
  --rose: #a22340;
  --border-soft: #d0d8e5;
  --border-strong: #aab6cb;
  --color-border-active: #5946b2;
  --font-mono: 'Satoshi', Arial, sans-serif;
  --radius-sm: 3px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-xl: 6px;
  --radius-full: 3px;
  background: #f3f7ff;
  color-scheme: light;
}
.clarity-community ::selection { background: #dfd9f5; }
.clarity-community main { overflow-wrap: anywhere; }
.clarity-community h1,
.clarity-community h2,
.clarity-community h3,
.clarity-community h4 { font-weight: 500; }
.clarity-community .wrap.narrow { max-width: 760px; }
.clarity-community .header { backdrop-filter: none; -webkit-backdrop-filter: none; }
.clarity-community .nav-center { gap: 3px; }
.clarity-community .nav-center a { padding: 9px 10px; font-size: 14px; border-radius: 3px; }
.clarity-community .nav-center a:hover,
.clarity-community .nav-center a.active { background: #e6ecf6; color: #06070b; }
.clarity-community .nav-auth { gap: 14px; }
.clarity-community .auth-link,
.clarity-community .auth-user { font-size: 14px; }
.clarity-community .auth-user { max-width: 160px; overflow-wrap: anywhere; }
.clarity-community .avatar { background: #e6e0f6; color: #5946b2; flex-shrink: 0; }
.clarity-community .menu-btn { border-radius: 3px; }
.clarity-community .brand > span:last-child { display: inline; }
.clarity-community .mobile-menu { backdrop-filter: none; -webkit-backdrop-filter: none; gap: 18px; }
.clarity-community .mobile-menu .mm-label { margin-top: 6px; font-size: 12px; }
.clarity-community .mobile-menu a { font-weight: 500; }
.clarity-community .eyebrow { color: #525d70; font-size: 12px; letter-spacing: .15em; }
.clarity-community .grad { background: none; color: inherit; }
.clarity-community .crumbs { padding-top: 28px; font-size: 13px; letter-spacing: 0; }
.clarity-community .page-hero,
.clarity-community .page-hero.has-art { padding-block: 88px 56px; text-align: left; }
.clarity-community .page-hero.has-art::before,
.clarity-community .page-hero.has-art::after { content: none; background: none; }
.clarity-community .page-hero h1 { font-size: clamp(42px, 5.4vw, 72px); max-width: 19ch; margin: 22px 0 0; line-height: 1.06; letter-spacing: -.035em; }
.clarity-community .page-hero .deck { font-size: 20px; max-width: 56ch; margin: 24px 0 0; color: #525d70; }
.clarity-community .page-hero .art-meta { justify-content: flex-start; }
.clarity-community .page-hero .afx-d4891b09 { justify-content: flex-start !important; }
.clarity-community .page-hero .forum-search { justify-content: flex-start; max-width: 640px; margin-inline: 0; }
.clarity-community .forum-search input { background: #fff; border-radius: 3px; border-color: #aab6cb; padding: 13px 16px; }
.clarity-community .art-hero { padding-block: 72px 32px; }
.clarity-community .art-hero h1 { font-size: clamp(40px, 4.8vw, 64px); max-width: 24ch; line-height: 1.08; }
.clarity-community .art-hero .deck { font-size: 20px; }
.clarity-community .art-meta { font-size: 13px; letter-spacing: .01em; }
.clarity-community .art-cover { border-radius: 4px; }
.clarity-community .post-grid { gap: 28px; }
.clarity-community .post-card { background: #fff; border-radius: 4px; padding: 28px; gap: 16px; }
.clarity-community .post-card:hover,
.clarity-community .cat-row:hover,
.clarity-community .btn-primary:hover { transform: none; }
.clarity-community .post-card h2,
.clarity-community .post-card h3 { font-size: 26px; line-height: 1.18; }
.clarity-community .post-card.featured h2 { font-size: clamp(30px, 3.2vw, 40px); max-width: 28ch; }
.clarity-community .post-card p { font-size: 16px; }
.clarity-community .post-card .meta { font-size: 13px; letter-spacing: 0; }
.clarity-community .card-cover { margin: -28px -28px 4px; }
.clarity-community .tag { border-color: #d0d8e5; font-size: 11px; letter-spacing: .07em; }
.clarity-community a.tag:hover,
.clarity-community .tag.active { color: #fff; background: #5946b2; border-color: #5946b2; }
.clarity-community .prose { font-size: 17px; }
.clarity-community .prose h2 { font-size: 30px; line-height: 1.2; }
.clarity-community .prose h3 { font-size: 24px; line-height: 1.25; }
.clarity-community .prose a { text-decoration-color: #a49ac8; }
.clarity-community .prose blockquote { background: #eae6f5; border-left-color: #5946b2; }
.clarity-community .prose pre { background: #e8edf6; color: #06070b; }
.clarity-community .prose code { font-family: ui-monospace, monospace; background: #e8edf6; }
.clarity-community .prose pre code { background: transparent; }
.clarity-community .post-content pre { background: #e8edf6; color: #06070b; }
.clarity-community .post-content code { font-family: ui-monospace, monospace; background: #e8edf6; }
.clarity-community .house-ad-inner { border: 1px solid #d0d8e5; background: #eaeef7; padding: 32px; }
.clarity-community .house-ad-inner h3 { font-size: 26px; }
.clarity-community .ad-tag { font-size: 11px; }
.clarity-community .nl-block { padding: 40px; background: #fff; border-radius: 4px; }
.clarity-community .nl-block h2 { font-size: 32px; }
.clarity-community .nl-block p { font-size: 16px; }
.clarity-community .nl-form input { background: #f3f7ff; border-radius: 3px; font-size: 16px; }
.clarity-community .nl-block .nl-msg { color: #176543; }
.clarity-community .nl-block .nl-msg.err { color: #a22340; }
.clarity-community .section-head-row h2,
.clarity-community .cat-heading { font-size: 30px; }
.clarity-community .section-head-row .section-sub { letter-spacing: 0; font-size: 13px; }
.clarity-community .live-dot { animation: none; box-shadow: none; }
.clarity-community .cat-list { gap: 0; border-top: 1px solid #d0d8e5; }
.clarity-community .cat-row { grid-template-columns: minmax(0, 1fr) auto; padding: 28px 20px; border: 0; border-bottom: 1px solid #d0d8e5; border-radius: 0; background: transparent; gap: 36px; }
.clarity-community .cat-row:hover { background: #eaeef7; }
.clarity-community .cat-row h2 { font-size: 24px; }
.clarity-community .cat-row p { font-size: 16px; max-width: 65ch; }
.clarity-community .cat-stats { display: grid; gap: 4px; font-size: 13px; }
.clarity-community .thread-list { border-radius: 4px; }
.clarity-community .thread-row { padding: 24px; gap: 24px; }
.clarity-community .thread-row:hover { background: #edf1fa; }
.clarity-community .thread-row h3 { font-weight: 500; font-size: 18px; }
.clarity-community .thread-row .meta { font-size: 13px; letter-spacing: 0; }
.clarity-community .thread-row .counts { font-size: 13px; }
.clarity-community .pill { font-size: 10px; border-radius: 3px; }
.clarity-community .pill.pin { border-color: #bdae91; }
.clarity-community .pill.new,
.clarity-community .md-tab.on { background: #5946b2; color: #fff; }
.clarity-community .post-item { padding: 28px; border-radius: 4px; }
.clarity-community .post-item.op { border-color: #a49ac8; }
.clarity-community .post-body .prose { padding-top: 12px; }
.clarity-community .post-actions { border-top-color: #d0d8e5; }
.clarity-community .post-actions button,
.clarity-community .post-actions a { font-size: 12px; min-height: 36px; }
.clarity-community .vote-btn { background: #f3f7ff; }
.clarity-community .vote-btn.on { background: #5946b2; color: #fff; }
.clarity-community .form-card { background: #fff; border-radius: 4px; padding: 40px; margin-block: 56px; }
.clarity-community .form-card h1 { font-size: 36px; line-height: 1.15; }
.clarity-community .field input,
.clarity-community .field textarea,
.clarity-community .field select,
.clarity-community .mod-bar input,
.clarity-community .mod-bar select,
.clarity-community .report-reason input { background: #f3f7ff; border-radius: 3px; font-size: 16px; }
.clarity-community .field label { font-size: 15px; }
.clarity-community form[action="/forum/login/link"] input[type="email"] {
  min-height: 48px;
  padding: 12px 16px;
  font: inherit;
  font-size: 16px;
  color: #06070b;
  background: #f3f7ff;
  border: 1px solid #aab6cb;
  border-radius: 3px;
}
.clarity-community .field .hint,
.clarity-community .md-hint { font-size: 13px; }
.clarity-community .form-err { background: #fbedf0; border-color: #d0a6ae; }
.clarity-community .form-ok { background: #e9f3ed; border-color: #a6c8b4; }
.clarity-community .btn-danger { color: #a22340; border-color: #bd7787; }
.clarity-community .btn-danger:hover { background: #fbedf0; }
.clarity-community .notice,
.clarity-community .discuss-cta { background: #eae6f5; border-color: #c5bcdf; }
.clarity-community .md-preview { background: #f3f7ff; }
.clarity-community .md-tool,
.clarity-community .md-tab,
.clarity-community .report-send { min-height: 40px; }
.clarity-community .jump-new { border-color: #a49ac8; }
.clarity-community .forum-about h2 { font-size: 26px; }
.clarity-community .site-footer { margin-top: 88px; padding-block: 56px 40px; background: #edf1fa; }
.clarity-community .footer-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.clarity-community .f-brand { font-family: 'Satoshi', Arial, sans-serif; font-weight: 500; font-size: 22px; }
.clarity-community .f-brand .sub { color: inherit; font-weight: 400; }
.clarity-community .f-tag { font-size: 14px; max-width: 30ch; margin-top: 12px; }
.clarity-community .f-links { align-content: start; gap: 12px 24px; }
.clarity-community .f-links a { min-height: 32px; display: inline-flex; align-items: center; font-size: 14px; }
.clarity-community .f-legal { border-top: 1px solid #d0d8e5; padding-top: 24px; margin-top: 36px; font-size: 12px; letter-spacing: 0; line-height: 1.8; }
@media (max-width: 1024px) {
  .clarity-community .nav-center,
  .clarity-community .nav-auth { display: none; }
  .clarity-community .menu-btn { display: grid; }
}
@media (min-width: 1025px) {
  .clarity-community .nav-center,
  .clarity-community .nav-auth { display: flex; }
  .clarity-community .menu-btn { display: none; }
}
@media (max-width: 700px) {
  .clarity-community .page-hero,
  .clarity-community .page-hero.has-art { padding-block: 56px 36px; }
  .clarity-community .page-hero h1 { font-size: 42px; max-width: 17ch; }
  .clarity-community .page-hero .deck,
  .clarity-community .art-hero .deck { font-size: 18px; }
  .clarity-community .art-hero { padding-block: 48px 24px; }
  .clarity-community .art-hero h1 { font-size: 38px; }
  .clarity-community .post-grid { grid-template-columns: minmax(0, 1fr); }
  .clarity-community .post-card { padding: 22px; }
  .clarity-community .card-cover { margin: -22px -22px 4px; }
  .clarity-community .cat-row { padding: 20px; gap: 16px; grid-template-columns: minmax(0, 1fr); }
  .clarity-community .cat-stats { display: flex; gap: 18px; text-align: left; white-space: normal; }
  .clarity-community .thread-row { grid-template-columns: minmax(0, 1fr); padding: 20px; gap: 12px; }
  .clarity-community .thread-row .counts { text-align: left; white-space: normal; }
  .clarity-community .post-item { padding: 20px; gap: 12px; }
  .clarity-community .post-item > .avatar { width: 26px; height: 26px; font-size: 12px; }
  .clarity-community .form-card { padding: 28px 22px; margin-block: 36px; }
  .clarity-community .form-card h1 { font-size: 32px; }
  .clarity-community .nl-block { padding: 28px 22px; }
  .clarity-community .nl-form input { min-width: 0; }
  .clarity-community .mod-bar input,
  .clarity-community .mod-bar select { max-width: 100%; }
  .clarity-community .mod-bar .afx-f953f7cb { min-width: 0 !important; }
  .clarity-community .report-reason { flex-wrap: wrap; margin-left: 0; }
  .clarity-community .report-reason input { max-width: 100%; min-width: 0; width: 100%; }
  .clarity-community .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .clarity-community .site-footer { margin-top: 56px; padding-top: 40px; }
}

/* Screenshot-led house promotion. Apple device artwork stays unaltered. */
.clarity-community .paradigm-promo { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(180px, .7fr); align-items: center; gap: 48px; max-width: none; padding: 48px; margin-block: 64px; text-align: left; background: #e7edf8; border: 1px solid #d0d8e5; }
.clarity-community .paradigm-promo h3 { font-size: clamp(36px, 4vw, 52px); line-height: 1.08; letter-spacing: -.035em; margin: 20px 0 24px; }
.clarity-community .paradigm-promo-copy > p:not(.eyebrow) { max-width: 43ch; color: #525d70; font-size: 16px; margin-block: 16px; }
.clarity-community .paradigm-promo-copy > p.promo-intro { color: #06070b; font-size: 21px; }
.clarity-community .paradigm-promo-copy > p.promo-release { font-size: 13px; }
.clarity-community .paradigm-promo .btn { margin-top: 12px; }
.clarity-community .paradigm-promo-art { margin: 0; justify-self: center; width: 100%; max-width: 260px; }
.clarity-community .paradigm-promo-art img { width: 100%; height: auto; display: block; }
.clarity-community .paradigm-promo-art figcaption { font-size: 11px; line-height: 1.5; color: #525d70; margin-top: 14px; text-align: center; }
@media (max-width: 700px) {
  .clarity-community .paradigm-promo { grid-template-columns: minmax(0, 1fr); padding: 28px 22px; gap: 32px; margin-block: 40px; }
  .clarity-community .paradigm-promo h3 { font-size: 38px; }
  .clarity-community .paradigm-promo-art { max-width: 260px; }
}
