/* MOVGIX community forum: index, category views, discussion pages and composers. */
*{box-sizing:border-box}
body[data-forum-page]{--fc-accent:#e8544f;--fc-accent-ink:#ff8a85;--fc-ink:#f4f2ee;--fc-body:#d6d3dc;--fc-dim:#a8a5b0;--fc-mute:#8a8792;--fc-line:rgba(255,255,255,.09);--fc-line-strong:rgba(255,255,255,.2);--fc-bg:#0a0a0d;--fc-panel:#111116;--fc-raise:#17171d;--fc-field:#0c0c10;margin:0;background:var(--fc-bg);color:var(--fc-ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:15px;line-height:1.5}
body[data-forum-page] [hidden]{display:none!important}
button,input,select,textarea{font:inherit;color:inherit}
.fc-shell :focus-visible,.fc-dialog :focus-visible,.fc-skip:focus-visible{outline:2px solid var(--fc-ink);outline-offset:3px}
.fc-sr-only,.fc-skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.fc-skip:focus{position:fixed;top:12px;left:12px;z-index:100;padding:10px 14px;border-radius:8px;background:var(--fc-ink);color:#0a0a0d}
.fc-shell{max-width:1200px;margin:0 auto;padding:clamp(20px,3vw,36px) 16px clamp(48px,6vw,80px)}

/* Buttons */
.fc-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border:1px solid var(--fc-line-strong);border-radius:10px;background:transparent;color:var(--fc-ink);font-size:14.5px;font-weight:600;line-height:1;text-decoration:none;white-space:nowrap;cursor:pointer;transition:background-color .2s ease,border-color .2s ease,color .2s ease}
.fc-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.fc-button:hover{border-color:var(--fc-ink);background:rgba(255,255,255,.05)}
.fc-primary{border-color:var(--fc-accent);background:var(--fc-accent);color:#0a0a0d;font-weight:700}
.fc-primary:hover{border-color:#f06a65;background:#f06a65}
.fc-ghost{background:transparent}
.fc-danger{border-color:#d9443f;background:#d9443f;color:#fff}
.fc-danger:hover{background:#e8544f}
.fc-sm{min-height:38px;padding:0 13px;font-size:13.5px}
.fc-button:disabled,.fc-button[aria-busy=true]{opacity:.6;cursor:wait}
.fc-danger-text{color:#ff9a95}
.fc-link-button{min-height:36px;padding:0 4px;border:0;background:none;font-size:13px;font-weight:600;cursor:pointer}
.fc-link-button:hover{text-decoration:underline;text-underline-offset:3px}

/* Index header, notice, invite */
.fc-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:18px 32px;margin-bottom:20px}
.fc-eyebrow{display:flex;align-items:center;gap:10px;margin:0 0 10px;color:var(--fc-accent-ink);font:600 11px/1 "Space Mono",ui-monospace,monospace;letter-spacing:.16em;text-transform:uppercase}
.fc-eyebrow:before{content:"";width:22px;height:1px;background:currentColor}
.fc-head h1{margin:0 0 10px;font:700 clamp(2rem,1.4rem + 2vw,2.9rem)/1.05 "Space Grotesk",Inter,sans-serif;letter-spacing:-.025em}
.fc-lead{max-width:60ch;margin:0;color:var(--fc-dim);font-size:15.5px;line-height:1.6}
.fc-new{min-height:46px}
.fc-notice{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px;padding:12px 16px;border:1px solid var(--fc-line);border-radius:12px;background:rgba(255,255,255,.02);color:var(--fc-dim);font-size:13.5px;line-height:1.55}
.fc-notice svg{flex:0 0 18px;width:18px;height:18px;margin-top:1px;fill:none;stroke:var(--fc-mute);stroke-width:1.7;stroke-linecap:round}
.fc-notice p{flex:1;margin:0}
.fc-notice strong{color:var(--fc-ink);font-weight:600}
.fc-notice a{flex:0 0 auto;color:var(--fc-accent-ink);font-weight:600;text-underline-offset:3px;white-space:nowrap}
.fc-invite{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 20px;margin-bottom:20px;padding:16px 18px;border:1px solid var(--fc-line);border-radius:12px;background:var(--fc-raise)}
.fc-invite>div:first-child{display:grid;gap:3px}
.fc-invite strong{font-size:15px}
.fc-invite span{color:var(--fc-dim);font-size:13.5px}
.fc-invite-actions{display:flex;flex-wrap:wrap;gap:8px}

/* Layout: category navigation + board */
.fc-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;align-items:start}
.fc-cats{position:sticky;top:16px}
.fc-cats-title{margin:0 0 10px;padding-left:12px;color:var(--fc-mute);font:600 11px/1 "Space Mono",ui-monospace,monospace;letter-spacing:.14em;text-transform:uppercase}
.fc-cat-list{display:grid;gap:2px;margin:0;padding:0;list-style:none}
.fc-cat-list button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:40px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:var(--fc-dim);font-size:14px;font-weight:500;text-align:left;cursor:pointer;transition:background-color .2s ease,color .2s ease}
.fc-cat-list button:hover{background:rgba(255,255,255,.04);color:var(--fc-ink)}
.fc-cat-list button.is-active{background:rgba(232,84,79,.1);color:var(--fc-ink);box-shadow:inset 2px 0 var(--fc-accent);font-weight:600}
.fc-cat-list small{color:var(--fc-mute);font:500 12px/1 ui-monospace,"Space Mono",monospace;font-variant-numeric:tabular-nums}
.fc-cat-list button.is-active small{color:var(--fc-body)}
.fc-board{min-width:0}
.fc-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.fc-search{position:relative;display:flex;align-items:center;flex:1 1 280px;max-width:420px}
.fc-search svg{position:absolute;left:12px;width:18px;height:18px;fill:none;stroke:var(--fc-mute);stroke-width:1.8;pointer-events:none}
.fc-search input{width:100%;min-height:44px;padding:0 84px 0 40px;border:1px solid var(--fc-line-strong);border-radius:10px;background:var(--fc-field);font-size:14.5px}
.fc-search input::placeholder{color:#75727d}
.fc-search input:focus{border-color:var(--fc-accent);outline:none;box-shadow:0 0 0 3px rgba(232,84,79,.16)}
.fc-search-go{position:absolute;right:5px;min-height:34px;padding:0 12px;border:0;border-radius:7px;background:rgba(255,255,255,.08);font-size:13px;font-weight:600;cursor:pointer}
.fc-search-go:hover{background:rgba(255,255,255,.14)}
.fc-tabs{display:flex;gap:2px;padding:3px;border:1px solid var(--fc-line);border-radius:10px;background:var(--fc-panel)}
.fc-tabs button{min-height:36px;padding:0 12px;border:0;border-radius:7px;background:transparent;color:var(--fc-dim);font-size:13.5px;font-weight:600;cursor:pointer;white-space:nowrap}
.fc-tabs button:hover{color:var(--fc-ink)}
.fc-tabs button.is-active{background:var(--fc-ink);color:#0a0a0d}
.fc-status{min-height:20px;margin:0 0 8px;color:var(--fc-mute);font-size:13px}

/* Topic rows */
.fc-topics{border:1px solid var(--fc-line);border-radius:14px;background:var(--fc-panel);overflow:hidden}
.fc-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:14px;align-items:start;padding:16px 18px;border-top:1px solid var(--fc-line);transition:background-color .2s ease}
.fc-row:first-child{border-top:0}
.fc-row:hover{background:rgba(255,255,255,.025)}
.fc-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#24232b;color:var(--fc-dim);font-size:12px;font-weight:700;letter-spacing:.02em}
.fc-avatar-sm{width:30px;height:30px;font-size:11px}
.fc-row-main{min-width:0}
.fc-row-title{margin:0 0 4px;font:600 16.5px/1.35 Inter,system-ui,sans-serif;overflow-wrap:anywhere}
.fc-row-title a{color:var(--fc-ink);text-decoration:none}
.fc-row-title a:hover{text-decoration:underline;text-decoration-color:rgba(244,242,238,.45);text-underline-offset:3px}
.fc-row-title a:after{content:"";position:absolute;inset:0}
.fc-row{position:relative}
.fc-row-excerpt{display:-webkit-box;margin:0 0 8px;overflow:hidden;color:var(--fc-dim);font-size:14px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:1}
.fc-row-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:0;color:var(--fc-mute);font-size:12.5px}
.fc-row.is-closed .fc-row-title a{color:var(--fc-body)}
.fc-cat-tag{display:inline-flex;align-items:center;min-height:22px;padding:0 8px;border:1px solid var(--fc-line-strong);border-radius:999px;color:var(--fc-body);font-size:12px;font-weight:500;text-decoration:none}
a.fc-cat-tag:hover{border-color:var(--fc-ink);color:var(--fc-ink)}
.fc-badge{display:inline-flex;align-items:center;gap:4px;color:var(--fc-dim);font-size:12px;font-weight:600}
.fc-badge svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.fc-badge-closed{color:#f0b07a}
.fc-badge-follow{color:var(--fc-accent-ink)}
.fc-row-stats{display:grid;justify-items:end;gap:4px;min-width:96px;color:var(--fc-mute);font-size:12.5px;text-align:right}
.fc-row-replies{display:inline-flex;align-items:center;gap:6px;color:var(--fc-body);font-size:14px}
.fc-row-replies svg{width:15px;height:15px;fill:none;stroke:var(--fc-mute);stroke-width:1.8;stroke-linejoin:round}
.fc-row-replies b{font-weight:600;font-variant-numeric:tabular-nums}
.fc-pagination{display:flex;justify-content:center;padding:18px 0 0}
.fc-pagination .fc-button{min-width:220px}

/* Loading skeleton and states */
.fc-skeleton{display:grid}
.fc-skeleton i{display:block;height:74px;border-top:1px solid var(--fc-line);background:linear-gradient(90deg,transparent,rgba(255,255,255,.03),transparent);background-size:200% 100%;animation:fc-shimmer 1.4s linear infinite}
.fc-skeleton i:first-child{border-top:0}
.fc-skeleton-post i{height:22px;margin:10px 0;border:0;border-radius:6px;background-color:rgba(255,255,255,.04)}
.fc-skeleton-post i:first-child{width:60%;height:36px}
@keyframes fc-shimmer{to{background-position:-200% 0}}
.fc-state{display:grid;justify-items:start;gap:10px;padding:clamp(22px,4vw,36px)}
.fc-topics>.fc-state{border:0}
.fc-state h2{margin:0;font:600 20px/1.25 "Space Grotesk",Inter,sans-serif}
.fc-state p{max-width:56ch;margin:0;color:var(--fc-dim);line-height:1.6}
.fc-state[role=alert] h2{color:#f3c79c}
.fc-thread-shell>.fc-state{margin:20px 0;border:1px dashed var(--fc-line-strong);border-radius:14px}

/* Discussion page */
.fc-thread-shell{max-width:820px}
.fc-crumbs ol{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 18px;padding:0;list-style:none;color:var(--fc-mute);font-size:13px}
.fc-crumbs li+li:before{content:"/";margin-right:6px;color:rgba(255,255,255,.25)}
.fc-crumbs a{color:var(--fc-dim);text-decoration:none}
.fc-crumbs a:hover{color:var(--fc-ink);text-decoration:underline;text-underline-offset:3px}
.fc-thread{margin-bottom:28px;padding-bottom:24px;border-bottom:1px solid var(--fc-line)}
.fc-thread-tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 12px}
.fc-thread h1{margin:0 0 16px;font:700 clamp(1.7rem,1.25rem + 1.6vw,2.4rem)/1.15 "Space Grotesk",Inter,sans-serif;letter-spacing:-.02em;overflow-wrap:anywhere;text-wrap:balance}
.fc-byline{display:flex;align-items:center;gap:10px;margin:0 0 20px}
.fc-byline>span:last-child{display:grid;gap:2px}
.fc-byline-sub{color:var(--fc-mute);font-size:12.5px}
.fc-author{color:var(--fc-ink);font-weight:600;text-decoration:none}
.fc-author:hover{text-decoration:underline;text-underline-offset:3px}
.fc-body{max-width:68ch;color:var(--fc-body);font-size:16.5px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}
.fc-post .fc-body{color:var(--fc-ink)}
.fc-spoiler{max-width:68ch;border:1px dashed var(--fc-line-strong);border-radius:10px;background:rgba(255,255,255,.02)}
.fc-spoiler summary{display:flex;align-items:center;min-height:46px;padding:0 14px;color:var(--fc-body);font-size:14px;font-weight:600;cursor:pointer;list-style:none}
.fc-spoiler summary::-webkit-details-marker{display:none}
.fc-spoiler summary:before{content:"";width:8px;height:8px;margin-right:10px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);transition:transform .2s ease}
.fc-spoiler[open] summary:before{transform:rotate(45deg)}
.fc-spoiler[open]{border-style:solid;border-color:var(--fc-line)}
.fc-spoiler .fc-body{padding:0 14px 14px}
.fc-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.fc-actions .fc-button[aria-pressed=true]{border-color:rgba(232,84,79,.6);color:var(--fc-accent-ink)}
.fc-replies-title{margin:0 0 6px;font:600 18px/1.3 "Space Grotesk",Inter,sans-serif}
.fc-reply{display:grid;grid-template-columns:30px minmax(0,1fr);gap:12px;padding:18px 0;border-top:1px solid var(--fc-line)}
.fc-reply:first-child{border-top:0}
.fc-reply-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin:4px 0 6px;color:var(--fc-mute);font-size:12.5px}
.fc-reply-meta .fc-author{font-size:14px}
.fc-op{padding:1px 7px;border:1px solid var(--fc-line-strong);border-radius:999px;color:var(--fc-dim);font-size:11px;font-weight:600}
.fc-reply .fc-body{font-size:15.5px;line-height:1.7}
.fc-reply-actions{margin-top:6px}
.fc-no-replies{margin:6px 0 0;color:var(--fc-dim)}

/* Composer and forms */
.fc-composer{margin-top:28px;padding:20px;border:1px solid var(--fc-line);border-radius:14px;background:var(--fc-panel);scroll-margin-bottom:24px}
.fc-composer h2{margin:0 0 12px;font:600 18px/1.3 "Space Grotesk",Inter,sans-serif}
.fc-field{display:grid;gap:7px;margin-bottom:14px}
.fc-field label,.fc-dialog label:not(.fc-checkbox){display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px;font-size:14px;font-weight:600}
.fc-hint{margin:0;color:var(--fc-mute);font-size:12.5px;font-weight:400}
.fc-hint a{color:var(--fc-dim)}
.fc-field input:not([type=checkbox]),.fc-field select,.fc-field textarea{width:100%;min-height:46px;padding:12px 14px;border:1px solid rgba(255,255,255,.16);border-radius:10px;background:var(--fc-field);font-size:15.5px;line-height:1.5}
.fc-field textarea{min-height:130px;resize:vertical}
.fc-field select{appearance:none;padding-right:38px;background:var(--fc-field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8a5b0' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center/16px}
.fc-field input:focus,.fc-field select:focus,.fc-field textarea:focus{border-color:var(--fc-accent);outline:none;box-shadow:0 0 0 3px rgba(232,84,79,.16)}
.fc-field [aria-invalid=true]{border-color:#f0b07a}
.fc-field ::placeholder{color:#75727d}
.fc-field-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px}
.fc-checkbox{display:inline-flex;align-items:center;gap:10px;min-height:40px;font-size:14px;font-weight:500;cursor:pointer}
.fc-checkbox input{width:18px;height:18px;margin:0;accent-color:var(--fc-accent)}
.fc-count{color:var(--fc-mute);font:12px ui-monospace,"Space Mono",monospace;font-variant-numeric:tabular-nums}
.fc-count.is-near{color:#f0b07a}
.fc-field-error,.fc-form-error{margin:0;color:#f3c79c;font-size:13px}
.fc-field-error:empty,.fc-form-error:empty{display:none}
.fc-composer-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
.fc-composer-actions .fc-button{min-width:150px}
.fc-thread-shell>.fc-invite,.fc-thread-shell>.fc-closed{margin-top:28px}
.fc-closed{border:1px solid rgba(240,176,122,.35);border-radius:14px}
.fc-report-note{margin:28px 0 0;color:var(--fc-mute);font-size:13px}
.fc-report-note a{color:var(--fc-dim)}

/* Dialogs */
.fc-dialog{width:min(620px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:24px;border:1px solid var(--fc-line-strong);border-radius:16px;background:var(--fc-panel);color:var(--fc-ink)}
.fc-dialog::backdrop{background:rgba(0,0,0,.72)}
.fc-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.fc-dialog h2{margin:0;font:600 22px/1.25 "Space Grotesk",Inter,sans-serif}
.fc-dialog p{color:var(--fc-dim)}
.fc-icon-button{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--fc-line);border-radius:50%;background:none;font-size:24px;line-height:1;cursor:pointer}
.fc-icon-button:hover{border-color:var(--fc-ink)}
.fc-dialog-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:18px}
.fc-confirm-dialog{width:min(420px,calc(100% - 24px))}

/* Tablet */
@media(max-width:900px){
.fc-layout{grid-template-columns:minmax(0,1fr);gap:16px}
.fc-cats{position:static;min-width:0}
.fc-cats-title{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.fc-cat-list{display:flex;gap:6px;overflow-x:auto;padding:2px 2px 6px;scrollbar-width:none;overscroll-behavior-inline:contain}
.fc-cat-list::-webkit-scrollbar{display:none}
.fc-cat-list li{flex:0 0 auto}
.fc-cat-list button{min-height:40px;border:1px solid var(--fc-line);border-radius:999px;white-space:nowrap}
.fc-cat-list button.is-active{border-color:var(--fc-accent);box-shadow:none}
.fc-search{max-width:none}}
/* Phone */
@media(max-width:600px){
.fc-head{align-items:stretch}
.fc-new,.fc-invite-actions .fc-button{flex:1 1 0}
.fc-new{width:100%}
.fc-invite-actions{width:100%}
.fc-notice{flex-wrap:wrap}
.fc-notice svg{display:none}
.fc-toolbar{flex-direction:column;align-items:stretch}.fc-toolbar>*{width:100%;min-width:0}.fc-search{flex:none;max-width:none}.fc-search input{min-width:0}.fc-notice p{flex-basis:100%}
.fc-tabs{overflow-x:auto;scrollbar-width:none}
.fc-tabs::-webkit-scrollbar{display:none}
.fc-tabs button{flex:1 0 auto;min-height:40px;padding:0 10px}
.fc-row{grid-template-columns:minmax(0,1fr);gap:8px;padding:14px}
.fc-row>.fc-avatar{display:none}
.fc-row-stats{display:flex;justify-content:flex-start;gap:14px;min-width:0;text-align:left}
.fc-body{font-size:16px}
.fc-composer{padding:16px;margin-left:-4px;margin-right:-4px}
.fc-composer-actions{flex-direction:column-reverse;align-items:stretch}
.fc-composer-actions .fc-button,.fc-dialog-actions .fc-button{width:100%;min-height:48px}
.fc-dialog{padding:18px}
.fc-dialog-actions{flex-direction:column-reverse}
.fc-pagination .fc-button{width:100%}}
@media(prefers-reduced-motion:reduce){body[data-forum-page] *{transition:none!important;animation:none!important}}
