/* 798 HANDS: the forums, phpBB's shape in 798's look (2.44.0; templates/forum*.html, fragments/forum_macros.html).
   Big, plain and readable: the members are old welders with bad eyes. */
.fx-page { padding: 24px; }
.fx-page .crate-panel { padding: 18px 20px; }
.fx-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin: 4px 0 8px; }
.fx-h1 { font-size: 30px; margin: 0; line-height: 1.2; }
.fx-h2 { font-size: 20px; margin: 0 0 10px; }
.fx-desc { font-size: 17px; color: var(--text-muted); margin: 0 0 12px; }
.fx-cl-link { margin: 0 0 12px; }
.fx-cl-link .btn { font-size: 17px; }
.fx-tools, .fx-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.fx-bar { margin: 10px 0; }
.fx-inline { display: inline; margin: 0; }
.fx-big { font-size: 17px; padding: 10px 18px; min-height: 46px; }
.fx-flash { padding: 10px 14px; border-radius: 10px; border: 1px solid var(--accent-bright); color: var(--text-main); font-size: 16px; }
.fx-pill { display: inline-block; font-size: 13px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--border-hairline); color: var(--text-muted); vertical-align: middle; font-weight: 600; }
.fx-crumbs { font-size: 16px; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fx-crumbs a { color: var(--accent-bright); text-decoration: none; }
.fx-crumbs a:hover { text-decoration: underline; }
.fx-crumb-sep { color: var(--text-muted); }
.fx-crumb-here { color: var(--text-muted); }

/* a block of rows: a category on the index, the topic list */
.fx-cat { border: 1px solid var(--border-hairline); border-radius: 14px; overflow: hidden; margin: 14px 0; background: var(--bg-panel); }
.fx-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px;
  background: color-mix(in srgb, var(--accent) 16%, var(--bg-panel-raised, var(--bg-panel))); border-bottom: 1px solid var(--border-hairline); }
