.compose-form .fx-field + .fx-field,
.compose-form .fx-field + .fx-textarea { margin-top: 12px; }

.compose-form .fx-row > .fx-field + .fx-field { margin-top: 0; }
.inline-form { display: inline; }
.muted { color: var(--color-ink-3); }
.small { font-size: 12px; }

.upload-panel { margin: 10px 0 14px; border: 1px dashed var(--color-line); border-radius: var(--radius-md); padding: 12px; background: var(--color-surface-2); }
.upload-list { margin-top: 10px; display: grid; gap: 8px; }
.upload-list:empty { padding: 0; }
.upload-row {
  display: flex; align-items: flex-start; gap: 8px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
}
.upload-row.upload-error { background: var(--color-danger-soft); border-color: color-mix(in srgb, var(--color-danger) 35%, transparent); }
.upload-row-main { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.upload-name { font-size: 13px; font-weight: 600; color: var(--color-ink); }
.upload-meta { font-size: 12px; color: var(--color-ink-4); margin-left: 6px; }
.upload-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.upload-actions .btn { font-size: 12px; padding: 3px 9px; border-radius: var(--radius-xs); border: 1px solid var(--color-line); background: var(--color-surface); color: var(--color-ink-2); cursor: pointer; }
.upload-actions .btn.danger { border-color: var(--color-danger); color: var(--color-danger); }
.upload-inserted { font-size: 11px; font-weight: 600; color: var(--color-ok); background: var(--color-ok-soft); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.upload-bar { width: 160px; height: 4px; border-radius: 999px; background: var(--color-surface-3); overflow: hidden; margin: 6px 0 0; }
.upload-bar-fill { height: 100%; width: 0; background: var(--color-brand); transition: width .2s; }
.upload-error .upload-actions { color: var(--color-danger); font-size: 13px; }
.fx-editor .upload-list { padding: 0 16px 12px; }

.fx-post { display: grid; grid-template-columns: 190px minmax(0, 1fr); overflow: hidden; }
.fx-post__author { padding: 16px; background: var(--color-surface-2); border-right: 1px solid var(--color-line); text-align: center; }
.fx-post__body { padding: 16px 18px; min-width: 0; }
.fx-post__content { line-height: 1.5; word-wrap: break-word; }
.fx-post__footer { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--color-line-soft); }
.fx-post__sig { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--color-line); font-size: 12px; color: var(--color-ink-3); }
@media (max-width: 700px) {
  .fx-post { grid-template-columns: minmax(0, 1fr); }
  .fx-post__author { border-right: 0; border-bottom: 1px solid var(--color-line); }
}

.fx-post__foot .inline-form { display: inline-flex; }
.fx-rep .inline-form { display: contents; }
.fx-pagehead__side .inline-form { display: inline-flex; }

.fx-rep__btn.is-on { background: var(--color-ok-soft); color: var(--color-ok); }
.fx-rep__btn--down.is-on { background: var(--color-danger-soft); color: var(--color-danger); }

.fx-post__aside .fx-post__meta div { justify-content: space-between; gap: 6px; align-items: center;}
.fx-post__aside .fx-post__meta b {
  text-align: right;
  white-space: normal;
  overflow-wrap: anywhere;
  max-width: 62%;
  line-height: 1.35;
}
.fx-post__aside .fx-post__meta b.u-ws-nowrap { white-space: nowrap; }

@media (max-width: 780px) {
  .fx-post__aside .fx-post__meta div { justify-content: flex-start; }
  .fx-post__aside .fx-post__meta b { white-space: nowrap; overflow-wrap: normal; max-width: none; }
}

.fx-post__pick { display: grid; place-items: center; padding: 0 0 0 12px; }
.fx-post__pick input { width: 16px; height: 16px; accent-color: var(--color-brand); cursor: pointer; }

.fx-post--hidden { opacity: .6; }
.fx-post--hidden .fx-post__main::after {
  content: "Сообщение скрыто модератором";
  display: block; margin-top: 10px; font-size: 13px; font-weight: 600;
  color: var(--color-danger);
}
.fx-post--hidden.is-shown-ok { opacity: 1; }
.fx-post--hidden.is-shown-ok::after { content: none; }

.fx-editor__popwrap { position: relative; display: inline-grid; }
.fx-editor.is-pop-open { overflow: visible; }
.fx-epop {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 80;
  max-width: calc(100vw - 16px);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 44px rgba(10, 30, 28, 0.16);
  padding: 8px;
  overscroll-behavior: contain;
}
.fx-epop--emoji { display: grid; grid-template-columns: repeat(8, 32px); gap: 2px; width: max-content; }
.fx-epop__cell { width: 32px; height: 32px; font-size: 19px; line-height: 1; display: grid; place-items: center; background: transparent; border: 0; border-radius: 8px; cursor: pointer; }
.fx-epop__cell:hover { background: var(--color-surface-2); }
.fx-epop--list { display: grid; gap: 2px; min-width: 150px; }
.fx-epop__row { display: flex; align-items: center; gap: 9px; padding: 7px 10px; font-size: 13px; color: var(--color-ink); background: transparent; border: 0; border-radius: 8px; cursor: pointer; text-align: left; }
.fx-epop__row:hover { background: var(--color-surface-2); }
.fx-epop__sw { width: 15px; height: 15px; border-radius: 4px; flex-shrink: 0; border: 1px solid var(--color-line); display: inline-grid; place-items: center; color: var(--color-ink); font-weight: 700; font-size: 11px; line-height: 1; }

