/* FORUM LAYOUT A "Classic board" (demo, 4 Nov 2026). Loaded after dash-a.css; forum.js adds .fxl.fxl-a to the forum pages
   when <html data-fxl="a">. Wide container, table rows with column heads, section header bars, 13-14px text. */

/* ---------- shared: wide container, smaller type ---------- */
.fx-desk:has(> .fxl) { padding: 14px 14px 28px; }
@media (min-width: 900px) { .fx-desk:has(> .fxl) { padding: 18px 22px 36px; } }
.fx-page.fxl { max-width: 1600px; gap: 12px; font-size: .875rem; }
.av--xs { width: 20px; height: 20px; font-size: .56rem; }
.av--xs .av__flag { display: none; }
.fxl .fx-who { min-height: 28px; gap: 6px; }
.fxl .fx-who__t > b { font-size: .8rem; }
.fxl .fx-who__b { gap: 3px; }
.fxl .uname { font-size: .74rem; margin-left: 0; }

/* page head: one compact bar */
.fxl .fx-head { gap: 10px; }
.fxl .fx-head__ic { width: 34px; height: 34px; border-radius: 9px; }
.fxl .fx-head__ic svg.i { width: 17px; height: 17px; }
.fxl .fx-head h1 { font-size: 1.15rem; }
.fxl .fx-head p { font-size: .8rem; }
.fxl .fx-newbtn { min-height: 40px; padding: 0 16px; font-size: .84rem; }

/* tabs: a flat board navigation bar with an underline */
.fxl-a .fx-tabs { gap: 0; border-bottom: 1px solid var(--line-2); padding: 0; }
.d-a .fxl-a .fx-tab, .fxl-a .fx-tab { min-height: 40px; padding: 0 14px; border: 0; border-radius: 0; background: transparent; font-family: var(--font-body); font-size: .82rem; letter-spacing: 0; text-transform: none; color: var(--text-3); box-shadow: none; margin-bottom: -1px; border-bottom: 2px solid transparent; }
.d-a .fxl-a .fx-tab.on, .fxl-a .fx-tab.on { color: var(--text); background: transparent; border-bottom-color: var(--c, var(--gold)); box-shadow: none; }
.fxl-a .fx-tab svg.i { width: 15px; height: 15px; }
.d-a .fxl-a .fx-sort, .fxl-a .fx-sort { min-height: 32px; padding: 0 10px; border-radius: 6px; font-family: var(--font-body); font-size: .78rem; letter-spacing: 0; text-transform: none; }
.fxl-a .fx-sorts { margin-top: -4px; }

