/* «Лёгкие автомобили» — классическая форумная тема «Бланк»: защищённая бумага с гильошем, микротекст,
   серийные номера, личные гильош-розетки участников и голограмма доверия. Префикс lg-. */

@font-face { font-family: "Tenor Sans"; font-weight: 400; font-display: swap; src: url(fonts/tenor-sans-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Tenor Sans"; font-weight: 400; font-display: swap; src: url(fonts/tenor-sans-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212, U+00D7; }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url(fonts/source-sans-3-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url(fonts/source-sans-3-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212, U+00D7; }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/source-sans-3-cyrillic-400-italic.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/source-sans-3-latin-400-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212, U+00D7; }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url(fonts/source-sans-3-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url(fonts/source-sans-3-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212, U+00D7; }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-display: swap; src: url(fonts/source-sans-3-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-display: swap; src: url(fonts/source-sans-3-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212, U+00D7; }
@font-face { font-family: "Ubuntu Mono"; font-weight: 400; font-display: swap; src: url(fonts/ubuntu-mono-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Ubuntu Mono"; font-weight: 400; font-display: swap; src: url(fonts/ubuntu-mono-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212, U+00D7; }
@font-face { font-family: "Ubuntu Mono"; font-weight: 700; font-display: swap; src: url(fonts/ubuntu-mono-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Ubuntu Mono"; font-weight: 700; font-display: swap; src: url(fonts/ubuntu-mono-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212, U+00D7; }

:root {
	--desk: #dfe6dc;
	--paper: #f6f8f2;
	--paper-2: #eef3ea;
	--paper-3: #e3ecdf;
	--line: #cfdccf;
	--line-2: #a9bfae;
	--rule: #8fae9a;
	--green: #1f4a3d;
	--green-2: #2f6b55;
	--green-lt: #dcebe2;
	--rose: #a24a74;
	--rose-lt: #f3e3ec;
	--red: #b3263a;
	--ink: #1d2b26;
	--ink-2: #44554e;
	--muted: #6b7c74;
	--link: #1b5e7a;
	--link-h: #a24a74;
	--f-head: "Tenor Sans", "Trebuchet MS", Georgia, serif;
	--f-text: "Source Sans 3", "Segoe UI", Arial, sans-serif;
	--f-mono: "Ubuntu Mono", "SFMono-Regular", Menlo, Consolas, monospace;
	--holo: linear-gradient(120deg, #e8d7f0 0%, #cfe9f2 22%, #def3d8 42%, #f6edc9 62%, #f3d3e2 82%, #e8d7f0 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	color: var(--ink);
	font: 400 16px/1.55 var(--f-text);
	background: var(--desk) url(paper.svg) 0 0 / 120px 120px;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-h); text-decoration: underline; text-underline-offset: 2px; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 400; }
p { margin: 0; }
b, strong { font-weight: 600; }
table { border-collapse: collapse; }
script, template { display: none !important; }
.lg-sr, .sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lg-skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: #fff; padding: 8px 14px; }
.lg-skip:focus { top: 12px; }
.float_left { float: none; }

/* ---------- лист: центрированный бланк с двойной рамкой */
.lg-shell {
	position: relative; max-width: 1180px; margin: 22px auto 28px; background: var(--paper);
	border: 1px solid var(--rule); outline: 1px solid var(--rule); outline-offset: 4px;
	box-shadow: 0 1px 0 #fff inset, 0 22px 44px -26px rgba(20, 50, 40, .55);
}
.lg-main { padding: 18px 22px 26px; background: url(paper.svg) 0 0 / 120px 120px; }

/* микротекст по верхнему краю, как на защищённой бумаге */
.lg-micro { overflow: hidden; margin: 0; padding: 3px 0; white-space: nowrap; font: 700 8.5px/1 var(--f-mono); letter-spacing: .18em; color: var(--green-2); background: var(--paper-3); border-bottom: 1px solid var(--line-2); }
.lg-micro span { display: inline-block; animation: lg-micro 70s linear infinite; }
@keyframes lg-micro { to { transform: translateX(-50%); } }

/* ---------- шапка: полоса гильоша и розетка-эмблема */
.lg-mast { position: relative; background: var(--paper-2) url(guilloche-band.svg) center / 480px 140px repeat-x; border-bottom: 1px solid var(--rule); }
.lg-mast::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; border-bottom: 1px solid var(--line-2); }
.lg-mast__in { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px 26px; }
.lg-logo { display: flex; align-items: center; gap: 16px; color: var(--green); }
.lg-logo:hover { color: var(--green); text-decoration: none; }
.lg-logo__ros { position: relative; display: grid; place-items: center; flex: none; width: 76px; height: 76px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 1px var(--line-2); }
.lg-logo__ros img { position: absolute; inset: 0; width: 100%; height: 100%; animation: lg-turn 120s linear infinite; }
.lg-logo__ros b { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font: 400 22px/1 var(--f-head); color: var(--red); background: var(--paper); box-shadow: 0 0 0 1px var(--rose); }
@keyframes lg-turn { to { transform: rotate(360deg); } }
.lg-logo__text { padding: 6px 14px 6px 0; background: linear-gradient(90deg, rgba(246, 248, 242, .94) 70%, rgba(246, 248, 242, 0)); }
.lg-logo__text b { display: block; font: 400 40px/1 var(--f-head); letter-spacing: .06em; text-transform: uppercase; }
.lg-logo__text small { display: block; margin-top: 6px; font: 600 13px var(--f-text); letter-spacing: .08em; text-transform: uppercase; color: var(--rose); }
.lg-mast__side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex: 0 1 360px; }
.lg-mast__no { padding: 2px 10px; font: 700 15px var(--f-mono); letter-spacing: .08em; color: var(--red); background: rgba(246, 248, 242, .92); border: 1px solid #e3b7c0; }
.lg-mast__no span { letter-spacing: .14em; }
.lg-search { display: flex; width: 100%; }
.lg-search input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid var(--rule); border-right: 0; background: #fff; color: var(--ink); font: 15px var(--f-text); }
.lg-search input:focus { outline: none; border-color: var(--green); }
.lg-search__go { width: 44px; height: 40px; border: 0; background: var(--green); cursor: pointer; }
.lg-search__go svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.2; }

/* ---------- полоса меню */
.lg-navbar { background: var(--green); border-bottom: 4px double var(--paper-3); }
.lg-navbar__in { display: flex; flex-wrap: wrap; align-items: center; padding: 0 12px; }
.lg-navbar a { display: inline-block; padding: 11px 13px; color: #e9f2ec; font: 400 14px var(--f-head); letter-spacing: .07em; text-transform: uppercase; }
.lg-navbar a:hover { color: #fff; background: rgba(255, 255, 255, .08); text-decoration: none; box-shadow: inset 0 -3px 0 var(--rose-lt); }
.lg-navbar__act { margin-left: auto; display: flex; align-items: center; padding: 5px 0; }
.lg-navbar__act .lg-btn { min-height: 32px; padding: 5px 16px; }
.lg-navbar .lg-user { display: flex; align-items: center; gap: 4px; color: #fff; }
.lg-user__pm { color: #e9f2ec !important; }
.lg-user__pm b { display: inline-block; min-width: 20px; margin-left: 4px; padding: 0 6px; border-radius: 9px; background: rgba(0, 0, 0, .25); text-align: center; font-family: var(--f-mono); }
.lg-user__pm b:not([data-n="0"]) { background: var(--red); }
.lg-user__menu { position: relative; }
.lg-user__menu summary { list-style: none; cursor: pointer; padding: 6px 12px; font: 600 14px var(--f-text); color: var(--green); background: var(--paper); border: 1px solid var(--line-2); }
.lg-user__menu summary::-webkit-details-marker { display: none; }
.lg-user__drop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 230px; margin: 0; padding: 6px; list-style: none; background: var(--paper); border: 1px solid var(--rule); box-shadow: 0 14px 28px -12px rgba(20, 50, 40, .45); }
.lg-user__drop a { display: block; padding: 7px 10px; color: var(--ink) !important; font: 400 15px var(--f-text) !important; text-transform: none !important; letter-spacing: 0 !important; }
.lg-user__drop a:hover { background: var(--green-lt) !important; text-decoration: none; box-shadow: none !important; }

/* ---------- кнопки */
.lg-btn, .button, input.button, input[type="submit"], input[type="button"], button[type="submit"]:not(.lg-search__go) {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-height: 38px; padding: 7px 18px; border: 1px solid var(--green); cursor: pointer;
	font: 400 14px/1.1 var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: #fff;
	background: var(--green); box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--green);
}
.lg-btn:hover, .button:hover, input[type="submit"]:hover, button[type="submit"]:not(.lg-search__go):hover { background: var(--green-2); color: #fff; text-decoration: none; }
.lg-btn--quiet { background: var(--paper); color: var(--green); }
.lg-btn--quiet:hover { background: var(--green-lt); color: var(--green); }

/* ---------- путь */
.lg-path { margin: 0 0 14px; padding: 6px 0; border-bottom: 1px dashed var(--line-2); font-size: 14px; }
.lg-path ol { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.lg-path li:not(:last-child)::after { content: "/"; margin: 0 9px; color: var(--rule); }
.lg-page--index .lg-path { display: none; }

/* ---------- вводная полоса главной */
.lg-lead { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 26px; align-items: center; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line-2); }
.lg-lead__t { font: 400 30px/1.12 var(--f-head); letter-spacing: .02em; color: var(--green); }
.lg-lead p { margin-top: 6px; max-width: 70ch; color: var(--ink-2); }
.lg-lead__go { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.lg-lead__go a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 14px 6px 8px; font-weight: 600; color: var(--green); background: #fff; border: 1px solid var(--line-2); }
.lg-lead__go a:hover { border-color: var(--rose); color: var(--rose); text-decoration: none; }
.lg-lead__go span { font: 700 13px var(--f-mono); color: var(--red); padding: 2px 5px; border: 1px solid #e3b7c0; }

/* ---------- блок-бланк: рамка, шапка с кодом формы */
.lg-doc { position: relative; background: #fff; border: 1px solid var(--rule); box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--line-2); }
.lg-doc__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; padding: 10px 16px; background: var(--paper-2) url(guilloche-band.svg) center / 480px 140px; border-bottom: 1px solid var(--rule); }
.lg-doc__head h2 { padding: 0 6px; font: 400 20px var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--green); background: rgba(255, 255, 255, .85); }
.lg-doc__code { padding: 0 6px; font: 700 13px var(--f-mono); letter-spacing: .06em; color: var(--muted); background: rgba(255, 255, 255, .85); }
.lg-doc__code span { color: var(--red); }
.lg-doc__note { padding: 10px 16px 14px; font-size: 13.5px; color: var(--muted); }

.lg-duo { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 22px; align-items: start; margin-bottom: 26px; }

/* ---------- Расшифровка VIN */
.lg-vin__body { padding: 14px 16px 0; }
.lg-vin__lab { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.lg-vin__field { position: relative; }
#lg-vin-in { position: absolute; inset: 0; width: 100%; height: 54px; opacity: 0; cursor: text; z-index: 2; font-size: 16px; }
.lg-vin__cells { display: grid; grid-template-columns: repeat(17, minmax(0, 1fr)); gap: 3px; margin: 0; padding: 0; list-style: none; }
.lg-vin__cells li { position: relative; display: grid; place-items: center; height: 54px; font: 700 24px var(--f-mono); color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-bottom-width: 3px; }
.lg-vin__cells li::after { content: attr(data-n); position: absolute; left: 3px; top: 1px; font: 400 9px var(--f-mono); color: var(--muted); }
.lg-vin__cells li.w { border-bottom-color: var(--green-2); background: #f1f8f3; }
.lg-vin__cells li.d { border-bottom-color: var(--rose); background: #fbf3f7; }
.lg-vin__cells li.v { border-bottom-color: var(--link); background: #f1f6fa; }
.lg-vin__cells li.is-chk { color: var(--red); }
.lg-vin__cells li.is-bad { color: #fff; background: var(--red); }
.lg-vin__cells li.is-caret { box-shadow: inset 0 0 0 2px var(--rose); }
.lg-vin__field:focus-within .lg-vin__cells li.is-caret::before { content: ""; position: absolute; bottom: 8px; width: 12px; height: 2px; background: var(--rose); animation: lg-blink 1s steps(2) infinite; }
@keyframes lg-blink { 50% { opacity: 0; } }
.lg-vin__field:focus-within .lg-vin__cells { outline: 2px solid var(--rose); outline-offset: 3px; }
.lg-vin__parts { display: grid; grid-template-columns: 3fr 6fr 8fr; gap: 3px; margin-top: 4px; font: 700 11px var(--f-mono); letter-spacing: .04em; text-transform: uppercase; }
.lg-vin__parts span { padding: 3px 5px; border-top: 2px solid; }
.lg-vin__parts .p-wmi { color: var(--green-2); }
.lg-vin__parts .p-vds { color: var(--rose); }
.lg-vin__parts .p-vis { color: var(--link); }
.lg-vin__ex { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.lg-vin__ex button { padding: 4px 10px; font: 600 13px var(--f-text); color: var(--green); background: var(--paper); border: 1px dashed var(--rule); cursor: pointer; }
.lg-vin__ex button:hover, .lg-vin__ex button.is-on { color: #fff; background: var(--green); border-style: solid; }
.lg-vin__out { width: 100%; margin-top: 14px; font-size: 15px; }
.lg-vin__out th { width: 42%; padding: 7px 10px 7px 0; text-align: left; font-weight: 400; color: var(--muted); border-bottom: 1px solid var(--line); }
.lg-vin__out th i, .lg-card__facts th i { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; font: 700 12px var(--f-mono); font-style: normal; color: var(--green); border: 1px solid var(--line-2); }
.lg-vin__out td { padding: 7px 0; font-weight: 600; border-bottom: 1px solid var(--line); }
.lg-vin__out td small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.lg-vin__out td a { font-weight: 600; }
.lg-vin__verdict { margin-top: 12px; padding: 10px 12px; font-size: 14.5px; background: var(--paper-2); border-left: 3px solid var(--green-2); }
.lg-vin__verdict:empty { display: none; }
.lg-vin__verdict.is-warn { background: #fbf0f2; border-left-color: var(--red); }

/* ---------- Сейчас обсуждают */
.lg-latest { margin: 0; padding: 4px 0 6px; list-style: none; counter-reset: lt; }
.lg-latest li { position: relative; padding: 9px 16px 9px 46px; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.4; counter-increment: lt; }
.lg-latest li::before { content: counter(lt, decimal-leading-zero); position: absolute; left: 16px; top: 10px; font: 700 13px var(--f-mono); color: var(--red); }
.lg-latest li:last-child { border: 0; }
.lg-latest__t { display: block; font-weight: 600; color: var(--ink); }
.lg-latest__m { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }

/* ---------- таблицы разделов: реестр */
.lg-cat { width: 100%; margin-bottom: 24px; background: #fff; border: 1px solid var(--rule); }
.lg-cat__cap { caption-side: top; padding: 0 0 8px; text-align: left; }
.lg-cat__cap a { display: inline-flex; align-items: center; gap: 12px; font: 400 23px var(--f-head); letter-spacing: .05em; text-transform: uppercase; color: var(--green); }
.lg-cat__cap a::before { content: ""; width: 26px; height: 26px; flex: none; background: url(rosette.svg) center / contain; }
.lg-cat__cap a:hover { color: var(--rose); text-decoration: none; }
.lg-cat thead th { padding: 6px 12px; font: 700 12px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--green-2); text-align: left; background: var(--paper-2); border-bottom: 2px solid var(--green); }
.lg-cat thead th.num { text-align: center; }
.lg-frow td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.lg-frow:last-child td { border-bottom: 0; }
.lg-frow:hover td { background: #fafcf8; }
.lg-frow__ico { width: 62px; }
.lg-frow__state { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 1px var(--line-2), 0 0 0 4px var(--paper), 0 0 0 5px var(--line); }
.lg-frow__state.forum_on { background: var(--rose-lt); box-shadow: 0 0 0 1px var(--rose), 0 0 0 4px var(--paper), 0 0 0 5px #e3b7c0; }
.lg-ico { width: 24px; height: 24px; fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.forum_on .lg-ico { stroke: var(--rose); }
.lg-frow__name { display: block; font-weight: 700; font-size: 17px; color: var(--green); }
.lg-frow__desc { display: block; margin-top: 2px; font-size: 14px; color: var(--ink-2); }
.lg-cat .num, .lg-frow .num { width: 92px; text-align: center; font: 700 15px var(--f-mono); color: var(--ink-2); }
.lg-frow__last, .lg-cat__lastk { width: 270px; }
.lg-frow__last { font-size: 13.5px; line-height: 1.4; border-left: 1px dashed var(--line) !important; }
.lg-frow__lt { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; }
.lg-frow__lm { display: block; color: var(--muted); }
.lg-frow__lm a { color: var(--ink-2); }

/* ---------- шапки разделов и тем */
.lg-screen { display: flex; flex-direction: column; gap: 14px; }
.lg-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 2px 16px; padding: 16px 18px; background: linear-gradient(90deg, #fff 52%, rgba(255, 255, 255, .55) 78%, rgba(255, 255, 255, .2)), url(guilloche-band.svg) right center / 480px 140px no-repeat #fff; border: 1px solid var(--rule); box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--line-2); }
.lg-head__ico { grid-row: span 3; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 1px var(--line-2), 0 0 0 5px var(--paper), 0 0 0 6px var(--line); }
.lg-head__ico .lg-ico { width: 28px; height: 28px; }
.lg-pagehead { grid-column: 2; font: 400 30px/1.12 var(--f-head); letter-spacing: .02em; color: var(--green); }
.lg-pagehead--thread { font-size: 27px; }
.lg-head__desc, .lg-head__meta, .lg-head__forum { grid-column: 2; }
.lg-head__desc { color: var(--ink-2); font-size: 15px; }
.lg-head__desc:empty { display: none; }
.lg-head__meta { font: 400 14px var(--f-mono); color: var(--muted); }
.lg-head__forum { font-size: 14px; font-weight: 600; }
.lg-head__act { grid-column: 3; grid-row: 1 / span 3; }
.lg-head__act:empty { display: none; }

/* ---------- список тем */
.lg-threads { background: #fff; border: 1px solid var(--rule); }
.lg-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; padding: 9px 12px; background: var(--paper-2); border-bottom: 1px solid var(--line-2); }
.lg-tools:empty { display: none; }
.lg-screen > .lg-tools { background: none; border: 0; padding: 0; }
.lg-tools--foot { border-top: 1px solid var(--line-2); border-bottom: 0; }
.lg-tools__right { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; }
.lg-sort { display: flex; flex-wrap: wrap; gap: 4px; }
.lg-sort a { padding: 4px 11px; font-size: 14px; font-weight: 600; background: #fff; border: 1px solid var(--line-2); color: var(--ink); }
.lg-sort a:hover { border-color: var(--green); color: var(--green); text-decoration: none; }
.lg-mod-row { display: none; }
.lg-mod-row:has(td) { display: table; }
.lg-table { width: 100%; }
.lg-table th { padding: 6px 12px; font: 700 12px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; text-align: left; color: var(--green-2); background: #fff; border-bottom: 2px solid var(--green); }
.lg-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.lg-trow:hover td { background: #fafcf8; }
.lg-table .num { width: 96px; text-align: center; font: 700 15px var(--f-mono); }
.lg-table th.num { text-align: center; }
.lg-table .num a { color: var(--ink); }
.lg-trow__state { display: inline-block; width: 10px; height: 10px; margin-right: 9px; border: 1px solid var(--rule); transform: rotate(45deg); vertical-align: 1px; }
.lg-trow__state[class*="new"] { background: var(--red); border-color: var(--red); }
.lg-trow__title { font-weight: 600; font-size: 16.5px; }
.lg-trow__meta { display: block; margin-top: 2px; padding-left: 21px; font-size: 13.5px; color: var(--muted); }
.lg-trow__last { width: 200px; font-size: 13.5px; }
.lg-trow__last span { display: block; color: var(--muted); }
.forumdisplay_sticky .lg-trow__title::before { content: "Важно"; margin-right: 8px; padding: 1px 6px; font: 700 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--red); border: 1px solid var(--red); vertical-align: 2px; }
.pagination, .lg-pages { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; }
.pagination .pages { margin-right: 6px; font-size: 13.5px; color: var(--muted); }
.pagination a, .pagination_current { min-width: 32px; padding: 3px 8px; text-align: center; font: 700 14px var(--f-mono); background: #fff; border: 1px solid var(--line-2); color: var(--ink); }
.pagination a:hover { border-color: var(--green); text-decoration: none; }
.pagination_current { color: #fff; background: var(--green); border-color: var(--green); }

/* ---------- сообщения: карточка участника и линия отреза */
.lg-posts { display: flex; flex-direction: column; gap: 16px; }
.lg-post { background: #fff; border: 1px solid var(--rule); }
.lg-post--first { box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--green-2); }
.lg-post__row { display: grid; grid-template-columns: 214px minmax(0, 1fr); }
.lg-user {
	--tone: var(--green-2); --tone-lt: #edf5ef;
	position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 12px 14px 16px; text-align: center;
	background: var(--tone-lt) url(paper.svg) 0 0 / 120px 120px;
}
/* перфорация: линия отреза между карточкой и текстом */
.lg-user::after { content: ""; position: absolute; top: 8px; bottom: 8px; right: -1px; width: 2px; background: radial-gradient(circle, var(--line-2) 1px, transparent 1.5px) 0 0 / 2px 7px repeat-y; }
.lg-user--green { --tone: #2f6b55; --tone-lt: #eef6f0; }
.lg-user--lilac { --tone: #7d4f8f; --tone-lt: #f5eff8; }
.lg-user--blue  { --tone: #2c5d86; --tone-lt: #eef4f9; }
.lg-user--ochre { --tone: #96702a; --tone-lt: #f9f4e8; }
.lg-user--wine  { --tone: #943a52; --tone-lt: #f9eff2; }
.lg-user--slate { --tone: #4c5d64; --tone-lt: #f0f3f4; }
.lg-user__serial { width: 100%; display: flex; justify-content: space-between; gap: 6px; padding-bottom: 6px; border-bottom: 1px solid var(--line-2); font: 700 12px var(--f-mono); letter-spacing: .06em; color: var(--red); }
.lg-user__serial span { color: var(--muted); font-weight: 400; text-transform: uppercase; }
.lg-ros { position: relative; display: grid; place-items: center; width: 84px; height: 84px; margin: 4px 0 2px; }
.lg-ros__svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke-width: .7; transition: transform .8s ease; }
.lg-ros__l1 { stroke: var(--tone); stroke-opacity: .8; }
.lg-ros__l2 { stroke: var(--rose); stroke-opacity: .55; }
.lg-ros__l3 { stroke: var(--tone); stroke-opacity: .65; }
.lg-ros__core { fill: #fff; stroke: var(--tone); stroke-width: 1; }
.lg-ros b { position: relative; font: 400 19px var(--f-head); color: var(--tone); }
.lg-post:hover .lg-ros__svg { transform: rotate(24deg); }
.lg-ros .lg-face { display: block; width: 38px; height: 38px; object-fit: cover; border-radius: 50%; }
.lg-user__name { font: 700 18px/1.15 var(--f-text); color: var(--ink); word-break: break-word; }
.lg-user__rank { font: 400 12.5px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--tone, var(--green-2)); }
.lg-cells { display: inline-grid; grid-template-columns: repeat(6, 12px); gap: 2px; }
.lg-cells i { height: 12px; border: 1px solid var(--line-2); background: #fff; }
.lg-cells i.is-on { border-color: var(--tone, var(--green-2)); background: repeating-linear-gradient(-45deg, var(--tone, var(--green-2)) 0 1.5px, transparent 1.5px 3.5px); }
.lg-ufacts { width: 100%; margin: 4px 0 0; font-size: 13px; line-height: 1.35; text-align: left; }
.lg-ufacts div { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; border-top: 1px solid var(--line); }
.lg-ufacts dt { flex: none; font: 400 12px var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.lg-ufacts dd { margin: 0; text-align: right; font-weight: 600; word-break: break-word; }
.lg-ufacts__wide { flex-direction: column; gap: 1px !important; }
.lg-ufacts__wide dd { text-align: left; }
/* голограмма доверия: переливающаяся печать */
.lg-holo { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 6px; padding: 6px 8px; text-align: left; background: #fff; border: 1px solid var(--line-2); }
.lg-holo__seal { position: relative; display: grid; place-items: center; flex: none; width: 40px; height: 40px; }
.lg-holo__seal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lg-holo__seal svg path { fill: #e9eee9; stroke: var(--line-2); stroke-width: 1; }
.lg-holo__seal b { position: relative; font: 700 12px var(--f-mono); color: var(--ink-2); }
.lg-holo--1 .lg-holo__seal, .lg-holo--2 .lg-holo__seal, .lg-holo--3 .lg-holo__seal { background: var(--holo); background-size: 300% 300%; clip-path: polygon(50% 7%, 60% 20%, 76% 16%, 78% 33%, 93% 40%, 86% 55%, 93% 70%, 78% 77%, 76% 93%, 60% 89%, 50% 93%, 40% 89%, 24% 93%, 22% 77%, 7% 70%, 14% 55%, 7% 40%, 22% 33%, 24% 16%, 40% 20%); animation: lg-holo 9s ease-in-out infinite; }
.lg-holo--1 .lg-holo__seal svg, .lg-holo--2 .lg-holo__seal svg, .lg-holo--3 .lg-holo__seal svg { display: none; }
.lg-holo--2 .lg-holo__seal { background-image: linear-gradient(120deg, #cbb4e0 0%, #a9d8e8 22%, #c4e8b8 42%, #f0dc9a 62%, #eab6cd 82%, #cbb4e0 100%); }
.lg-holo--3 .lg-holo__seal { background-image: linear-gradient(120deg, #b392d6 0%, #7cc4de 22%, #a3db8d 42%, #ecc95e 62%, #e392b6 82%, #b392d6 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.lg-holo--3 .lg-holo__seal b { color: var(--ink); }
@keyframes lg-holo { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.lg-holo__t { display: flex; flex-direction: column; font: 400 11.5px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lg-holo__t small { font: 600 13.5px var(--f-text); letter-spacing: 0; text-transform: none; color: var(--ink); }
.lg-post__main { min-width: 0; display: flex; flex-direction: column; }
.lg-post__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 8px 18px; font-size: 13.5px; color: var(--muted); border-bottom: 1px dashed var(--line-2); }
.lg-post__no { font: 700 13px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.lg-post__no:hover { color: var(--rose); }
.lg-post__date { font-family: var(--f-mono); font-size: 14px; }
.lg-starter { padding: 0 7px; font: 700 11px/18px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--green); border: 1px solid var(--green-2); }
.lg-post__edit:empty, .lg-post__check:empty, .lg-post__status:empty { display: none; }
.lg-post__check { margin-left: auto; }
.lg-post__body { flex: 1; padding: 14px 18px 16px; font-size: 16.5px; line-height: 1.65; overflow-wrap: anywhere; }
.lg-post__body a.mycode_url, .signature a.mycode_url { color: var(--link); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; font-weight: 600; }
.lg-post__body a.mycode_url:hover { color: var(--rose); }
.lg-post__body a.mycode_url[target="_blank"]::after { content: "↗"; margin-left: 2px; font-size: .8em; display: inline-block; text-decoration: none; }
blockquote, .mycode_quote { margin: 10px 0; padding: 9px 14px; background: var(--paper-2); border: 1px solid var(--line); border-left: 3px double var(--green-2); border-left-width: 4px; font-size: 15px; }
blockquote cite, .mycode_quote cite { display: block; margin-bottom: 4px; font: 700 12.5px var(--f-mono); font-style: normal; letter-spacing: .04em; color: var(--green); }
blockquote cite > span { font-weight: 400; color: var(--muted); }
.codeblock { margin: 10px 0; padding: 8px 12px; background: #13261f; color: #dcebe2; overflow: auto; }
.codeblock .title { font: 700 12px var(--f-mono); text-transform: uppercase; color: #9fd0b6; }
.codeblock code, .codeblock pre { font: 14px/1.5 var(--f-mono); white-space: pre-wrap; }
.post_body ul, .post_body ol { padding-left: 24px; }
.mycode_s { text-decoration: line-through; }
.signature { margin: 0 18px 12px; padding-top: 8px; border-top: 1px dashed var(--line-2); font-size: 13.5px; color: var(--muted); }
.post_meta { padding: 0 18px; }
.post_meta:not(:has(*:not(:empty))) { display: none; }
.lg-post__controls { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; padding: 7px 12px; background: var(--paper-2); border-top: 1px solid var(--line); }
.lg-post__controls:not(:has(a)) { display: none; }
.postbit_buttons { display: flex; flex-wrap: wrap; gap: 4px; }
.postbit_buttons a { padding: 3px 10px; font-size: 13.5px; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line-2); }
.postbit_buttons a span { background: none !important; padding: 0 !important; }
.postbit_buttons a:hover { border-color: var(--green); color: var(--green); text-decoration: none; }
.lg-adjacent { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; font-weight: 600; }

/* ---------- ответ и гость */
.lg-reply, .lg-guest { padding: 14px 16px; background: #fff; border: 1px solid var(--rule); }
.lg-reply__head h2 { font: 400 21px var(--f-head); letter-spacing: .05em; text-transform: uppercase; color: var(--green); }
.lg-reply__head p { margin-top: 2px; color: var(--muted); font-size: 14px; }
.lg-reply textarea { width: 100%; min-height: 150px; margin-top: 10px; }
.lg-reply__opts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; font-size: 14px; }
.lg-reply__opts label { display: inline-flex; gap: 6px; align-items: center; }
.lg-reply__captcha:not(:has(td)) { display: none; }
.lg-reply__act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; }
.lg-reply__full, .lg-reply__mq { font-size: 14px; }
.lg-guest { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0; }
.lg-guest p { font-weight: 600; }
.lg-box { margin-bottom: 16px; background: #fff; border: 1px solid var(--rule); }
.lg-modtools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; }
.lg-modtools:not(:has(a, select, input)) { display: none; }
.thread_tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.thread_tools li { background: none !important; padding: 0 !important; }
.lg-modtools > div:empty, .lg-browsing:empty { display: none; }
.lg-browsing { font-size: 14px; }

/* ---------- профиль: карточка участника */
.lg-card { max-width: none; }
.lg-card__in { display: grid; grid-template-columns: 280px minmax(0, 1fr); }
.lg-card__who { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 18px; text-align: center; background: var(--tone-lt, var(--paper-2)) url(paper.svg) 0 0 / 120px 120px; }
.lg-card__who::after { content: ""; position: absolute; top: 10px; bottom: 10px; right: -1px; width: 2px; background: radial-gradient(circle, var(--line-2) 1px, transparent 1.5px) 0 0 / 2px 7px repeat-y; }
.lg-ros--big { width: 132px; height: 132px; }
.lg-ros--big b { font-size: 30px; }
.lg-ros--big .lg-face { width: 60px; height: 60px; }
.lg-card__name { font: 400 28px/1.1 var(--f-head); color: var(--ink); word-break: break-word; }
.lg-card__who .lg-holo { max-width: 230px; }
.lg-card__facts { width: 100%; align-self: start; font-size: 15px; }
.lg-card__facts th { width: 40%; padding: 9px 16px; text-align: left; font-weight: 400; color: var(--muted); border-bottom: 1px solid var(--line); }
.lg-card__facts td { padding: 9px 16px; font-weight: 600; border-bottom: 1px solid var(--line); }
.lg-card__links { font-weight: 400; font-size: 13.5px; margin-left: 8px; }
.lg-card__actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 16px 0; }
.lg-card__actions:empty { display: none; }
.lg-hidden-empty:not(:has(td)) { display: none; }
.lg-profile-extra:empty { display: none; }

/* ---------- вход, ошибки, ожидание */
.lg-gate, .lg-error, .lg-wait { max-width: 500px; margin: 24px auto; background: #fff; border: 1px solid var(--rule); box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--line-2); padding: 20px 22px; }
.lg-gate h1, .lg-error h1, .lg-wait h1 { font: 400 26px var(--f-head); letter-spacing: .05em; text-transform: uppercase; color: var(--green); }
.lg-form { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.lg-field { display: flex; flex-direction: column; gap: 4px; font: 400 12.5px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.lg-field .textbox { width: 100%; }
.lg-form__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 14px; }
.lg-checkline { display: inline-flex; align-items: center; gap: 6px; }
.lg-form__submit { width: 100%; }
.lg-error__text { margin-top: 10px; }
.lg-error__links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 16px !important; }
.lg-wait { margin-top: 12vh; text-align: center; }
.lg-wait p { margin: 10px 0 14px; }

/* ---------- стандартные блоки MyBB */
.tborder { width: 100%; margin-bottom: 14px; background: #fff; border: 1px solid var(--rule); }
.tborder td, .tborder th { padding: 8px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.thead { color: var(--green); font: 400 16px var(--f-head); letter-spacing: .06em; text-transform: uppercase; background: var(--paper-2); border-bottom: 2px solid var(--green) !important; }
.thead a, .thead strong { color: var(--green); }
.tcat { background: var(--paper-3); font: 700 12px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.trow1 { background: #fff; }
.trow2 { background: #fafcf8; }
.trow_shaded, .unapproved_post { background: #fbf3dc !important; }
.trow_selected, tr.trow_selected td { background: #fdf6d8 !important; }
.trow_deleted, .deleted_post_hidden { background: #f8e6ea !important; }
.trow_sep { background: var(--paper-3); font-weight: 600; }
.tfoot { background: var(--paper-2); }
.smalltext { font-size: 13px; color: var(--muted); }
.largetext { font: 400 20px var(--f-head); }
.expcolimage { float: right; }
fieldset { border: 1px solid var(--line-2); padding: 10px 14px; }
fieldset legend { padding: 0 6px; font: 700 12px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
input.textbox, input[type="text"], input[type="password"], input[type="email"], input[type="number"], input[type="search"]:not(#lg-q), input[type="url"], input[type="date"], select, textarea {
	max-width: 100%; min-height: 38px; padding: 6px 10px; font: 15px var(--f-text); color: var(--ink);
	background: #fff; border: 1px solid var(--line-2); border-bottom: 2px solid var(--rule);
}
textarea { min-height: 110px; line-height: 1.5; resize: vertical; }
select[multiple] { min-height: 110px; }
input.textbox:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, select:focus, textarea:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(47, 107, 85, .16); }
input[type="checkbox"], input[type="radio"] { width: 16px; height: 16px; accent-color: var(--green); }
.lg-formtable td { padding: 5px 0; border: 0; }
.lg-formtable .textbox { width: 100%; }
.lg-formtable .button { width: 100%; margin-top: 6px; }
.lg-formtable div[align="center"] { text-align: left; }
.red_alert, .pm_alert { margin-bottom: 12px; padding: 10px 14px; border: 1px solid; font-weight: 600; }
.red_alert { background: #f8e6ea; border-color: #dfa7b2; color: #7d1d2c; }
.pm_alert { background: var(--rose-lt); border-color: #e3b7c0; }
div.error { margin-bottom: 12px; padding: 10px 14px; background: #f8e6ea; border: 1px solid #dfa7b2; color: #7d1d2c; }
div.error ul { margin: 6px 0 0; padding-left: 20px; }
.popup_menu { background: var(--paper); border: 1px solid var(--rule); box-shadow: 0 12px 24px -12px rgba(20, 50, 40, .4); padding: 4px; }
.popup_menu .popup_item { display: block; padding: 6px 10px; color: var(--ink); }
.popup_menu .popup_item:hover { background: var(--green-lt); text-decoration: none; }
.blocker { position: fixed; inset: 0; z-index: 9998; background: rgba(18, 34, 28, .6); padding: 20px; overflow: auto; text-align: center; }
.blocker::before { content: ""; display: inline-block; height: 100%; vertical-align: middle; }
.modal { display: none; vertical-align: middle; position: relative; z-index: 9999; width: 92%; max-width: 440px; padding: 0 0 16px; text-align: left; background: var(--paper); border: 1px solid var(--rule); box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--line-2), 0 22px 50px -16px rgba(0, 0, 0, .6); }
.modal form, .modal > div { padding: 0 16px; }
.modal a.close-modal { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; text-indent: -9999px; overflow: hidden; }
.modal a.close-modal::before { content: "×"; position: absolute; inset: 0; display: grid; place-items: center; text-indent: 0; font-size: 22px; color: var(--green); }
.lg-modal__title { margin: 0 -16px 12px; padding: 10px 16px; font: 400 18px var(--f-head); letter-spacing: .06em; text-transform: uppercase; color: var(--green); background: var(--paper-2) url(guilloche-band.svg) center / 480px 140px; border-bottom: 1px solid var(--rule); }
.jGrowl { z-index: 9999; position: fixed; }
.jGrowl.top-right { top: 16px; right: 16px; }
.jGrowl .jGrowl-notification, .jGrowl .jGrowl-closer { width: 280px; margin-top: 8px; padding: 10px 12px; background: var(--green); color: #fff; }
.jGrowl .jGrowl-close { float: right; cursor: pointer; }

/* ---------- подвал */
.lg-foot { background: var(--green); color: #c9dccf; }
.lg-foot__band { height: 46px; background: var(--paper-2) url(guilloche-band.svg) center / 480px 140px; border-top: 1px solid var(--rule); border-bottom: 4px double var(--paper-3); }
.lg-foot__in { padding: 12px 22px 18px; }
.lg-foot__links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.lg-foot__links a { color: #f0f6f2; font: 400 13px var(--f-head); letter-spacing: .07em; text-transform: uppercase; }
.lg-foot__links a:hover { color: var(--rose-lt); }
.lg-foot__note { margin-top: 10px; max-width: 90ch; font-size: 13.5px; }

/* ---------- адаптив */
@media (max-width: 1040px) {
	.lg-duo { grid-template-columns: minmax(0, 1fr); }
	.lg-frow__last, .lg-cat__lastk { display: none; }
	.lg-lead { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
	body { font-size: 15.5px; }
	.lg-shell { margin: 0; border: 0; outline: 0; box-shadow: none; }
	.lg-mast__in { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 14px 18px; }
	.lg-logo { gap: 12px; }
	.lg-logo__ros { width: 58px; height: 58px; }
	.lg-logo__ros b { width: 26px; height: 26px; font-size: 17px; }
	.lg-logo__text b { font-size: 25px; letter-spacing: .04em; }
	.lg-logo__text small { font-size: 11px; }
	.lg-mast__side { align-items: stretch; flex: 1 1 auto; }
	.lg-mast__no { display: none; }
	.lg-navbar__in { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 0 4px; }
	.lg-navbar a { white-space: nowrap; padding: 10px 10px; font-size: 13px; }
	.lg-navbar__act { margin-left: 8px; flex: none; padding-right: 6px; }
	.lg-main { padding: 12px 12px 20px; }
	.lg-lead__t { font-size: 23px; }
	.lg-lead__go { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.lg-lead__go a { padding: 6px 8px; font-size: 14px; gap: 6px; }
	.lg-doc { box-shadow: none; }
	.lg-doc__head { padding: 8px 12px; }
	.lg-vin__body { padding: 12px 12px 0; }
	.lg-vin__cells { gap: 2px; }
	.lg-vin__cells li { height: 40px; font-size: 15px; border-bottom-width: 2px; }
	.lg-vin__cells li::after { display: none; }
	#lg-vin-in { height: 40px; }
	.lg-vin__parts { font-size: 9px; }
	.lg-vin__parts span { padding: 2px 3px; }
	.lg-vin__out th { width: 46%; }
	.lg-cat__cap a { font-size: 19px; }
	.lg-cat thead th.num, .lg-frow .num { display: none; }
	.lg-frow__ico { width: 54px; padding-right: 0 !important; }
	.lg-frow__state { width: 38px; height: 38px; }
	.lg-head { grid-template-columns: minmax(0, 1fr); padding: 12px 14px; box-shadow: none; }
	.lg-head__ico { display: none; }
	.lg-pagehead, .lg-head__desc, .lg-head__meta, .lg-head__forum, .lg-head__act { grid-column: 1; grid-row: auto; }
	.lg-pagehead { font-size: 24px; }
	.lg-post__row { grid-template-columns: minmax(0, 1fr); }
	.lg-user { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "serial serial" "ros name" "ros rank" "ros cells" "facts facts" "holo holo"; justify-items: start; column-gap: 12px; row-gap: 2px; padding: 10px 12px; text-align: left; }
	.lg-user::after { top: auto; bottom: -1px; left: 8px; right: 8px; width: auto; height: 2px; background: radial-gradient(circle, var(--line-2) 1px, transparent 1.5px) 0 0 / 7px 2px repeat-x; }
	.lg-user__serial { grid-area: serial; margin-bottom: 4px; }
	.lg-user .lg-ros { grid-area: ros; width: 60px; height: 60px; margin: 0; }
	.lg-user .lg-ros b { font-size: 15px; }
	.lg-user .lg-ros .lg-face { width: 28px; height: 28px; }
	.lg-user__name { grid-area: name; }
	.lg-user__rank { grid-area: rank; }
	.lg-user .lg-cells { grid-area: cells; }
	.lg-user .lg-ufacts { grid-area: facts; display: flex; flex-wrap: wrap; gap: 0 14px; }
	.lg-user .lg-ufacts div { border: 0; padding: 1px 0; gap: 4px; }
	.lg-user .lg-ufacts__wide { flex-direction: row; flex-basis: 100%; justify-content: flex-start !important; }
	.lg-user .lg-ufacts__wide dd { text-align: left; }
	.lg-user .lg-holo { grid-area: holo; }
	.lg-post__bar { padding: 7px 12px; }
	.lg-post__body { padding: 12px; }
	.signature { margin: 0 12px 10px; }
	.lg-card__in { grid-template-columns: minmax(0, 1fr); }
	.lg-card__who::after { display: none; }
	.lg-card__facts th, .lg-card__facts td { padding: 8px 12px; }
	.lg-table thead { display: none; }
	.lg-table, .lg-table tbody, .lg-table tr, .lg-table td { display: block; width: 100%; }
	.lg-table tr { padding: 10px 12px; border-bottom: 1px solid var(--line); }
	.lg-table td { padding: 0; border: 0; background: none !important; }
	.lg-trow__meta { padding-left: 0; }
	.lg-trow__state { display: none; }
	.lg-table .num { display: inline-block; width: auto; margin: 4px 12px 0 0; text-align: left; font-size: 13px; color: var(--muted); }
	.lg-table .num:nth-of-type(2)::after { content: " отв."; }
	.lg-table .num:nth-of-type(3)::after { content: " просм."; }
	.lg-trow__last { display: none !important; }
	.lg-foot__in { padding: 12px 14px 16px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== ссылки в сообщениях: свой стиль форума (у каждого форума сетки свой, не повторять) ===== */
:is(.post_body, .signature, [class*="-post__body"], [class*="-post__sign"]) a.mycode_url, :is(.post_body, .signature, [class*="-post__body"], [class*="-post__sign"]) a.mycode_url:link, :is(.post_body, .signature, [class*="-post__body"], [class*="-post__sign"]) a.mycode_url:visited { font-style: normal; text-decoration: none; text-underline-offset: auto; text-shadow: none; background: none; border: 0; box-shadow: none; padding: 0; border-radius: 0; overflow-wrap: anywhere; -webkit-box-decoration-break: clone; box-decoration-break: clone; color: #1b5e7a; font-weight: 500; background: repeating-linear-gradient(90deg, #a24a74 0 3px, transparent 3px 5px) 0 100% / 100% 1px no-repeat; padding-bottom: 1px; }
:is(.post_body, .signature, [class*="-post__body"], [class*="-post__sign"]) a.mycode_url:hover, :is(.post_body, .signature, [class*="-post__body"], [class*="-post__sign"]) a.mycode_url:focus-visible { color: #1f4a3d; background: linear-gradient(#1f4a3d, #1f4a3d) 0 100% / 100% 1px no-repeat; }
:is(.post_body, .signature, [class*="-post__body"], [class*="-post__sign"]) a.mycode_url[target="_blank"]::after { content: none; display: none; }
/* ===== конец стиля ссылок ===== */