.fx-editor__area .fx-field { margin-bottom: 0; }
.fx-prose .fx-bblist { margin: 6px 0 0; padding-left: 22px; list-style: disc outside; }
.fx-prose ol.fx-bblist { list-style: decimal outside; }
.fx-prose .fx-bblist li { margin: 3px 0; }
.fx-prose .fx-bblist ul, .fx-prose .fx-bblist ol { margin: 3px 0; padding-left: 20px; }

.fx-preview { margin: 12px 16px 16px; border: 1px dashed var(--color-line); border-radius: var(--radius-md); background: var(--color-surface-2); }
.fx-preview__head { display: flex; align-items: center; justify-content: space-between; padding: 9px 14px 0; }
.fx-preview .fx-prose { padding: 10px 14px 14px; }

.fx-att { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--color-line); }
.fx-att:has(+ .fx-signature) { margin-bottom: 14px; }
.fx-att__head {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--color-ink-4);
  margin-bottom: 10px;
}
.fx-att__thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.fx-att__thumb {
  display: block; width: 92px; height: 92px; flex: 0 0 auto;
  border: 1px solid var(--color-line); border-radius: var(--radius-md);
  overflow: hidden; cursor: zoom-in; background: var(--color-surface-2);
  transition: border-color .2s, transform .2s;
}
.fx-att__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fx-att__thumb:hover { border-color: var(--color-brand); transform: translateY(-1px); }
.fx-att__files { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fx-att__files--single { grid-template-columns: minmax(0, 1fr); }
.fx-att__files .fx-attach { margin: 0; }
@media (max-width: 640px) { .fx-att__files { grid-template-columns: minmax(0, 1fr); } }
.fx-att__thumbs + .fx-att__files { margin-top: 10px; }

.fx-prose a:has(> img.bb-img) { display: inline-block; max-width: 100%; line-height: 0; cursor: zoom-in; }
.fx-prose img.bb-img { max-width: 100%; height: auto; border: 1px solid var(--color-line); border-radius: var(--radius-md); }
.fx-prose img.bb-img-thumb { width: 180px; height: 135px; object-fit: cover; }

#fx-lightbox { position: fixed; inset: 0; z-index: 300; display: none; }
#fx-lightbox.is-open { display: flex; align-items: center; justify-content: center; }
#fx-lightbox::before { content: ""; position: absolute; inset: 0; background: rgba(8, 12, 20, .8); backdrop-filter: blur(3px); }
.fx-lightbox__dialog { position: relative; z-index: 1; max-width: min(1100px, 94vw); display: flex; flex-direction: column; gap: 10px; }
.fx-lightbox__img { display: block; max-width: 94vw; max-height: 82vh; border-radius: var(--radius-md); border: 1px solid rgba(255, 255, 255, .16); background: #0b0f16; }
.fx-lightbox__bar { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .88); font-size: 13px; }
.fx-lightbox__cap { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-lightbox__btn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .08);
  color: #fff; cursor: pointer;
  font-size: 13px; font-weight: 600; text-decoration: none;
  transition: background .2s;
}
.fx-lightbox__btn:hover { background: rgba(255, 255, 255, .18); color: #fff; }
body.fx-lightbox-lock,
body.fx-modal-lock { overflow: hidden; }

html[data-auth="guest"] .fx-topbar__bell { display: none; }

.fx-notif {
  position: absolute; z-index: 90;
  width: min(360px, calc(100vw - 24px));
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 50px rgba(10, 30, 28, 0.16);
  overflow: hidden;
}
.fx-notif__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--color-line); }
.fx-notif__body { padding: 14px; font-size: 14px; }
.fx-notif__body--list { padding: 6px 0; max-height: 380px; overflow-y: auto; }
.fx-notif__item { display: block; padding: 10px 14px; text-decoration: none; border-left: 3px solid transparent; }
.fx-notif__item + .fx-notif__item { border-top: 1px solid var(--color-line-soft); }
.fx-notif__item:hover { background: var(--color-surface-2); }
.fx-notif__item.is-unread { border-left-color: var(--color-brand); background: color-mix(in srgb, var(--color-brand) 5%, transparent); }
.fx-notif__title { display: block; font-weight: 600; font-size: 14px; color: var(--color-ink); }
.fx-notif__meta { display: block; font-size: 12px; color: var(--color-ink-4); margin-top: 2px; }
.fx-notif__snip { display: block; font-size: 13px; color: var(--color-ink-3); margin-top: 5px; }
.fx-usermenu__item.is-disabled { opacity: .5; pointer-events: none; }

.fx-tag svg { vertical-align: -2px; }
.fx-burger { display: none !important; }
@media (max-width: 900px) {
  .fx-burger { display: inline-grid !important; }
}

.fx-avatar {
  color: hsl(var(--a-hue) 42% 27%);
  background: linear-gradient(150deg,
    hsl(var(--a-hue) 52% 85%),
    hsl(calc(var(--a-hue) + 34) 46% 76%));
  box-shadow: inset 0 0 0 1px hsl(var(--a-hue) 38% 72%);
}
.fx-avatar__status { box-shadow: 0 0 0 2px var(--color-surface); }
.fx-avatar__status--off { background: var(--color-ink-4); }
.fx-setava__img { width: 96px; height: 96px; object-fit: cover; border-radius: 14px; border: 1px solid var(--color-line); display: block; }