/* ---------- the board ---------- */
.fxl-a .fx-list { display: grid; gap: 14px; }
.fxa-sec { border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: rgba(6,12,29,.72); }
.fxa-bar { display: flex; align-items: center; gap: 8px; margin: 0; padding: 9px 14px; font: 600 .78rem/1.2 var(--font-body); letter-spacing: .04em; text-transform: uppercase; color: var(--text);
  background: linear-gradient(90deg, color-mix(in srgb, var(--sc, #f2c14e) 22%, #091636), #091636 70%); border-bottom: 1px solid color-mix(in srgb, var(--sc, #f2c14e) 35%, transparent); }
.fxa-bar svg.i { width: 14px; height: 14px; color: var(--sc, var(--gold)); }
.fxa-hd { display: none; }

/* rows: table cells on desktop */
.d-a .fxl-a .fx-row, .fxl-a .fx-row { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 4px 12px; align-items: center; padding: 10px 14px; border: 0; border-radius: 0; border-top: 1px solid var(--line); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.fxl-a .fx-row::before { display: none; }
.fxa-hd + .fx-row, .fxa-bar + .fx-row { border-top: 0; }
.d-a .fxl-a .fx-row:hover, .fxl-a .fx-row:hover { background: rgba(255,255,255,.035); border-color: var(--line); box-shadow: none; }
.fxl-a .fx-row:nth-of-type(even) { background: rgba(255,255,255,.012); }
.fxl-a .fx-row.is-unread .fx-row__title { color: #fff; font-weight: 700; }
.fxa-ic { grid-row: 1 / span 2; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: var(--text-3); background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.fxa-ic svg.i { width: 15px; height: 15px; }
.fxa-ic.on { color: var(--sc, var(--gold)); border-color: color-mix(in srgb, var(--sc, #f2c14e) 50%, transparent); background: color-mix(in srgb, var(--sc, #f2c14e) 12%, transparent); }
.fxl-a .fx-row__main { gap: 3px; }
.fxa-t { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; min-width: 0; }
.fxl-a .fx-row__title { font-family: var(--font-body); font-size: .9rem; font-weight: 600; letter-spacing: 0; line-height: 1.35; }
.fxl-a .fx-row__title:hover { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.fxa-tags { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.fxl .fx-tag, .fxl .fx-new, .fxl .fx-space { height: 18px; padding: 0 6px; font-size: .64rem; }
.fxl .fx-tag svg.i { width: 10px; height: 10px; }
.d-a .fxl-a .fx-row__by, .fxl-a .fx-row__by { font-family: var(--font-body); font-size: .74rem; gap: 2px 6px; color: var(--text-3); }
.fxa-k { color: var(--text-3); }
.fxl-a .fx-row__by .rb, .fxl-a .fx-row__by .xg-lvc { transform: scale(.92); transform-origin: left center; }
.fxl .fx-tstrip { font-size: .74rem; gap: 4px 8px; }
.fxl .fx-tstrip .fx-side { height: 18px; font-size: .6rem; padding: 0 6px; }
.fxl .fx-tstrip .fx-ts { height: 20px; font-size: .68rem; }
.fxl .fx-lv { font-size: .72rem; }

/* stats + last post: compact inline line on phones */
.d-a .fxl-a .fx-row__stats, .fxl-a .fx-row__stats { grid-column: 2; display: flex; flex-direction: row; align-items: center; gap: 12px; font-family: var(--font-body); font-size: .74rem; color: var(--text-3); min-width: 0; }
.fxa-n { display: inline-flex; align-items: baseline; gap: 4px; }
.fxa-n b { color: var(--text); font-weight: 600; }
.fxl-a .fx-st--v { color: var(--gold-2); }
.fxl-a .fx-st--v svg.i { width: 13px; height: 13px; }
.fxa-last { grid-column: 2; display: flex; align-items: center; gap: 8px; font-size: .74rem; color: var(--text-3); min-width: 0; }
.fxa-last > span { display: flex; gap: 6px; align-items: baseline; min-width: 0; }
.fxa-last b { font-weight: 600; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 16ch; }
.fxa-none { color: var(--gold-2); }

@media (min-width: 900px) {
  .fxa-hd { display: grid; grid-template-columns: 42px minmax(0, 1fr) 76px 76px 202px; column-gap: 0; padding: 6px 14px; font: 600 .66rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); background: rgba(1,1,2,.25); border-bottom: 1px solid var(--line); }
  .fxa-hd > span:nth-child(n+3) { text-align: center; }
  .fxa-hd > span:last-child { text-align: left; padding-left: 24px; }
  .fxa-sec.has-v .fxa-hd { grid-template-columns: 42px minmax(0, 1fr) 76px 76px 76px 202px; }
  .d-a .fxl-a .fx-row, .fxl-a .fx-row { grid-template-columns: 30px minmax(0, 1fr) 152px 190px; padding: 9px 14px; }
  .fxa-sec.has-v .fx-row { grid-template-columns: 30px minmax(0, 1fr) 228px 190px; }
  .fxa-ic { grid-row: auto; }
  .d-a .fxl-a .fx-row__stats, .fxl-a .fx-row__stats { grid-column: auto; display: grid; grid-template-columns: repeat(2, 76px); gap: 0; margin: -9px 0; align-self: stretch; }
  .fxa-sec.has-v .fx-row__stats { grid-template-columns: repeat(3, 76px); }
  .fxl-a .fx-row__stats > * { display: grid; place-content: center; justify-items: center; gap: 0; border-left: 1px solid var(--line); }
  .fxl-a .fx-row__stats .fx-st--v { order: 9; display: flex; align-items: center; justify-content: center; gap: 5px; }
  .fxa-n b { font-size: .88rem; }
  .fxa-n small { display: none; }
  .fxa-last { grid-column: auto; align-self: stretch; margin: -9px 0; padding-left: 12px; border-left: 1px solid var(--line); }
  .fxa-last > span { flex-direction: column; gap: 1px; }
}

/* trades space: the live feed stays, a bit tighter */
.fxl .fx-tradehead .fx-livefeed { min-height: 0; }
.fxl .fx-livefeed { border-radius: 10px; }

/* ---------- thread page: classic posts with an author column ---------- */
.fx-threadpage.fxl-a { gap: 10px; }
.fxl-a .fx-crumbs { font-size: .78rem; }
.fxl-a .fx-crumbs a { min-height: 32px; }
.fxl-a .fx-th { padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 10px; background: linear-gradient(90deg, color-mix(in srgb, var(--sc, #f2c14e) 12%, #081431), #081431 60%); }
.fxl-a .fx-th h1 { font-size: clamp(1.1rem, 3.6vw, 1.35rem); }
.fxl-a .fx-th__acts .btn { min-height: 36px; font-size: .8rem; }
.fxl-a .fx-posts { gap: 0; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: rgba(6,12,29,.72); }
.d-a .fxl-a .fx-post, .fxl-a .fx-post { gap: 8px; padding: 12px 14px; border: 0; border-radius: 0; border-top: 1px solid var(--line); background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.fxl-a .fx-post:first-child { border-top: 0; }
.d-a .fxl-a .fx-post.is-op, .fxl-a .fx-post.is-op { background: color-mix(in srgb, var(--sc, #f2c14e) 5%, transparent); }
.fxl-a .fx-post__b { font-size: .875rem; line-height: 1.6; }
.d-a .fxl-a .fx-post__h, .fxl-a .fx-post__h { font-family: var(--font-body); font-size: .74rem; }
.fxl-a .fx-post__a button { min-height: 36px; font-size: .76rem; padding: 0 8px; }
.fxl-a .fx-post__a svg.i { width: 14px; height: 14px; }
@media (min-width: 900px) {
  .d-a .fxl-a .fx-post, .fxl-a .fx-post { grid-template-columns: 200px minmax(0, 1fr); column-gap: 18px; padding: 0 16px 0 0; align-items: start; }
  .fxl-a .fx-post { row-gap: 0; }
  .fxl-a .fx-post > * { grid-column: 2; margin-top: 8px; }
  .fxl-a .fx-post > :not(.fx-post__h):first-child, .fxl-a .fx-post > .fx-post__h + * { margin-top: 14px; }
  .fxl-a .fx-post > .fx-post__a { margin-bottom: 4px; }
  .fxl-a .fx-post > .fx-post__h { margin-top: 0; grid-column: 1; grid-row: 1 / span 12; align-self: stretch; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px; background: rgba(1,1,2,.22); border-right: 1px solid var(--line); }
  .fxl-a .fx-post__h .fx-who { align-items: flex-start; flex-direction: column; gap: 6px; border-radius: 10px; }
  .fxl-a .fx-post__h .fx-who .av { width: 44px; height: 44px; font-size: 1rem; }
  .fxl-a .fx-post__h .fx-who__t { flex-direction: column; align-items: flex-start; }
  .fxl-a .fx-post__h .fx-who__t > b { max-width: 170px; }
  .fxl-a .fx-post.is-del { padding: 10px 14px; display: block; }
}
.d-a .fxl-a .fx-compose, .fxl-a .fx-compose { border-radius: 10px; }
.d-a .fxl-a .fx-tc, .fxl-a .fx-tc { border-radius: 10px; padding: 14px; }

/* phones + small tablets: no icon column, title then one stats line (replies · helpful · views | last post) */
@media (max-width: 899px) {
  .fxa-ic { display: none; }
  .d-a .fxl-a .fx-row, .fxl-a .fx-row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; padding: 10px 12px; }
  .fxl-a .fx-row__main { grid-column: 1 / -1; }
  .d-a .fxl-a .fx-row__stats, .fxl-a .fx-row__stats { grid-column: 1; gap: 10px; }
  .fxa-last { grid-column: 2; justify-content: flex-end; }
  .fxa-last .fx-avb { display: none; }
  .fxa-last b { max-width: 11ch; }
}
@media (max-width: 599px) {
  .fxl .fx-row .fx-who__b { display: none; }
  .fxl .fx-row .fx-who__t { flex-wrap: nowrap; }
  .fxl .fx-row .uname { overflow: hidden; text-overflow: ellipsis; }
  .fxl .fx-head { flex-wrap: nowrap; align-items: flex-start; }
  .fxl .fx-head__ic { display: none; }
  .fxl .fx-head__t { flex: 1 1 0; }
  .fxl .fx-head p { font-size: .76rem; }
  .fxl .fx-newbtn { min-height: 44px; padding: 0 12px; font-size: .8rem; }
  .fxl .fx-tab { min-height: 44px !important; }
}

/* live trades feed: side by side on wide screens instead of one tall column */
@media (min-width: 900px) {
  .fxl .fx-tradehead .fx-lf__l { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); column-gap: 18px; }
  .fxl .fx-tradehead .fx-lf__i:last-child { border-bottom: 1px solid var(--line); }
}
