.fr-wrap{max-width:1080px;min-width:0}.fr-hero{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:0 0 18px}.fr-hero h1{margin:0}.fr-toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:14px 0}.fr-toolbar input,.fr-toolbar select,.fr-form input,.fr-form textarea,.fr-form select,.fr-search input{width:100%;min-width:0;padding:12px 14px;border:1px solid var(--line);border-radius:9px;background:var(--c-bg-f619dca12cf7);color:var(--txt);font:inherit;font-size:16px}.fr-toolbar input{max-width:340px}.fr-toolbar button,.fr-form button{font-size:16px}.fr-group{margin:20px 0 26px}.fr-group>h2{color:var(--gold-lt);border-bottom:1px solid var(--gold-dk);padding:0 0 9px;font-size:1.35rem}.fr-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fr-section-card,.fr-topic-row,.fr-post,.fr-conv-row,.fr-notice{display:block;background:var(--panel);border:1px solid var(--line);border-radius:12px;color:var(--txt);text-decoration:none;padding:16px;margin:0 0 10px;min-width:0}.fr-section-card:hover,.fr-topic-row:hover,.fr-conv-row:hover{border-color:var(--gold-dk)}.fr-section-head{display:flex;gap:12px;align-items:center}.fr-section-icon{font-size:1.8rem;min-width:36px;text-align:center}.fr-section-card h3{font-size:1.12rem;color:var(--gold-lt);margin:0}.fr-section-card p{color:var(--muted);line-height:1.5;margin:8px 0}.fr-section-meta,.fr-topic-meta,.fr-muted{color:var(--muted);font-size:.95rem;line-height:1.5}.fr-last{margin-top:6px;font-size:.95rem;overflow-wrap:anywhere}.fr-topic-row{display:flex;gap:12px;align-items:center;justify-content:space-between}.fr-topic-row b{font-size:1.08rem;overflow-wrap:anywhere}.fr-topic-row.unread b{color:var(--gold-lt)}.fr-topic-row .fr-topic-meta{text-align:right;flex:0 0 auto}.fr-crumb{color:var(--muted);margin:0 0 12px}.fr-crumb a{color:var(--blue-lt)}.fr-post{display:grid;grid-template-columns:160px minmax(0,1fr);gap:18px;padding:18px;margin:12px 0}.fr-post aside{display:flex;flex-direction:column;gap:8px;overflow-wrap:anywhere}.fr-post aside a{color:var(--gold-lt);font-weight:bold}.fr-post aside small{color:var(--muted)}.fr-post-body{font-size:1rem;line-height:1.7;overflow-wrap:anywhere;min-width:0}.fr-post-body p:first-child{margin-top:0}.fr-post-body p:last-child{margin-bottom:0}.fr-post-body img{max-width:100%}.fr-post-body blockquote{border-left:3px solid var(--gold-dk);margin:10px 0;padding:8px 12px;background:var(--c-bg-8ef805947d8e);color:var(--c-fg-83ad93488494)}.fr-post-body pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--c-bg-f619dca12cf7);padding:12px;border-radius:8px}.fr-spoiler{border:1px solid var(--line);padding:8px 10px;border-radius:8px}.fr-post-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.fr-post-actions button,.fr-button{min-height:42px;padding:9px 13px;border:1px solid var(--gold-dk);border-radius:8px;background:var(--panel2);color:var(--txt);font:inherit;font-size:16px;cursor:pointer}.fr-post-actions button:hover,.fr-button:hover{border-color:var(--gold)}.fr-form{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:16px;margin:18px 0}.fr-form label{display:block;color:var(--gold-lt);font-weight:bold;margin:12px 0 6px}.fr-form textarea{min-height:140px;resize:vertical}.fr-format{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.fr-format button{min-height:42px;min-width:42px;border:1px solid var(--line);border-radius:7px;background:var(--panel2);color:var(--txt);font-size:16px}.fr-form input:focus,.fr-form textarea:focus,.fr-search input:focus,.fr-toolbar input:focus{outline:2px solid var(--gold);outline-offset:1px}.fr-error{color:var(--red);margin:10px 0}.fr-ok{color:var(--green)}.fr-loading,.fr-empty{background:var(--panel);border:1px dashed var(--line);padding:20px;border-radius:12px;color:var(--muted)}.fr-pin,.fr-lock,.fr-dot{color:var(--gold-lt);margin-right:6px}.fr-pages{display:flex;justify-content:center;gap:8px;margin:16px 0}.fr-pages a{padding:10px 14px;border:1px solid var(--line);border-radius:8px;text-decoration:none}.fr-profile{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.fr-avatar{width:64px;height:64px;border-radius:50%;border:2px solid var(--gold-dk);object-fit:cover;background:var(--panel2);display:grid;place-items:center;font-size:1.5rem;color:var(--gold-lt)}.fr-warning{background:var(--c-bg-5a40539824a0);border-left:4px solid var(--gold);padding:13px 16px;border-radius:8px;line-height:1.55}.fr-modal{position:fixed;inset:0;background:var(--c-bg-7a3aaebd94b3);z-index:200;display:grid;place-items:center;padding:18px}.fr-modal>div{width:min(680px,100%);max-height:85vh;overflow:auto;background:var(--bg2);border:1px solid var(--gold-dk);border-radius:14px;padding:20px}.fr-sticky-reply{position:sticky;bottom:10px;z-index:4;background:var(--bg2);padding:8px;border:1px solid var(--gold-dk);border-radius:12px;box-shadow:0 8px 24px var(--c-shadow-f80ab45ca779)}.fr-online{color:var(--muted);margin:12px 0}.fr-highlight{outline:2px solid var(--gold)}.fr-badge{display:inline-block;background:var(--c-bg-8ef805947d8e);border:1px solid var(--gold-dk);border-radius:20px;padding:2px 9px;color:var(--gold-lt);font-size:.88rem}.fr-search{display:flex;gap:8px;max-width:680px}.fr-search input{flex:1}.fr-new-sticky{position:sticky;bottom:12px;z-index:4;display:flex;justify-content:center;pointer-events:none}.fr-new-sticky button{pointer-events:auto;box-shadow:0 8px 22px var(--c-shadow-f80ab45ca779)}@media(max-width:700px){.fr-wrap{padding:0 14px}.fr-sections{grid-template-columns:1fr}.fr-topic-row{align-items:flex-start;flex-direction:column;gap:6px}.fr-topic-row .fr-topic-meta{text-align:left}.fr-post{grid-template-columns:1fr;gap:8px;padding:14px}.fr-post aside{flex-direction:row;align-items:center}.fr-toolbar{display:grid;grid-template-columns:1fr}.fr-toolbar input{max-width:none}.fr-search{display:grid}.fr-post-actions button,.fr-button{flex:1 1 auto}.fr-form{padding:13px}.fr-post-body{font-size:16px}}
.fr-wrap{font-size:16px}.fr-section-meta,.fr-topic-meta,.fr-muted,.fr-last,.fr-post aside small,.fr-badge{font-size:16px}.fr-post-body{font-size:16px}
.fr-topic-main{display:flex;align-items:center;gap:12px;min-width:0;flex:1}.fr-topic-details{display:grid;gap:5px;min-width:0}.fr-topic-details b{overflow-wrap:anywhere}.fr-unread-count{display:inline-block;margin-top:8px;color:var(--gold-lt);font-weight:700}.fr-wrap a:focus-visible,.fr-wrap button:focus-visible,.fr-wrap input:focus-visible,.fr-wrap textarea:focus-visible,.fr-wrap select:focus-visible{outline:3px solid var(--gold);outline-offset:2px}

/* телефон: форма ответа не липкая, не закрывает чтение (06.10.2026) */
@media(max-width:760px){.fr-sticky-reply{position:static;box-shadow:none}}

/* Клод 07.10.2026: липкая форма ответа компактнее — поле раскрывается при вводе, чтобы не закрывать чтение */
.fr-sticky-reply textarea{min-height:56px;height:56px;resize:vertical;transition:height .15s}
.fr-sticky-reply textarea:focus{height:150px}

/* Клод 07.10.2026: шапка форума — картинка справа, текст на тёмной левой части (все страницы форума, только CSS) */
#forumApp .fr-hero{position:relative;overflow:hidden;border-radius:16px;border:1px solid var(--line);padding:34px 28px;min-height:210px;margin:0 0 20px;
  background:linear-gradient(90deg,var(--c-bg-7f747ccdfd47) 0%,var(--c-bg-d5000986ca1d) 38%,var(--c-bg-a4aa45e5bdd1) 72%,var(--c-bg-3ed14f63ac89) 100%),url('/assets/forum/forum-banner.webp') right center/cover no-repeat,var(--c-bg-f619dca12cf7);
  align-items:center}
#forumApp .fr-hero h1{text-shadow:0 2px 14px var(--c-shadow-33a0843b78a8)}
#forumApp .fr-hero .page-sub{max-width:520px;text-shadow:0 2px 10px var(--c-shadow-33a0843b78a8)}
@media(max-width:760px){#forumApp .fr-hero{padding:22px 16px;min-height:130px;background:linear-gradient(90deg,var(--c-bg-a72853a52c6b) 0%,var(--c-bg-0fbc2cba0e3a) 55%,var(--c-bg-85eeee3e8922) 100%),url('/assets/forum/forum-banner.webp') 78% center/cover no-repeat,var(--c-bg-f619dca12cf7)}}

/* значки разделов форума (09.10.2026) */
.fr-icon-img{width:48px;height:48px;min-width:48px;border-radius:12px;object-fit:cover;border:1px solid var(--line)}
.fr-title-icon{width:44px;height:44px;border-radius:10px;vertical-align:middle;margin-right:12px;object-fit:cover;border:1px solid var(--line)}
@media(max-width:760px){.fr-title-icon{width:36px;height:36px;margin-right:10px}}
/* pm badge spacing */
b + small.fr-badge{margin-left:8px;vertical-align:middle}
