/* РТИ Ногинск — тема «Тепло»: контрастная двухцветка — эмалевый белый и раскалённый красно-оранжевый, графитовый текст.
   Синий только на холодном конце шкалы термометра и в индикаторах (батарея разделов, сезон).
   Каркас: главная — вопросы и ответы (qa), тема — ответы с лучшим наверху (answers), навигация — «стояк» слева (left-rail).
   Шрифт: Ubuntu (300–700, курсив). Префикс классов rn-. */

@font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 300; font-display: swap; src: url(fonts/ubuntu-cyrillic-300.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 300; font-display: swap; src: url(fonts/ubuntu-latin-300.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ubuntu-cyrillic-400.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ubuntu-latin-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Ubuntu'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/ubuntu-cyrillic-400-italic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Ubuntu'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/ubuntu-latin-400-italic.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD; }
@font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ubuntu-cyrillic-500.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ubuntu-latin-500.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD; }
@font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/ubuntu-cyrillic-700.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/ubuntu-latin-700.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD; }

:root {
	--bg: #f2f2f0; --bg-2: #f0efed; --bg-3: #e5e4e1; --enamel: #ffffff; --edge: #e0dfdb; --edge-2: #cbc9c4;
	--ink: #1b1918; --ink-2: #45413e; --ink-3: #65605c;
	--hot: #d23a12; --hot-dk: #a82c0c; --hot-tint: #fdeee8;
	--cold: #3f78d0; --cool: #84abdc; --warm: #ecc46c; --red: #d23a12; --red-dk: #a82c0c;
	--blue-ink: #a82c0c;
	--therm: linear-gradient(90deg, #3f78d0 0%, #84abdc 30%, #ecc46c 52%, #ee7d34 76%, #cd3822 100%);
	--hotfill: #d23a12;
	--f: 'Ubuntu', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
	--wrap: 1240px; --rail: 104px; --r: 14px;
	--shadow: 0 1px 2px rgba(20, 18, 16, .06);
}

/* ---------------------------------------------------------------- база */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
	font-variant-numeric: tabular-nums;
	margin: 0; min-width: 0; color: var(--ink); font: 400 16px/1.55 var(--f);
	background: var(--bg);
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-dk); }
:focus-visible { outline: 3px solid rgba(238, 125, 52, .55); outline-offset: 2px; border-radius: 4px; }
.rn-skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 8px; }
.rn-skip:focus { left: 12px; }
.rn-site { min-height: 100vh; padding-left: var(--rail); padding-bottom: 30px; }
.rn-main { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 22px 20px 10px; }
.rn-h1 { margin: 0; font: 700 30px/1.15 var(--f); letter-spacing: -.01em; }
.rn-h2 { margin: 0; font: 700 21px/1.25 var(--f); }
.rn-h3 { margin: 0 0 10px; font: 700 17px/1.3 var(--f); }
.rn-kicker { margin: 0 0 6px; color: var(--ink-3); font: 500 12.5px/1.3 var(--f); letter-spacing: .06em; text-transform: uppercase; }
.rn-empty { padding: 18px; color: var(--ink-3); list-style: none; }
.rn-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.rn-card, .rn-ask, .rn-thermo, .rn-season, .rn-memo, .rn-qa, .rn-qcard, .rn-post, .rn-fhead, .rn-rcard, .rn-ladder, .rn-plist, .rn-msg {
	background: var(--enamel); border: 1px solid var(--edge); border-radius: var(--r); box-shadow: inset 0 1px 0 #fff, var(--shadow);
}