.fx-cat-name { font-size: 19px; margin: 0; }
.fx-cat-cols { display: grid; grid-template-columns: 80px 80px 230px; text-align: center; font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.fx-cat-desc { padding: 6px 14px; font-size: 15px; color: var(--text-muted); border-bottom: 1px solid var(--border-hairline); }
.fx-row { display: grid; grid-template-columns: 58px 1fr 80px 80px 230px; gap: 0 4px; align-items: center; padding: 10px 14px;
  border-bottom: 1px solid var(--border-hairline); }
.fx-row:last-child { border-bottom: 0; }
.fx-row:hover { background: color-mix(in srgb, var(--text-main) 4%, transparent); }
.fx-row.is-locked { opacity: .8; }
.fx-row-ic { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.fx-fimg, .fx-timg { width: 28px; height: 28px; object-fit: contain; }
.fx-ic { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 26px; padding: 0 6px; border-radius: 999px;
  font-size: 13px; font-weight: 800; letter-spacing: .03em; border: 2px solid var(--border-hairline); color: var(--text-muted); }
.fx-ic-new { border-color: var(--accent-bright); background: var(--accent-bright); color: var(--on-accent, #111); }
.fx-ic-locked, .fx-ic-moved, .fx-ic-link { font-size: 15px; }
.fx-hot { font-size: 16px; }
.fx-row-main { min-width: 0; }
.fx-fname, .fx-tname { font-size: 19px; font-weight: 700; color: var(--text-main); text-decoration: none; overflow-wrap: anywhere; }
.fx-fname:hover, .fx-tname:hover { color: var(--accent-bright); text-decoration: underline; }
.is-unread .fx-tname, .is-unread > .fx-row-main > .fx-fname { color: var(--accent-bright); }
.fx-fdesc { font-size: 15px; color: var(--text-muted); margin-top: 2px; }
.fx-subs { margin-top: 5px; font-size: 15px; display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: baseline; }
.fx-subs-l { color: var(--text-muted); }
.fx-sub { color: var(--text-main); text-decoration: none; font-weight: 600; }
.fx-sub:hover { color: var(--accent-bright); text-decoration: underline; }
.fx-sub.is-unread b { color: var(--accent-bright); }
.fx-sep { color: var(--text-muted); }
.fx-num { text-align: center; display: flex; flex-direction: column; line-height: 1.15; }
.fx-num b { font-size: 18px; }
.fx-num span { font-size: 12px; color: var(--text-muted); }
.fx-last { font-size: 14px; min-width: 0; padding-left: 8px; border-left: 1px solid var(--border-hairline); }
.fx-last-t { display: block; font-weight: 700; color: var(--text-main); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-last-t:hover { color: var(--accent-bright); }
.fx-last-by { color: var(--text-muted); }
.fx-jump { display: inline-block; padding: 0 8px; margin-left: 2px; border-radius: 8px; border: 1px solid var(--border-hairline); color: var(--accent-bright); text-decoration: none; font-weight: 800; }
.fx-page a.fx-jump.fx-jump:hover { background: var(--accent-bright); color: var(--on-accent, #111); }
.fx-empty { padding: 6px 0; grid-column: 1 / -1; }

/* topics */
.fx-trow.is-global, .fx-trow.is-announce, .fx-trow.is-sticky { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.fx-type { display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 2px 8px; border-radius: 999px;
  border: 1px solid var(--accent-bright); color: var(--accent-bright); margin-right: 4px; vertical-align: middle; }
.fx-tpages { font-size: 13px; margin-left: 6px; }
.fx-tpages a { display: inline-block; padding: 0 6px; border: 1px solid var(--border-hairline); border-radius: 6px; margin: 0 1px; color: var(--text-main); text-decoration: none; }
.fx-tpages a:hover { border-color: var(--accent-bright); }
.fx-tby { font-size: 14px; color: var(--text-muted); margin-top: 2px; }
.fx-count { font-size: 15px; }

/* page links */
.fx-pager { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 10px 0; font-size: 16px; }
.fx-pager-l { color: var(--text-muted); margin-right: 4px; }
.fx-pg { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 10px; border-radius: 10px;
  border: 1px solid var(--border-hairline); color: var(--text-main); text-decoration: none; font-weight: 700; }
a.fx-pg:hover { border-color: var(--accent-bright); color: var(--accent-bright); }
.fx-pg.is-on { background: var(--accent-bright); border-color: var(--accent-bright); color: var(--on-accent, #111); }
.fx-dots { color: var(--text-muted); }

/* the forum's own bits */
.fx-rules { border: 1px solid var(--accent-bright); border-radius: 12px; padding: 8px 14px; margin: 8px 0 12px; font-size: 16px; }
.fx-rules summary { cursor: pointer; font-weight: 800; }
.fx-rules p { margin: 6px 0 2px; white-space: pre-line; }
.fx-sort { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 15px; }
.fx-sort select { font-size: 15px; width: auto; max-width: 100%; }
.fx-mob { display: none; }
.fx-tick { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.fx-tick input { width: 20px; height: 20px; }
.fx-box { border: 1px solid var(--border-hairline); border-radius: 14px; padding: 12px 16px; margin: 12px 0; background: var(--bg-panel); }
.fx-label { display: block; font-size: 16px; font-weight: 700; margin: 8px 0 4px; }
.fx-wide { width: 100%; box-sizing: border-box; font-size: 17px; }

/* the index's foot */
.fx-foot { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 0 14px; margin-top: 8px; }
.fx-foot h3 { margin: 0 0 6px; font-size: 17px; }
.fx-foot p { margin: 4px 0; font-size: 15px; }
.fx-optin { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 6px 0; }
.fx-legend .fx-ic { margin: 0 2px; }
.fx-jumpbox { margin: 14px 0 0; font-size: 15px; }
.fx-jumpsel { font-size: 15px; max-width: 100%; }

/* posts */
.fx-post { scroll-margin-top: 90px; }
.fx-post:target { box-shadow: 0 0 0 2px var(--accent-bright); border-radius: 12px; }
.fx-plink { font-weight: 800; color: var(--accent-bright); text-decoration: none; }
.fx-post .forum-post-body { font-size: 17px; line-height: 1.55; }
.fx-sig { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--border-hairline); font-size: 14px; color: var(--text-muted); max-height: 12em; overflow: hidden; }
.fx-modbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 6px 0; }

/* phones: the numbers fold into one line under the name */
@media (max-width: 760px) {
  .fx-page { padding: 10px 0; }
  .fx-page .crate-panel { padding: 12px; }
  .fx-h1 { font-size: 24px; }
  .fx-cat-cols, .fx-num { display: none; }
  .fx-mob { display: block; font-size: 14px; color: var(--text-muted); margin-top: 3px; }
  .fx-row { grid-template-columns: 50px 1fr; gap: 4px 8px; }
  .fx-last { grid-column: 2; border-left: 0; padding-left: 0; }
}

/* 2.46.0: posting */
.fx-tools-bar { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px; }
.fx-tools-bar .is-on, #fx-fwatch.is-on, .fx-mq.is-on { color: var(--accent); border-color: var(--accent); }
.fx-solved-pill { display: inline-block; font-size: 13px; font-weight: 700; padding: 1px 9px; border-radius: 999px; margin-left: 6px;
  color: #46b46e; border: 1px solid #46b46e; text-decoration: none; vertical-align: middle; }
.fx-post.is-solved { box-shadow: inset 4px 0 0 #46b46e; }
.fx-bumped { margin: -4px 0 6px; }
.fx-similar { margin: 4px 0 10px; padding: 8px 12px; border-radius: 12px; border: 1px dashed var(--accent); }
.fx-similar-h { font-weight: 700; margin-bottom: 4px; }
.fx-similar ul { margin: 0; padding-left: 18px; } .fx-similar li { margin: 3px 0; }
.fx-icons-pick, .fx-pollbox { margin: 8px 0; } .fx-icons-pick > summary, .fx-pollbox > summary { cursor: pointer; }
.topic-icon-pick img { width: 24px; height: 24px; }
.fx-poll-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 8px 14px; align-items: end; }
.fx-poll-grid label { display: flex; flex-direction: column; gap: 4px; }
.fx-poll { margin: 10px 0 14px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--border-hairline); }
.fx-poll-q { font-size: 18px; font-weight: 700; }
.fx-poll-meta { margin: 2px 0 8px; }
.fx-poll-form, .fx-poll-results { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.fx-poll-opt { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 6px 10px;
  border-radius: 10px; border: 1px solid var(--border-hairline); overflow: hidden; font-size: 16px; }
.fx-poll-results .fx-poll-opt { grid-template-columns: 1fr auto; }
.fx-poll-opt.is-mine { border-color: var(--accent); }
.fx-poll-label { position: relative; z-index: 1; }
.fx-poll-bar { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 0%); background: color-mix(in srgb, var(--accent) 22%, transparent); }
.fx-poll-n { position: relative; z-index: 1; font-size: 14px; color: var(--text-muted); white-space: nowrap; }
.fx-mq-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 8px; }
.fx-history { margin: 8px 0; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border-hairline); }
.fx-history-h { font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.fx-history-v { border-top: 1px solid var(--border-hairline); padding: 8px 0; }
.fx-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px; }
.fx-tab { padding: 5px 14px; border-radius: 999px; border: 1px solid var(--border-hairline); text-decoration: none; color: var(--text-muted); }
.fx-tab.is-on { color: var(--accent); border-color: var(--accent); }
.fx-mine-row { grid-template-columns: 1fr auto !important; }
.fx-mine-text { font-size: 14px; color: var(--text-muted); margin-top: 2px; }
.bbcode-quote-link { text-decoration: none; margin-left: 4px; }
.fx-poll-grid label.fx-tick { flex-direction: row; align-items: center; gap: 8px; align-self: center; }
/* 2.46.0: more buttons on each post, so the row wraps instead of squeezing (a phone puts them on their own line) */
.fp-head { flex-wrap: wrap; }
.fp-actions { flex-wrap: wrap; justify-content: flex-end; }
.fp-head .muted-note { white-space: nowrap; }
@media (max-width: 640px) { .fp-actions { margin-left: 0; width: 100%; justify-content: flex-start; } }
/* 2.50.0: moderation, every change public */
.fx-danger { color: var(--danger); }
.fx-mods { margin: 2px 0 10px; font-size: 15px; }
.fx-mods .fx-pill { font-size: 12px; }
.fx-modlink { font-weight: 700; }
.fx-gone { padding: 10px 14px; border-radius: 12px; border: 1px solid var(--danger); font-size: 17px; margin: 8px 0; }
.fx-changes { margin: 8px 0; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--border-hairline); font-size: 15px; }
.fx-changes > summary { cursor: pointer; }
.fx-changes-list { margin: 8px 0; padding-left: 22px; }
.fx-changes-list li { margin: 6px 0; }
.fx-inline-form { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 4px 0; }
.fx-inline-form .profile-input { min-width: 220px; }
.fx-modmenu { margin: 8px 0 12px; }
.fx-modmenu > summary { list-style: none; display: inline-block; cursor: pointer; }
.fx-modmenu[open] { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--accent); }
.fx-modform { border-top: 1px solid var(--border-hairline); padding: 10px 0; }
.fx-modform fieldset { border: 1px solid var(--border-hairline); border-radius: 10px; margin: 8px 0; padding: 8px 10px; }
.fx-modform legend { font-weight: 700; padding: 0 4px; }
.fx-h3 { font-size: 17px; margin: 0 0 6px; }
.fx-why { display: block; margin: 6px 0; }
.fx-modgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px; }
.fx-mod-result:empty { display: none; }
.fx-pick { width: 22px; height: 22px; margin-right: 6px; vertical-align: middle; accent-color: var(--accent); }
.fx-deleted { opacity: .92; }
.fx-deleted .fx-deleted-line { padding: 10px 14px; font-size: 16px; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fx-deleted .fx-deleted-line .fp-actions { margin-left: auto; }
.fp-modline { margin-top: 6px; font-size: 14px; color: var(--text-muted); border-left: 3px solid var(--accent); padding-left: 8px; }
.fx-deleted .fp-modline { margin: 0 14px 8px; }
.fx-postform { margin: 8px 0; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border-hairline); }
.fx-hidden-v { font-size: 15px; color: var(--text-muted); }
.fx-logfilter { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-end; margin: 8px 0 12px; }
.fx-log { list-style: none; padding: 0; margin: 8px 0; }
.fx-log-e { padding: 10px 0; border-bottom: 1px solid var(--border-hairline); font-size: 16px; }
.fx-log-why { margin-top: 2px; }
.fx-log-tools { margin-top: 4px; }
.fx-modtable { width: 100%; }
.fx-modtable td, .fx-modtable th { padding: 8px 6px; vertical-align: top; }
.fx-modtable tr.is-deleted td { opacity: .75; }
.fx-modtable input[type=checkbox] { width: 22px; height: 22px; }
@media (max-width: 640px) { .fx-inline-form .profile-input { min-width: 0; width: 100%; } .fx-modtable th:nth-child(3), .fx-modtable td:nth-child(3), .fx-modtable th:nth-child(5), .fx-modtable td:nth-child(5) { display: none; } }
.fx-deleted-text { flex: 1 1 240px; }
/* 2.51.0: reports, warnings, notes */
.fx-reasons { border: 0; padding: 0; margin: 6px 0; display: flex; flex-direction: column; gap: 4px; }
.fx-reasons label.fx-tick { flex-direction: row; align-items: center; gap: 8px; font-size: 16px; }
.fx-report { border: 1px solid var(--border-hairline); border-radius: 12px; padding: 10px 14px; margin: 10px 0; }
.fx-report-body { margin: 8px 0; padding: 8px 12px; border-left: 3px solid var(--accent); font-size: 16px; max-height: 260px; overflow: auto; }
.fx-report-list { margin: 6px 0; padding-left: 20px; }
.fx-report-list li { margin: 4px 0; }
.fx-warned { border-left-color: var(--danger); }
.fx-has-reports { border-color: var(--danger); }
.fx-modbox { margin: 10px 0; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--accent); font-size: 15px; }
.fx-modbox > summary { cursor: pointer; font-weight: 700; }
.fx-modbox-row { border-top: 1px solid var(--border-hairline); padding: 8px 0; }
.fx-note-body { white-space: pre-wrap; margin: 4px 0; }

/* 2.61.0: search and the quick lists */
.fx-qsearch { display: flex; gap: 8px; align-items: center; margin: 6px 0; max-width: 640px; }
.fx-qsearch input[type=search] { flex: 1 1 auto; min-width: 0; font-size: 17px; }
.fx-fsearch { margin: 0; max-width: 420px; flex: 1 1 260px; }
.fx-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 4px 0 12px; font-size: 16px; line-height: 1.7; }
.fx-quick a { color: var(--link, var(--accent)); }
.fx-quick b { color: var(--text-main); }
.fx-qsep { margin: 0 9px; color: var(--text-muted); }
.fx-sform { margin: 4px 0 14px; }
.fx-srow { display: flex; gap: 8px; max-width: 760px; }
.fx-srow .fx-sq { flex: 1 1 auto; min-width: 0; font-size: 18px; }
.fx-shint { margin: 6px 0; }
.fx-smore { margin: 8px 0; max-width: 900px; }
.fx-smore summary { cursor: pointer; font-weight: 600; padding: 4px 0; }
.fx-sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px 16px; margin-top: 8px; align-items: start; }
.fx-sl { display: grid; gap: 4px; font-size: 15px; }
.fx-sl .profile-input { width: 100%; box-sizing: border-box; }
.fx-sfs { border: 1px solid var(--border-hairline); border-radius: 10px; padding: 6px 12px 8px; margin: 0; display: grid; gap: 4px; }
.fx-sfs legend { font-size: 15px; padding: 0 4px; }
.fx-stick { display: inline-flex; gap: 6px; align-items: center; font-size: 16px; }
.fx-sfound { font-size: 20px; margin: 10px 0 6px; }
.fx-hits { display: grid; gap: 10px; margin: 8px 0; }
.fx-hit { border: 1px solid var(--border-hairline); border-radius: 12px; padding: 10px 14px; background: var(--bg-panel); }
.fx-hit-title { font-size: 18px; font-weight: 600; }
.fx-hit-by { margin: 2px 0 6px; }
.fx-hit-piece { margin: 0; font-size: 16px; line-height: 1.55; overflow-wrap: anywhere; }
.fx-hit-piece mark { background: color-mix(in srgb, var(--accent) 35%, transparent); color: inherit; border-radius: 3px; padding: 0 2px; }
/* the statistics page */
.fx-stats-tot { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 17px; margin: 6px 0 12px; }
.fx-stats-tot b { font-size: 22px; }
.fx-chart { display: flex; align-items: flex-end; gap: 3px; height: 140px; padding: 8px 4px 0; border-bottom: 1px solid var(--border-hairline); }
.fx-cbar { flex: 1 1 0; min-width: 4px; background: var(--accent); border-radius: 3px 3px 0 0; min-height: 2px; opacity: .85; }
.fx-cbar:hover { opacity: 1; }
.fx-chart-x { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-muted); margin: 4px 0 10px; }
.fx-stable { border-collapse: collapse; font-size: 16px; }
.fx-stable th, .fx-stable td { padding: 5px 16px 5px 0; border-bottom: 1px solid var(--border-hairline); text-align: left; font-variant-numeric: tabular-nums; }
.fx-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px 16px; padding: 0; list-style: none; font-size: 16px; }
@media (max-width: 640px) { .fx-srow .fx-sq { font-size: 17px; } .fx-chart { height: 110px; gap: 2px; } }

/* 2.65.0: the member's own posts waiting for a moderator, greyed like Facebook's Pending (fragments/forum_pending.html) */
.fx-pending-list { margin: 12px 0; display: grid; gap: 10px; }
.fx-pending { border: 1px dashed var(--line, #c9c9c9); border-radius: 10px; padding: 12px 14px; opacity: .72; background: var(--panel, transparent); }
.fx-pending:focus-within { opacity: 1; }
.fx-pending-tag { font-weight: 600; margin: 0 0 6px; font-size: 1.05rem; }
.fx-pending-title { margin: 0 0 6px; }
.fx-pending-body { margin-bottom: 8px; }
.fx-pending-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fx-pending-edit textarea { width: 100%; margin: 6px 0; }
.fx-readonly { font-size: 1.05rem; }
