/* ALLHIR Round71 2.39.46 — dark/gold styling for the public Forum fallback. */

html body:not(#allhir-never):not(#allhir-never-23946) main.allhir-forum-page {
  background: var(--ah-canvas) !important;
  color: var(--ah-text-primary) !important;
}

html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-forum-hero {
  border-bottom: 1px solid var(--ah-gold-line-soft) !important;
  background:
    radial-gradient(circle at 85% 20%, rgba(239, 216, 157, .11), transparent 34%),
    linear-gradient(120deg, #111111, #191919) !important;
}

html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-forum-guide {
  border-color: var(--ah-gold-line-soft) !important;
  background: var(--ah-glass) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .035) !important;
}

html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-forum-guide h2 {
  color: var(--ah-gold) !important;
  -webkit-text-fill-color: var(--ah-gold) !important;
}

html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-forum-guide li {
  color: var(--ah-text-primary) !important;
  -webkit-text-fill-color: var(--ah-text-primary) !important;
}

html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-forum-guide li::before {
  border: 1px solid var(--ah-gold-line) !important;
  background: var(--ah-gold) !important;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  box-shadow: 0 0 16px var(--ah-gold-glow) !important;
}

html body:not(#allhir-never):not(#allhir-never-23946) main :is(
  .allhir-forum68-categories,
  .allhir-forum68-latest
) {
  background: var(--ah-canvas) !important;
}

html body:not(#allhir-never):not(#allhir-never-23946) main.allhir-forum-page--nested .allhir-forum-live {
  background: var(--ah-canvas) !important;
}

html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-forum68-heading small {
  color: var(--ah-gold-muted) !important;
  -webkit-text-fill-color: var(--ah-gold-muted) !important;
}

html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-forum68-heading h2 {
  color: var(--ah-gold) !important;
  -webkit-text-fill-color: var(--ah-gold) !important;
}

html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-forum68-heading p {
  color: var(--ah-text-secondary) !important;
  -webkit-text-fill-color: var(--ah-text-secondary) !important;
}

html body:not(#allhir-never):not(#allhir-never-23946) main :is(
  .allhir-forum68-category-card,
  .allhir-forum68-topic-card
) {
  border-color: var(--ah-gold-line-soft) !important;
  background: var(--ah-glass) !important;
  color: var(--ah-text-primary) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .035) !important;
}

html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-forum68-category-card::before {
  background: linear-gradient(90deg, var(--ah-gold-muted), var(--ah-gold-strong)) !important;
}

html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-forum68-category-card small,
html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-forum68-topic-card__top small {
  color: var(--ah-gold-muted) !important;
  -webkit-text-fill-color: var(--ah-gold-muted) !important;
}

html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-forum68-category-card strong,
html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-forum68-category-card b,
html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-forum68-topic-card h3 a {
  color: var(--ah-gold) !important;
  -webkit-text-fill-color: var(--ah-gold) !important;
}

html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-forum68-category-card span,
html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-forum68-topic-card p {
  color: var(--ah-text-primary) !important;
  -webkit-text-fill-color: var(--ah-text-primary) !important;
}

html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-forum68-topic-card__top em,
html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-forum68-topic-card__meta {
  color: var(--ah-text-secondary) !important;
  -webkit-text-fill-color: var(--ah-text-secondary) !important;
}

html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-forum68-avatar {
  background: conic-gradient(var(--ah-gold-strong) 0 23%, transparent 23% 34%, var(--ah-gold-muted) 34% 62%, transparent 62% 73%, var(--ah-gold) 73% 100%) !important;
}

html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-forum68-avatar :is(img, video) {
  border-color: var(--ah-surface) !important;
}

html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-forum68-topic-card__action {
  border: 1px solid var(--ah-gold-line) !important;
  background: var(--ah-glass-strong) !important;
  color: var(--ah-gold) !important;
  -webkit-text-fill-color: var(--ah-gold) !important;
}

html body:not(#allhir-never):not(#allhir-never-23946) main :is(
  .allhir-forum68-category-card,
  .allhir-forum68-topic-card__action
):is(:hover, :focus-visible) {
  border-color: var(--ah-gold-line) !important;
  background: var(--ah-glass-hover) !important;
  box-shadow: 0 0 18px var(--ah-gold-glow), 0 16px 36px rgba(0, 0, 0, .26) !important;
  outline: 0 !important;
}