.fx-pager { display: flex; align-items: center; gap: 6px; }
.fx-pager__item {
  display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px;
  border-radius: var(--radius-sm); border: 1px solid var(--color-line);
  background: var(--color-surface); color: var(--color-ink-2);
  font-size: 13px; text-decoration: none;
}
.fx-pager__item:hover { border-color: color-mix(in srgb, var(--color-brand) 45%, transparent); color: var(--color-brand); }
.fx-pager__item.is-active { background: var(--color-brand); border-color: var(--color-brand); color: #fff; font-weight: 600; }
.fx-pager__item--edge { font-size: 13px; letter-spacing: -1px; }

.fx-conv { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--color-line-soft); text-decoration: none; transition: background .15s; }
.fx-conv:hover { background: var(--color-surface-2); }
.fx-conv:last-child { border-bottom: 0; }
.fx-conv--unread { background: color-mix(in srgb, var(--color-brand) 4%, transparent); }
.fx-conv__title { display: block; font-size: 14px; font-weight: 600; color: var(--color-ink); }
.fx-conv__meta { display: block; font-size: 12px; color: var(--color-ink-3); margin-top: 3px; overflow-wrap: anywhere; }
.fx-conv__date { font-size: 12px; color: var(--color-ink-4); font-family: var(--font-mono); text-align: right; white-space: nowrap; }
.fx-conv__new { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--color-brand); color: #fff; font-size: 11px; font-weight: 700; }
.fx-pmsearch { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; row-gap: 8px; }
.fx-pmsearch .fx-search__input { width: 220px; }
mark { background: color-mix(in srgb, var(--color-accent) 35%, transparent); color: inherit; border-radius: 3px; padding: 0 2px; }

.fx-last__meta { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }

.fx-page__prose { max-width: 78ch; }

.fx-modal {
  position: fixed; inset: 0; z-index: 200;
  display: none;
  place-items: center;
  background: rgba(10, 26, 24, 0.5);
  backdrop-filter: blur(2px);
  padding: 20px;
}
.fx-modal.is-open { display: grid; }
.fx-modal__box {
  width: min(560px, 100%);
  max-height: min(80vh, 640px);
  overflow: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px rgba(10, 30, 28, 0.25);
}
.fx-modal__head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--color-line); }
.fx-modal__title { font-weight: 700; font-size: 15px; color: var(--color-ink); }
.fx-modal__close {
  margin-left: auto;
  display: inline-grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  color: var(--color-ink-3);
  cursor: pointer;
}
.fx-modal__close:hover { border-color: var(--color-danger); color: var(--color-danger); }
.fx-modal__body { padding: 16px 18px 18px; }
.fx-modal .fx-table { font-size: 13px; }
.fx-logins-actions-row td {
  padding-top: 6px;
  padding-bottom: 10px;
  background: var(--color-surface-2);
}
.fx-logins-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.fx-logins-actions .fx-btn { white-space: nowrap; }

.fx-modtool {
  display: none;
  align-items: center; gap: 8px;
  flex-wrap: wrap;
  width: 100%;
  padding: 8px 10px;
  margin-top: 8px;
  border: 1px dashed var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-surface-2);
}
.fx-modtool.is-open { display: flex; }
.fx-modtool .fx-input:not(textarea), .fx-modtool .fx-select { height: 31px; }
.fx-modtool .fx-select { background-position: calc(100% - 12px) 13px, calc(100% - 8px) 13px; }
.fx-modtool__label { font-size: 12px; font-weight: 700; color: var(--color-ink-3); text-transform: uppercase; letter-spacing: 0.04em; }

.fx-post--pending { opacity: 0.85; border-style: dashed; }
.fx-post__pending {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px; font-weight: 700;
  background: color-mix(in srgb, var(--color-accent) 16%, transparent);
  color: var(--color-accent);
  border: 1px solid color-mix(in srgb, var(--color-accent) 35%, transparent);
}
.fx-post--pending .fx-post__main { background: color-mix(in srgb, var(--color-accent) 3%, transparent); }

.fx-catcard { display: grid; gap: 10px; padding: 0 12px 10px; }
.fx-catcard + .fx-catcard { padding-top: 14px; border-top: 1px solid var(--color-line-soft); }
.fx-catcard--root > .fx-catcard__row {
  padding: 10px 12px;
  margin: 0 -12px;
  border-radius: 10px;
  background: var(--color-surface-2);
}
.fx-catcard__row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.fx-catcard__row-actions form { margin: 0; }
.fx-catcard__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fx-catcard__stats {
  display: grid;
  grid-template-columns: 64px 96px;
  gap: 12px;
  align-items: center;
  justify-content: end;
  margin-left: auto;
  text-align: right;
}
.fx-catcard__stat { display: flex; align-items: baseline; justify-content: flex-end; gap: 5px; white-space: nowrap; }
.fx-catcard__stat b { font-size: 15px; color: var(--color-ink); }
.fx-catcard__stat span { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-ink-4); }
.fx-catcard__title { font-weight: 700; font-size: 15px; color: var(--color-ink); }
.fx-catcard__desc { font-size: 13px; color: var(--color-ink-3); overflow-wrap: anywhere; }
.fx-catcard__form {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md, 12px);
  border: 1px solid var(--color-line);
  background: var(--color-surface-2, #f6f8f8);
}

