/* XAUUSD Global Community — forum, trades feed and dashboard cards (forum.js). Base look in the app's tokens;
   each design (dash-a/b/c.css) restyles these classes. Mobile first: 360px, 44px taps, 16px inputs. */

/* layout: designs can drop the right rail on the dashboard + forum */
@media (min-width: 1240px) { .app.app--wide { grid-template-columns: 248px minmax(0, 1fr); } .app.app--wide .rail { display: none; } }
.fx-desk, .desk.dash { padding: 16px 16px 28px; }
@media (min-width: 900px) { .fx-desk, .desk.dash { padding: 20px 24px 36px; } }
.fx-page { width: 100%; max-width: 980px; margin: 0 auto; display: grid; gap: 14px; align-content: start; min-width: 0; }
.fx-page > * { min-width: 0; }

/* chips, tags, status */
.fx-demo { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; margin-left: 8px; border-radius: 999px; font: 600 .66rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: #061027; background: repeating-linear-gradient(-45deg, #f2c14e 0 8px, #e0ad3a 8px 16px); vertical-align: middle; white-space: nowrap; }
.fx-tag { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 999px; font-size: .7rem; font-weight: 600; color: var(--text-2); background: rgba(255,255,255,.05); border: 1px solid var(--line); white-space: nowrap; }
.fx-tag svg.i { width: 12px; height: 12px; }
.fx-tag--pin { color: var(--gold-2); border-color: rgba(242,193,78,.3); }
.fx-tag--first { color: #9be7c4; border-color: rgba(60,207,145,.35); background: rgba(60,207,145,.08); }
.fx-tag--hid { color: #ffb1a7; border-color: rgba(239,106,91,.4); }
.fx-new { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: .7rem; font-weight: 700; color: #061027; background: var(--gold); white-space: nowrap; }
.fx-space { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 999px; font-size: .7rem; font-weight: 600; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); text-decoration: none; white-space: nowrap; }
.fx-space::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.fx-floor { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 6px; font-size: .64rem; font-weight: 700; letter-spacing: .02em; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); white-space: nowrap; }
.fx-rank { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 6px; font: 600 .62rem/1 var(--font-mono); letter-spacing: .04em; color: var(--text-2); border: 1px solid var(--line-2); white-space: nowrap; }
.fx-dot { color: var(--text-3); margin: 0 6px; }

/* a member name: avatar + name + role, floor and rank. Tap = profile card */
.fx-who { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; max-width: 100%; padding: 2px 6px 2px 2px; margin: -2px 0; border: 0; border-radius: 999px; background: transparent; text-align: left; position: relative; z-index: 2; color: var(--text); }
.fx-who:hover { background: rgba(255,255,255,.05); }
.fx-who__t { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; min-width: 0; }
.fx-who__t > b { font-weight: 600; font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 18ch; }
.fx-who__b { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.fx-who__b .rb { font-size: .6rem; }
.fx-avb { border: 0; padding: 0; background: none; border-radius: 50%; position: relative; z-index: 2; display: inline-grid; }

/* page head + tabs (one line, never wraps) */
.fx-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fx-head__t { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1 1 260px; }
.fx-head__ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: var(--sc, var(--gold)); background: color-mix(in srgb, var(--sc, #f2c14e) 14%, transparent); flex-shrink: 0; }
.fx-head h1 { margin: 0; font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.2; }
.fx-head p { margin: 2px 0 0; color: var(--text-2); font-size: .86rem; }
.fx-newbtn { flex-shrink: 0; }
.fx-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.fx-tabs::-webkit-scrollbar { display: none; }
.fx-tab { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); color: var(--text-2); text-decoration: none; white-space: nowrap; font-size: .88rem; font-weight: 600; flex-shrink: 0; }
.fx-tab svg.i { color: var(--c, var(--text-3)); }
.fx-tab.on { color: var(--text); border-color: color-mix(in srgb, var(--c, #f2c14e) 55%, transparent); background: color-mix(in srgb, var(--c, #f2c14e) 10%, transparent); }
.fx-sorts { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.fx-sorts::-webkit-scrollbar { display: none; }
.fx-sort { min-height: 40px; padding: 0 12px; border-radius: 999px; border: 0; background: transparent; color: var(--text-3); font-size: .84rem; font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.fx-sort.on { color: var(--text); background: rgba(255,255,255,.07); }
.fx-crumbs { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--text-3); }
.fx-crumbs a { color: var(--text-2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

/* thread rows */
.fx-list { display: grid; gap: 8px; }
.fx-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.02); transition: border-color .2s, background .2s; }
.fx-row::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--sc); opacity: .7; }
.fx-row:hover { border-color: var(--line-2); background: rgba(255,255,255,.035); }
.fx-row.is-unread { border-color: rgba(242,193,78,.35); }
.fx-row__main { display: grid; gap: 6px; min-width: 0; }
.fx-row__meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fx-row__meta:empty { display: none; }
.fx-row__title { color: var(--text); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; line-height: 1.35; letter-spacing: -.01em; overflow-wrap: anywhere; }
.fx-row__title::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.fx-row__ex { margin: 0; color: var(--text-2); font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.fx-row__by { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: .78rem; color: var(--text-3); }
.fx-row__stats { display: flex; align-items: center; gap: 14px; font-size: .8rem; color: var(--text-3); }
.fx-st { display: inline-flex; align-items: center; gap: 5px; }
.fx-st svg.i, .fx-st--k svg.i { width: 15px; height: 15px; }
.fx-st b { color: var(--text-2); font-weight: 600; }
.fx-row__last { margin-left: auto; white-space: nowrap; }
.fx-row.is-quiet .fx-row__last { color: var(--gold-2); }
@media (min-width: 760px) {
  .fx-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 14px 18px; }
  .fx-row__stats { flex-direction: column; align-items: flex-end; gap: 4px; min-width: 96px; }
  .fx-row__last { margin-left: 0; }
}

/* trades */
.fx-tstrip { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .8rem; position: relative; z-index: 2; }
.fx-tstrip > b { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em; }
.fx-side { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font: 700 .68rem/1 var(--font-mono); letter-spacing: .08em; }
.fx-side--buy { color: #0a193c; background: var(--green); }
.fx-side--sell { color: #0a183b; background: var(--red); }
.fx-lv { display: inline-flex; align-items: baseline; gap: 4px; font-family: var(--font-mono); font-size: .78rem; color: var(--text); white-space: nowrap; }
.fx-lv em { font-style: normal; font-family: var(--font-body); font-size: .68rem; color: var(--text-3); }
.fx-tf { font: 600 .7rem/1 var(--font-mono); color: var(--text-3); padding: 4px 6px; border-radius: 6px; background: rgba(255,255,255,.05); }
.fx-ts { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.fx-ts--open { color: var(--gold-2); background: rgba(242,193,78,.1); }
.fx-ts--open i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: blink 1.6s infinite; }
.fx-ts--win { color: #0a193c; background: var(--green); }
.fx-ts--loss { color: #ffd0c9; background: rgba(239,106,91,.22); }
.fx-ts--be, .fx-ts--x { color: var(--text-2); background: rgba(255,255,255,.07); }
.fx-tc { display: grid; gap: 12px; padding: 16px; border-radius: 18px; border: 1px solid rgba(242,193,78,.25); background: linear-gradient(180deg, rgba(242,193,78,.06), rgba(255,255,255,.01)); }
.fx-tc__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 640px) { .fx-tc__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fx-tc__grid > div { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; background: rgba(1,1,2,.22); }
.fx-tc__grid em { font-style: normal; font-size: .7rem; color: var(--text-3); }
.fx-tc__grid b { font-size: .9rem; }
.fx-tc__res { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); }
.fx-tc__res b { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -.02em; }
.fx-tc__res.win b { color: var(--green); } .fx-tc__res.loss b { color: var(--red); }
.fx-tc__res span { font-family: var(--font-mono); font-size: .82rem; } .fx-tc__res small { color: var(--text-3); font-size: .76rem; }
.fx-tc__chart { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .88rem; }
.fx-tc .btn { justify-self: start; }
.fx-risk { margin: 0; font-size: .74rem; color: var(--text-3); line-height: 1.45; }
.fx-tradehead { display: grid; gap: 10px; }
.fx-livefeed { padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.02); min-height: 120px; }
.fx-tradehead .fx-livefeed { min-height: 318px; }
.fx-lf__h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.fx-lf__h .rk { margin: 0; }
.fx-lf__h a { font-size: .8rem; min-height: 44px; padding: 0 6px; margin: -6px -6px -6px 0; display: inline-flex; align-items: center; }
.fx-lf__l { display: grid; }
.fx-lf__i { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; grid-template-areas: "av who side" "av px st"; gap: 2px 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; min-height: 44px; }
.fx-lf__i:last-child { border-bottom: 0; }
.fx-lf__i > .av { grid-area: av; }
.fx-lf__who { grid-area: who; min-width: 0; display: flex; gap: 6px; align-items: baseline; }
.fx-lf__who b { font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .fx-lf__who small { color: var(--text-3); font-size: .72rem; white-space: nowrap; }
.fx-lf__i .fx-side { grid-area: side; justify-self: end; }
.fx-lf__px { grid-area: px; font: 500 .76rem var(--font-mono); color: var(--text-2); white-space: nowrap; }
.fx-lf__i .fx-ts { grid-area: st; justify-self: end; }

/* thread page */
.fx-th { display: grid; gap: 8px; }
.fx-th h1 { margin: 0; font-family: var(--font-display); font-size: clamp(1.3rem, 4.6vw, 1.75rem); line-height: 1.2; letter-spacing: -.02em; overflow-wrap: anywhere; }
.fx-th__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.fx-th__acts { display: flex; gap: 8px; flex-wrap: wrap; }
.fx-th__acts .btn.on { color: var(--gold-2); border-color: rgba(242,193,78,.45); }
.fx-th__acts .btn { min-height: 44px; }
.fx-posts { display: grid; gap: 10px; }
.fx-post { display: grid; gap: 10px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.02); scroll-margin-top: 80px; }
.fx-post.is-op { border-color: color-mix(in srgb, var(--sc, #f2c14e) 35%, transparent); background: color-mix(in srgb, var(--sc, #f2c14e) 5%, transparent); }
.fx-post.is-first { box-shadow: inset 0 0 0 1px rgba(60,207,145,.35); }
.fx-post.is-hid { opacity: .6; }
.fx-post.is-del { padding: 10px 14px; }
.fx-post.flash { animation: flash 1.6s ease; }
.fx-first { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; font-size: .82rem; color: #bdf0d8; background: rgba(60,207,145,.1); }
.fx-first svg.i { color: var(--green); width: 16px; height: 16px; }
.fx-post__h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .78rem; color: var(--text-3); }
.fx-post__b { font-size: .95rem; line-height: 1.6; overflow-wrap: anywhere; }
.fx-post__img img { max-height: 420px; width: auto; border-radius: 12px; border: 1px solid var(--line); }
.fx-quote { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-left: 2px solid var(--gold); border-radius: 0 10px 10px 0; background: rgba(1,1,2,.22); font-size: .82rem; color: var(--text-2); text-decoration: none; min-width: 0; }
.fx-quote span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-quote svg.i { width: 14px; height: 14px; color: var(--gold); }
.fx-post__a { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 -6px -6px; }
.fx-post__a button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: var(--text-3); font-size: .82rem; font-weight: 600; }
.fx-post__a button:hover:not(:disabled) { background: rgba(255,255,255,.05); color: var(--text); }
.fx-post__a button.danger:hover { color: #ffb1a7; }
.fx-post__a button:disabled { opacity: .5; cursor: default; }
.fx-post__a svg.i { width: 16px; height: 16px; }
.fx-kudo b { font-family: var(--font-mono); font-size: .8rem; }
.fx-kudo.on { color: #ff9fb8 !important; background: rgba(245,159,192,.1) !important; }
.fx-kudo.on svg.i { fill: currentColor; }
.fx-kudo.pop svg.i { animation: kpop .5s var(--ease); }
@keyframes kpop { 40% { transform: scale(1.45); } }
@media (max-width: 420px) { .fx-post__a button span { display: none; } .fx-post__a .fx-kudo span { display: inline; } }
.fx-compose-wrap { position: relative; z-index: 5; }
.fx-compose { position: relative; display: grid; gap: 8px; padding: 12px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--surface); }
.fx-compose .eng-mpop { left: 8px; right: 8px; }
.fx-ta, .fx-form .input, .fx-form select.input, .fx-compose .input { font-size: 16px; }
.fx-compose__bar { display: flex; align-items: center; gap: 8px; }
.fx-compose__bar .hint { flex: 1; min-width: 0; }
.fx-compose__bar .iconbtn { width: 44px; height: 44px; }
.fx-compose__bar .btn { min-height: 44px; }
.fx-locked { display: flex; gap: 8px; align-items: center; color: var(--text-3); font-size: .86rem; }

/* forms (new thread, trade, close) */
.fx-modal { width: min(100%, 600px); }
.fx-form { display: grid; gap: 12px; }
.fx-grid2, .fx-grid3 { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fx-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 400px) { .fx-grid3 { gap: 6px; } .fx-grid3 .input { padding: 10px 8px; } }
.fx-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; padding: 4px; border-radius: 14px; background: rgba(1,1,2,.3); border: 1px solid var(--line); }
.fx-seg label { position: relative; }
.fx-seg input { position: absolute; opacity: 0; inset: 0; }
.fx-seg span { display: grid; place-items: center; min-height: 44px; border-radius: 10px; font-weight: 700; font-size: .9rem; color: var(--text-2); cursor: pointer; }
.fx-seg input:checked + span { background: rgba(255,255,255,.1); color: var(--text); }
.fx-seg input:focus-visible + span { outline: 2px solid var(--gold); }
.fx-seg--side .buy input:checked + span { background: var(--green); color: #0a193c; }
.fx-seg--side .sell input:checked + span { background: var(--red); color: #0a183b; }
.fx-rr { min-height: 22px; font-size: .86rem; }
.fx-rr b { font-family: var(--font-mono); color: var(--gold-2); }
.fx-live { margin: 0; font-size: .82rem; }
.fx-attach { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fx-modlist { display: grid; gap: 8px; margin: 6px 0 10px; }

/* empty + skeleton */
.fx-empty { display: grid; gap: 8px; justify-items: start; padding: 20px; border-radius: 16px; border: 1px dashed var(--line-2); color: var(--text-2); font-size: .9rem; }
.fx-empty b { color: var(--text); font-family: var(--font-display); font-size: 1.05rem; }
.fx-skel { height: 84px; border-radius: 16px; background: linear-gradient(90deg, rgba(255,255,255,.03), rgba(255,255,255,.07), rgba(255,255,255,.03)); background-size: 200% 100%; animation: fxsk 1.4s linear infinite; }
.fx-skel--s { height: 40px; margin-bottom: 8px; border-radius: 10px; }
.fx-skel--l { height: 140px; margin-bottom: 10px; }
.fx-skel--xl { height: 100%; min-height: 180px; }
@keyframes fxsk { to { background-position: -200% 0; } }

/* leaderboards */
.fx-board { display: grid; gap: 10px; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.fx-bh { display: grid; gap: 2px; font-size: .9rem; }
.fx-bh b { font-family: var(--font-display); }
.fx-bl { list-style: none; margin: 0; padding: 0; display: grid; }
.fx-bl li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); min-height: 52px; }
.fx-bl li:last-child { border-bottom: 0; }
.fx-bl li.me { background: rgba(242,193,78,.06); border-radius: 10px; }
.fx-bn { font: 700 .86rem var(--font-mono); color: var(--text-3); text-align: center; }
.fx-bl li.top1 .fx-bn { color: #ffe08a; } .fx-bl li.top2 .fx-bn { color: #d9dde3; } .fx-bl li.top3 .fx-bn { color: #e2a76f; }
.fx-bv { display: grid; justify-items: end; text-align: right; }
.fx-bv b { font-family: var(--font-mono); font-size: .95rem; } .fx-bv.win b { color: var(--green); } .fx-bv.loss b { color: var(--red); }
.fx-bv small { font-size: .7rem; color: var(--text-3); white-space: nowrap; }
.fx-bl li .fx-who__b .fx-floor, .fx-bl:not(.fx-bl--big) li .fx-who__b .rb { display: none; }
.fx-bempty { margin: 0; }

/* profile card */
.fx-pc { display: grid; gap: 14px; }
.fx-pc__top { display: flex; gap: 14px; align-items: center; }
.fx-pc__top h3 { margin: 0 0 4px; font-family: var(--font-display); font-size: 1.25rem; }
.fx-pc__b { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 4px; }
.fx-pc__rank { display: grid; gap: 6px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.04); font-size: .88rem; }
.fx-pc__rank small { color: var(--text-3); }
.fx-bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.fx-bar i { display: block; height: 100%; border-radius: inherit; background: var(--gold-grad); }
.fx-pc__st { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; text-align: center; }
.fx-pc__st div { display: grid; padding: 8px 4px; border-radius: 10px; background: rgba(255,255,255,.03); }
.fx-pc__st b { font-family: var(--font-mono); font-size: 1rem; } .fx-pc__st small { font-size: .66rem; color: var(--text-3); line-height: 1.2; }
.fx-pc__bd { display: flex; flex-wrap: wrap; gap: 6px; }
.fx-pc__bd span { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; border: 1px solid rgba(242,193,78,.3); color: var(--gold-2); background: rgba(242,193,78,.06); }
.fx-pc__bd i { font-style: normal; }
.fx-pc__bio { margin: 0; color: var(--text-2); font-size: .9rem; }
.fx-pc__a { display: flex; gap: 8px; flex-wrap: wrap; }
.fx-pc__a .btn { min-height: 44px; }

/* ===== dashboard cards ===== */
.fx-card { min-width: 0; }
.fx-card[hidden] { display: none !important; }
.fx-ch { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.fx-ch h3 { margin: 0; display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 1rem; letter-spacing: -.01em; min-width: 0; }
.fx-ch h3 span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-ch h3 svg.i { color: var(--gold); width: 17px; height: 17px; }
.fx-ch a { font-size: .8rem; white-space: nowrap; min-height: 44px; min-width: 44px; padding: 0 6px; margin: -8px -6px -8px 0; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.fx-ch__n { font: 700 .74rem var(--font-mono); color: #061027; background: var(--gold); border-radius: 999px; padding: 2px 8px; }
.fx-ch__n:empty { display: none; }
.fx-hello h1 { margin: 0; font-family: var(--font-display); font-size: clamp(1.35rem, 5vw, 2rem); letter-spacing: -.025em; line-height: 1.15; }
.fx-hello p { margin: 4px 0 0; color: var(--text-2); font-size: .86rem; }
.fx-hello .fx-demo { margin: 8px 0 0; }
.fx-price { display: grid; gap: 4px; }
.fx-price .rk { margin: 0; }
.fx-price__v { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.fx-price__v b { font-family: var(--font-display); font-size: clamp(1.9rem, 7vw, 2.5rem); letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.05; transition: color .6s; }
.fx-price__v b.up { animation: pup 1s; } .fx-price__v b.dn { animation: pdn 1s; }
@keyframes pup { 0% { color: var(--green); } } @keyframes pdn { 0% { color: var(--red); } }
.fx-price__v span { font: 600 .9rem var(--font-mono); font-variant-numeric: tabular-nums; }
.fx-price__v span.up { color: var(--green); } .fx-price__v span.dn { color: var(--red); }
.fx-price__m { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: .76rem; color: var(--text-3); min-height: 1.2em; }
.fx-price__go { font-size: .82rem; justify-self: start; min-height: 44px; display: inline-flex; align-items: center; }
.fx-since__n { font-size: .95rem; margin-bottom: 8px; }
.fx-since__n b { font-family: var(--font-display); color: var(--gold-2); font-size: 1.1rem; }
.fx-since__n--q { color: var(--text-2); }
.fx-since__l { display: grid; gap: 2px; }
.fx-since__a { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.fx-since__a .btn { min-height: 40px; }
.fx-al { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: start; width: 100%; min-height: 44px; padding: 8px; border: 0; border-radius: 12px; background: transparent; text-align: left; font-size: .86rem; color: var(--text); }
.fx-al:hover { background: rgba(255,255,255,.04); }
.fx-al.new { background: rgba(242,193,78,.06); }
.fx-al small { display: block; color: var(--text-3); font-size: .78rem; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-al time { font-size: .72rem; color: var(--text-3); white-space: nowrap; }
.fx-al__star { --c: #f2c14e; }
.fx-mini { display: grid; }
.fx-mrow { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 52px; padding: 6px 4px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.fx-mrow:last-child { border-bottom: 0; }
.fx-mrow:hover { background: rgba(255,255,255,.03); }
.fx-mrow__t { min-width: 0; display: grid; }
.fx-mrow__t b { font-weight: 600; font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-mrow__t small { color: var(--text-3); font-size: .74rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-mrow__n { display: inline-flex; align-items: center; gap: 4px; font: 600 .78rem var(--font-mono); color: var(--text-3); position: relative; }
.fx-mrow__n svg.i { width: 14px; height: 14px; }
.fx-dotn { position: absolute; top: -3px; right: -7px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.fx-mrow__cta { font-size: .76rem; font-weight: 700; color: #061027; background: var(--gold); border-radius: 999px; padding: 6px 12px; }
.fx-nudge { margin: 0 0 4px; font-size: .8rem; color: var(--text-2); }
.fx-feat { display: grid; gap: 10px; }
.fx-feat__i { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "k k" "av t"; gap: 8px 14px; align-items: center; padding: 16px; border-radius: 18px; color: var(--text); text-decoration: none; border: 1px solid rgba(242,193,78,.28); background: radial-gradient(120% 120% at 0% 0%, rgba(242,193,78,.14), transparent 60%), rgba(255,255,255,.02); }
.fx-feat__k { grid-area: k; font: 700 .64rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.fx-feat__i .fx-avb { grid-area: av; }
.fx-feat__t { grid-area: t; display: grid; gap: 4px; min-width: 0; }
.fx-feat__t b { font-family: var(--font-display); font-size: 1.02rem; overflow-wrap: anywhere; }
.fx-feat__t q { color: var(--text-2); font-size: .9rem; quotes: "“" "”"; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fx-feat__t small { color: var(--text-3); font-size: .74rem; }
.fx-feat__i--week { border-color: var(--line-2); background: rgba(255,255,255,.02); }
.fx-feat__empty { display: grid; gap: 4px; padding: 16px; border-radius: 18px; border: 1px dashed rgba(242,193,78,.3); color: var(--text-2); font-size: .86rem; }
.fx-feat__empty b { color: var(--gold-2); font-family: var(--font-display); }
.fx-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.fx-wall__i { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; min-height: 96px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.02); color: var(--text); text-align: center; }
.fx-wall__i.top { border-color: rgba(242,193,78,.35); background: rgba(242,193,78,.05); }
.fx-wall__i b { font-size: .8rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-wall__i small { font-size: .68rem; color: var(--gold-2); }
.fx-mtabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 12px; background: rgba(1,1,2,.25); margin-bottom: 8px; }
.fx-mtabs button { min-height: 40px; border: 0; border-radius: 9px; background: transparent; color: var(--text-3); font-size: .8rem; font-weight: 700; white-space: nowrap; }
.fx-mtabs button.on { background: rgba(255,255,255,.09); color: var(--text); }
.fx-mtabs__b { min-height: 150px; }
.fx-mtabs__b .fx-bh { font-size: .78rem; margin-bottom: 4px; }
.fx-mtabs__b .fx-bh .hint { display: none; }
.fx-prog { display: grid; gap: 10px; }
.fx-prog__r { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.fx-prog__k { font: 600 .64rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.fx-prog__r b { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: -.02em; }
.fx-prog__r small { color: var(--text-3); font-family: var(--font-mono); font-size: .76rem; }
.fx-prog__bar small { display: block; margin-top: 6px; font-size: .8rem; color: var(--text-2); }
.fx-bar--g { height: 10px; }
.fx-prog__f { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: .8rem; color: var(--text-2); }
.fx-prog .hint { margin: 0; }
.fx-season { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fx-season__f { display: grid; justify-items: center; padding: 6px 10px; border-radius: 12px; background: rgba(255,255,255,.04); filter: grayscale(1); }
.fx-season__f.lit { filter: none; background: rgba(255,143,112,.1); }
.fx-season__f b { font-family: var(--font-display); font-size: 1.1rem; line-height: 1; } .fx-season__f small { font-size: .62rem; color: var(--text-3); }
.fx-season__l { display: grid; flex: 1; min-width: 120px; } .fx-season__l b { color: var(--c); font-family: var(--font-display); } .fx-season__l small { color: var(--text-3); font-size: .76rem; }
.fx-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fx-links a { display: grid; justify-items: center; gap: 6px; padding: 12px 6px; min-height: 72px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.02); color: var(--text-2); text-decoration: none; font-size: .76rem; font-weight: 600; text-align: center; }
.fx-links a svg.i { color: var(--c); width: 20px; height: 20px; }
.fx-links a:hover { color: var(--text); border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.fx-spaces { display: grid; gap: 8px; }
.fx-spaces a { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-areas: "ic b" "ic s"; gap: 0 12px; align-items: center; padding: 12px; min-height: 68px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.02); color: var(--text); text-decoration: none; }
.fx-spaces__ic { grid-area: ic; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.fx-spaces b { grid-area: b; font-family: var(--font-display); } .fx-spaces small { grid-area: s; color: var(--text-3); font-size: .76rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-spaces a { padding-right: 60px; }
.fx-spaces em { position: absolute; top: 50%; transform: translateY(-50%); right: 10px; font: 700 .66rem var(--font-mono); font-style: normal; color: #061027; background: var(--gold); border-radius: 999px; padding: 2px 7px; }
.fx-spaces em:empty { display: none; }

/* feed (design C) */
.fx-feed { display: grid; gap: 10px; }
.fx-fi { display: grid; gap: 10px; padding: 14px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.fx-fi__h { display: flex; align-items: center; gap: 10px; min-width: 0; }
.fx-fi__w { display: grid; min-width: 0; flex: 1; }
.fx-fi__w > span { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; }
.fx-fi__n { border: 0; background: none; padding: 0 4px; margin: -8px -4px; font-weight: 700; font-size: .9rem; color: var(--text); min-height: 44px; min-width: 44px; text-align: left; position: relative; z-index: 2; }
.fx-fi__w small { color: var(--text-3); font-size: .76rem; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.fx-fi__title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--text); text-decoration: none; line-height: 1.35; overflow-wrap: anywhere; }
.fx-fi__ex { margin: 0; color: var(--text-2); font-size: .88rem; overflow-wrap: anywhere; }
.fx-fi__quote { display: grid; gap: 4px; padding: 10px 12px; border-radius: 12px; border-left: 3px solid var(--sc); background: rgba(1,1,2,.22); color: var(--text); text-decoration: none; font-size: .9rem; overflow-wrap: anywhere; }
.fx-fi__quote small { color: var(--text-3); font-size: .74rem; }
.fx-fi__res { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); color: var(--text); text-decoration: none; }
.fx-fi__res b { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -.02em; } .fx-fi__res.win b { color: var(--green); } .fx-fi__res.loss b { color: var(--red); }
.fx-fi__res span { font: 500 .8rem var(--font-mono); color: var(--text-2); }
.fx-fi__a { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .8rem; color: var(--text-3); }
.fx-fi__a a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--text-2); text-decoration: none; font-weight: 600; }
.fx-fi__a svg.i { width: 16px; height: 16px; }
.fx-st--k { display: inline-flex; align-items: center; gap: 5px; }
.fx-fi--first { border-color: rgba(60,207,145,.35); background: rgba(60,207,145,.04); }
.fx-fi--result { border-color: rgba(242,193,78,.2); }

/* spotlight (design C) */
.fx-spot { position: relative; }
.fx-spot__stage { position: relative; height: 220px; }
@media (min-width: 700px) { .fx-spot__stage { height: 200px; } }
.fx-spot__s { position: absolute; inset: 0; display: flex; align-items: center; gap: 18px; padding: 20px; border-radius: 22px; color: var(--text); text-decoration: none; opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; overflow: hidden; }
.fx-spot__s.on { opacity: 1; transform: none; pointer-events: auto; }
.fx-spot__txt { display: grid; gap: 4px; min-width: 0; }
.fx-spot__k { font: 700 .66rem/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); }
.fx-spot__n { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-family: var(--font-display); font-size: 1.3rem; }
.fx-spot__t { font-size: 1rem; color: var(--text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.fx-spot__m { font-size: .78rem; color: var(--text-3); }
.fx-spot__dots { position: absolute; right: 12px; bottom: 0; display: flex; gap: 0; }
.fx-spot__dots button { width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-items: center; padding: 0; }
.fx-spot__dots button::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.25); transition: width .3s; }
.fx-spot__dots button[aria-selected="true"]::before { width: 22px; background: var(--gold); }
@media (max-width: 520px) { .fx-spot__s { gap: 12px; padding: 16px; } .fx-spot__s .av--xl { width: 64px; height: 64px; font-size: 1.5rem; } .fx-spot__n { font-size: 1.1rem; } .fx-spot__t { font-size: .92rem; } }

/* chat: reserve the pinned bars' row so General chat doesn't jump when they load */
.eng-roomtop:not([hidden]) { min-height: 52px; }
.modal__head .iconbtn { width: 44px; height: 44px; }

/* ---------- fair reports (3 Nov 2026): report dialog, forum pause panel, hidden-post note, owner tools ---------- */
.fx-repcats { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.fx-repcats legend { font-weight: 600; font-size: .9rem; margin-bottom: 8px; padding: 0; }
.fx-repcats label { position: relative; }
.fx-repcats input { position: absolute; opacity: 0; inset: 0; }
.fx-repcats span { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(1,1,2,.25); font-size: .9rem; color: var(--text-2); cursor: pointer; }
.fx-repcats input:checked + span { border-color: var(--gold); color: var(--text); background: rgba(242,193,78,.12); }
.fx-repcats input:focus-visible + span { outline: 2px solid var(--gold); }
.fx-count { display: block; margin-top: 4px; text-align: right; font-size: .78rem; }
.fx-cats { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.fx-cat { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .8rem; color: var(--text-2); background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.fx-cat b { color: var(--text); font-family: var(--font-mono); font-size: .78rem; }
.fx-pausehost { margin: 0 0 14px; }
.fx-pause { padding: 16px; border-radius: 16px; border: 1px solid rgba(146,178,252,.3); background: linear-gradient(180deg, rgba(146,178,252,.08), rgba(146,178,252,.03)); display: grid; gap: 10px; min-width: 0; }
.fx-pause__h { display: flex; gap: 12px; align-items: flex-start; }
.fx-pause__h b { display: block; line-height: 1.4; overflow-wrap: anywhere; }
.fx-pause__h p { margin: 4px 0 0; color: var(--text-2); font-size: .9rem; }
.fx-pause__ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(146,178,252,.14); color: #92b2fc; }
.fx-pause__c .hint, .fx-pause__rule { font-size: .82rem; margin: 0; }
.fx-pause__a .btn { min-height: 44px; }
.fx-pause__ap { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.05); font-size: .9rem; color: var(--text-2); }
.fx-pause__ap b { color: var(--text); }
.fx-pause__ap svg.i { flex: none; margin-top: 2px; }
.fx-pause__form .mod__row { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.fx-pause__form .btn { min-height: 44px; }
.fx-hidnote { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; font-size: .84rem; color: #ffd2cb; background: rgba(239,106,91,.1); border: 1px solid rgba(239,106,91,.25); }
.fx-hidnote span { flex: 1 1 220px; min-width: 0; }
.fx-hidnote svg.i { width: 16px; height: 16px; flex: none; }
.fx-hidnote .btn { min-height: 44px; }
.fx-otabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px; margin: 0 0 12px; border-radius: 14px; background: rgba(1,1,2,.3); border: 1px solid var(--line); scrollbar-width: none; }
.fx-otabs::-webkit-scrollbar { display: none; }
.fx-otab { flex: 1 0 auto; min-height: 44px; padding: 0 14px; border: 0; border-radius: 10px; background: none; color: var(--text-2); font: inherit; font-weight: 600; font-size: .9rem; white-space: nowrap; cursor: pointer; }
.fx-otab.on { background: rgba(255,255,255,.1); color: var(--text); }
.fx-otab em { font-style: normal; font-size: .75rem; }
.fx-otab em.on { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: #050c20; font-weight: 700; }
.fx-opanel { display: grid; gap: 12px; }
.fx-oc { display: grid; gap: 8px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.02); min-width: 0; }
.fx-oc.is-open { border-color: rgba(242,193,78,.45); }
.fx-oc__h { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.fx-oc .hint { margin: 0; overflow-wrap: anywhere; }
.fx-oc__q b { font-size: .8rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .04em; }
.fx-oc__q p { margin: 2px 0 8px; overflow-wrap: anywhere; }
.fx-oc__t { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.fx-oc blockquote { margin: 0; padding: 8px 10px; border-left: 3px solid var(--line-2); color: var(--text-2); font-size: .9rem; overflow-wrap: anywhere; }
.fx-oc__a { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-oc__a .btn { min-height: 44px; }
.fx-oc__note { font-size: 16px; }
.fx-pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 600; color: var(--text-2); background: rgba(255,255,255,.07); white-space: nowrap; }
.fx-pill--open { color: #050c20; background: var(--gold); }
.fx-pill--low { color: #ffd2cb; background: rgba(239,106,91,.14); white-space: normal; }
.fx-rl { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fx-rl li { padding: 10px; border-radius: 10px; background: rgba(1,1,2,.2); display: grid; gap: 4px; min-width: 0; }
.fx-rl li.is-unfair { opacity: .6; }
.fx-rl li p { margin: 0; overflow-wrap: anywhere; }
.fx-rl__h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fx-rl__h time { margin-left: auto; }
.fx-newbtn:disabled, [data-new]:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- TEAM desks (desks-2026-11-03.sql): icon avatar, gold TEAM chip, desk card, desk trade label ---------- */
.fx-team { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 5px; font-family: var(--font-mono); font-size: .58rem; font-weight: 700; letter-spacing: .12em; color: #061027; background: linear-gradient(180deg, #ffd978, #f2c14e); border: 1px solid #f2c14e; white-space: nowrap; flex-shrink: 0; }
.fx-dav { color: #060b19; background: var(--c, #f2c14e); box-shadow: inset 0 0 0 2px rgba(1,1,2,.18); }
.fx-dav svg.i { width: 56%; height: 56%; stroke-width: 2.2; }
.fx-who--desk .fx-who__t > b { max-width: 22ch; }
.fx-post.is-desk { border-left: 3px solid rgba(242,193,78,.55); }
.fx-post__b a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 2px; word-break: break-all; }
.fx-lf__who .fx-team { align-self: center; }
.fx-deskidea { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; font-size: .82rem; line-height: 1.45; color: var(--text-2); background: rgba(242,193,78,.06); border: 1px solid rgba(242,193,78,.25); }
.fx-deskidea .fx-team { margin-top: 1px; }
.fx-dc__focus { margin: 0; display: grid; gap: 2px; font-size: .9rem; }
.fx-dc__focus em, .fx-dc__k { font-style: normal; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.fx-dc__st { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fx-dc__rec { display: grid; gap: 4px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.04); }
.fx-dc__rec b { font-family: var(--font-mono); font-size: .95rem; }
.fx-dc__rec b.win { color: #7ee2a8; } .fx-dc__rec b.loss { color: #ff9c8f; }
.fx-dc__rec small { color: var(--text-3); font-size: .76rem; }
.fx-dc__note { margin: 0; font-size: .78rem; }
@media (max-width: 640px) { .fx-who--desk { min-height: 44px; } .fx-deskidea { font-size: .8rem; } }
.fx-st--v { color: #92b2fc; }
/* trades board (6 Nov 2026): Completed · Running · Upcoming + the desk countdown, top of #/f/trades */
.fx-tb { display: grid; gap: 10px; padding: 12px 14px; border-radius: 16px; border: 1px solid rgba(242,193,78,.22); background: linear-gradient(180deg, rgba(242,193,78,.06), rgba(255,255,255,.02) 60%); min-width: 0; }
.fx-tb[hidden], .fx-livefeed.fx-tb-off { display: none; }
.fx-tb__h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fx-tb__h .rk { margin: 0; color: var(--gold-2); }
.fx-tb__h .rk i { background: var(--gold); }
.fx-tb__h .fx-demo { margin-left: 0; }
.fx-tb__cd { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(1,1,2,.25); border: 1px solid var(--line); min-width: 0; }
.fx-tb__cd svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.fx-tb__cd span { display: grid; gap: 2px; min-width: 0; }
.fx-tb__cd b { font-size: .95rem; font-variant-numeric: tabular-nums; color: var(--text); }
.fx-tb__cd small { font-size: .76rem; color: var(--text-3); line-height: 1.4; }
.fx-tb__cd--soon b, .fx-tb__cd--now b { color: var(--gold-2); }
.fx-tb__cd--now svg { animation: blink 1.6s infinite; }
.fx-tb__cd--off svg { color: var(--text-3); }
.fx-tb__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.fx-tb__t { display: grid; justify-items: center; gap: 1px; min-height: 64px; padding: 8px 4px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.02); color: var(--text-2); cursor: pointer; font: inherit; min-width: 0; transition: border-color .2s, background .2s; }
.fx-tb__t b { font: 700 1.35rem/1.1 var(--font-display); font-variant-numeric: tabular-nums; color: var(--text); }
.fx-tb__t span { font-size: .78rem; font-weight: 600; }
.fx-tb__t small { font-size: .64rem; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.fx-tb__t:hover { border-color: var(--line-2); }
.fx-tb__t.on { border-color: rgba(242,193,78,.55); background: rgba(242,193,78,.1); color: var(--gold-2); }
.fx-tb__t--completed b { color: #7ee2a8; } .fx-tb__t--running b { color: var(--gold-2); } .fx-tb__t--upcoming b { color: #92b2fc; }
.fx-tb__list { display: grid; min-width: 0; }
.fx-tb__list > .hint { margin: 6px 0; }
.fx-tb__i { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; grid-template-areas: "av who side" "av lv st"; gap: 2px 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; min-height: 44px; min-width: 0; }
.fx-tb__i:last-child { border-bottom: 0; }
.fx-tb__i > .av, .fx-tb__i > .fx-dav { grid-area: av; }
.fx-tb__who { grid-area: who; min-width: 0; display: flex; gap: 6px; align-items: baseline; }
.fx-tb__who b { font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.fx-tb__who .fx-team { align-self: center; }
.fx-tb__who small { color: var(--text-3); font-size: .72rem; white-space: nowrap; }
.fx-tb__i .fx-side { grid-area: side; justify-self: end; }
.fx-tb__lv { grid-area: lv; font: 500 .74rem var(--font-mono); color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; font-variant-numeric: tabular-nums; }
.fx-tb__i .fx-ts { grid-area: st; justify-self: end; }
.fx-tb__sub { margin: 10px 0 0; font: 600 .62rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.fx-tb__up { display: grid; gap: 8px; padding: 4px 0; }
.fx-tb__up p { margin: 0; font-size: .82rem; color: var(--text-2); line-height: 1.5; }
.fx-tb__foot { margin: 0; font-size: .7rem; color: var(--text-3); }
@media (max-width: 520px) {
  .fx-tb { padding: 12px 10px; } .fx-tb__t small { font-size: .6rem; } .fx-tb__pw { display: none; }
  .fx-tb__i { grid-template-areas: "av who side" "av lv lv" "av st st"; gap: 3px 10px; }
  .fx-tb__i .fx-ts { justify-self: start; }
}