/* Nested wpForo category/topic/post pages keep the same ALLHIR palette. */
html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-wpforo-shell {
  border-color: var(--ah-gold-line-soft) !important;
  background: var(--ah-surface) !important;
  color: var(--ah-text-primary) !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .26) !important;
}

html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-wpforo-shell #wpforo-wrap {
  background: transparent !important;
  color: var(--ah-text-primary) !important;
}

html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-wpforo-shell #wpforo-wrap :is(
  .wpforo-category,
  .wpforo-topic,
  .wpforo-topic-head,
  .wpforo-post-head,
  .wpf-head-bar,
  .wpfl-1 .head-title,
  .wpforo-forum-wrap,
  .wpforo-topic-wrap,
  .wpforo-post,
  .wpforo-memberinfo,
  .wpforo-footer,
  .wpf-footer,
  .wpf-footer-box
) {
  border-color: var(--ah-gold-line-soft) !important;
  background: var(--ah-glass-strong) !important;
  color: var(--ah-text-primary) !important;
  box-shadow: none !important;
}

html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-wpforo-shell #wpforo-wrap :is(
  .wpforo-postmain,
  .wpforo-content,
  .wpf-content,
  .wpf-body,
  .wpf-field
) {
  background: transparent !important;
  color: var(--ah-text-primary) !important;
}

html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-wpforo-shell #wpforo-wrap :is(
  .wpforo-category,
  .wpforo-topic-head,
  .wpforo-post-head,
  .wpf-head-bar,
  .wpfl-1 .head-title
) {
  border-left-color: var(--ah-gold) !important;
}

html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-wpforo-shell #wpforo-wrap :is(
  .wpforo-category a,
  .wpforo-topic-head a,
  .wpforo-post-head a,
  .wpf-head-bar a,
  .wpfl-1 .head-title a,
  .wpforo-topic-title a,
  .wpforo-forum-title a,
  .wpforo-footer a,
  .wpf-footer a,
  .wpf-footer-box a,
  .wpf-breadcrumb a
) {
  color: var(--ah-gold) !important;
  -webkit-text-fill-color: var(--ah-gold) !important;
}

html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-wpforo-shell #wpforo-wrap :is(
  .wpforo-category-title,
  .wpforo-topic-title,
  .wpf-head-bar-title,
  .head-title
) {
  color: var(--ah-gold) !important;
  -webkit-text-fill-color: var(--ah-gold) !important;
  text-shadow: none !important;
}

html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-wpforo-shell #wpforo-wrap :is(
  .wpforo-post-content,
  .wpf-post-content,
  .wpf-breadcrumb
) {
  background: transparent !important;
  color: var(--ah-text-primary) !important;
  -webkit-text-fill-color: var(--ah-text-primary) !important;
}

html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-wpforo-shell #wpforo-wrap :is(
  input,
  textarea,
  select
) {
  border-color: var(--ah-gold-line-soft) !important;
  background: var(--ah-input) !important;
  color: var(--ah-text-primary) !important;
  -webkit-text-fill-color: var(--ah-text-primary) !important;
}

html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-wpforo-shell #wpforo-wrap :is(
  button,
  button[type="submit"],
  input[type="submit"],
  .wpf-button,
  .wpforo-subscribe
) {
  border-color: var(--ah-gold-line) !important;
  background: var(--ah-glass-strong) !important;
  color: var(--ah-gold) !important;
  -webkit-text-fill-color: var(--ah-gold) !important;
}

html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-wpforo-shell #wpforo-wrap .wpforo-topic-title:hover,
html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-wpforo-shell #wpforo-wrap .wpforo-topic-title:hover a {
  color: var(--ah-gold) !important;
  -webkit-text-fill-color: var(--ah-gold) !important;
}

@media (max-width: 768px) {
  html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-forum68-categories,
  html body:not(#allhir-never):not(#allhir-never-23946) main .allhir-forum68-latest {
    background: var(--ah-canvas) !important;
  }
}
