:root {
  --bg: #f5f7f4;
  --panel: #fff;
  --ink: #17231c;
  --muted: #637064;
  --line: #dfe7dc;
  --green: #116149;
  --green-2: #0b8a61;
  --gold: #d59a2c;
  --blue: #27688f;
  --shadow: 0 16px 44px rgba(23, 35, 28, .08);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(213, 154, 44, .1), transparent 28%),
    linear-gradient(180deg, #f8fbf7 0%, var(--bg) 40%, #eef4ef 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 68px;
  padding: 12px max(22px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(248, 251, 247, .94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.brand span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--blue));
}

.topbar nav {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 14px;
}

.topbar nav a,
.login-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.auth-links {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.login-link.strong {
  color: var(--green);
}

.topbar nav a:hover,
.login-link:hover { color: var(--green); }

.user-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.user-pill form { margin: 0; }

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--green);
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

button:hover,
.button:hover { background: var(--green-2); }

.button.secondary {
  color: var(--green);
  background: #fff;
}

.button.small {
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
}

.shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 70px;
}

.hero-forum {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  padding: 42px 0 34px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

h1 {
  max-width: 850px;
  margin-bottom: 14px;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.06;
}

h2 { margin-bottom: 12px; }

.hero-forum p,
.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions,
.mini-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.editorial-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}

.panel {
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
}

.panel-head h2,
.panel h1 { margin-bottom: 4px; }

.panel-head a,
.text-link {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.category-grid,
.trust-grid,
.stats-grid,
.link-grid {
  display: grid;
  gap: 12px;
}

.category-grid,
.trust-grid,
.stats-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.link-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.category,
.trust-card,
.stat-card {
  display: grid;
  gap: 6px;
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
  text-decoration: none;
}

.compact-card { min-height: 110px; }

.category:hover,
.compact-card:hover { border-color: #9fc9b7; }

.category strong,
.trust-card h2 {
  font-size: 20px;
}

.category span,
.post-row span,
.meta,
.comment span,
.empty,
.login-note,
.panel p,
.trust-card p,
.stat-card span,
.stack-links span,
.footer-intro p,
.footer-disclaimer,
.footer-extra,
.footer-links a,
.footer-bottom p {
  color: var(--muted);
}

.category em {
  align-self: end;
  color: var(--green);
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
}

.trust-grid,
.site-stats {
  margin-bottom: 22px;
}

.twinguard-home,
.rating-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 22px;
  padding: 24px;
  border: 1px solid #cfe0d2;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(17, 97, 73, .09), rgba(39, 104, 143, .07));
}

.twinguard-home h2,
.rating-cta h2 {
  margin-bottom: 8px;
  font-size: clamp(26px, 4vw, 38px);
}

.trust-card {
  min-height: 156px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
}

.site-stats .panel-head { margin-bottom: 12px; }

.stat-card {
  min-height: 120px;
  align-content: center;
}

.stat-card strong {
  font-size: 34px;
  line-height: 1;
}

.stat-card.compact {
  min-height: 92px;
}

.stat-card.compact strong {
  font-size: 28px;
}

.post-list,
.comments,
.stack-links,
.footer-links {
  display: grid;
  gap: 10px;
}

.post-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
}