/* ---------------------------------------------------------------- верхняя строка */
.rn-strip { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.2) blur(8px); -webkit-backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--edge); }
.rn-strip::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: var(--hot); }
.rn-strip__in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; max-width: var(--wrap); margin: 0 auto; padding: 9px 20px; min-height: 58px; }
.rn-logo { justify-self: start; justify-content: start; display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; color: var(--ink); text-decoration: none; }
.rn-logo__mark { grid-row: 1 / 3; display: block; }
.rn-logo__name { font: 700 19px/1 var(--f); letter-spacing: -.01em; }
.rn-logo__name b { font-weight: 400; }
.rn-logo__sub { color: var(--ink-3); font: 400 11.5px/1.2 var(--f); letter-spacing: .02em; }
.rn-logo:hover { color: var(--ink); }
.rn-strip__crumbs { min-width: 0; }
.rn-page--index .rn-strip__crumbs { visibility: hidden; }
.rn-crumbs { display: flex; align-items: center; gap: 7px; min-width: 0; overflow: hidden; white-space: nowrap; color: var(--ink-3); font-size: 14px; }
.rn-crumbs a { color: var(--ink-2); text-decoration: none; flex: 0 0 auto; }
.rn-crumbs a:hover { color: var(--red-dk); text-decoration: underline; }
.rn-crumbs .active { overflow: hidden; text-overflow: ellipsis; color: var(--ink); font-weight: 500; }
.rn-crumbs__sep { color: var(--edge-2); }
.rn-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border: 1px solid var(--edge); border-radius: 999px; background: var(--bg-2); color: var(--ink-2); font: 500 13px/1 var(--f); text-decoration: none; white-space: nowrap; }
.rn-pill i { width: 9px; height: 9px; border-radius: 50%; background: var(--cold); box-shadow: 0 0 0 3px rgba(63, 120, 208, .18); }
.rn-pill--on i, .rn-pill--start i { background: var(--hot); box-shadow: 0 0 0 3px rgba(238, 125, 52, .22); animation: rn-pulse 2.4s ease-in-out infinite; }
.rn-pill--end i { background: var(--warm); box-shadow: 0 0 0 3px rgba(236, 196, 108, .3); }
.rn-pill:hover { color: var(--red-dk); border-color: var(--edge-2); }
.rn-pill--on, .rn-pill--start { background: var(--hot-tint); border-color: #f6c4b1; color: var(--hot-dk); }

/* ---------------------------------------------------------------- стояк слева: труба с вентилями-термоголовками */
.rn-rail {
	position: fixed; z-index: 60; left: 0; top: 0; bottom: 0; width: var(--rail); display: flex; flex-direction: column; align-items: center; gap: 4px;
	padding: 10px 0 12px; background: var(--hot); overflow-y: auto; overflow-x: hidden; scrollbar-width: none;
}
.rn-rail__pipe { position: absolute; left: 50%; top: 0; bottom: 0; width: 18px; margin-left: -9px; background: linear-gradient(90deg, #d9d6d1, #fff 42%, #fff 58%, #dedbd6); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); pointer-events: none; }
.rn-rail__pipe::before, .rn-rail__pipe::after { content: ""; position: absolute; left: -5px; right: -5px; height: 10px; border-radius: 3px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.rn-rail__pipe::before { top: 34%; } .rn-rail__pipe::after { top: 72%; }
.rn-rail__cap { position: relative; z-index: 1; padding: 2px 7px; border-radius: 5px; background: var(--hot); color: rgba(255, 255, 255, .85); font: 500 10.5px/1.2 var(--f); letter-spacing: .08em; text-transform: uppercase; }
.rn-rail__cap--b { margin-top: auto; }
.rn-valve { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 11px; width: 100%; padding: 12px 4px 6px; color: #fff; text-decoration: none; }
.rn-valve__head {
	position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--hot);
	box-shadow: 0 0 0 4px var(--hot), 0 0 0 5.5px rgba(255, 255, 255, .5), 0 4px 10px 4px rgba(90, 20, 0, .28); transition: transform .25s;
}
/* шкала термоголовки: белые риски по кругу; у текущего пункта — сплошная дуга */
.rn-valve__head::before {
	content: ""; position: absolute; inset: -11px; border-radius: 50%; pointer-events: none;
	background: repeating-conic-gradient(from -130deg, rgba(255, 255, 255, .75) 0 3deg, transparent 3deg 26deg);
	-webkit-mask: radial-gradient(circle, transparent 33px, #000 34px, #000 37px, transparent 38px); mask: radial-gradient(circle, transparent 33px, #000 34px, #000 37px, transparent 38px);
}
.rn-valve.is-on .rn-valve__head { background: var(--ink); color: #fff; }
.rn-valve.is-on .rn-valve__head::before { background: conic-gradient(from -130deg, #fff 0 260deg, transparent 260deg); }
.rn-valve__ico { display: block; }
.rn-valve__head > * { transition: transform .25s; }
.rn-valve:hover .rn-valve__head { transform: rotate(-24deg); }
.rn-valve:hover .rn-valve__head > * { transform: rotate(24deg); }
.rn-valve__l { max-width: 98px; padding: 1px 6px; border-radius: 6px; background: var(--hot); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 12.5px/1.25 var(--f); }
.rn-valve:hover .rn-valve__l, .rn-valve.is-on .rn-valve__l { background: var(--ink); }
.rn-valve:focus-visible { outline: none; }
.rn-valve:focus-visible .rn-valve__head { outline: 3px solid #fff; outline-offset: 7px; }
.rn-valve--me { margin-top: 10px; }
.rn-valve--me .rn-face { width: 44px; height: 44px; border-radius: 50%; box-shadow: none; }
.rn-railbtn { display: none; }

/* шторки */
.rn-scrim { position: fixed; inset: 0; z-index: 55; background: rgba(27, 25, 24, .4); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.rn-scrim.is-on { opacity: 1; visibility: visible; }
.rn-sheet {
	position: fixed; z-index: 80; left: calc(var(--rail) + 14px); top: 74px; width: min(720px, calc(100vw - var(--rail) - 28px)); max-height: calc(100vh - 96px);
	display: flex; flex-direction: column; transform: translateX(-18px); opacity: 0; visibility: hidden; transition: transform .22s, opacity .22s, visibility .22s;
	background: var(--enamel); border: 2px solid var(--ink); border-radius: 16px; box-shadow: 8px 8px 0 var(--hot);
}
.rn-sheet--narrow { width: min(440px, calc(100vw - var(--rail) - 28px)); }
.rn-sheet.is-on, .rn-sheet:target { transform: none; opacity: 1; visibility: visible; }
.rn-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px 12px; border-bottom: 1px solid var(--edge); }
.rn-sheet__t { margin: 0; font: 700 18px/1.2 var(--f); }
.rn-sheet__x { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-2); color: var(--ink); font-size: 22px; line-height: 1; text-decoration: none; }
.rn-sheet__body { padding: 14px 18px 18px; overflow: auto; }
.rn-sheet__body--secs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 22px; }
.rn-sheet__foot { margin: 0; padding: 10px 18px 14px; border-top: 1px solid var(--edge); color: var(--ink-3); font-size: 13px; }
.rn-secs__h { margin: 6px 0 4px; font: 500 12.5px/1.3 var(--f); letter-spacing: .06em; text-transform: uppercase; }
.rn-secs__h a { color: var(--ink-3); text-decoration: none; }
.rn-secs ul { margin: 0 0 6px; padding: 0; list-style: none; }
.rn-sec-l { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 8px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 15px; }
.rn-sec-l i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.rn-sec-l__n { color: var(--ink-3); font-size: 13px; }
.rn-sec-l:hover, .rn-sec-l.is-on { background: var(--bg-2); color: var(--red-dk); }
.rn-search__l { display: block; margin-bottom: 6px; font-weight: 500; }
.rn-search__row { display: flex; gap: 8px; }
.rn-search__row input { flex: 1; min-width: 0; }
.rn-search__hint { margin: 10px 0 0; color: var(--ink-3); font-size: 13.5px; }
.rn-login__p { margin: 0 0 12px; color: var(--ink-2); }
.rn-field { margin: 0 0 12px; }
.rn-field label { display: block; margin-bottom: 4px; font-weight: 500; font-size: 14.5px; }
.rn-field input.textbox { width: 100%; }
.rn-field--row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; }
.rn-field--row label { display: inline-flex; gap: 6px; align-items: center; margin: 0; font-weight: 400; }
.rn-field .button { width: 100%; }
.rn-me__who { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.rn-me__who span { display: flex; flex-direction: column; }
.rn-me__links { margin: 0; padding: 0; list-style: none; }
.rn-me__links a { display: block; padding: 9px 4px; border-top: 1px solid var(--edge); text-decoration: none; }
.rn-pm[data-n="0"] { display: none; }
.rn-pm { padding: 1px 7px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; }

/* ---------------------------------------------------------------- подвал */
.rn-foot { max-width: var(--wrap); margin: 26px auto 0; padding: 0 20px; }
.rn-foot__in { border-top: 2px solid var(--ink) !important; }
.rn-foot__in { padding: 20px 0 6px; border-top: 1px solid var(--edge); color: var(--ink-3); font-size: 14px; }
.rn-foot__brand { margin: 0 0 10px; color: var(--ink-2); }
.rn-foot__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 10px; }
.rn-foot__links a { color: var(--ink-2); }
.rn-foot__note { margin: 0; max-width: 820px; font-size: 13px; }

/* ---------------------------------------------------------------- лица, бейджи, метки */
.rn-face { flex: 0 0 auto; display: inline-grid; place-items: center; overflow: hidden; border-radius: 30%; background: var(--bg-3); color: #fff; font-weight: 700; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--edge-2); }
.rn-face img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rn-face--xs { width: 22px; height: 22px; font-size: 10px; box-shadow: 0 0 0 1.5px #fff; }
.rn-face--s { width: 30px; height: 30px; font-size: 12px; }
.rn-face--m { width: 42px; height: 42px; font-size: 15px; }
.rn-face--l { width: 54px; height: 54px; font-size: 19px; }
.rn-face--xl { width: 148px; height: 148px; font-size: 48px; border-radius: 28%; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--edge-2), var(--shadow); }
.rn-mono-0 { background: #d23a12; } .rn-mono-1 { background: #1b1918; } .rn-mono-2 { background: #8a2f12; } .rn-mono-3 { background: #5b5652; } .rn-mono-4 { background: #b5401a; }
.rn-badge { flex: 0 0 auto; display: block; }
.rn-badge__tube { fill: #ffffff; stroke: #5b5652; stroke-width: 1.2; }
.rn-badge__ticks { stroke: #7d7874; stroke-width: 1.1; stroke-linecap: round; }
.rn-rank { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); font-size: 13px; }
.rn-rep { display: inline-flex; align-items: baseline; gap: 4px; padding: 1px 8px; border-radius: 999px; background: var(--bg-2); color: var(--ink-3); font-size: 12.5px; }
.rn-rep b { color: var(--ink-2); }
.rn-rep--up b { color: var(--red-dk); }
.rn-tag { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 6px; font: 500 12.5px/1.45 var(--f); white-space: nowrap; }
.rn-tag--ask { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.rn-tag--urgent { background: var(--hot); color: #fff; }
.rn-tag--tip { background: var(--hot-tint); color: var(--hot-dk); box-shadow: inset 0 0 0 1px #f6c4b1; }
.rn-tag--solved { background: var(--hotfill); color: #fff; }
.rn-chip { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px 3px 8px; border: 1px solid var(--edge); border-radius: 999px; background: var(--bg-2); color: var(--ink-2); font: 500 12.5px/1.45 var(--f); text-decoration: none; white-space: nowrap; }
.rn-chip i { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
.rn-chip span { color: var(--ink-3); font-weight: 400; }
.rn-chip:hover { border-color: var(--edge-2); color: var(--red-dk); }
.rn-op { display: inline-flex; padding: 1px 8px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 500; }

/* ---------------------------------------------------------------- главная: строка вопроса */
.rn-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 22px; align-items: stretch; margin-bottom: 22px; }
.rn-top__l { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.rn-ask { display: flex; flex-direction: column; justify-content: center; padding: 22px 26px 20px 30px; position: relative; overflow: hidden; flex: 1 1 auto; }
.rn-ask__lead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 16px; }
.rn-ask__sub { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.rn-ask::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--hot); }
.rn-ask .rn-h1 { font-size: 31px; }
.rn-ask__l { display: block; margin-bottom: 10px; font: 700 22px/1.2 var(--f); }
.rn-ask__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.rn-ask__row .rn-ask__q { grid-column: 1 / -1; }
.rn-ask__q { width: 100%; min-height: 54px; padding: 12px 16px !important; border: 1.5px solid var(--edge-2) !important; border-radius: 12px !important; background: #fff !important; font-size: 17px !important; }
.rn-ask__q:focus { border-color: var(--hot) !important; outline: 3px solid rgba(238, 125, 52, .2) !important; }
.rn-ask__f { min-height: 54px; border-radius: 12px !important; }
.rn-ask__go { min-height: 54px !important; padding: 0 24px !important; font-size: 16.5px !important; }
.rn-ask__note { margin: 10px 0 0; color: var(--ink-3); font-size: 14px; }
.rn-lock { display: inline-block; vertical-align: -3px; margin-right: 6px; }
.rn-ask__note--guest { display: none; }
.rn-ask.is-guest .rn-ask__note--guest { display: block; }
.rn-ask.is-guest .rn-ask__note--member { display: none; }
.rn-ask.is-guest .rn-ask__q, .rn-ask.is-guest .rn-ask__f { background: repeating-linear-gradient(135deg, #f6f5f3 0 8px, #efeeeb 8px 16px) !important; color: var(--ink-3) !important; cursor: not-allowed; }
.rn-ask.is-guest .rn-ask__go { background: #e2e0dc !important; color: #45413e !important; box-shadow: none !important; cursor: not-allowed; }

/* ---------------------------------------------------------------- главная: сетка */
.rn-home { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.rn-qa { padding: 18px 20px 20px; min-width: 0; }
.rn-qa__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.rn-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--edge); }
.rn-tab { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 9px; color: var(--ink-2); font-weight: 500; font-size: 14.5px; text-decoration: none; }
.rn-tab span { padding: 0 7px; border-radius: 999px; background: rgba(0, 0, 0, .06); font-size: 12.5px; }
.rn-tab:hover { color: var(--red-dk); }
.rn-tab.is-on { background: var(--enamel); color: var(--ink); box-shadow: 0 1px 3px rgba(80, 50, 20, .18); }
.rn-tab.is-on span { background: var(--hotfill); color: #fff; }

/* строка вопроса в списке */
.rn-qlist { margin: 0; padding: 0; list-style: none; }
.rn-q { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 16px; padding: 16px 2px; border-top: 1px solid var(--edge); }
.rn-q:first-child { border-top: 0; }
.rn-q__stats { display: flex; flex-direction: column; align-items: stretch; gap: 6px; text-align: center; }
.rn-q__n { display: flex; flex-direction: column; padding: 6px 4px 5px; border: 1.5px solid var(--edge-2); border-radius: 11px; color: var(--ink-3); font-size: 11.5px; line-height: 1.2; }
.rn-q__n b { color: var(--ink); font-size: 20px; line-height: 1.1; }
.rn-q__n.is-solved { border-color: var(--hot); background: var(--hot); color: rgba(255, 255, 255, .92); }
.rn-q__n.is-solved b { color: #fff; }
.rn-q__v { color: var(--ink-3); font-size: 11.5px; line-height: 1.2; }
.rn-q__v b { display: block; color: var(--ink-2); font-size: 14.5px; }
.rn-q__ok { display: inline-flex; align-items: center; justify-content: center; gap: 3px; color: var(--red-dk); font-size: 11.5px; font-weight: 700; }
.rn-q__main { min-width: 0; }
.rn-q__h { margin: 0 0 4px; font: 500 17.5px/1.3 var(--f); }
.rn-q__h a { color: var(--ink); text-decoration: none; }
.rn-q__h a:hover { color: var(--red-dk); text-decoration: underline; }
.rn-q__x { margin: 0 0 9px; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rn-q__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--ink-3); font-size: 13px; }
.rn-q__tags { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.rn-q__who { display: inline-flex; align-items: center; gap: 7px; }
.rn-q__who b { color: var(--ink-2); font-weight: 500; }
.rn-q__last { color: var(--ink-3); text-decoration: none; }
.rn-q__last:hover { color: var(--red-dk); text-decoration: underline; }
.rn-q--note .rn-q__n b { color: var(--red); }
.rn-sep { margin: 10px 0 0; padding: 8px 2px 4px; border-top: 1px solid var(--edge); color: var(--ink-3); font: 500 12.5px/1.3 var(--f); letter-spacing: .06em; text-transform: uppercase; list-style: none; }
.rn-pages { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 14px; border-top: 1px solid var(--edge); }
.rn-pg { display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 8px; border: 1px solid var(--edge); border-radius: 10px; background: var(--bg-2); color: var(--ink-2); text-decoration: none; font-weight: 500; }
.rn-pg.is-on { background: var(--hotfill); border-color: transparent; color: #fff; }
.rn-pg:hover:not(.is-on) { border-color: var(--edge-2); color: var(--red-dk); }
.rn-tagcloud { padding: 16px 18px; background: var(--enamel); border: 1px solid var(--edge); border-radius: var(--r); box-shadow: inset 0 1px 0 #fff, var(--shadow); }
.rn-tagcloud__list { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; }
.rn-chip--tag { font-size: 13.5px; padding: 5px 12px 5px 9px; }

/* ---------------------------------------------------------------- главная: термометр дома */
.rn-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.rn-thermo { padding: 20px 22px 18px; position: relative; overflow: hidden; }
.rn-thermo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--therm); }
.rn-thermo__head p { margin: 6px 0 0; color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.rn-thermo__frame { position: relative; margin: 10px -6px 0; }
.rn-rad { display: block; width: 100%; height: auto; overflow: visible; }
.rn-rad__floor { fill: #e9e8e5; }
.rn-rad__skirt { stroke: #cfcdc8; stroke-width: 2; }
.rn-rad__shadow { fill: rgba(90, 55, 25, .14); }
.rn-rad__pipe { stroke: #b0ada8; stroke-width: .9; }
.rn-rad__clamp { fill: #dcdad6; }
.rn-rad__valve rect, .rn-rad__valve circle { fill: #ffffff; stroke: #1b1918; stroke-width: 1.4; }
.rn-rad__valve path { stroke: #cd3822; stroke-width: 1.6; stroke-linecap: round; }
.rn-rad__mayevsky rect { fill: #ecebe8; stroke: #7d7874; stroke-width: 1.1; }
.rn-rad__mayevsky path { stroke: #7d7874; stroke-width: 1.6; stroke-linecap: round; fill: none; }
.rn-rad__plug { fill: #ecebe8; stroke: #7d7874; stroke-width: 1.1; }
.rn-sec { cursor: pointer; outline: none; }
.rn-sec__body { fill: var(--c); stroke: rgba(44, 39, 36, .32); stroke-width: 1.2; transition: fill .55s ease; transition-delay: calc(var(--i) * 65ms); }
.rn-sec__hub { fill: var(--c); stroke: rgba(44, 39, 36, .32); stroke-width: 1.1; transition: fill .55s ease; transition-delay: calc(var(--i) * 65ms); }
.rn-sec__rib { stroke: rgba(0, 0, 0, .13); stroke-width: 3.2; stroke-linecap: round; fill: none; }
.rn-sec__gloss { pointer-events: none; }
.rn-sec__no { fill: var(--ink-3); font: 500 13px var(--f); text-anchor: middle; }
.rn-sec__waves path { fill: none; stroke: var(--c-hot); stroke-width: 2.2; stroke-linecap: round; opacity: 0; transform-box: fill-box; }
.rn-sec.is-hot .rn-sec__waves path { animation: rn-rise 3.4s ease-in-out infinite; }
.rn-sec.is-hot .rn-sec__waves path:nth-child(2) { animation-delay: .9s; }
.rn-sec.is-hot .rn-sec__waves path:nth-child(3) { animation-delay: 1.8s; }
.rn-sec:hover .rn-sec__body, .rn-sec:focus-visible .rn-sec__body, .rn-sec.is-tip .rn-sec__body,
.rn-sec:hover .rn-sec__hub, .rn-sec:focus-visible .rn-sec__hub, .rn-sec.is-tip .rn-sec__hub { fill: var(--c-hot); transition-delay: 0s; transition-duration: .35s; }
.rn-sec:hover .rn-sec__waves path, .rn-sec:focus-visible .rn-sec__waves path, .rn-sec.is-tip .rn-sec__waves path { animation: rn-rise 1.5s ease-in-out infinite; }
.rn-sec:hover .rn-sec__waves path:nth-child(2), .rn-sec.is-tip .rn-sec__waves path:nth-child(2) { animation-delay: .35s; }
.rn-sec:hover .rn-sec__waves path:nth-child(3), .rn-sec.is-tip .rn-sec__waves path:nth-child(3) { animation-delay: .7s; }
.rn-sec:hover .rn-sec__no, .rn-sec.is-tip .rn-sec__no, .rn-sec:focus-visible .rn-sec__no { fill: var(--red-dk); font-weight: 700; }
.rn-sec:focus-visible .rn-sec__body { stroke: var(--ink); stroke-width: 2.4; }
/* батарея «прогревается» при загрузке: сначала все секции холодные */
.js .rn-thermo:not(.is-warm) .rn-sec__body, .js .rn-thermo:not(.is-warm) .rn-sec__hub { fill: #9dbbe3; }
.rn-tip {
	position: absolute; z-index: 5; left: 0; top: 0; width: max-content; max-width: 250px; padding: 9px 12px; transform: translate(-50%, calc(-100% - 10px));
	background: var(--ink); color: #fff; border-radius: 10px; font-size: 13.5px; line-height: 1.35; pointer-events: none; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45);
}
.rn-tip b { display: block; font-size: 14.5px; }
.rn-tip .rn-tip__deg { display: inline-block; margin-top: 4px; padding: 1px 7px; border-radius: 999px; background: var(--hotfill); font-weight: 700; }
.rn-tip em { display: block; margin-top: 4px; color: #e6e3df; font-style: normal; font-size: 12.5px; }
.rn-tip::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; background: var(--ink); transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.rn-scale { display: flex; align-items: center; gap: 10px; margin: 8px 2px 0; color: var(--ink-3); font-size: 12px; }
.rn-scale i { flex: 1; height: 8px; border-radius: 999px; background: var(--therm); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.rn-thermo__sum { margin: 10px 0 8px; color: var(--ink-2); font-size: 14px; }
.rn-leg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; margin: 0; padding: 10px 0 0; border-top: 1px solid var(--edge); list-style: none; }
.rn-leg a { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 4px 4px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: 13.5px; }
.rn-leg a:hover, .rn-leg a.is-tip { background: var(--bg-2); color: var(--red-dk); }
.rn-leg__no { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--enamel); box-shadow: inset 0 0 0 3px var(--c); color: var(--ink); font-size: 11.5px; }
.rn-leg__t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rn-leg__d { color: var(--ink-3); font-size: 12px; }

/* отопительный сезон */
.rn-season { padding: 16px 18px; }
.rn-season__state { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 9px; margin: 0 0 12px; font-size: 16px; }
.rn-season__state i { width: 12px; height: 12px; border-radius: 50%; background: var(--cold); box-shadow: 0 0 0 4px rgba(63, 120, 208, .16); }
.rn-season--on .rn-season__state i, .rn-season--start .rn-season__state i { background: var(--hot); box-shadow: 0 0 0 4px rgba(238, 125, 52, .2); animation: rn-pulse 2.4s ease-in-out infinite; }
.rn-season--end .rn-season__state i { background: var(--warm); }
.rn-season__state span { color: var(--ink-3); font-size: 13.5px; }
.rn-season__bar { position: relative; margin-top: 26px; height: 14px; border-radius: 999px; background: var(--bg-3); box-shadow: inset 0 1px 2px rgba(80, 50, 20, .15); }
.rn-season__on { position: absolute; left: 3.8%; right: 29%; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, #ecc46c, #ee7d34 18%, #cd3822 50%, #ee7d34 82%, #ecc46c); }
.rn-season__mark { position: absolute; left: var(--pos); top: -6px; bottom: -6px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--ink); }
.rn-season__mark::before { content: "сегодня"; position: absolute; left: 50%; top: -18px; transform: translateX(-50%); color: var(--ink); font-size: 11px; font-weight: 700; white-space: nowrap; }
.rn-season__months { display: grid; grid-template-columns: repeat(12, 1fr); margin: 6px 0 10px; color: var(--ink-3); font-size: 11px; text-align: center; }
.rn-season__p { margin: 0 0 8px; font-size: 14.5px; }
.rn-season__note { margin: 0; color: var(--ink-3); font-size: 12.5px; line-height: 1.45; }

/* памятка */
.rn-memo { padding: 16px 18px; }
.rn-memo__list { margin: 0; padding: 0; list-style: none; counter-reset: m; }
.rn-memo__list li { position: relative; padding: 0 0 10px 34px; font-size: 14px; line-height: 1.45; color: var(--ink-2); counter-increment: m; }
.rn-memo__list li::before { content: counter(m); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--enamel); box-shadow: inset 0 0 0 2px var(--edge-2); color: var(--red-dk); font-weight: 700; font-size: 12.5px; }
.rn-memo__list b { color: var(--ink); font-weight: 500; }
.rn-memo__more { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 4px 0 0; font-size: 14px; font-weight: 500; }
.rn-total { margin: 0; color: var(--ink-3); font-size: 13.5px; text-align: center; }

/* ---------------------------------------------------------------- раздел */
.rn-fhead { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 22px 24px; margin-bottom: 20px; }
.rn-fhead__sec { display: grid; place-items: center; height: 104px; }
.rn-fhead__body { position: relative; display: block; width: 46px; height: 100px; border-radius: 10px; border: 1.5px solid rgba(44, 39, 36, .35);
	background: linear-gradient(to top, var(--c) var(--fill), #ecebe8 var(--fill)); box-shadow: inset 6px 0 0 rgba(255, 255, 255, .45), inset -4px 0 0 rgba(0, 0, 0, .08); }
.rn-fhead__hub { position: absolute; left: -7px; right: -7px; top: 14px; height: 14px; border-radius: 5px; background: #ffffff; border: 1.5px solid rgba(44, 39, 36, .35); }
.rn-fhead__hub--b { top: auto; bottom: 14px; }
.rn-fhead__d { margin: 8px 0 6px; color: var(--ink-2); max-width: 780px; }
.rn-fhead__n { margin: 0; color: var(--ink-3); font-size: 14px; }
.rn-fhead__n b { color: var(--ink); }
.rn-fhead__heat { margin: 8px 0 0; color: var(--ink-3); font-size: 13.5px; }
.rn-fhead__deg { display: inline-block; margin-right: 6px; padding: 1px 9px; border-radius: 999px; background: var(--enamel); box-shadow: inset 0 0 0 2px var(--c); color: var(--ink); font-weight: 700; }
.rn-qa--forum { margin-bottom: 16px; }
.rn-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.rn-fchip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; border: 1px solid var(--edge); border-radius: 999px; background: var(--bg-2); color: var(--ink-2); font: 500 14px var(--f); cursor: pointer; }
.rn-fchip span { color: var(--ink-3); font-weight: 400; }
.rn-fchip.is-on { background: var(--hot); border-color: var(--hot); color: #fff; }
.rn-fchip.is-on span { color: #ffe1d6; }
.rn-sortline { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 4px 0 6px; color: var(--ink-3); font-size: 13.5px; }
.rn-subs { margin-bottom: 18px; }
.rn-subs__list { margin: 0; padding: 0; list-style: none; }
.rn-subcat { margin-bottom: 16px; }
.rn-subcat__t { margin: 0 0 8px; font: 700 18px var(--f); }
.rn-subrow { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px 16px; margin-bottom: 8px; background: var(--enamel); border: 1px solid var(--edge); border-radius: 12px; }
.rn-subrow__dot { width: 14px; height: 14px; margin-top: 4px; border-radius: 50%; background: var(--c); }
.rn-subrow__h { margin: 0; font-weight: 500; font-size: 17px; }
.rn-subrow__t { color: var(--ink); text-decoration: none; }
.rn-subrow__d { margin: 3px 0; color: var(--ink-2); font-size: 14px; }
.rn-subrow__last { margin: 0; color: var(--ink-3); font-size: 13px; }
.rn-subrow__lt span { margin-right: 6px; }
.rn-subrow__n { display: flex; flex-direction: column; align-items: flex-end; margin: 0; color: var(--ink-3); font-size: 13px; }
.rn-new { display: none; }

/* ---------------------------------------------------------------- тема: вопрос и ответы */
.rn-qcard { padding: 22px 26px 18px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; position: relative; }
.rn-qcard::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 6px; border-radius: var(--r) var(--r) 0 0; background: var(--ink); }
.rn-qcard.is-solved::before { background: var(--hot); }
.rn-qcard__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.rn-qcard__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.rn-qcard__h1 { font-size: 29px; max-width: 900px; }
.rn-qcard__meta { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 12px 0 12px; color: var(--ink-3); font-size: 13.5px; }
.rn-qcard__meta div { display: flex; gap: 6px; }
.rn-qcard__meta dt::after { content: ":"; }
.rn-qcard__meta dd { margin: 0; color: var(--ink-2); }
.rn-qcard__meta b { color: var(--ink); }
.rn-qstate { display: block; margin: 0; padding: 9px 13px; border-radius: 10px; background: var(--bg-2); color: var(--ink-2); font-size: 14.5px; box-shadow: inset 3px 0 0 var(--ink); }
.rn-qstate--ok { background: var(--hot-tint); color: var(--hot-dk); box-shadow: inset 3px 0 0 var(--hot); }
.rn-qstate a { color: inherit; font-weight: 700; }
.rn-qstate svg { display: inline-block; vertical-align: -2px; margin-right: 6px; }
.rn-answers { display: flex; flex-direction: column; gap: 14px; }
.rn-anchor { position: absolute; top: -80px; }
.rn-post { position: relative; padding: 16px 20px 12px; order: 3; }
.rn-post--q { order: 0; margin-top: 0; padding: 4px 26px 16px; border-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; }
.rn-post--q .rn-post__bar { padding-top: 14px; border-top: 1px dashed var(--edge-2); }
.rn-post--q .rn-post__body { font-size: 17px; }
.rn-post--best { order: 1; border: 2.5px solid var(--hot); box-shadow: 6px 6px 0 var(--hot-tint); }
.rn-anshead { order: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding: 0 4px; }
.rn-anshead .rn-h2 span { color: var(--ink-3); font-weight: 400; }
.rn-sort { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--edge); }
.rn-sort__b { min-height: 34px; padding: 5px 12px; border: 0; border-radius: 8px; background: none; color: var(--ink-2); font: 500 13.5px var(--f); cursor: pointer; }
.rn-sort__b.is-on { background: var(--enamel); color: var(--ink); box-shadow: 0 1px 3px rgba(80, 50, 20, .18); }
.rn-ribbon { display: inline-flex; align-items: center; gap: 7px; margin: -2px 0 10px; padding: 4px 12px 4px 10px; border-radius: 999px; background: var(--hotfill); color: #fff; font: 700 13px/1.3 var(--f); }
.rn-ribbon--mark { background: #fff; color: var(--hot-dk); box-shadow: inset 0 0 0 1.5px var(--hot); font-weight: 500; }
.rn-post--helped { box-shadow: inset 4px 0 0 var(--hot), var(--shadow); }
.rn-post__grid { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 16px; }
.rn-post--q .rn-post__grid { grid-template-columns: minmax(0, 1fr); }
.rn-vote { display: flex; flex-direction: column; align-items: center; gap: 2px; padding-top: 4px; color: var(--ink-3); font-size: 11px; }
.rn-vote__b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--edge-2); color: var(--ink-3); background: var(--enamel); text-decoration: none; }
a.rn-vote__b:hover { border-color: var(--hot); color: var(--red); }
.rn-vote b { color: var(--ink-2); font-size: 18px; line-height: 1.2; }
.rn-vote.has-votes .rn-vote__b { border-color: transparent; background: var(--hotfill); color: #fff; }
.rn-vote.has-votes b { color: var(--red-dk); }
.rn-post__main { min-width: 0; }
.rn-post__bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; margin-bottom: 10px; }
.rn-post__name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; }
.rn-post__nick a { color: var(--ink); font-weight: 700; text-decoration: none; }
.rn-post__nick a:hover { color: var(--red-dk); }
.rn-post__facts { display: flex; flex-wrap: wrap; gap: 2px 12px; margin: 2px 0 0; color: var(--ink-3); font-size: 12.5px; }
.rn-post__facts i { font-style: normal; color: var(--ink-3); text-decoration: underline dotted rgba(114, 104, 95, .5); text-underline-offset: 3px; }
.rn-post__date { color: var(--ink-3); font-size: 13px; text-decoration: none; white-space: nowrap; align-self: start; }
.rn-post__body { font-size: 16px; line-height: 1.62; overflow-wrap: anywhere; }
.rn-post__body p { margin: 0 0 .8em; }
.rn-post__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--edge); }
.postbit_buttons { display: flex; flex-wrap: wrap; gap: 4px; }
.postbit_buttons > a { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 10px; border-radius: 8px; color: var(--ink-3); font-size: 13px; text-decoration: none; }
.postbit_buttons > a:hover { background: var(--bg-2); color: var(--red-dk); }
.postbit_buttons > a span { background: none !important; padding: 0 !important; }
.post_meta { color: var(--ink-3); font-size: 12.5px; }
.post_meta:empty { display: none; }
.signature { margin-top: 12px; padding-top: 8px; border-top: 1px dashed var(--edge-2); color: var(--ink-3); font-size: 14px; }
.rn-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 16px 0; }
.rn-bar__r { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rn-guest { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0; padding: 14px 18px; border-radius: 12px; background: var(--enamel); border: 2px solid var(--ink); }
.rn-guest p { margin: 0; color: var(--ink-2); }
.rn-tfoot { margin: 14px 0; }
.rn-nextprev { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14.5px; }
.rn-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--ink-3); font-size: 13.5px; }
.rn-tools .thread_tools { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; padding: 0; list-style: none; }
.rn-tools .thread_tools li { background: none !important; padding: 0 !important; }

/* BB-коды в сообщениях */
.rn-post__body blockquote, .post_body blockquote { margin: .4em 0 .9em; padding: 10px 14px; border-radius: 10px; background: var(--bg-2); border-left: 3px solid var(--hot); color: var(--ink-2); font-size: 15px; }
.post_body blockquote cite { display: block; margin-bottom: 4px; color: var(--ink-3); font-style: normal; font-weight: 500; font-size: 13px; }
.post_body blockquote cite > span { display: none; }
.post_body .codeblock { margin: .4em 0 .9em; padding: 10px 12px; border-radius: 10px; background: #1b1918; color: #f2f1ef; overflow-x: auto; }
.post_body .codeblock .title { color: #cfcdc8; font-size: 12.5px; margin-bottom: 4px; }
.post_body code, .post_body pre { font: 13.5px/1.5 ui-monospace, Menlo, Consolas, monospace; }
.post_body ul, .post_body ol { margin: .3em 0 .8em; padding-left: 1.4em; }
.post_body img { border-radius: 8px; }
.post_body hr { border: 0; height: 1px; background: var(--edge-2); margin: 1em 0; }
.post_body .mycode_s { text-decoration-color: var(--red); }
.post_body iframe, .post_body video { max-width: 100%; }

/* ---------------------------------------------------------------- профиль: карточка жильца */
.rn-rcard { display: grid; grid-template-columns: auto minmax(0, 1fr) 210px; gap: 26px; align-items: center; padding: 24px 26px; margin-bottom: 20px; position: relative; overflow: hidden; }
.rn-rcard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--hot); }
.rn-rcard__photo { margin: 0; }
.rn-rcard__name { font-size: 32px; }
.rn-rcard__rank { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 8px 0 12px; }
.rn-rcard__dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 20px; margin: 0 0 12px; font-size: 14.5px; }
.rn-rcard__dl div { display: flex; flex-direction: column; }
.rn-rcard__dl dt { color: var(--ink-3); font-size: 12.5px; }
.rn-rcard__dl dd { margin: 0; color: var(--ink); }
.rn-rcard__links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; font-size: 14px; }
.rn-rcard__nums { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rn-rcard__nums li { display: flex; align-items: baseline; gap: 8px; padding: 10px 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--edge); color: var(--ink-3); font-size: 13px; }
.rn-rcard__nums b { color: var(--ink); font-size: 24px; line-height: 1; }
.rn-rcard__nums li.is-warm { background: var(--hot); border-color: transparent; color: rgba(255, 255, 255, .92); }
.rn-rcard__nums li.is-warm b { color: #fff; }
.rn-resident__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.rn-plist { padding: 18px 20px; }
.rn-plist .rn-h2 { margin-bottom: 6px; }
.rn-ladder { padding: 18px 20px; }
.rn-ladder__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column-reverse; }
.rn-ladder__list li { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); padding: 8px 0 8px 18px; color: var(--ink-3); font-size: 13px; }
.rn-ladder__list li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--bg-3); }
.rn-ladder__list li:first-child::before { border-radius: 0 0 6px 6px; }
.rn-ladder__list li:last-child::before { border-radius: 6px 6px 0 0; }
.rn-ladder__list li.is-past::before, .rn-ladder__list li.is-now::before { background: var(--c); }
.rn-ladder__list li.is-now { color: var(--ink); }
.rn-ladder__list li.is-now::after { content: ""; position: absolute; left: -5px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--edge-2); }
.rn-ladder__deg { grid-row: 1 / 3; font-weight: 700; color: var(--ink-2); }
.rn-ladder__t { font-size: 14.5px; font-weight: 500; color: inherit; }
.rn-ladder__list li:not(.is-now):not(.is-past) .rn-ladder__t { color: var(--ink-3); }
.rn-ladder__n { font-size: 12px; }
.rn-ladder__p { margin: 12px 0 0; color: var(--ink-3); font-size: 13px; }
.rn-resident__extra:not(:empty) { margin-top: 18px; }

/* ---------------------------------------------------------------- сообщения и переходы */
.rn-msg { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start; max-width: 760px; margin: 30px auto; padding: 26px; }
.rn-msg--go { margin-top: 12vh; }
.rn-msg__t { font-size: 24px; margin-bottom: 8px; }
.rn-msg__body { color: var(--ink-2); }
.rn-msg__foot { margin: 14px 0 0; }

/* ---------------------------------------------------------------- стандартные элементы MyBB */
.tborder { width: 100%; margin: 0 0 18px; border-collapse: separate; border-spacing: 0; border-radius: 12px; overflow: hidden; background: var(--enamel); color: var(--ink); border: 1px solid var(--edge); box-shadow: var(--shadow); }
.thead { padding: 12px 16px; background: var(--enamel); color: var(--ink); border-bottom: 3px solid var(--hot); font: 700 16.5px/1.25 var(--f); text-align: left; }
.thead a, .thead strong { color: var(--ink) !important; }
.thead .expcolimage { float: right; }
.tcat { padding: 8px 16px; background: var(--bg-2); color: var(--ink-2); font: 500 12.5px/1.3 var(--f); letter-spacing: .06em; text-transform: uppercase; }
.tcat a { color: var(--ink-2); }
.trow1, .trow2, .trow_shaded { padding: 11px 16px; border-bottom: 1px solid var(--edge); vertical-align: top; font-size: 15px; }
.trow1 { background: var(--enamel); } .trow2 { background: #f8f8f6; }
.trow_shaded { background: #fdeee8; }
.trow_selected td, .trow_selected { background: #fbe2d8 !important; }
.tfoot { padding: 10px 16px; background: var(--bg-2); color: var(--ink-2); }
.tborder td, .tborder th { text-align: left; }
.smalltext { font-size: 13.5px; color: var(--ink-3); }
.largetext { font: 700 18px var(--f); }
.float_left { float: left; } .float_right { float: right; }
.clear { clear: both; }
input.textbox, textarea, select, input[type="text"], input[type="password"], input[type="email"], input[type="search"], input[type="number"], input[type="url"] {
	max-width: 100%; padding: 9px 11px; border: 1.5px solid var(--edge-2); border-radius: 9px; background: #fff; color: var(--ink); font: 16px/1.35 var(--f);
}
textarea { line-height: 1.5; }
input.textbox:focus, textarea:focus, select:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="search"]:focus { border-color: var(--hot); outline: 3px solid rgba(238, 125, 52, .2); outline-offset: 0; }
.button, input.button, button.button, a.button, input[type="submit"], input[type="button"], button[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border: 0; border-radius: 11px;
	background: var(--hot); color: #fff !important; font: 700 15px/1.1 var(--f); text-decoration: none; cursor: pointer;
}
.button:hover, input.button:hover, input[type="submit"]:hover, button[type="submit"]:hover { background: var(--ink); color: #fff !important; }
.button span { background: none !important; padding: 0 !important; }
.new_thread_button, .new_reply_button { min-height: 46px; padding: 11px 20px; font-size: 15.5px; }
.closed_button { background: #b8b5b0; box-shadow: none; }
.pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; font-size: 14px; color: var(--ink-3); }
.pagination .pages { margin-right: 4px; }
.pagination a, .pagination .pagination_current, .pagination .pagination_next, .pagination .pagination_previous {
	display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 9px; border-radius: 10px; border: 1px solid var(--edge); background: var(--bg-2); color: var(--ink-2) !important; text-decoration: none; font-weight: 500;
}
.pagination a:hover { border-color: var(--edge-2); }
.pagination .pagination_current { background: var(--hotfill); border-color: transparent; color: #fff !important; }
.popup_menu { z-index: 50; min-width: 180px; padding: 6px 0; border: 1px solid var(--edge); border-radius: 10px; background: var(--enamel); box-shadow: 0 12px 28px rgba(60, 35, 15, .25); }
.popup_menu .popup_item { display: block; padding: 8px 14px; color: var(--ink) !important; text-decoration: none; font-size: 14.5px; }
.popup_menu .popup_item:hover { background: var(--bg-2); }
.popup_menu .popup_item_container { margin: 0; }
.blocker { z-index: 9999 !important; background: rgba(44, 32, 22, .45) !important; }
.modal { max-width: 560px; padding: 0 !important; border-radius: 14px !important; background: var(--enamel) !important; color: var(--ink); box-shadow: 0 24px 60px rgba(40, 25, 10, .4) !important; overflow: hidden; }
.modal .tborder { margin: 0; box-shadow: none; border-radius: 0; border: 0; }
.modal a.close-modal { top: 10px !important; right: 10px !important; width: 30px !important; height: 30px !important; }
.error, div.error { margin: 0 0 16px; padding: 12px 16px; border: 1.5px solid #f0b7a8; border-radius: 10px; background: #fdeee8; color: #842210; }
.error ul { margin: 6px 0 0; padding-left: 1.2em; }
.red_alert, .pm_alert { margin: 0 0 14px; padding: 11px 15px; border-radius: 10px; border: 1.5px solid #f6c4b1; background: #fdeee8; color: var(--ink); }
.rn-main > table:not(.tborder) td { vertical-align: top; }
.usercp_nav .usercp_nav_item, .modcp_nav_item { display: block; padding: 6px 0 6px 26px; background-position: 0 50%; }
.sceditor-container { max-width: 100%; border-radius: 10px !important; }
.sceditor-container iframe, .sceditor-container textarea { font-size: 16px !important; }
fieldset { border: 1px solid var(--edge); border-radius: 10px; padding: 10px 14px; }
legend { font-weight: 700; padding: 0 6px; }
.rn-modtools .tborder, .rn-tools__mod form { margin-top: 10px; }
#posts_container { position: relative; }
.post.unapproved_post, .post.deleted_post { opacity: .75; }
.ignored_post, .deleted_post_hidden { order: 3; margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--bg-2); color: var(--ink-3); }
.scaleimages img { max-width: 100%; }
.post_content { padding: 0; }
#quick_reply_form .tborder { margin-top: 10px; }
.rn-page--redirect .rn-msg { margin-top: 14vh; }

/* ---------------------------------------------------------------- анимации */
@keyframes rn-rise { 0% { transform: translateY(8px); opacity: 0; } 35% { opacity: .85; } 100% { transform: translateY(-10px); opacity: 0; } }
@keyframes rn-pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(238, 125, 52, .22); } 50% { box-shadow: 0 0 0 6px rgba(238, 125, 52, .06); } }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .rn-thermo:not(.is-warm) .rn-sec__body, .js .rn-thermo:not(.is-warm) .rn-sec__hub { fill: var(--c); }
	.rn-sec:hover .rn-sec__waves path, .rn-sec.is-tip .rn-sec__waves path { opacity: .8; }
}

/* ---------------------------------------------------------------- адаптивность */
@media (max-width: 1180px) {
	.rn-top { grid-template-columns: minmax(0, 1fr) minmax(0, 470px); }
	.rn-home { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 960px) {
	.rn-top { display: flex; flex-direction: column; gap: 18px; }
	.rn-top__l { display: contents; }
	.rn-ask { order: 1; }
	.rn-thermo { order: 2; }
	.rn-season { order: 3; }
	.rn-home { grid-template-columns: minmax(0, 1fr); }
	.rn-leg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rn-resident__grid { grid-template-columns: minmax(0, 1fr); }
	.rn-rcard { grid-template-columns: auto minmax(0, 1fr); }
	.rn-rcard__nums { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
	.rn-rcard__nums li { flex: 1 1 150px; }
}
@media (max-width: 760px) {
	html { scroll-padding-top: 100px; }
	.rn-strip__in { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 8px 16px; min-height: 0; }
	.rn-strip__crumbs { grid-column: 1 / -1; grid-row: 2; }
	.rn-page--index .rn-strip__crumbs { display: none; }
	.rn-crumbs { font-size: 13px; }
	.rn-logo__sub { display: none; }
	.rn-logo__mark { width: 30px; height: 30px; }
	.rn-logo__name { font-size: 17px; }
	.rn-pill { padding: 5px 10px 5px 8px; font-size: 12px; }
	.rn-main { padding: 16px 16px 8px; }
	.rn-foot { padding: 0 16px; }
	.rn-h1 { font-size: 25px; }
	.rn-ask { padding: 18px 16px 16px 20px; }
	.rn-ask__sub { font-size: 14.5px; }
	.rn-ask .rn-h1 { font-size: 25px; }
	.rn-ask__l { font-size: 19px; }
	.rn-ask__row { grid-template-columns: minmax(0, 1fr) auto; }
	.rn-ask__q { grid-column: 1 / -1; }
	.rn-ask__f { min-height: 48px; }
	.rn-ask__go { min-height: 48px !important; }
	.rn-qa { padding: 14px 14px 16px; }
	.rn-qa__head { flex-direction: column; align-items: stretch; }
	.rn-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rn-tab { justify-content: center; padding: 8px 4px; font-size: 13.5px; gap: 5px; white-space: nowrap; }
	.rn-tab:not(.is-on) span { display: none; }
	.rn-q { grid-template-columns: 58px minmax(0, 1fr); gap: 12px; padding: 14px 0; }
	.rn-q__n b { font-size: 17px; }
	.rn-q__n { font-size: 10.5px; padding: 5px 2px; }
	.rn-q__v, .rn-q__ok { font-size: 10.5px; }
	.rn-q__h { font-size: 16.5px; }
	.rn-q__x { font-size: 14px; }
	.rn-q__foot { gap: 6px 10px; font-size: 12.5px; }
	.rn-thermo { padding: 14px 12px 14px; }
	.rn-leg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rn-fhead { grid-template-columns: 54px minmax(0, 1fr); gap: 14px; padding: 16px; }
	.rn-fhead__sec { height: 80px; }
	.rn-fhead__body { width: 36px; height: 76px; }
	.rn-fhead__hub { top: 10px; height: 11px; left: -6px; right: -6px; }
	.rn-fhead__hub--b { top: auto; bottom: 10px; }
	.rn-fhead__act { grid-column: 1 / -1; }
	.rn-fhead__act .button { width: 100%; }
	.rn-qcard { padding: 18px 16px 14px; }
	.rn-qcard__h1 { font-size: 23px; }
	.rn-qcard__meta { gap: 4px 16px; }
	.rn-qcard__act { display: none; }
	.rn-post { padding: 14px 14px 10px; }
	.rn-post--q { padding: 2px 16px 14px; }
	.rn-post__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.rn-vote { order: 2; flex-direction: row; justify-content: flex-start; gap: 8px; padding: 8px 0 0; font-size: 12.5px; }
	.rn-vote b { font-size: 16px; }
	.rn-vote__b { width: 34px; height: 34px; }
	.rn-post__foot { margin-top: 6px; }
	.rn-post__bar { grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
	.rn-post__date { grid-column: 1 / -1; grid-row: 2; }
	.rn-post__body { font-size: 15.5px; }
	.rn-post--q .rn-post__body { font-size: 16px; }
	.rn-face--m { width: 36px; height: 36px; }
	.rn-sheet__body--secs { grid-template-columns: minmax(0, 1fr); }
	.rn-rcard { grid-template-columns: minmax(0, 1fr); padding: 20px 16px; text-align: left; }
	.rn-rcard__photo .rn-face--xl { width: 112px; height: 112px; }
	.rn-rcard__name { font-size: 26px; }
	.rn-msg { grid-template-columns: minmax(0, 1fr); padding: 20px; }
	.rn-site { padding-left: 18px; }
	.rn-railbtn { position: fixed; z-index: 58; left: 0; top: 0; bottom: 0; display: block; width: 18px; padding: 0; border: 0; background: var(--hot); cursor: pointer; }
	.rn-railbtn::before { content: ""; position: absolute; left: 6px; top: 0; bottom: 0; width: 6px; background: #fff; opacity: .9; }
	.rn-railbtn__tab { position: absolute; left: 6px; top: 50%; display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 26px; height: 58px; margin-top: -29px; padding: 0 7px; border-radius: 0 12px 12px 0; background: var(--hot); box-shadow: 2px 2px 0 var(--ink); }
	.rn-railbtn__tab i { display: block; height: 2.5px; border-radius: 2px; background: #fff; }
	.rn-rail { width: min(270px, 82vw); align-items: stretch; padding: 14px 10px 16px 0; transform: translateX(-102%); transition: transform .24s; box-shadow: 6px 0 0 var(--ink); }
	.rn-rail.is-open { transform: none; }
	.rn-rail__pipe { left: 40px; }
	.rn-rail__cap { align-self: flex-start; margin-left: 14px; }
	.rn-rail__cap--b { margin-top: auto; }
	.rn-valve { flex-direction: row; gap: 18px; padding: 9px 4px 9px 14px; }
	.rn-valve__l { max-width: none; font-size: 15px; padding: 3px 9px; }
	.rn-valve--me { margin-top: 6px; }
	.rn-sheet, .rn-sheet--narrow { left: 26px; top: 64px; width: calc(100vw - 40px); max-height: calc(100vh - 84px); box-shadow: 5px 5px 0 var(--hot); }
	.tborder { display: block; overflow-x: auto; }
	.rn-main table { max-width: 100%; }
}
@media (max-width: 400px) {
	.rn-pill { max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
	.rn-ask__row { grid-template-columns: minmax(0, 1fr); }
	.rn-ask__go { width: 100%; }
	.rn-season__months span:nth-child(even) { visibility: hidden; }
	.rn-season__months { font-size: 11px; }
}

/* ---------------------------------------------------------------- ссылки в сообщениях: свой стиль форума — «тепловая волна»
   Тонкая линия 1,5px от синего к красному под ссылкой (градиент на всю ширину ссылки), без подчёркивания и значка.
   При наведении по линии бежит тепловая волна (сдвиг градиента), текст теплеет. */
:is(.post_body, .signature, [class*="-post__body"], [class*="-post__sign"]) a.mycode_url {
	color: var(--ink); font-weight: 500; text-decoration: none;
	background-image: linear-gradient(90deg, #3f78d0 0%, #84abdc 15%, #ecc46c 27%, #ee7d34 39%, #cd3822 50%, #ee7d34 61%, #ecc46c 73%, #84abdc 85%, #3f78d0 100%);
	background-size: 200% 1.5px; background-position: 0% 100%; background-repeat: repeat-x;
	padding-bottom: 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone;
	transition: color .2s;
}
:is(.post_body, .signature, [class*="-post__body"], [class*="-post__sign"]) a.mycode_url:hover {
	color: #b0361b; animation: rn-heatwave 1.1s linear infinite;
}
:is(.post_body, .signature, [class*="-post__body"], [class*="-post__sign"]) a.mycode_url::after { content: none; }
@keyframes rn-heatwave { from { background-position: 0% 100%; } to { background-position: 200% 100%; } }
