/* forums.css - Community as forums (19 Nov 2026, forums.js): a feed with votes on the left, the biggest forums on the right. */
main.fm{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start;max-width:1160px}
.fm-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:14px}
.fm-head h1{margin:0;font-weight:300;font-size:clamp(30px,5vw,48px);letter-spacing:.08em;color:#fff;text-shadow:0 0 16px rgba(46,230,240,.45)}
.fm-head p{margin:4px 0 0}
.fm-sorts{display:flex;gap:6px;margin:0 0 14px;flex-wrap:wrap}
.fm-sorts button{font:300 14px inherit;letter-spacing:.06em;color:var(--mute);background:rgba(255,255,255,.04);border:1px solid var(--line);border-radius:999px;padding:7px 14px;cursor:pointer}
.fm-sorts button.on{color:#fff;background:rgba(46,230,240,.16);border-color:rgba(46,230,240,.6)}
.fm-feed{display:flex;flex-direction:column;gap:10px}
.fm-card{display:flex;gap:12px;background:rgba(255,255,255,.035);border:1px solid var(--line);border-radius:14px;padding:12px;transition:border-color .2s}
.fm-card:hover{border-color:rgba(46,230,240,.45)}
.fm-card[data-href]{cursor:pointer}
.fm-body h3 a:hover{color:var(--cy)}
.fm-body{flex:1;min-width:0;display:block}
.fm-body h3{margin:4px 0;font-weight:400;font-size:18px;letter-spacing:.03em;color:#fff;line-height:1.35}
.fm-body p{margin:4px 0;color:rgba(232,237,245,.82);font-size:15px;overflow-wrap:anywhere}
.fm-card:not(.fm-one) .fm-body p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.fm-meta{font-size:12.5px;color:var(--mute);display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.fm-f{display:inline-flex;align-items:center;gap:6px;color:#e8edf5}
.fm-f:hover{color:var(--cy)}
.fm-badge{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;font-style:normal;font-size:12px;font-weight:600;color:#05070b;background:linear-gradient(135deg,#2ee6f0,#7b6cf0);flex:none}
.fm-badge.app{background:linear-gradient(135deg,#f0b74a,#f06c9b)}
.fm-acts{display:flex;gap:14px;align-items:center;margin-top:6px;font-size:13px;color:var(--mute)}
.fm-acts button{background:none;border:0;color:var(--mute);font:inherit;cursor:pointer;padding:0}
.fm-acts button:hover{color:#fff}
.fm-out{display:inline-block;margin-top:4px;font-size:13px;color:var(--cy);overflow-wrap:anywhere}
.fm-thumb{width:96px;height:72px;object-fit:cover;border-radius:10px;flex:none}
.fm-pic{display:block;max-width:100%;max-height:70vh;border-radius:12px;margin:10px 0}
.fm-votes{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:36px;flex:none}
.fm-votes button{background:none;border:0;color:var(--mute);cursor:pointer;font-size:14px;line-height:1;padding:4px;border-radius:6px}
.fm-votes button:hover{background:rgba(255,255,255,.07);color:#fff}
.fm-votes .up.on{color:#ff7a45}.fm-votes .down.on{color:#7b9cff}
/* 4 Dec 2026: likes and dislikes (forums.js votes) */
.fm-votes{gap:6px}.fm-votes button{display:flex;flex-direction:column;align-items:center;gap:2px;padding:5px 6px}
.fm-votes button i{font-style:normal;font-size:12.5px;font-weight:500;line-height:1}
.fm-votes .down svg{transform:scaleY(-1)}
.fm-votes .up.on{color:#2ee6f0}.fm-votes .down.on{color:#ff7a8a}
.fm-votes b{font-weight:500;font-size:13.5px}
.fm-empty{color:var(--mute);padding:28px 4px}
.fm-one{padding:16px}
.fm-one h1{font-weight:400;font-size:clamp(22px,3.4vw,30px);margin:8px 0 10px;letter-spacing:.03em;color:#fff;line-height:1.3}
.fm-back{color:var(--mute);font-size:14px}.fm-back:hover{color:#fff}
.fm-reply{display:flex;flex-direction:column;gap:8px;align-items:flex-end;margin:12px 0}
.fm-reply textarea{width:100%;min-height:84px;font:inherit;font-size:15px;color:#fff;background:rgba(255,255,255,.04);border:1px solid var(--line);border-radius:10px;padding:10px 12px;resize:vertical}
.fm-comments{display:flex;flex-direction:column;gap:4px}
.fm-c{display:flex;gap:8px;margin-top:8px}
.fm-c .fm-votes{min-width:28px}
.fm-cbody{flex:1;min-width:0;border-left:2px solid var(--line);padding-left:12px}
.fm-cbody p{margin:4px 0;font-size:15px;overflow-wrap:anywhere}
.fm-banner{height:84px;border-radius:14px;background:linear-gradient(120deg,#0f3a4a,#22184a 60%,#3a1a33);width:100%}
.fm-banner.app{background:linear-gradient(120deg,#4a3410,#3a1a33 60%,#12304a)}
.fm-fhead{display:flex;gap:14px;align-items:flex-start;width:100%;margin-top:-26px;padding:0 12px;flex-wrap:wrap}
.fm-fhead>.fm-badge{width:64px;height:64px;font-size:28px;border:4px solid var(--bg)}
.fm-fhead .fm-title{flex:1;min-width:200px;padding-top:30px}
.fm-fhead h1{font-size:clamp(24px,4vw,36px)}
.fm-fbtns{display:flex;gap:8px;padding-top:30px}
.fm-side{display:flex;flex-direction:column;gap:14px;position:sticky;top:16px}
.fm-box{background:rgba(255,255,255,.035);border:1px solid var(--line);border-radius:14px;padding:14px}
.fm-box h2{margin:0 0 10px;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--mute);font-weight:400}
.fm-box p{margin:0 0 10px;font-size:14px}
.fm-big,.fm-apps{list-style:none;margin:0 0 10px;padding:0;display:flex;flex-direction:column;gap:4px}
.fm-big li{display:flex;align-items:center;gap:8px}
.fm-big .n{width:16px;color:var(--mute);font-size:13px;text-align:right}
.fm-big a,.fm-apps a{display:flex;align-items:center;gap:10px;padding:6px;border-radius:10px;flex:1;min-width:0}
.fm-big a:hover,.fm-apps a:hover{background:rgba(255,255,255,.05)}
.fm-big b{display:block;font-weight:400;font-size:14px}
.fm-big small{display:block;color:var(--mute);font-size:12px}
.fm-apps span{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fm-wide{width:100%;text-align:center}
.fm-link{display:block;margin-top:10px;font-size:13.5px;color:var(--cy)}
.fm-frow{align-items:flex-start}
.fm-frow>.fm-badge{width:40px;height:40px;font-size:18px}
.fm-err{color:#ff9b9b;font-size:13px;margin-right:auto}
dialog.wdlg select{font:inherit;font-size:15px;color:#fff;background:#0b1118;border:1px solid var(--line);border-radius:8px;padding:10px 12px}
dialog.wdlg textarea{min-height:180px}
@media (max-width:860px){main.fm{grid-template-columns:1fr}.fm-side{position:static}}
@media (max-width:520px){.fm-thumb{display:none}.fm-card{padding:10px;gap:8px}.fm-head .btn{padding:8px 14px}}