.fx-catcard__grid { display: grid; gap: 12px; align-items: start; }
.fx-catcard__grid--2 { grid-template-columns: 1fr 1fr; }
.fx-catcard__grid--3 { grid-template-columns: 1.2fr 0.6fr 1.4fr; }
.fx-catcard__flags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding-top: 2px;
}
.fx-catcard__actions { display: flex; gap: 8px; align-items: center; }
@media (max-width: 820px) {
  .fx-catcard__grid--2,
  .fx-catcard__grid--3 { grid-template-columns: 1fr; }
  .fx-catcard__stats { grid-template-columns: repeat(2, auto); margin-left: 0; justify-content: start; text-align: left; }
  .fx-catcard__stat { justify-content: flex-start; }
}

@media (max-width: 720px) {
  .fx-catcard { padding: 0 10px 10px; }
  .fx-catcard--root > .fx-catcard__row { margin: 0 -10px; padding: 10px; }
  .fx-catcard__row {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 8px 10px;
    align-items: start;
  }
  .fx-catcard__row > .fx-forum__icon { grid-column: 1; grid-row: 1; }
  .fx-catcard__row > .u-fl-1 { grid-column: 2; grid-row: 1; }
  .fx-catcard__stats { grid-column: 2; grid-row: 2; }
  .fx-catcard__row-actions { grid-column: 1 / -1; grid-row: 3; }
  .fx-catcard__row-actions .fx-btn { flex: 1 1 auto; justify-content: center; }
  .fx-catcard__form { padding: 12px; }
  .fx-catcard__actions { flex-wrap: wrap; }
  .fx-catcard__actions .fx-btn { flex: 1 1 auto; justify-content: center; }
}




.fx-catcard__form .fx-row { align-items: center; }

.fx-attgroup {
  flex: 1 1 320px;
  display: flex; flex-direction: column; gap: 9px;
  padding: 12px 14px 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
}

.fx-badge--danger { background: color-mix(in srgb, var(--color-danger) 14%, transparent); color: var(--color-danger); }

.fx-captcha { display: block; }
.fx-captcha__head {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.fx-captcha__task {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--color-line);
}
.fx-captcha__task[hidden] { display: none; }
.fx-captcha__img {
  display: block;
  width: 220px;
  height: 64px;
  max-width: 100%;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-surface);
}
.compose-form .fx-captcha__task .fx-input,
.fx-captcha__task .fx-input { width: 110px; min-height: 38px; height: 38px; padding: 0 12px; }

.fx-cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
  padding: 14px 18px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}
.fx-cookie.is-off { display: none; }
.fx-cookie__text { flex: 1; min-width: 0; margin: 0; font-size: 13px; line-height: 1.55; color: var(--color-ink-2); }
.fx-cookie__text a { color: var(--color-brand); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 640px) {
  .fx-cookie { flex-direction: column; align-items: stretch; text-align: left; }
}

@media (max-width: 1080px) {
  .fx-topic__stats { display: flex; gap: 14px; flex-wrap: wrap; }
}

@media (max-width: 640px) {

  .fx-cat__bar .fx-chip--overlay { display: none; }


  #fx-searchform .fx-inputwrap { flex: 1 1 100%; }


  .fx-topic { grid-template-columns: 30px minmax(0, 1fr); gap: 4px 10px; padding: 11px 12px; }
  .fx-topic__icon { width: 28px; height: 28px; border-radius: 8px; align-self: start; margin-top: 2px; }
  .fx-topic__title { font-size: 15px; }
  .fx-topic__row2 { margin-top: 3px; }
  .fx-topic__starter, .fx-topic__stats, .fx-topic__last { grid-column: 2; }
  .fx-topic__starter { font-size: 12px; }
  .fx-topic__starter .fx-avatar { display: none; }
  .fx-topic__starter .u-minw-0 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .fx-topic__starter .u-d-block { display: inline; font-size: 12px; }
  .fx-topic__starter span.u-d-block::before { content: "· "; color: var(--color-ink-4); }
  .fx-topic__stat b { font-size: 13px; }
  .fx-topic__stat span { font-size: 10px; }
  .fx-topic__last .fx-last { padding: 6px 10px; gap: 8px; }
  .fx-topic__last .fx-avatar { width: 24px; height: 24px; border-radius: 8px; font-size: 10px; }
  .fx-topic__last .fx-last__title { display: none; }
  .fx-topic__last .fx-last__meta { font-size: 12px; }


  .fx-conv { gap: 10px; padding: 11px 12px; }
  .fx-conv__snip { display: none; }
  .fx-conv__title { font-size: 14px; }
  .fx-conv__meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .fx-conv__date { font-size: 11px; }


  .fx-pagehead__side--pm { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
  .fx-pagehead__side--pm .fx-pmsearch { grid-column: 1 / -1; }
  .fx-pagehead__side--pm .fx-pmsearch .fx-inputwrap { flex: 1 1 auto; }
  .fx-pagehead__side--pm .inline-form { display: flex; }
  .fx-pagehead__side--pm .inline-form .fx-btn { flex: 1; justify-content: center; }


  .fx-report-reason { min-height: 34px; align-items: center; }
  .fx-report-sent { grid-column: 1 / -1; }
  .fx-report-reason input[type="radio"] { width: 16px; height: 16px; flex: none; }
}

.fx-panel__body--flush.u-overflow-x-auto.is-xmore {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 34px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 34px), transparent);
}

