/* =========================================================
   WoW Prime — форум сайта (forum.html, assets/js/forum.js)
   Разделы, список тем, сообщения, редактор BBCode. Поверх main.css и pages.css.
   ========================================================= */

.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ---------- Шапка ---------- */
.ph-forum{min-height:clamp(360px,32vw,470px);padding-bottom:40px}
.ph-forum .ph-title{font-size:clamp(42px,4.8vw,70px)}
.f-hero-row{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:14px 24px;width:100%}
.f-me:empty{display:none}
.f-me-card{display:flex;align-items:center;gap:12px;padding:10px 18px 10px 10px;border-radius:16px;text-decoration:none;color:inherit;background:rgba(8,12,30,.62);border:1px solid var(--line3);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:border-color .2s}
.f-me-card:hover{border-color:rgba(90,216,255,.6)}
.f-me-card>span{display:flex;flex-direction:column;gap:1px;line-height:1.25}
.f-me-card small{font-size:12px;color:var(--muted)}
.f-me-rename{display:inline-flex;align-items:center;gap:5px;align-self:center;margin-left:6px;padding:6px 10px;border-radius:9px;font:inherit;font-size:12px;color:var(--cy-soft);background:rgba(90,216,255,.08);border:1px solid rgba(90,216,255,.3);cursor:pointer;transition:border-color .2s,color .2s}
.f-me-rename:hover{color:#fff;border-color:rgba(90,216,255,.65)}
.f-me-guest{display:flex;flex-direction:column;align-items:flex-end;gap:8px;font-size:13px;color:var(--body);text-shadow:0 1px 8px rgba(0,0,0,.8)}
.f-me-btns{display:flex;gap:8px}

/* ---------- Панель над списком ---------- */
.f-toolbar{margin-bottom:22px}
.f-view{transition:opacity .2s}
.f-view.is-loading{opacity:.45;pointer-events:none}
.f-view>*+*{margin-top:16px}

/* ---------- Сетка главной ---------- */
.f-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px;align-items:start}
.f-main{display:flex;flex-direction:column;gap:20px;min-width:0}
.f-aside{display:flex;flex-direction:column;gap:20px;position:sticky;top:calc(var(--nav-h) + 16px)}