.post-row:hover { border-color: #9fc9b7; }

.post-row strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.post-row em {
  white-space: nowrap;
  color: var(--blue);
  font-style: normal;
  font-weight: 800;
}

.compact h3 { margin-bottom: 12px; }

.rank { margin: 0 0 14px; padding-left: 22px; }
.rank li { margin-bottom: 8px; }

.news-link {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.news-link.mini {
  padding: 8px 0;
}

.news-link span,
.news-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.auth-shell {
  width: min(720px, calc(100% - 36px));
  margin: 0 auto;
  padding: 54px 0;
}

.auth.wide { width: min(850px, 100%); }

.form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 750;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

input[type="password"] {
  font: inherit;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-note a {
  color: var(--green);
  font-weight: 800;
}

textarea { resize: vertical; }

.thread h1,
.rich-page h1 { font-size: clamp(30px, 5vw, 48px); }

.crumb {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.comment {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
}

.comment strong,
.comment span { display: block; }

table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

th, td {
  padding: 13px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th { color: #fff; background: var(--green); }

.news-card {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.long-news p {
  max-width: 860px;
}

.news-category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 10px;
}

.news-category-row a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green);
  background: #fbfcf8;
  font-weight: 800;
  text-decoration: none;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.review-grid article,
.faq-list details {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
}

.review-grid strong,
.review-grid span {
  display: block;
}

.review-grid span {
  margin-top: 6px;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 850;
}

.faq-list p {
  margin: 10px 0 0;
}

.rich-page p + p { margin-top: 14px; }

.note {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: #fff8ea;
  color: #5b4a1a;
}

.content-list {
  padding-left: 20px;
  color: var(--ink);
}

.content-list li + li { margin-top: 10px; }

.content-section + .content-section {
  margin-top: 24px;
}

.category-head {
  margin-top: 18px;
}

.early-access {
  background: linear-gradient(180deg, #f6fbf8 0%, #eef8f2 100%);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f0f5ef;
}

.footer-shell {
  padding-top: 24px;
  padding-bottom: 36px;
}

.footer-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 20px;
  padding: 24px;
  border: 1px solid #cfe0d2;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(17, 97, 73, .08), rgba(39, 104, 143, .06));
}

.footer-cta h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 40px);
}

.footer-intro {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 20px;
  margin-bottom: 20px;
}

.trust-line {
  font-weight: 800;
}

.compact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.footer-group {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .7);
}

.footer-group summary {
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 850;
}

.footer-group summary::-webkit-details-marker {
  display: none;
}

.footer-links {
  margin-top: 14px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover,
.footer-extra a:hover {
  color: var(--green);
}

.footer-extra {
  margin: 4px 0 0;
  font-size: 14px;
}

.footer-extra a {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1050px) {
  .layout,
  .footer-cta,
  .twinguard-home,
  .rating-cta,
  .footer-intro,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .topbar,
  .hero-forum {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-grid,
  .trust-grid,
  .stats-grid,
  .review-grid,
  .link-grid,
  .compact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .post-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .shell,
  .auth-shell {
    width: min(100% - 24px, 1180px);
  }

  .panel,
  .footer-cta,
  .footer-group {
    padding: 18px;
  }

  .footer-group[open] {
    padding-bottom: 14px;
  }

  .footer-group summary {
    position: relative;
    padding-right: 24px;
  }

  .footer-group summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    color: var(--green);
  }

  .footer-group[open] summary::after {
    content: "-";
  }
}

/* Classic forum skin */
:root {
  --bg: #f3f5f7;
  --panel: #ffffff;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #d9dee5;
  --green: #2563eb;
  --green-2: #1d4ed8;
  --gold: #f59e0b;
  --blue: #2563eb;
  --hot: #ef4444;
  --ok: #16a34a;
  --shadow: none;
}

body {
  background: var(--bg);
  font-family: Arial, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

.forum-site-head {
  border-bottom: 1px solid #b9c5d4;
  background: #fff;
}

.forum-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 6px max(14px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  color: #4b5563;
  background: #eef3f8;
  font-size: 12px;
}

.forum-topline nav,
.forum-nav,
.forum-mainhead {
  display: flex;
  align-items: center;
}

.forum-topline nav { gap: 12px; }
.forum-topline a { color: #2563eb; text-decoration: none; }

.forum-mainhead {
  gap: 16px;
  padding: 14px max(14px, calc((100vw - 1180px) / 2));
}

.forum-logo {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 10px;
  min-width: 280px;
  color: var(--ink);
  text-decoration: none;
}

.forum-logo span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #1d4ed8;
  border-radius: 3px;
  color: #fff;
  background: #2563eb;
  font-size: 24px;
  font-weight: 900;
}

.forum-logo strong { font-size: 24px; line-height: 1; }
.forum-logo em { color: var(--muted); font-size: 12px; font-style: normal; }

.forum-search {
  display: flex;
  flex: 1;
  gap: 6px;
}

.forum-search input {
  min-height: 34px;
  border-radius: 3px;
  padding: 8px 10px;
}

.forum-search button,
.forum-mainhead .button,
.forum-widget .button,
.forum-actions .button,
.mini-actions .button {
  min-height: 32px;
  border-radius: 3px;
  padding: 0 12px;
  font-size: 13px;
}

.forum-nav {
  gap: 0;
  padding: 0 max(14px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  background: #2563eb;
}

.forum-nav a {
  padding: 9px 13px;
  border-right: 1px solid rgba(255,255,255,.22);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.forum-nav a.active,
.forum-nav a:hover { background: #1d4ed8; }

.shell {
  padding-top: 16px;
}

.layout {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 12px;
}

.forum-announcement,
.forum-statusbar,
.forum-panel,
.forum-widget {
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
}

.forum-announcement {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-color: #c8d6e6;
  background: #f8fbff;
}

.forum-announcement h1 {
  margin-bottom: 6px;
  font-size: 18px;
  line-height: 1.25;
}

.forum-announcement p {
  margin: 0;
  color: #4b5563;
}

.forum-statusbar {
  padding: 8px 12px;
  color: #374151;
  background: #fff7ed;
  font-weight: 700;
}

.forum-panel {
  padding: 0;
  overflow: hidden;
}

.forum-panel > h1,
.forum-panel > .lead,
.forum-panel > .editorial-meta,
.forum-panel > .forum-actions,
.forum-panel > .content-section,
.forum-panel > .forum-breadcrumb {
  margin-left: 12px;
  margin-right: 12px;
}

.forum-panel > h1 {
  margin-top: 12px;
  font-size: 26px;
}

.forum-panel > .lead {
  max-width: none;
  font-size: 14px;
}

.forum-panel-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  background: #eef3f8;
}

.forum-panel-title h2 {
  margin: 0;
  font-size: 16px;
}

.forum-panel-title a,
.forum-panel-title span {
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.forum-table-wrap { overflow-x: auto; }

.forum-table {
  border: 0;
  border-radius: 0;
  font-size: 13px;
}

.forum-table th {
  padding: 8px 9px;
  color: #374151;
  background: #f3f6fa;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.forum-table td {
  padding: 9px;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: middle;
}

.forum-table tr:nth-child(even) td { background: #fbfdff; }
.forum-table a { color: #2563eb; font-weight: 700; text-decoration: none; }
.forum-table small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }

.board-title {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 8px;
}

.board-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  background: #fff;
}

.board-title p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.topic-title span { color: #6b7280; }

.forum-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 6px;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  color: #374151;
  background: #fff;
  font-size: 12px;
  white-space: nowrap;
}

.forum-badge.hot { color: var(--hot); border-color: #fecaca; background: #fff1f2; }
.forum-badge.featured { color: #a16207; border-color: #fde68a; background: #fffbeb; }
.forum-badge.solved { color: var(--ok); border-color: #bbf7d0; background: #f0fdf4; }
.forum-badge.pinned { color: #1d4ed8; border-color: #bfdbfe; background: #eff6ff; }

.forum-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 12px;
  color: var(--muted);
  font-size: 12px;
}

.forum-breadcrumb a {
  color: #2563eb;
  text-decoration: none;
}

.forum-pagination {
  display: flex;
  gap: 4px;
  padding: 10px;
}

.forum-pagination a {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: #2563eb;
  background: #fff;
  text-decoration: none;
}

.forum-pagination a.active {
  color: #fff;
  background: #2563eb;
}

.forum-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 12px;
}

.reply-feed,
.forum-link-cloud,
.announcement-list {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.reply-feed a,
.forum-link-cloud a {
  padding: 8px;
  border: 1px solid #e5e7eb;
  color: #2563eb;
  background: #fbfdff;
  text-decoration: none;
}

.reply-feed span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.forum-widget {
  padding: 10px;
}

.forum-widget h3 {
  margin: -10px -10px 10px;
  padding: 7px 9px;
  border-bottom: 1px solid var(--line);
  background: #eef3f8;
  font-size: 14px;
}

.forum-stats-list {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  margin: 0;
}

.forum-stats-list dt { color: var(--muted); }
.forum-stats-list dd { margin: 0; font-weight: 800; }

.active-users {
  display: grid;
  gap: 7px;
}

.active-users a {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 2px 7px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.active-users span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 3px;
  color: #fff;
  background: #2563eb;
  font-weight: 900;
}

.active-users em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.thread-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
}

.thread-head h1 {
  margin: 0 0 5px;
  font-size: 24px;
}

.thread-stats {
  color: var(--muted);
  font-size: 12px;
}

.forum-thread-list {
  display: grid;
  gap: 10px;
}

.forum-reply {
  display: grid;
  grid-template-columns: 165px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
}

.reply-user {
  padding: 12px;
  border-right: 1px solid var(--line);
  background: #f8fafc;
  text-align: center;
}

.avatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 8px;
  border-radius: 4px;
  color: #fff;
  background: #2563eb;
  font-size: 24px;
  font-weight: 900;
}

.reply-user strong,
.reply-user span,
.reply-user small,
.reply-user em {
  display: block;
}

.reply-user span { color: #2563eb; font-weight: 800; }
.reply-user small { color: var(--muted); font-size: 11px; }
.reply-user em {
  margin-top: 5px;
  padding: 3px 5px;
  border: 1px solid #dbe3ed;
  border-radius: 3px;
  color: #4b5563;
  background: #fff;
  font-style: normal;
  font-size: 11px;
}

.reply-body {
  padding: 12px;
}

.reply-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: -12px -12px 12px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--line);
  background: #f3f6fa;
  color: #4b5563;
  font-size: 12px;
}

.reply-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  font-size: 12px;
}

.reply-actions a {
  color: #2563eb;
  text-decoration: none;
}

.signature {
  margin: 14px 0 0;
  padding-top: 8px;
  border-top: 1px dashed #cbd5e1;
  color: var(--muted);
  font-size: 12px;
}

.announcement-list article {
  padding: 10px;
  border: 1px solid #e5e7eb;
  background: #fbfdff;
}

.announcement-list h2 {
  font-size: 16px;
}

.seed-report {
  margin: 14px 0 0;
  padding: 12px;
  overflow: auto;
  border: 1px solid #b8c7d9;
  border-radius: 3px;
  color: #243142;
  background: #f8fafc;
  font-size: 12px;
}

.forum-modal[hidden] {
  display: none;
}

.forum-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.forum-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .46);
}

.forum-modal__box {
  position: relative;
  width: min(420px, 100%);
  padding: 0 0 14px;
  border: 1px solid #93a8c3;
  border-radius: 4px;
  background: #f8fafc;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .26);
}

.forum-modal__box h2 {
  margin: 0;
  padding: 9px 12px;
  border-bottom: 1px solid #b9c7d8;
  color: #10233f;
  background: linear-gradient(180deg, #eef5fd 0%, #d7e4f3 100%);
  font-size: 16px;
}

.forum-modal__box p {
  margin: 0;
  padding: 14px 12px;
  color: #374151;
}

.forum-modal__box .mini-actions {
  padding: 0 12px;
}

@media (max-width: 900px) {
  .forum-topline,
  .forum-mainhead,
  .forum-announcement,
  .thread-head,
  .forum-reply {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .forum-mainhead,
  .forum-topline {
    align-items: stretch;
  }

  .forum-logo {
    min-width: 0;
  }

  .forum-search {
    flex-direction: column;
  }

  .forum-nav {
    overflow-x: auto;
    padding: 0;
  }

  .forum-nav a {
    white-space: nowrap;
  }

  .reply-user {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }

  .avatar {
    margin-left: 0;
  }
}

/* Footer aligned with the classic forum skin */
.site-footer {
  margin-top: 20px;
  border-top: 4px solid #1d4ed8;
  background: #dfe7f1;
  color: #243142;
}

.site-footer .footer-shell {
  padding-top: 18px;
  padding-bottom: 24px;
}

.site-footer .footer-cta {
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid #9fb4cf;
  border-radius: 3px;
  background: linear-gradient(180deg, #f8fbff 0%, #eaf1f9 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}

.site-footer .footer-cta h2 {
  margin-bottom: 4px;
  color: #10233f;
  font-size: 20px;
}

.site-footer .footer-cta p,
.site-footer .footer-intro p,
.site-footer .footer-disclaimer,
.site-footer .footer-bottom p,
.site-footer .footer-extra {
  color: #536173;
  font-size: 13px;
}

.site-footer .footer-intro {
  gap: 12px;
  margin-bottom: 14px;
}

.site-footer .trust-line {
  color: #1e3a5f;
  font-size: 14px;
}

.site-footer .stat-card,
.site-footer .trust-card {
  min-height: 74px;
  padding: 10px;
  border: 1px solid #b8c7d9;
  border-radius: 3px;
  background: #f7faff;
  box-shadow: none;
}

.site-footer .stat-card strong {
  color: #10233f;
}

.site-footer .footer-grid {
  gap: 8px;
  margin-bottom: 14px;
}

.site-footer .footer-group {
  padding: 0;
  overflow: hidden;
  border: 1px solid #aebed1;
  border-radius: 3px;
  background: #f8fafc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}

.site-footer .footer-group summary {
  padding: 8px 10px;
  border-bottom: 1px solid #c7d3e2;
  color: #10233f;
  background: linear-gradient(180deg, #eef5fd 0%, #d7e4f3 100%);
  font-size: 14px;
}

.site-footer .footer-links {
  display: grid;
  gap: 0;
  margin-top: 0;
  padding: 6px 10px 8px;
}

.site-footer .footer-links a {
  padding: 3px 0;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}

.site-footer .footer-links a:hover,
.site-footer .footer-extra a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.site-footer .footer-extra {
  margin: 6px 0 0;
  padding-top: 6px;
  border-top: 1px dashed #cbd5e1;
}

.site-footer .footer-extra a {
  color: #1d4ed8;
}

.site-footer .footer-bottom {
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid #b8c7d9;
}

@media (max-width: 720px) {
  .site-footer .footer-group summary::after {
    color: #1d4ed8;
  }
}