.fx-admin-create {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: none;
}
.fx-admin-create__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 16px;
}
.fx-admin-create__row--2 {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}
.fx-admin-create__row--meta {
  grid-template-columns: 100px minmax(0, 1fr);
  align-items: start;
}
.fx-admin-create .fx-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.fx-admin-create .fx-input,
.fx-admin-create .fx-select {
  width: 100%;
  min-height: 40px;
  box-sizing: border-box;
}
.fx-admin-create__pos .fx-input {
  text-align: center;
}
.fx-label__opt {
  font-weight: 400;
  color: var(--color-ink-3, #6b8280);
  font-size: 0.85em;
}
.fx-admin-create__flags {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--color-line, #d6dfe0);
  border-radius: var(--radius-md, 11px);
  background: var(--color-surface-2, #f6f8f8);
}
.fx-admin-create__flags legend.fx-label {
  padding: 0 6px;
  margin-left: -2px;
}
.fx-admin-create__flags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.fx-admin-create__flags-hint {
  margin: 10px 0 0;
  line-height: 1.4;
}
.fx-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-ink-2, #3b504e);
  cursor: pointer;
  user-select: none;
  padding: 4px 0;
}
.fx-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--color-brand, #0f7fa8);
  margin: 0;
  flex-shrink: 0;
}
.fx-admin-create__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding-top: 4px;
  border-top: 1px solid var(--color-line-soft, #e5ecec);
}
@media (max-width: 640px) {
  .fx-admin-create__row--2,
  .fx-admin-create__row--meta {
    grid-template-columns: 1fr;
  }
  .fx-admin-create__pos {
    max-width: 120px;
  }
}

