/* Forum (rallyduels.com/forum) — bouwt op site.css (kleuren, knoppen, kop). */
.fx-main { max-width: 1100px; margin: 0 auto; padding: 24px clamp(16px, 4vw, 40px) 60px; min-height: 60vh; }
.fx-h1 { font-size: clamp(22px, 4vw, 32px); margin: 6px 0 14px; color: #fff; text-shadow: 0 0 14px rgba(44,232,255,.4); }
.fx-main h2 { font-size: 16px; letter-spacing: .08em; color: var(--cyan); margin: 22px 0 10px; }
.muted { color: var(--muted); }
.fx-small { font-size: 14px; }
.fx-crumbs { font-size: 15px; color: var(--muted); margin: 0; }
.fx-crumbs a { text-decoration: none; }
.fx-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.fx-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.fx-tabs { display: flex; gap: 6px; margin: 6px 0 14px; }
.fx-tabs a { font: 700 13px 'Orbitron', sans-serif; letter-spacing: .08em; padding: 8px 14px; border-radius: 999px; text-decoration: none;
  color: var(--muted); border: 1px solid var(--line); }
.fx-tabs a.active { color: #05060d; background: linear-gradient(90deg, var(--cyan), #3d8bff); border-color: transparent; }
.fx-layout { display: grid; grid-template-columns: 1fr 300px; gap: 22px; align-items: start; }
.fx-topics { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fx-topic { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.fx-topic.pinned { border-color: rgba(255,204,61,.45); }
.fx-topic.is-hidden, .fx-post.is-hidden { opacity: .55; border-style: dashed; }
.fx-score { min-width: 42px; text-align: center; font: 800 15px 'Orbitron', sans-serif; color: var(--cyan); }
.fx-tlink { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); min-width: 0; flex: 1; }
.fx-tlink b { overflow-wrap: anywhere; }
.fx-tlink small { color: var(--muted); font-size: 14px; }
.fx-cat { color: var(--amber); }
.fx-author { color: var(--ink); font-weight: 700; }
/* the bar on top while test users (forum bots, alpha) post on the forum */
.fx-botbar { max-width: 960px; margin: 10px auto 0; padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(160,170,190,.35); background: rgba(160,170,190,.10); color: #dbe3f2; font-size: 14px; line-height: 1.45; }
.fx-botbar[hidden] { display: none; }
@media (max-width: 1000px) { .fx-botbar { margin: 10px 16px 0; } }
/* a filler player during the alpha (forum-bots.js): always marked */
.fx-bot { font: 700 10px 'Orbitron', sans-serif; letter-spacing: .08em; padding: 2px 6px; border-radius: 6px; vertical-align: 1px; background: rgba(160,170,190,.16); color: #c9d2e3; }
.fx-role { font: 700 10px 'Orbitron', sans-serif; letter-spacing: .08em; padding: 2px 6px; border-radius: 6px; vertical-align: 1px; }
.fx-role-moderator { background: rgba(57,255,143,.15); color: #39ff8f; }
.fx-role-community_manager { background: rgba(255,204,61,.15); color: var(--amber); }
.fx-role-admin { background: rgba(255,47,146,.18); color: var(--magenta); }
.fx-cats { display: grid; gap: 8px; }
.fx-cats h2 { margin-top: 0; }
.fx-catcard { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.fx-catcard small { color: var(--muted); font-size: 14px; line-height: 1.35; }
.fx-catcard span { color: var(--cyan); font-size: 13px; }
.fx-catcard:hover, .fx-topic:hover { border-color: rgba(44,232,255,.5); }
.fx-pinned { margin-bottom: 12px; }
.fx-post { display: flex; gap: 14px; padding: 14px; margin-bottom: 10px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.fx-post.first { border-color: rgba(44,232,255,.35); }
.fx-post.deleted { display: block; opacity: .6; }
.fx-vote { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 40px; }
.fx-vote button { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 8px; width: 34px; height: 30px; cursor: pointer; font-size: 14px; }
.fx-vote button:hover { color: var(--ink); border-color: var(--muted); }
.fx-vote .up.on { color: #05060d; background: var(--cyan); border-color: var(--cyan); }
.fx-vote .down.on { color: #fff; background: var(--magenta); border-color: var(--magenta); }
.fx-n { font: 800 15px 'Orbitron', sans-serif; }
.fx-pbody { flex: 1; min-width: 0; }
.fx-meta { font-size: 14px; color: var(--muted); }
.fx-text { margin: 6px 0 8px; overflow-wrap: anywhere; }
.fx-replay { display: inline-block; margin: 4px 0; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--cyan); text-decoration: none; font-weight: 700; }
.fx-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.fx-acts button { background: none; border: none; color: var(--muted); cursor: pointer; font: 600 14px 'Rajdhani', sans-serif; padding: 2px 4px; }
.fx-acts button:hover { color: var(--ink); }
.fx-reply { display: grid; gap: 10px; margin-top: 18px; }
.fx-reply label { display: grid; gap: 4px; color: var(--muted); }
.fx-input { width: 100%; padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: #070914; color: var(--ink); font: 500 17px 'Rajdhani', sans-serif; }
.fx-input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(44,232,255,.15); }
.fx-code { text-align: center; font: 800 26px 'Orbitron', sans-serif; letter-spacing: .3em; text-transform: uppercase; }
.fx-user { font-size: 14px; }
.fx-dialog { max-width: 440px; width: calc(100% - 32px); border-radius: 16px; border: 1px solid rgba(44,232,255,.35); background: var(--panel); color: var(--ink); padding: 22px; }
.fx-dialog::backdrop { background: rgba(5,6,13,.75); }
.fx-dialog h2 { margin: 0 0 10px; font-size: 18px; color: var(--cyan); }
.fx-steps { margin: 0 0 14px; padding-left: 20px; color: var(--muted); }
.fx-error { color: #ff6b8a; min-height: 22px; margin: 8px 0; }
.fx-log { list-style: none; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.fx-log small { color: var(--muted); }
.fx-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #0b0f1f; color: var(--ink); border: 1px solid var(--cyan);
  padding: 10px 16px; border-radius: 10px; z-index: 50; box-shadow: 0 0 20px rgba(44,232,255,.3); max-width: calc(100% - 32px); }
@media (max-width: 860px) { .fx-layout { grid-template-columns: 1fr; } .forum-page .nav { display: none; } }
@media (max-width: 480px) { .fx-post { gap: 10px; padding: 12px; } .fx-vote { min-width: 34px; } .top-actions .btn-small { padding: 7px 10px; } }
.fx-modlink { float: right; margin-left: 10px; }
.fx-badge { font: 700 11px 'Rajdhani', sans-serif; padding: 1px 6px; border-radius: 6px; background: rgba(155,107,255,.18); color: #c9b2ff; white-space: nowrap; }
.fx-lbl { display: grid; gap: 4px; color: var(--muted); margin-bottom: 8px; font-size: 15px; }
.fx-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.fx-grid2[hidden] { display: none; }
.fx-wide { grid-column: 1 / -1; }
/* inloggen met e-mail (in het inlog-venster) */
.fx-email { margin: 14px 0 4px; padding: 10px 12px; border: 1px solid rgba(0, 229, 255, .2); border-radius: 12px; background: rgba(0, 229, 255, .04); }
.fx-email summary { cursor: pointer; font-weight: 700; color: var(--cyan, #00e5ff); }
.fx-email .fx-row { margin-top: 10px; flex-wrap: nowrap; }
.fx-email .fx-input { flex: 1; min-width: 0; margin: 0; }
.fx-email .fx-code { font-size: 20px; letter-spacing: .25em; }
.fx-email .btn { flex: 0 0 auto; }
.fx-email [hidden] { display: none !important; }
/* bug-status (Bugs & Feedback) */
.fx-bug { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; font: 700 12px 'Rajdhani', sans-serif; letter-spacing: .03em;
  vertical-align: middle; border: 1px solid currentColor; white-space: nowrap; }
.fx-bug-new { color: #ffd54a; } .fx-bug-investigating { color: #2ce8ff; } .fx-bug-planned { color: #b98cff; }
.fx-bug-fixed { color: #39ff8f; } .fx-bug-wontfix { color: #ff6b86; } .fx-bug-duplicate { color: #8aa0bf; }
.fx-bugsel { width: auto; margin: 0; padding: 6px 10px; }

/* Screenshots (COMMUNITY.md §11) */
.fx-imgs { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 10px; }
.fx-img { position: relative; display: inline-block; }
.fx-img img { display: block; min-width: 72px; min-height: 54px; max-width: 220px; max-height: 160px; width: auto; height: auto; border-radius: 8px; border: 1px solid var(--line); background: #000; cursor: zoom-in; object-fit: contain; }
.fx-img.removed { padding: 8px 10px; border: 1px dashed var(--line); border-radius: 8px; font-size: 12px; opacity: .7; }
.fx-img-rm { position: absolute; top: 4px; right: 4px; border: 0; border-radius: 50%; width: 24px; height: 24px; background: rgba(0,0,0,.7); color: #fff; cursor: pointer; }
.fx-shots { margin: 8px 0; }
.fx-shot-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.fx-shot { position: relative; width: 84px; height: 64px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.fx-shot img { width: 100%; height: 100%; object-fit: cover; }
.fx-shot i { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.5); font-style: normal; }
.fx-shot button { position: absolute; top: 2px; right: 2px; border: 0; border-radius: 50%; width: 20px; height: 20px; background: rgba(0,0,0,.7); color: #fff; cursor: pointer; font-size: 11px; }
.fx-shot-add[hidden] { display: none; }
.fx-lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(3,4,10,.92); cursor: zoom-out; }
.fx-lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; }