/* ---------- Карточка раздела и строки ---------- */
.f-cat{padding:0;overflow:hidden}
.f-cat-head{display:flex;flex-direction:column;gap:4px;padding:20px 24px 16px;border-bottom:1px solid var(--line2);background:linear-gradient(90deg,rgba(90,216,255,.08),rgba(167,123,255,.05) 40%,transparent)}
.f-cat-title{font-family:var(--serif);font-size:24px;line-height:1.1;letter-spacing:.03em;text-transform:uppercase;color:var(--head)}
.f-cat-sm{font-size:19px}
.f-cat-head p{font-size:14px;color:var(--muted)}
.f-rows{display:flex;flex-direction:column}
.f-row{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto 220px;align-items:center;gap:18px;padding:16px 24px;border-top:1px solid var(--line);transition:background .2s}
.f-rows>.f-row:first-child{border-top:0}
.f-row:hover{background:rgba(120,170,255,.05)}
.f-row-link,.f-srow{grid-template-columns:auto minmax(0,1fr) auto}
.f-srow{grid-template-columns:auto minmax(0,1fr)}
.f-ico{width:56px;height:56px;object-fit:contain;filter:drop-shadow(0 4px 14px rgba(90,160,255,.35));transition:transform .35s}
.f-row:hover .f-ico{transform:scale(1.07) rotate(-2deg)}
.f-ico-lg{width:84px;height:84px}
.f-row-main{display:flex;flex-direction:column;gap:4px;min-width:0}
.f-row-title{font-family:var(--serif);font-size:20px;line-height:1.2;color:var(--head);text-decoration:none;overflow-wrap:anywhere;transition:color .2s}
.f-row:hover .f-row-title{color:var(--cy-soft)}
.f-row-title .ico{vertical-align:-1px;color:var(--cy)}
.f-stretch::after{content:"";position:absolute;inset:0;z-index:1}
.f-row-desc{font-size:14px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.f-lockmark{display:inline-flex;vertical-align:1px;color:var(--gd)}
.f-subs{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.f-sub{position:relative;z-index:2;display:inline-flex;align-items:center;padding:3px 10px;border-radius:999px;font-size:12px;color:var(--body);text-decoration:none;background:rgba(120,160,255,.07);border:1px solid var(--line2);transition:color .2s,border-color .2s}
.f-sub:hover{color:#fff;border-color:rgba(90,216,255,.55)}
.f-sub-in{padding:1px 8px;font-size:11px}
.f-row-nums{display:flex;gap:18px}
.f-num{display:flex;flex-direction:column;align-items:center;min-width:66px;text-align:center}
.f-num b{font-family:var(--display);font-weight:600;font-size:19px;line-height:1.1;color:var(--head);font-variant-numeric:tabular-nums}
.f-num small{font-size:11px;color:var(--muted2)}
.f-row-tag{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted2)}
.f-last{position:relative;z-index:2;display:flex;align-items:center;gap:10px;min-width:0;text-decoration:none;color:inherit;padding:6px 8px;margin:-6px -8px;border-radius:12px;transition:background .2s}
a.f-last:hover{background:rgba(90,216,255,.08)}
.f-last-txt{display:flex;flex-direction:column;gap:2px;min-width:0;line-height:1.3}
.f-last-txt b{font-size:13px;font-weight:600;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.f-last-txt small{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.f-last-none{font-size:13px;color:var(--muted2);justify-content:center}
.f-last-static{z-index:auto}

/* темы в разделе */
.f-trow{grid-template-columns:auto minmax(0,1fr) auto 200px}
.f-trow.is-sticky{background:linear-gradient(90deg,rgba(242,196,109,.07),transparent 55%)}
.f-trow-top{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}
.f-trow .f-row-title{font-family:var(--sans);font-size:16px;font-weight:600;line-height:1.35}
.f-trow-meta{font-size:12px;color:var(--muted)}
.f-trow-meta .f-name{font-weight:600}
.f-badge{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:6px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.f-b-pin{color:var(--gd-soft);background:rgba(242,196,109,.12);border:1px solid rgba(242,196,109,.4)}
.f-b-lock{color:var(--muted);background:rgba(140,160,210,.1);border:1px solid var(--line3)}
.f-b-hid{color:#FFB0A8;background:rgba(255,111,111,.1);border:1px solid rgba(255,111,111,.4)}

/* ---------- Аватар и имя ---------- */
.f-ava{flex:none;width:var(--s,40px);height:var(--s,40px);border-radius:50%;object-fit:cover;background:#0B1230;box-shadow:0 0 0 1px rgba(150,190,255,.3),0 4px 14px -4px rgba(0,0,0,.7)}
.f-ava-l{display:inline-flex;align-items:center;justify-content:center;font-family:var(--display);font-weight:700;font-size:calc(var(--s,40px) * .42);color:#fff;text-shadow:0 1px 4px rgba(0,0,0,.6);
  background:radial-gradient(circle at 30% 25%,hsla(var(--h),90%,72%,.95),hsla(calc(var(--h) + 40),70%,38%,.95) 70%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.25),0 4px 14px -4px rgba(0,0,0,.7)}
.f-name{color:var(--text);font-weight:600}
.f-name.is-staff{background:linear-gradient(90deg,var(--gd-soft),var(--gd));-webkit-background-clip:text;background-clip:text;color:transparent}
.f-role{display:inline-flex;align-self:flex-start;padding:2px 9px;border-radius:999px;font-size:11px;font-weight:600;color:var(--cy-soft);background:rgba(90,216,255,.08);border:1px solid rgba(90,216,255,.3)}
.f-role.is-staff{color:#2A1A04;background:linear-gradient(180deg,#FFE2A3,#F2C46D);border-color:rgba(255,226,163,.8);box-shadow:0 0 14px -4px rgba(242,196,109,.8)}

/* ---------- Боковая колонка ---------- */
.f-side{display:flex;flex-direction:column;gap:12px;padding:20px}
.f-side-title{font-family:var(--serif);font-size:20px;letter-spacing:.03em;text-transform:uppercase;color:var(--head)}
.f-recent{display:flex;flex-direction:column;gap:2px;margin:0 -8px;padding:0;list-style:none}
.f-recent a{display:flex;align-items:center;gap:10px;padding:8px;border-radius:12px;text-decoration:none;color:inherit;transition:background .2s}
.f-recent a:hover{background:rgba(90,216,255,.07)}
.f-recent span{display:flex;flex-direction:column;gap:2px;min-width:0;line-height:1.3}
.f-recent b{font-size:14px;font-weight:600;color:var(--text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.f-recent small{font-size:12px;color:var(--muted)}
.f-side-more{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--cy-soft);text-decoration:none}
.f-side-more:hover{color:#fff}
.f-side-about img{width:64px;height:64px;filter:drop-shadow(0 4px 14px rgba(90,160,255,.35))}
.f-side-about p{font-size:14px;line-height:1.6;color:var(--body)}
.f-side-soc{display:flex;flex-wrap:wrap;gap:8px}
.f-side-soc a{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:10px;font-size:13px;color:var(--text);text-decoration:none;background:rgba(120,160,255,.08);border:1px solid var(--line2)}
.f-side-soc a:hover{border-color:rgba(90,216,255,.55);color:#fff}

/* ---------- Шапка раздела и темы ---------- */
.f-nhead{display:flex;align-items:center;gap:20px;padding:22px 24px}
.f-nhead-sm{padding:16px 22px}
.f-nhead-txt{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}
.f-nhead-title{font-family:var(--serif);font-size:clamp(26px,2.6vw,34px);line-height:1.08;text-transform:uppercase;letter-spacing:.02em;color:var(--head);overflow-wrap:anywhere}
.f-nhead-txt p{font-size:15px;line-height:1.6;color:var(--body)}
.f-nhead-meta{font-size:13px;color:var(--muted)}
.f-nhead-act{flex:none}
.f-note{display:inline-flex;align-items:center;gap:8px;max-width:260px;font-size:13px;line-height:1.4;color:var(--gd-soft)}
.f-thead{display:flex;flex-direction:column;gap:10px;padding:22px 26px}
.f-thead-top:empty{display:none}
.f-thead-top{display:flex;gap:8px}
.f-thead-title{font-family:var(--serif);font-size:clamp(26px,2.8vw,38px);line-height:1.1;color:var(--head);overflow-wrap:anywhere}
.f-thead-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px;color:var(--muted)}
.f-thead-meta .ico{color:var(--cy)}
.f-mod{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:6px;padding-top:14px;border-top:1px dashed var(--line3)}
.f-mod-lbl{font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--gd)}
.f-mod-move{display:inline-flex;gap:6px}
.f-mod select{height:36px;max-width:220px;padding:0 10px;border-radius:10px;font:inherit;font-size:13px;color:var(--head);background:rgba(6,10,26,.8);border:1px solid var(--line3)}

/* ---------- Сообщение ---------- */
.f-posts{display:flex;flex-direction:column;gap:16px}
.f-post{display:grid;grid-template-columns:190px minmax(0,1fr);overflow:hidden;scroll-margin-top:calc(var(--nav-h) + 16px);transition:box-shadow .6s}
.f-post.is-hl{box-shadow:0 0 0 2px rgba(90,216,255,.75),0 0 40px -6px rgba(90,216,255,.6)}
.f-author{display:flex;flex-direction:column;align-items:center;gap:12px;padding:24px 16px;text-align:center;border-right:1px solid var(--line2);background:linear-gradient(180deg,rgba(90,140,255,.07),transparent 70%)}
.f-post.is-staff .f-author{background:linear-gradient(180deg,rgba(242,196,109,.1),transparent 70%)}
.f-post.is-staff .f-author .f-ava{box-shadow:0 0 0 2px rgba(242,196,109,.75),0 0 22px -4px rgba(242,196,109,.7)}
.f-author-txt{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;max-width:100%}
.f-author .f-name{font-size:16px;overflow-wrap:anywhere}
.f-author .f-role{align-self:center}
.f-author-stats{display:flex;flex-direction:column;gap:3px;margin:6px 0 0;font-size:12px;color:var(--muted)}
.f-author-stats div{display:flex;justify-content:center;gap:6px}
.f-author-stats dd{margin:0;color:var(--body);font-variant-numeric:tabular-nums}
.f-pmain{display:flex;flex-direction:column;min-width:0}
.f-phead{display:flex;align-items:center;gap:10px;padding:14px 24px;font-size:13px;color:var(--muted);border-bottom:1px solid var(--line)}
.f-edited{font-style:italic;color:var(--muted2)}
.f-pnum{margin-left:auto;font-weight:600;color:var(--muted);text-decoration:none}
.f-pnum:hover{color:var(--cy-soft)}
.f-pmain>.fbody{flex:1;padding:20px 24px}
.f-pfoot{display:flex;flex-wrap:wrap;gap:4px;padding:10px 16px 14px}
.f-act{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 10px;border-radius:9px;font:inherit;font-size:13px;color:var(--muted);background:none;border:0;cursor:pointer;transition:color .2s,background .2s}
.f-act:hover{color:var(--head);background:rgba(120,160,255,.08)}
.f-act:disabled{opacity:.5;cursor:default}
.f-act-del:hover{color:#FF9A90}
.f-like.is-on{color:#FF7FA6}
.f-like.is-on .ico{fill:currentColor}
.f-like [data-likes]:empty{display:none}
.f-like [data-likes]{font-weight:700}

/* текст сообщения (HTML из Forum::render) */
.fbody{font-size:15px;line-height:1.75;color:var(--text);overflow-wrap:anywhere}
.fbody a{color:var(--cy-soft);text-decoration:underline;text-decoration-color:rgba(90,216,255,.4);text-underline-offset:3px}
.fbody a:hover{color:#fff;text-decoration-color:currentColor}
.fbody strong{color:var(--head)}
.fbody .fh{margin:18px 0 8px;font-family:var(--serif);line-height:1.2;color:var(--head)}
.fbody h3.fh{font-size:26px}
.fbody h4.fh{font-size:21px;color:var(--cy-soft)}
.fbody h5.fh{font-size:18px}
.fbody .fh:first-child{margin-top:0}
.fbody .fl{margin:8px 0;padding-left:22px;list-style:disc}
.fbody ol.fl{list-style:decimal}
.fbody .fl li{margin:4px 0}
.fbody ul.fl li::marker{color:var(--cy)}
.fbody .fq{margin:10px 0;padding:12px 16px;border-radius:0 12px 12px 0;background:rgba(90,140,255,.07);border-left:3px solid var(--vi);color:var(--body)}
.fbody .fq cite{display:block;margin-bottom:6px;font-size:13px;font-style:normal;font-weight:600;color:var(--vi-soft)}
.fbody .fpre{margin:10px 0;padding:14px 16px;border-radius:12px;overflow:auto;background:rgba(3,6,16,.75);border:1px solid var(--line2);font:13px/1.6 Consolas,'Courier New',monospace;color:#CFE3FF;white-space:pre}
.fbody code{padding:1px 6px;border-radius:5px;font:.9em Consolas,'Courier New',monospace;background:rgba(120,160,255,.12);color:#CFE3FF}
.fbody .fpre code{padding:0;background:none}
.fbody .fsp{margin:10px 0;border-radius:12px;background:rgba(8,12,30,.55);border:1px solid var(--line2)}
.fbody .fsp summary{padding:10px 14px;font-size:14px;font-weight:600;color:var(--gd-soft);cursor:pointer}
.fbody .fsp>div{padding:0 14px 12px}
.fbody .fisp{padding:0 3px;border-radius:4px;background:rgba(160,180,230,.35);color:transparent;cursor:pointer;transition:color .2s,background .2s}
.fbody .fisp.is-open,.fbody .fisp:focus{color:inherit;background:rgba(160,180,230,.12)}
.fbody .fimg{display:block;max-width:100%;max-height:640px;margin:10px 0;border-radius:12px;border:1px solid var(--line2)}
.fbody hr{margin:16px 0;border:0;border-top:1px solid var(--line3)}
.fbody .fal-center{text-align:center}
.fbody .fal-right{text-align:right}
.fbody .fmention{color:var(--cy-soft)}
.fbody mark,.f-row mark{padding:0 2px;border-radius:3px;background:rgba(242,196,109,.3);color:inherit}

/* ---------- Ответ, редактор ---------- */
.f-reply{scroll-margin-top:calc(var(--nav-h) + 16px)}
.f-reply-note{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:18px 24px;font-size:15px;color:var(--body)}
.f-reply-note .ico{color:var(--cy)}
.f-reply-note .btn-prime{margin-left:auto}
.f-ed{display:flex;flex-direction:column;gap:10px;padding:18px 20px}
.f-ed-compact{margin:16px 20px 18px;padding:14px;background:rgba(6,10,26,.55);box-shadow:none}
.f-ed-lbl{font-family:var(--serif);font-size:20px;text-transform:uppercase;letter-spacing:.03em;color:var(--head)}
.f-ed-title input{width:100%;height:48px;padding:0 16px;border-radius:12px;font:inherit;font-size:16px;font-weight:600;color:var(--head);background:rgba(6,10,26,.65);border:1px solid var(--line3);outline:0;transition:border-color .2s,box-shadow .2s}
.f-ed-title input:focus,.f-ed textarea:focus{border-color:rgba(90,216,255,.75);box-shadow:0 0 0 3px rgba(90,216,255,.16)}
.f-ed-bar{display:flex;flex-wrap:wrap;align-items:center;gap:4px}
.f-ed-btn{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 8px;border-radius:9px;font:inherit;font-size:14px;color:var(--body);background:rgba(120,160,255,.07);border:1px solid var(--line2);cursor:pointer;transition:color .2s,border-color .2s,background .2s}
.f-ed-btn:hover{color:#fff;border-color:rgba(90,216,255,.55);background:rgba(90,216,255,.1)}
.f-ed-btn:disabled{opacity:.4;cursor:default}
.f-ed-btn b,.f-ed-btn i,.f-ed-btn u,.f-ed-btn s{font-family:var(--serif);font-size:15px}
.f-ed-sep{width:1px;height:22px;margin:0 4px;background:var(--line3)}
.f-ed-tabs{display:inline-flex;margin-left:auto;padding:3px;border-radius:10px;background:rgba(6,10,26,.6);border:1px solid var(--line2)}
.f-ed-tabs button{height:28px;padding:0 12px;border-radius:7px;font:inherit;font-size:13px;color:var(--muted);background:none;border:0;cursor:pointer}
.f-ed-tabs button.is-on{color:#0A1033;background:var(--crystal)}
.f-ed textarea{width:100%;min-height:180px;padding:14px 16px;border-radius:12px;font:inherit;font-size:15px;line-height:1.65;color:var(--head);background:rgba(6,10,26,.65);border:1px solid var(--line3);outline:0;resize:vertical;transition:border-color .2s,box-shadow .2s}
.f-ed textarea::placeholder,.f-ed-title input::placeholder{color:var(--muted2)}
.f-ed-preview{min-height:180px;padding:14px 16px;border-radius:12px;background:rgba(6,10,26,.4);border:1px dashed var(--line3)}
.f-ed-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px}
.f-ed-foot .form-msg{margin-right:auto}

/* выбор имени на форуме перед первым сообщением */
.f-namef{display:flex;align-items:flex-start;gap:18px;padding:22px 24px}
.f-namef>img{flex:none;width:72px;height:72px;filter:drop-shadow(0 4px 14px rgba(90,160,255,.35))}
.f-namef-txt{display:flex;flex-direction:column;gap:10px;flex:1;min-width:0}
.f-namef-txt p{font-size:14px;line-height:1.6;color:var(--body)}
.f-namef-row{display:flex;gap:10px}
.f-namef-row input{flex:1;min-width:0;height:44px;padding:0 14px;border-radius:12px;font:inherit;font-size:15px;color:var(--head);background:rgba(6,10,26,.65);border:1px solid var(--line3);outline:0;transition:border-color .2s,box-shadow .2s}
.f-namef-row input:focus{border-color:rgba(90,216,255,.75);box-shadow:0 0 0 3px rgba(90,216,255,.16)}

/* ---------- Страницы, ошибки, уведомления ---------- */
.f-pager{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px}
.f-pg{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 8px;border-radius:10px;font-size:14px;font-weight:600;color:var(--body);text-decoration:none;background:rgba(10,15,36,.6);border:1px solid var(--line2);transition:color .2s,border-color .2s}
a.f-pg:hover{color:#fff;border-color:rgba(90,216,255,.55)}
.f-pg.is-on{color:#0A1033;background:var(--crystal);border-color:transparent;box-shadow:0 0 16px -4px rgba(140,180,255,.9)}
.f-pg.is-off{opacity:.35}
.f-pg-gap{color:var(--muted2);padding:0 2px}
.f-error{display:flex;flex-direction:column;align-items:center;gap:10px;padding:40px 24px;text-align:center}
.f-error img{width:96px;height:96px}
.f-error h2{font-family:var(--serif);font-size:26px;text-transform:uppercase;color:var(--head)}
.f-error p{max-width:460px;color:var(--body)}
.f-toast{position:fixed;left:50%;bottom:calc(24px + var(--tabbar-h));z-index:80;max-width:min(420px,calc(100vw - 32px));padding:12px 18px;border-radius:12px;font-size:14px;color:var(--head);background:rgba(10,15,36,.94);border:1px solid rgba(90,216,255,.5);box-shadow:0 18px 40px -12px rgba(0,0,0,.8);transform:translate(-50%,20px);opacity:0;pointer-events:none;transition:opacity .25s,transform .25s}
.f-toast.is-on{opacity:1;transform:translate(-50%,0)}
.f-toast.is-err{border-color:rgba(255,111,111,.6)}

/* ---------- Адаптив ---------- */
@media (max-width:1180px){
  .f-layout{grid-template-columns:minmax(0,1fr)}
  .f-aside{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .f-row{grid-template-columns:auto minmax(0,1fr) auto 190px}
}
@media (max-width:900px){
  .f-row,.f-trow{grid-template-columns:auto minmax(0,1fr);gap:8px 14px;padding:14px 18px}
  .f-row-nums{grid-column:2;gap:14px}
  .f-num{flex-direction:row;align-items:baseline;gap:4px;min-width:0}
  .f-num b{font-size:15px}
  .f-row>.f-last{grid-column:2;margin:0 -8px}
  .f-row-link .f-row-tag{display:none}
  .f-post{grid-template-columns:minmax(0,1fr)}
  .f-author{flex-direction:row;align-items:center;gap:12px;padding:14px 18px;text-align:left;border-right:0;border-bottom:1px solid var(--line2)}
  .f-author .f-ava{--s:48px!important;width:48px;height:48px;font-size:20px}
  .f-author-txt{flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px 8px}
  .f-author .f-role{align-self:auto}
  .f-author-stats{flex-direction:row;gap:10px;margin:0;width:100%}
  .f-author-stats div{justify-content:flex-start;gap:4px}
  .f-phead{padding:12px 18px}
  .f-pmain>.fbody{padding:16px 18px}
  .f-pfoot{padding:6px 10px 10px}
}
@media (max-width:640px){
  .ph-forum .ph-stats{flex-wrap:nowrap;width:100%}
  .ph-forum .ph-stat{flex:1;min-width:0;padding:10px 12px}
  .ph-forum .ph-stat b{font-size:22px}
  .f-aside{grid-template-columns:minmax(0,1fr)}
  .f-hero-row{align-items:stretch}
  .f-me-guest{align-items:flex-start}
  .f-cat-head{padding:16px 18px 12px}
  .f-cat-title{font-size:21px}
  .f-ico{width:44px;height:44px}
  .f-ico-lg{width:60px;height:60px}
  .f-row-title{font-size:18px}
  .f-nhead{flex-wrap:wrap;gap:14px;padding:18px}
  .f-nhead-act{width:100%}
  .f-nhead-act .btn-prime,.f-nhead-act .btn-glass{width:100%}
  .f-thead{padding:18px}
  .f-act-lbl{display:none}
  .f-like.is-on .f-act-lbl{display:none}
  .f-ed{padding:14px}
  .f-ed-compact{margin:12px}
  .f-ed-tabs{margin-left:0}
  .f-ed-foot .btn-prime{flex:1}
  .f-reply-note .btn-prime{margin-left:0;width:100%}
  .f-mod-move{width:100%}
  .f-namef{flex-direction:column;gap:12px;padding:18px}
  .f-namef>img{width:56px;height:56px}
  .f-namef-row{flex-direction:column}
  .f-namef-row input{flex:none}
  .f-mod select{flex:1;max-width:none}
}
@media (prefers-reduced-motion:reduce){
  .f-row:hover .f-ico{transform:none}
  .f-toast,.f-view,.f-post{transition:none}
}