.fx-admin-ai {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fx-admin-ai > .fx-panel {
  margin: 0;
}
.fx-admin-ai__save {
  margin: 0;
  padding-top: 4px;
}
.fx-admin-ai .u-maxw-320px {
  max-width: 320px;
  width: 100%;
}

.fx-profile-pms {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fx-profile-pms__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fx-profile-pms__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--color-line, #e5e7eb);
  border-radius: var(--radius-md, 10px);
  text-decoration: none;
  color: inherit;
  background: var(--color-surface, #fff);
  transition: background 0.12s ease;
}
.fx-profile-pms__item:hover {
  background: var(--color-surface-2, #f6f8f8);
}
.fx-profile-pms__meta {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fx-profile-pms__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.fx-profile-pms .fx-callout {
  margin: 0;
}

.fx-admin-attach {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fx-admin-attach__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.fx-admin-attach__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--color-line, #d6dfe0);
  border-radius: var(--radius-md, 11px);
  background: var(--color-surface-2, #f6f8f8);
}
.fx-admin-attach__card-head {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-ink-3, #6b8280);
}
.fx-admin-attach__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.fx-admin-attach__pair .fx-input,
.fx-admin-attach .fx-input {
  width: 100%;
  min-height: 40px;
  box-sizing: border-box;
}
.fx-admin-attach__files {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px 16px;
  align-items: start;
}
.fx-admin-attach__actions {
  padding-top: 4px;
  border-top: 1px solid var(--color-line-soft, #e5ecec);
}
.fx-admin-attach__purge {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 12px;
}
.fx-admin-attach__purge .fx-field {
  min-width: 140px;
  max-width: 180px;
}
.fx-admin-attach__purge .fx-input {
  width: 100%;
  min-height: 40px;
  box-sizing: border-box;
}
@media (max-width: 720px) {
  .fx-admin-attach__cards,
  .fx-admin-attach__pair,
  .fx-admin-attach__files {
    grid-template-columns: 1fr;
  }
  .fx-admin-attach__purge .fx-field {
    max-width: none;
    flex: 1 1 140px;
  }
}

.fx-admin-as {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fx-admin-as__lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}
.fx-admin-as__nums {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  max-width: 560px;
}
.fx-admin-as .fx-input,
.fx-admin-as textarea.fx-input {
  width: 100%;
  box-sizing: border-box;
}
.fx-admin-as input[type="number"].fx-input {
  min-height: 40px;
  max-width: 100%;
}
.fx-admin-as__save {
  padding-top: 4px;
}
@media (max-width: 720px) {
  .fx-admin-as__lists,
  .fx-admin-as__nums {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

.fx-admin-cache {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fx-admin-cache__stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.fx-admin-cache__stat {
  padding: 12px 14px;
  border: 1px solid var(--color-line, #d6dfe0);
  border-radius: var(--radius-md, 11px);
  background: var(--color-surface-2, #f6f8f8);
  text-align: center;
}
.fx-admin-cache__stat-val {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-ink, #14201f);
}
.fx-admin-cache__stat-lbl {
  margin-top: 2px;
  font-size: 12px;
  color: var(--color-ink-3, #6b8280);
}
.fx-admin-cache__ttls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
}
.fx-admin-cache__ttls .fx-input {
  width: 100%;
  min-height: 40px;
  box-sizing: border-box;
}
.fx-admin-cache__save {
  padding-top: 4px;
}
@media (max-width: 720px) {
  .fx-admin-cache__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fx-admin-cache__ttls {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

.fx-admin-site {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fx-admin-site__grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  align-items: start;
}
.fx-admin-site__grid2 > .fx-field {
  align-content: start;
}
.fx-admin-site__with-file {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.fx-admin-site__with-file .fx-input {
  flex: 1 1 auto;
  min-width: 0;
}
.fx-admin-site__with-file .fx-file {
  margin-top: 0;
  flex: 0 0 auto;
  align-self: stretch;
  display: inline-flex;
}
.fx-admin-site__with-file .fx-file .fx-btn {
  height: 100%;
  min-height: 40px;
  box-sizing: border-box;
}
.fx-admin-site__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fx-admin-site__linkrow {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr) auto;
  gap: 8px;
  align-items: center;
}
.fx-admin-site .fx-input {
  width: 100%;
  box-sizing: border-box;
  min-height: 40px;
}
.fx-admin-site__save {
  padding-top: 4px;
}
.fx-brand__img {
  display: block;
  width: 21px;
  height: 21px;
  object-fit: contain;
}
@media (max-width: 720px) {
  .fx-admin-site__grid2,
  .fx-admin-site__linkrow {
    grid-template-columns: 1fr;
  }
}

.fx-file {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  cursor: pointer;
}
.fx-file input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
}
.fx-admin-site__color {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fx-admin-site__color-pick {
  width: 42px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--color-line, #d6dfe0);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.fx-admin-site__color .fx-input {
  flex: 1 1 auto;
  max-width: 140px;
}
.fx-field.u-maxw-220px { max-width: 280px; }

.fx-quote__jump {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 0 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-brand, #0f7fa8);
  text-decoration: none;
  border-radius: 4px;
  vertical-align: middle;
}
.fx-quote__jump:hover {
  background: var(--color-brand-soft, #e2f0f6);
  color: var(--color-brand-deep, #0a5d7d);
}
a.fx-mention {
  color: var(--color-brand, #0f7fa8);
  font-weight: 600;
  text-decoration: none;
}
a.fx-mention:hover {
  text-decoration: underline;
}


.fx-likers {
  position: fixed;
  z-index: 2000;
  min-width: 148px;
  max-width: 260px;
  max-height: 240px;
  overflow: auto;
  padding: 8px 0;
  border-radius: var(--radius-md, 10px);
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  box-shadow: 0 12px 32px rgba(20, 33, 31, 0.18);
  font-size: 13px;
  pointer-events: auto;
}
.fx-likers__title {
  padding: 2px 12px 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-ink-4);
}
.fx-likers__row {
  display: block;
  padding: 5px 12px;
  color: var(--color-ink);
}
.fx-likers__row:hover { background: var(--color-surface-2); color: var(--color-brand); }
.fx-likers__empty { padding: 8px 12px; color: var(--color-ink-3); }
.fx-rep__val { cursor: default; }
.js-thanks-label { cursor: default; }

.fx-likers__more {
  padding: 6px 12px 2px;
  font-size: 12px;
  color: var(--color-ink-3);
}

.fx-subforums { display: flex; flex-direction: column; }
.fx-subforum {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 12px 14px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-line);
  color: inherit;
  text-decoration: none;
}
.fx-subforum:last-child { border-bottom: 0; }
.fx-subforum:hover { background: var(--color-surface-2); }
.fx-subforum__body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fx-subforum__title { font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--color-ink); }
.fx-subforum:hover .fx-subforum__title { color: var(--color-brand); }
.fx-subforum__meta { font-size: 13px; color: var(--color-ink-3); line-height: 1.35; }
.fx-subforum__stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  min-width: 52px;
  line-height: 1.15;
}
.fx-subforum__stat b { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--color-ink); }
.fx-subforum__stat span { font-size: 11px; color: var(--color-ink-4); text-transform: lowercase; }
.fx-subforum__ext { font-weight: 500; opacity: 0.55; }

.fx-panel--subforums .fx-panel__head { padding-bottom: 10px; }
.fx-panel--subforums .fx-subforum:first-child { border-radius: 0; }

.fx-avatar.is-banned {
  filter: grayscale(1);
  opacity: 0.72;
}
.fx-chip--danger {
  color: var(--color-danger, #c0392b);
  background: color-mix(in srgb, var(--color-danger, #c0392b) 12%, transparent);
}
.fx-tag--danger {
  color: var(--color-danger, #c0392b);
  background: color-mix(in srgb, var(--color-danger, #c0392b) 12%, transparent);
}
.u-c-danger { color: var(--color-danger, #c0392b) !important; }
.u-ta-left { text-align: left !important; }

.js-like-count.is-neg { color: var(--color-danger, #c0392b); font-weight: 700; }
.js-like-count.is-pos { color: var(--color-ok, #1a7f4b); }

.fx-rep__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: auto;
}

.fx-avatar--img {
  overflow: visible;
  padding: 0;
  background: var(--color-surface-2, #e8ecec);
}
.fx-avatar--img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.fx-ava-filename {
  display: block;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--color-line);
  background: var(--color-surface-2, #f4f6f6);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-ink);
  word-break: break-all;
}
.fx-ava-filename.is-empty {
  font-weight: 400;
  color: var(--color-ink-3);
}
.fx-setava__img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid var(--color-line);
}

.u-d-none { display: none !important; }

.fx-btn.is-on[data-toggle],
form[data-toggle="profile-like"] .fx-btn.is-on {
  color: var(--color-danger, #c0392b);
  border-color: color-mix(in srgb, var(--color-danger, #c0392b) 35%, var(--color-line));
}


/* --- журнал ошибок (админ) --- */
.fx-errlog { display: flex; flex-direction: column; border-top: 1px solid var(--color-line); }
.fx-errlog__head {
  display: none;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: 12px 16px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-ink-4);
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 1px solid var(--color-line);
  background: var(--color-surface-2);
}
@media (min-width: 720px) {
  .fx-errlog__head { display: grid; }
}
.fx-errlog__row {
  border-bottom: 1px solid var(--color-line);
  background: var(--color-surface);
}
.fx-errlog__row--hard { border-left: 3px solid var(--color-danger); }
.fx-errlog__row--soft { border-left: 3px solid var(--color-warn); }
.fx-errlog__sum {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  padding: 12px 16px;
  cursor: pointer;
  list-style: none;
  align-items: start;
}
.fx-errlog__sum::-webkit-details-marker { display: none; }
.fx-errlog__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  grid-column: 1 / -1;
}
.fx-errlog__msg {
  grid-column: 1;
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-ink);
  overflow-wrap: anywhere;
}
.fx-errlog__chev {
  grid-column: 2;
  grid-row: 2;
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-right: 2px solid var(--color-ink-3);
  border-bottom: 2px solid var(--color-ink-3);
  transform: rotate(45deg);
  transition: transform .15s ease;
  justify-self: end;
}
.fx-errlog__row[open] .fx-errlog__chev {
  transform: rotate(-135deg);
  margin-top: 8px;
}
.fx-errlog__time { font-size: 12px; color: var(--color-ink-4); }
.fx-errlog__lvl { text-transform: uppercase; }
@media (min-width: 720px) {
  .fx-errlog__sum {
    grid-template-columns: minmax(140px, 200px) 1fr auto;
    align-items: center;
  }
  .fx-errlog__meta {
    grid-column: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .fx-errlog__msg { grid-column: 2; }
  .fx-errlog__chev { grid-column: 3; grid-row: 1; margin-top: 0; }
}
.fx-errlog__detail {
  padding: 0 16px 14px 16px;
  display: grid;
  gap: 10px;
  border-top: 1px dashed var(--color-line);
  padding-top: 12px;
  margin: 0 0 0 3px;
}
.fx-errlog__line {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px 12px;
  font-size: 13px;
  align-items: start;
}
@media (max-width: 560px) {
  .fx-errlog__line { grid-template-columns: 1fr; gap: 2px; }
}
.fx-errlog__k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-ink-4);
  padding-top: 2px;
}
.fx-errlog__full { overflow-wrap: anywhere; line-height: 1.45; }
.fx-errlog__trace {
  margin: 0;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.45;
  background: var(--color-surface-2);
  border-radius: 8px;
  overflow: auto;
  max-height: 220px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.fx-errlog__line--trace { grid-template-columns: 72px 1fr; }
@media (max-width: 560px) {
  .fx-errlog__line--trace { grid-template-columns: 1fr; }
}

/* Inline-style cleanup: hidden, meters, small page helpers */
[hidden] { display: none !important; }

progress.fx-meter {
  display: block;
  width: 100%;
  height: 6px;
  border: 0;
  border-radius: 99px;
  overflow: hidden;
  background: var(--color-surface-3);
  appearance: none;
  -webkit-appearance: none;
}
progress.fx-meter::-webkit-progress-bar {
  background: var(--color-surface-3);
  border-radius: 99px;
}
progress.fx-meter::-webkit-progress-value {
  border-radius: 99px;
  background: linear-gradient(90deg, var(--color-brand), var(--color-accent));
}
progress.fx-meter::-moz-progress-bar {
  border-radius: 99px;
  background: linear-gradient(90deg, var(--color-brand), var(--color-accent));
}
progress.fx-meter.fx-meter--w130 { width: 130px; }

.fx-closed { max-width: 560px; margin: 48px auto 64px; }
.fx-closed__kicker { justify-content: center; }
.fx-closed__title { font-size: 28px; }
.fx-closed__prose { margin: 0; color: var(--color-ink-2); line-height: 1.55; }

.fx-errlog__full--boxed {
  display: block;
  max-height: 320px;
  overflow: auto;
  background: var(--color-surface-2);
  padding: 10px 12px;
  border-radius: 8px;
}

.u-cur-default { cursor: default; }
.u-cur-not-allowed { cursor: not-allowed; }
.u-op-55 { opacity: .55; }

.fx-epop__sw--ink { background: #1c2826; }
.fx-epop__sw--blue { background: #0f7fa8; }
.fx-epop__sw--navy { background: #1f4f8b; }
.fx-epop__sw--green { background: #1d8348; }
.fx-epop__sw--red { background: #c0392b; }
.fx-epop__sw--orange { background: #d97706; }
.fx-epop__sw--violet { background: #7c3aed; }
.fx-epop__sw--gray { background: #6b8280; }
.fx-epop__sw--size-10 { font-size: 10px; }
.fx-epop__sw--size-13 { font-size: 13px; }
.fx-epop__sw--size-16 { font-size: 16px; }
.fx-epop__sw--size-18 { font-size: 18px; }
.fx-epop__sw--size-22 { font-size: 22px; }
.fx-epop__sw--size-28 { font-size: 28px; }

.fx-error-debug {
  white-space: pre-wrap;
  font: 13px/1.45 monospace;
  padding: 16px;
}

/* Avatar hue buckets (без инлайн --a-hue) */
.fx-avatar--hue-0 { --a-hue: 0; }
.fx-avatar--hue-15 { --a-hue: 15; }
.fx-avatar--hue-30 { --a-hue: 30; }
.fx-avatar--hue-45 { --a-hue: 45; }
.fx-avatar--hue-60 { --a-hue: 60; }
.fx-avatar--hue-75 { --a-hue: 75; }
.fx-avatar--hue-90 { --a-hue: 90; }
.fx-avatar--hue-105 { --a-hue: 105; }
.fx-avatar--hue-120 { --a-hue: 120; }
.fx-avatar--hue-135 { --a-hue: 135; }
.fx-avatar--hue-150 { --a-hue: 150; }
.fx-avatar--hue-165 { --a-hue: 165; }
.fx-avatar--hue-180 { --a-hue: 180; }
.fx-avatar--hue-195 { --a-hue: 195; }
.fx-avatar--hue-210 { --a-hue: 210; }
.fx-avatar--hue-225 { --a-hue: 225; }
.fx-avatar--hue-240 { --a-hue: 240; }
.fx-avatar--hue-255 { --a-hue: 255; }
.fx-avatar--hue-270 { --a-hue: 270; }
.fx-avatar--hue-285 { --a-hue: 285; }
.fx-avatar--hue-300 { --a-hue: 300; }
.fx-avatar--hue-315 { --a-hue: 315; }
.fx-avatar--hue-330 { --a-hue: 330; }
.fx-avatar--hue-345 { --a-hue: 345; }

/* Reveal delay classes для карточек разделов */
.fx-reveal--d0 { --fx-d: 0ms; }
.fx-reveal--d1 { --fx-d: 45ms; }
.fx-reveal--d2 { --fx-d: 90ms; }
.fx-reveal--d3 { --fx-d: 135ms; }
.fx-reveal--d4 { --fx-d: 180ms; }
.fx-reveal--d5 { --fx-d: 225ms; }
.fx-reveal--d6 { --fx-d: 270ms; }
.fx-reveal--d7 { --fx-d: 315ms; }
.fx-reveal--d8 { --fx-d: 360ms; }
.fx-reveal--d9 { --fx-d: 405ms; }
.fx-reveal--d10 { --fx-d: 450ms; }
.fx-reveal--d11 { --fx-d: 495ms; }
.fx-reveal--d12 { --fx-d: 540ms; }
.fx-reveal--d13 { --fx-d: 585ms; }
.fx-reveal--d14 { --fx-d: 630ms; }
.fx-reveal--d15 { --fx-d: 675ms; }
.fx-reveal--d16 { --fx-d: 720ms; }
.fx-reveal--d17 { --fx-d: 765ms; }
.fx-reveal--d18 { --fx-d: 810ms; }
.fx-reveal--d19 { --fx-d: 855ms; }
.fx-reveal--d20 { --fx-d: 900ms; }
.fx-reveal--d21 { --fx-d: 945ms; }
.fx-reveal--d22 { --fx-d: 990ms; }
.fx-reveal--d23 { --fx-d: 1035ms; }
.fx-reveal--d24 { --fx-d: 1080ms; }

/* XenForo legacy BBCode */
.fx-align-left { text-align: left; }
.fx-align-center { text-align: center; }
.fx-align-right { text-align: right; }
.fx-indent { padding-left: 30px; }
.fx-bb-media { font-weight: 600; }

.fx-bb-heading { margin: 1em 0 0; line-height: 1.3; }

.fx-report-sent {
  width: 100%;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px dashed var(--color-line);
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12px;
  color: var(--color-ink-3);
  text-align: left;
}
.fx-report-sent > b {
  text-align: left;
  max-width: none;
  white-space: nowrap;
  color: var(--color-ink-2);
  font-family: var(--font-mono);
  font-weight: 600;
}

.fx-post__foot--pm { padding: 6px 18px; }

/* Подсказка получателя ЛС */
.fx-userpick { position: relative; }
.fx-userpick__list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 120;
  max-height: 280px;
  overflow: auto;
  padding: 6px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.fx-userpick__list[hidden] { display: none; }
.fx-userpick__item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 7px 8px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-ink);
  text-align: left;
  cursor: pointer;
}
.fx-userpick__item:hover,
.fx-userpick__item:focus-visible { background: var(--color-surface-2); outline: none; }
.fx-userpick__body { min-width: 0; flex: 1; }
.fx-userpick__name { display: block; font-size: 13px; font-weight: 600; }
.fx-userpick__meta { display: block; margin-top: 2px; font-size: 11px; color: var(--color-ink-3); }
.fx-userpick__badge { flex: 0 0 auto; }
