/* «Дизель для всех» — тема «Эмалевые таблички»: глянцевые эмалированные знаки с заклёпками и сколами, колонки-разделы, колба с соляркой. Префикс dz-. */

@font-face { font-family: "Rubik"; font-weight: 500; font-display: swap; src: url(fonts/rubik-cyrillic-500.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Rubik"; font-weight: 500; font-display: swap; src: url(fonts/rubik-latin-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }
@font-face { font-family: "Rubik"; font-weight: 800; font-display: swap; src: url(fonts/rubik-cyrillic-800.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Rubik"; font-weight: 800; font-display: swap; src: url(fonts/rubik-latin-800.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }
@font-face { font-family: "Plex"; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-cyrillic-400.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Plex"; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }
@font-face { font-family: "Plex"; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-sans-cyrillic-600.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Plex"; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-sans-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }
@font-face { font-family: "Plex Mono"; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-cyrillic-500.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Plex Mono"; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-latin-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }

:root {
	--wall: #e7e1d1;
	--cream: #f4eddb;
	--cream-2: #ebe2c8;
	--blue: #123a6b;
	--blue-2: #1b4d88;
	--blue-dk: #0b2547;
	--red: #c8321f;
	--red-dk: #9c2414;
	--amber: #e8a33d;
	--green: #2f6f4f;
	--black: #161718;
	--ink: #17202b;
	--ink-2: #46505c;
	--muted: #6c7480;
	--line: #d6ccb1;
	--f-head: "Rubik", "Arial Black", sans-serif;
	--f-text: "Plex", "Segoe UI", Arial, sans-serif;
	--f-mono: "Plex Mono", Menlo, Consolas, monospace;
	--gloss: linear-gradient(165deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .08) 32%, transparent 48%, rgba(0, 0, 0, .06) 100%);
	--wrap: 1220px;
}

*, *::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.6 var(--f-text);
	background-color: var(--wall);
	/* Крашеная штукатурка: мелкий крап и пятна. */
	background-image:
		radial-gradient(circle at 20% 30%, rgba(120, 100, 60, .06) 0 1px, transparent 1.5px),
		radial-gradient(circle at 70% 80%, rgba(120, 100, 60, .05) 0 1px, transparent 1.5px),
		radial-gradient(60% 40% at 10% 0%, rgba(255, 255, 255, .55), transparent 70%);
	background-size: 7px 7px, 11px 11px, auto;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue-2); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-head); font-weight: 800; line-height: 1.05; }
p { margin: 0; }
b, strong { font-weight: 600; }
table { border-collapse: collapse; }
script, template { display: none !important; }
.dz-sr, .sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dz-skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--cream); padding: 8px 14px; border-radius: 8px; }
.dz-skip:focus { top: 12px; }
.float_left { float: none; }

/* ---------- эмаль: общие детали */
.dz-rivet { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 18%, #c9c4b6 30%, #7d786b 75%, #4a463d); box-shadow: 0 1px 1px rgba(0, 0, 0, .45); z-index: 2; }
.dz-rivet--tl { left: 10px; top: 10px; } .dz-rivet--tr { right: 10px; top: 10px; } .dz-rivet--bl { left: 10px; bottom: 10px; } .dz-rivet--br { right: 10px; bottom: 10px; }
.dz-btn, .button, input.button, input[type="submit"], input[type="button"], button[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px;
	font: 800 15px/1.1 var(--f-head); letter-spacing: .03em; text-transform: uppercase; text-decoration: none;
	color: #fff; background: var(--red); background-image: var(--gloss); border: 2px solid #fff; border-radius: 999px; cursor: pointer;
	box-shadow: 0 0 0 2px var(--red-dk), 0 6px 14px -6px rgba(80, 20, 10, .7);
	transition: transform .15s ease, background-color .15s ease;
}
.dz-btn:hover, .button:hover, input[type="submit"]:hover, button[type="submit"]:hover { background-color: var(--red-dk); color: #fff; }
.dz-btn:active, input[type="submit"]:active, button[type="submit"]:active { transform: translateY(1px); }
.dz-btn--blue { background-color: var(--blue); box-shadow: 0 0 0 2px var(--blue-dk), 0 6px 14px -6px rgba(10, 30, 60, .7); }
.dz-btn--blue:hover { background-color: var(--blue-dk); }
.dz-btn--quiet { background-color: var(--cream); color: var(--ink); box-shadow: 0 0 0 2px var(--line); }
.dz-btn--quiet:hover { background-color: var(--cream-2); color: var(--ink); }

/* ---------- шапка: синяя эмалевая полоса */
.dz-shell { min-height: 100vh; display: flex; flex-direction: column; }
.dz-top { background: var(--blue); background-image: var(--gloss); border-bottom: 4px solid var(--cream); box-shadow: 0 4px 0 var(--blue-dk), 0 14px 26px -16px rgba(0, 0, 0, .6); }
.dz-top__in { max-width: var(--wrap); margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 22px; }
.dz-logo { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; flex: none; }
.dz-logo:hover { color: var(--cream); }
.dz-logo__emblem { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--red); background-image: var(--gloss); border: 3px solid var(--cream); box-shadow: 0 0 0 2px var(--red-dk); }
.dz-logo__emblem span { font: 800 20px var(--f-head); color: #fff; letter-spacing: .02em; }
.dz-logo__name { font: 800 18px/1 var(--f-head); text-transform: uppercase; letter-spacing: .02em; }
.dz-nav { display: flex; gap: 2px; }
.dz-nav a { padding: 8px 12px; border-radius: 999px; color: #e9eef6; text-decoration: none; font: 500 15px var(--f-head); }
.dz-nav a:hover { color: var(--blue); background: var(--cream); }
.dz-search { margin-left: auto; flex: 0 1 300px; }
.dz-search input { width: 100%; height: 42px; padding: 0 16px; border: 2px solid rgba(244, 237, 219, .5); border-radius: 999px; background: var(--blue-dk); color: #fff; font: 15px var(--f-text); }
.dz-search input::placeholder { color: #9fb2cc; }
.dz-search input:focus { outline: none; border-color: var(--amber); }
.dz-act { flex: none; }
.dz-act .dz-btn { min-height: 40px; padding: 8px 18px; }
.dz-user { display: flex; align-items: center; gap: 10px; color: #fff; }
.dz-user__pm { color: #e9eef6; text-decoration: none; font: 500 14px var(--f-head); }
.dz-user__pm b { display: inline-block; min-width: 22px; margin-left: 4px; padding: 1px 6px; border-radius: 10px; background: var(--blue-dk); text-align: center; }
.dz-user__pm b:not([data-n="0"]) { background: var(--red); }
.dz-user__menu { position: relative; }
.dz-user__menu summary { list-style: none; cursor: pointer; padding: 8px 16px; border-radius: 999px; font: 800 14px var(--f-head); color: var(--blue); background: var(--cream); }
.dz-user__menu summary::-webkit-details-marker { display: none; }
.dz-user__drop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 230px; margin: 0; padding: 8px; list-style: none; background: var(--cream); border: 2px solid var(--blue); border-radius: 12px; box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .5); }
.dz-user__drop a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.dz-user__drop a:hover { background: var(--cream-2); }

.dz-main { flex: 1; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 22px 20px 60px; }
.dz-path { margin: 0 0 16px; }
.dz-path ol { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; font: 500 14px var(--f-head); }
.dz-path li:not(:last-child)::after { content: "›"; margin: 0 8px; color: var(--muted); }
.dz-path a { color: var(--blue-2); text-decoration: none; }
.dz-path a:hover { text-decoration: underline; }
.dz-page--index .dz-path { display: none; }

/* ---------- главная: табличка-герой и холодный пуск */
.dz-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 26px; align-items: stretch; }
.dz-sign {
	position: relative; padding: 46px 44px 38px; border-radius: 20px;
	background: var(--cream); background-image: var(--gloss), radial-gradient(14px 10px at 96% 4%, rgba(20, 20, 20, .55), transparent 70%), radial-gradient(9px 7px at 3% 97%, rgba(20, 20, 20, .5), transparent 70%);
	box-shadow: 0 0 0 4px var(--blue) inset, 0 0 0 9px var(--cream) inset, 0 0 0 12px var(--blue) inset, 0 18px 30px -18px rgba(40, 30, 10, .7);
}
.dz-sign__k { font: 500 14px var(--f-head); text-transform: uppercase; letter-spacing: .08em; color: var(--red); }
.dz-sign__t { margin-top: 12px; font-size: clamp(46px, 6.6vw, 92px); line-height: .92; text-transform: uppercase; color: var(--blue); letter-spacing: -.01em; }
.dz-sign__t span { color: var(--red); }
.dz-sign__lead { max-width: 560px; margin-top: 18px; font-size: 17px; color: var(--ink-2); }
.dz-sign__act { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.dz-sign__count { margin-top: 22px; font: 500 15px var(--f-head); color: var(--ink-2); }
.dz-sign__count b { font-family: var(--f-mono); color: var(--blue); }

.dz-cold {
	position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px 28px 22px; border-radius: 20px; color: #eef3fa;
	background: var(--blue); background-image: var(--gloss), radial-gradient(12px 9px at 4% 6%, rgba(10, 10, 10, .5), transparent 70%);
	box-shadow: 0 0 0 4px var(--cream) inset, 0 0 0 7px var(--blue-dk) inset, 0 18px 30px -18px rgba(10, 30, 60, .8);
}
.dz-cold__t { font-size: 30px; text-transform: uppercase; color: #fff; }
.dz-cold__lead { font-size: 15px; color: #c9d6e8; }
.dz-cold__fuel { display: flex; flex-wrap: wrap; gap: 6px; }
.dz-fuel { padding: 7px 14px; border: 2px solid rgba(244, 237, 219, .55); border-radius: 999px; background: transparent; color: #eef3fa; font: 500 14px var(--f-head); cursor: pointer; }
.dz-fuel:hover { border-color: var(--cream); }
.dz-fuel.is-on { background: var(--amber); border-color: var(--cream); color: var(--black); }
.dz-cold__body { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 18px; align-items: center; }
.dz-temp { display: flex; flex-direction: column; gap: 6px; }
.dz-temp__lbl { font: 500 13px var(--f-head); text-transform: uppercase; letter-spacing: .06em; color: #9fb2cc; }
.dz-temp__out { font: 800 46px/1 var(--f-head); color: #fff; }
.dz-temp input { width: 100%; accent-color: var(--amber); height: 28px; }
.dz-temp__scale { display: flex; justify-content: space-between; font: 500 12px var(--f-mono); color: #9fb2cc; }
.dz-vial { width: 110px; height: auto; }
.dz-vial__glass { fill: none; stroke: #eef3fa; stroke-width: 3; }
.dz-vial__shine { stroke: rgba(255, 255, 255, .45); stroke-width: 5; stroke-linecap: round; }
.dz-vial__cap { fill: var(--red); stroke: var(--cream); stroke-width: 2; }
#dz-cloud, #dz-crystals { transition: opacity .6s ease; }
#dz-crystals path { stroke: #fff; stroke-width: 1.4; fill: none; }
.dz-verdict { padding: 12px 14px; border-radius: 12px; color: var(--ink); background: var(--cream); }
.dz-verdict__s { font: 800 18px var(--f-head); text-transform: uppercase; }
.dz-verdict[data-s="ok"] .dz-verdict__s { color: var(--green); }
.dz-verdict[data-s="cloud"] .dz-verdict__s { color: #b06d0a; }
.dz-verdict[data-s="gel"] .dz-verdict__s { color: var(--red); }
.dz-verdict__t { margin-top: 4px !important; font-size: 15px; }
.dz-verdict__do { margin: 8px 0 0; padding-left: 18px; font-size: 14.5px; }
.dz-verdict__do:empty { display: none; }
.dz-verdict__do a { font-weight: 600; }
.dz-cold__note { font-size: 12.5px; color: #9fb2cc; }

/* ---------- сейчас на форуме: чёрная табличка-табло */
.dz-board { position: relative; margin-top: 30px; padding: 22px 26px 18px; border-radius: 16px; background: var(--black); background-image: var(--gloss); box-shadow: 0 0 0 3px var(--cream) inset, 0 0 0 5px var(--black) inset; color: #eee; }
.dz-board__t { font-size: 20px; text-transform: uppercase; color: var(--amber); }
.dz-board__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 12px 0 0; padding: 0; list-style: none; }
.dz-board__list li { display: grid; grid-template-columns: minmax(0, 1fr); padding: 9px 0; border-top: 1px dashed rgba(244, 237, 219, .2); }
.dz-latest__t { color: #fff; font-weight: 600; text-decoration: none; }
.dz-latest__t:hover { color: var(--amber); text-decoration: underline; }
.dz-latest__m { font-size: 13px; color: #a7adb5; }

/* ---------- разделы: колонки */
.dz-sections { margin-top: 36px; }
.dz-group { margin-bottom: 30px; }
.dz-group__t { display: inline-block; margin-bottom: 14px; padding: 8px 20px; border-radius: 999px; font-size: 18px; text-transform: uppercase; letter-spacing: .03em; background: var(--red); background-image: var(--gloss); border: 3px solid var(--cream); box-shadow: 0 0 0 2px var(--red-dk); }
.dz-group__t a { color: #fff; text-decoration: none; }
.dz-pumps { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.dz-pump {
	position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 14px 18px; border-radius: 14px;
	background: var(--cream); background-image: var(--gloss);
	box-shadow: 0 0 0 3px var(--blue) inset, 0 0 0 6px var(--cream) inset, 0 10px 16px -12px rgba(40, 30, 10, .6);
	transition: transform .2s ease;
}
.dz-pump:hover { transform: translateY(-3px); }
.dz-pump__no { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font: 800 16px var(--f-mono); color: #fff; background: var(--blue); border: 2px solid var(--cream); box-shadow: 0 0 0 2px var(--blue); }
.dz-pump__state { position: absolute; right: 60px; top: 18px; width: 12px; height: 12px; border-radius: 50%; z-index: 1; }
.dz-pump__state.forum_on { background: var(--red); box-shadow: 0 0 0 2px var(--cream); }
.dz-pump__ico .dz-ico { width: 30px; height: 30px; stroke: var(--red); }
.dz-ico { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dz-pump__name { padding-right: 46px; font: 800 18px/1.15 var(--f-head); color: var(--blue); text-decoration: none; }
.dz-pump__name::after { content: ""; position: absolute; inset: 0; }
.dz-pump__name:hover { color: var(--red); }
.dz-pump__desc { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.dz-pump__meta { margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--muted); }
.dz-pump__meta b { font-family: var(--f-mono); color: var(--ink); }
.dz-pump__last { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dz-pump__last a { position: relative; z-index: 1; color: var(--ink-2); }

/* ---------- классы солярки */
.dz-classes { position: relative; margin-top: 10px; padding: 30px 32px 24px; border-radius: 18px; background: var(--cream); background-image: var(--gloss); box-shadow: 0 0 0 4px var(--green) inset, 0 0 0 8px var(--cream) inset, 0 16px 24px -16px rgba(40, 30, 10, .6); }
.dz-classes__t { font-size: 26px; text-transform: uppercase; color: var(--green); }
.dz-classes__table { width: 100%; margin-top: 14px; font-size: 15px; }
.dz-classes__table th, .dz-classes__table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.dz-classes__table thead th { font: 500 12px var(--f-head); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.dz-classes__table tbody th { white-space: nowrap; font-weight: 600; }
.dz-cls { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 8px; border-radius: 50%; font: 800 13px var(--f-head); color: #fff; vertical-align: -6px; }
.dz-cls--summer { background: var(--amber); color: var(--black); } .dz-cls--mid { background: var(--green); } .dz-cls--winter { background: var(--blue-2); } .dz-cls--arctic { background: var(--black); }
.dz-classes__more { margin-top: 12px !important; font-size: 14.5px; }

/* ---------- шапки страниц */
.dz-screen { display: flex; flex-direction: column; gap: 16px; }
.dz-head { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 18px; padding: 24px 28px 22px; border-radius: 16px; background: var(--cream); background-image: var(--gloss); box-shadow: 0 0 0 3px var(--blue) inset, 0 0 0 6px var(--cream) inset, 0 12px 20px -14px rgba(40, 30, 10, .6); }
.dz-head__ico { grid-row: span 3; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--red); background-image: var(--gloss); border: 3px solid var(--cream); box-shadow: 0 0 0 2px var(--red-dk); }
.dz-head__ico .dz-ico { width: 30px; height: 30px; stroke: #fff; }
.dz-pagehead { grid-column: 2; font-size: clamp(28px, 3.6vw, 44px); text-transform: uppercase; color: var(--blue); }
.dz-pagehead--thread { font-size: clamp(22px, 2.6vw, 32px); text-transform: none; line-height: 1.15; }
.dz-head__desc, .dz-head__meta, .dz-head__forum { grid-column: 2; }
.dz-head__desc { color: var(--ink-2); }
.dz-head__desc:empty { display: none; }
.dz-head__meta { font-size: 14px; color: var(--muted); }
.dz-head__forum { font: 500 14px var(--f-head); }
.dz-head__act { grid-column: 3; grid-row: 1 / span 3; }
.dz-head__act:empty { display: none; }

/* ---------- список тем */
.dz-threads { border-radius: 14px; overflow: hidden; background: #fffdf6; box-shadow: 0 0 0 2px var(--line) inset; }
.dz-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 18px; }
.dz-tools:empty { display: none; }
.dz-screen > .dz-tools { padding: 0; }
.dz-tools--foot { border-top: 1px solid var(--line); }
.dz-tools__right { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; }
.dz-sort { display: flex; flex-wrap: wrap; gap: 6px; }
.dz-sort a { padding: 6px 14px; border-radius: 999px; font: 500 14px var(--f-head); color: var(--blue); background: var(--cream-2); text-decoration: none; }
.dz-sort a:hover { background: var(--blue); color: #fff; }
.dz-mod-row { display: none; }
.dz-mod-row:has(td) { display: table; }
.dz-table { width: 100%; }
.dz-table th { padding: 10px 14px; font: 500 12px var(--f-head); text-transform: uppercase; letter-spacing: .06em; text-align: left; color: #fff; background: var(--blue); }
.dz-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.dz-trow:hover td { background: #fff7e3; }
.dz-table .num { width: 96px; text-align: right; font: 500 15px var(--f-mono); }
.dz-table th.num { text-align: right; }
.dz-table .num a { color: var(--ink); text-decoration: none; }
.dz-trow__state { display: inline-block; width: 10px; height: 10px; margin-right: 10px; border-radius: 50%; background: var(--line); vertical-align: 2px; }
.dz-trow__state[class*="new"] { background: var(--red); }
.dz-trow__title { font-weight: 600; font-size: 16.5px; }
.dz-trow__title a { color: var(--ink); text-decoration: none; }
.dz-trow__title a:hover { color: var(--red); text-decoration: underline; }
.dz-trow__meta { display: block; margin-top: 3px; padding-left: 20px; font-size: 13.5px; color: var(--muted); }
.dz-trow__meta a { color: var(--ink-2); }
.dz-trow__last { width: 200px; font-size: 13.5px; }
.dz-trow__last span { display: block; color: var(--muted); }
.forumdisplay_sticky .dz-trow__title::before { content: "Важно"; margin-right: 8px; padding: 2px 10px; border-radius: 999px; font: 800 11px var(--f-head); text-transform: uppercase; color: #fff; background: var(--red); vertical-align: 2px; }
.pagination, .dz-pages { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.pagination .pages { margin-right: 6px; font-size: 14px; color: var(--muted); }
.pagination a, .pagination_current { min-width: 34px; padding: 5px 10px; border-radius: 999px; text-align: center; font: 500 14px var(--f-mono); text-decoration: none; background: var(--cream-2); color: var(--ink); }
.pagination a:hover { background: var(--blue); color: #fff; }
.pagination_current { background: var(--red); color: #fff; }

/* ---------- сообщения: эмалевая табличка участника */
.dz-posts { display: flex; flex-direction: column; gap: 22px; }
.dz-post { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; }
.dz-plate {
	position: sticky; top: 14px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 16px 18px; border-radius: 16px; text-align: center; color: #fff;
	background: var(--blue); background-image: var(--gloss);
	box-shadow: 0 0 0 3px var(--cream) inset, 0 0 0 5px var(--blue-dk) inset, 0 12px 20px -12px rgba(10, 20, 40, .7);
}
.dz-plate--red { background-color: var(--red); box-shadow: 0 0 0 3px var(--cream) inset, 0 0 0 5px var(--red-dk) inset, 0 12px 20px -12px rgba(60, 20, 10, .7); }
.dz-plate--green { background-color: var(--green); box-shadow: 0 0 0 3px var(--cream) inset, 0 0 0 5px #1e4a34 inset, 0 12px 20px -12px rgba(10, 40, 20, .7); }
.dz-plate--black { background-color: var(--black); box-shadow: 0 0 0 3px var(--cream) inset, 0 0 0 5px #000 inset, 0 12px 20px -12px rgba(0, 0, 0, .7); }
.dz-plate--amber { background-color: #b9771c; box-shadow: 0 0 0 3px var(--cream) inset, 0 0 0 5px #8a560f inset, 0 12px 20px -12px rgba(60, 40, 10, .7); }
.dz-plate--cream { background-color: #6b5a3c; box-shadow: 0 0 0 3px var(--cream) inset, 0 0 0 5px #4b3e27 inset, 0 12px 20px -12px rgba(40, 30, 10, .7); }
.dz-plate__mono { display: grid; place-items: center; width: 60px; height: 60px; margin-top: 4px; border-radius: 50%; font: 800 22px var(--f-head); color: var(--blue); background: var(--cream); box-shadow: 0 0 0 3px rgba(0, 0, 0, .2); }
.dz-plate__mono--big { width: 100px; height: 100px; font-size: 38px; }
.dz-plate__mono .dz-face { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.dz-plate__name { font: 800 18px/1.15 var(--f-head); color: #fff; text-decoration: none; word-break: break-word; }
a.dz-plate__name:hover { color: var(--amber); text-decoration: underline; }
.dz-plate__rank { padding: 3px 12px; border-radius: 999px; font: 500 13px var(--f-head); color: var(--ink); background: var(--cream); }
.dz-drops { display: inline-flex; gap: 4px; }
.dz-drops i { width: 11px; height: 14px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: rgba(255, 255, 255, .22); transform: rotate(0deg); clip-path: polygon(50% 0, 100% 60%, 85% 95%, 50% 100%, 15% 95%, 0 60%); }
.dz-drops i.is-on { background: var(--amber); }
.dz-ufacts { width: 100%; margin: 4px 0 0; font-size: 13px; line-height: 1.35; text-align: left; }
.dz-ufacts div { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.dz-ufacts dt { flex: none; color: rgba(255, 255, 255, .7); }
.dz-ufacts dd { margin: 0; text-align: right; font-weight: 600; word-break: break-word; }
.dz-ufacts__car { flex-direction: column; gap: 1px !important; }
.dz-ufacts__car dd { text-align: left; font-weight: 400; }
.dz-cetane { display: inline-flex; align-items: stretch; margin-top: 6px; border-radius: 999px; overflow: hidden; border: 2px solid var(--cream); font: 800 14px var(--f-head); }
.dz-cetane b { padding: 3px 9px; background: var(--cream); color: var(--blue); }
.dz-cetane span { padding: 3px 10px; font-family: var(--f-mono); color: #fff; }
.dz-post__card { position: relative; min-width: 0; padding: 18px 24px 14px; border-radius: 14px; background: #fffdf6; box-shadow: 0 0 0 2px var(--line) inset, 0 10px 18px -14px rgba(40, 30, 10, .5); }
.dz-post--first .dz-post__card { box-shadow: 0 0 0 3px var(--red) inset, 0 10px 18px -14px rgba(40, 30, 10, .5); }
.dz-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px dashed var(--line); font-size: 13.5px; color: var(--muted); }
.dz-starter { padding: 1px 10px; border-radius: 999px; font: 800 11px var(--f-head); text-transform: uppercase; letter-spacing: .04em; color: #fff; background: var(--red); }
.dz-post__no { margin-left: auto; font: 500 13px var(--f-mono); color: var(--muted); text-decoration: none; }
.dz-post__no::before { content: "№"; }
.dz-post__no:hover { color: var(--red); }
.dz-post__edit:empty, .dz-post__check:empty, .dz-post__status:empty { display: none; }
.dz-post__body { font-size: 16.5px; line-height: 1.7; overflow-wrap: anywhere; }
.dz-post__body a.mycode_url, .signature a.mycode_url { color: var(--blue-2); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: rgba(27, 77, 136, .4); }
.dz-post__body a.mycode_url:hover { color: var(--red); text-decoration-color: currentColor; }
.dz-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: 12px 0; padding: 10px 14px; border-radius: 10px; background: var(--cream); border-left: 5px solid var(--blue); font-size: 15.5px; }
blockquote cite, .mycode_quote cite { display: block; margin-bottom: 4px; font: 500 13px var(--f-head); font-style: normal; color: var(--blue); }
blockquote cite > span { color: var(--muted); }
.codeblock { margin: 12px 0; padding: 10px 14px; border-radius: 10px; background: var(--black); color: #eee; overflow: auto; }
.codeblock .title { font: 800 12px var(--f-head); text-transform: uppercase; color: var(--amber); }
.codeblock code, .codeblock pre { font: 500 14px/1.5 var(--f-mono); white-space: pre-wrap; }
.post_body ul, .post_body ol { padding-left: 22px; }
.mycode_s { text-decoration: line-through; }
.signature { margin-top: 12px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--muted); }
.dz-post__controls { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 14px; padding-top: 10px; border-top: 1px dashed var(--line); }
.dz-post__controls:not(:has(a)) { display: none; }
.postbit_buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.postbit_buttons a { padding: 4px 12px; border-radius: 999px; font: 500 13px var(--f-head); color: var(--blue); background: var(--cream-2); text-decoration: none; }
.postbit_buttons a span { background: none !important; padding: 0 !important; }
.postbit_buttons a:hover { background: var(--blue); color: #fff; }
.dz-adjacent { display: flex; justify-content: space-between; gap: 10px; }
.dz-adjacent a { padding: 8px 16px; border-radius: 999px; font: 500 14px var(--f-head); background: var(--cream); text-decoration: none; }

/* ---------- ответ, гость, модерация */
.dz-reply, .dz-guest { padding: 20px 24px; border-radius: 14px; background: #fffdf6; box-shadow: 0 0 0 2px var(--line) inset; }
.dz-reply__head h2 { font-size: 22px; text-transform: uppercase; color: var(--blue); }
.dz-reply__head p { margin-top: 4px; color: var(--muted); font-size: 14px; }
.dz-reply textarea { width: 100%; min-height: 160px; margin-top: 12px; }
.dz-reply__opts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; font-size: 14px; }
.dz-reply__opts label { display: inline-flex; gap: 6px; align-items: center; }
.dz-reply__captcha:not(:has(td)) { display: none; }
.dz-reply__act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; }
.dz-reply__full, .dz-reply__mq { font-size: 14px; }
.dz-guest { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.dz-guest p { font-weight: 600; }
.dz-box.dz-guest { margin: 0; }
.dz-modtools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; }
.dz-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; }
.dz-modtools > div:empty, .dz-browsing:empty { display: none; }

/* ---------- профиль */
.dz-card { position: relative; padding: 0 0 18px; border-radius: 18px; background: var(--cream); background-image: var(--gloss); box-shadow: 0 0 0 4px var(--blue) inset, 0 0 0 8px var(--cream) inset, 0 16px 24px -16px rgba(40, 30, 10, .6); overflow: hidden; }
.dz-card__head { padding: 22px 28px 0; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: var(--red); }
.dz-card__in { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 26px; padding: 14px 28px 0; }
.dz-card__who { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 16px; border-radius: 14px; text-align: center; color: #fff; background: var(--blue); background-image: var(--gloss); }
.dz-card__name { font-size: 28px; line-height: 1.1; color: #fff; }
.dz-card__who .dz-user__rank { padding: 3px 12px; border-radius: 999px; font: 500 13px var(--f-head); color: var(--ink); background: var(--cream); }
.dz-card__no { font: 500 12.5px var(--f-mono); color: #c9d6e8; }
.dz-card__facts { width: 100%; align-self: start; font-size: 15px; }
.dz-card__facts th { width: 40%; padding: 9px 0; text-align: left; font-weight: 400; color: var(--muted); border-bottom: 1px dashed var(--line); }
.dz-card__facts td { padding: 9px 0; font-weight: 600; border-bottom: 1px dashed var(--line); }
.dz-card__links { margin-left: 8px; font-weight: 400; font-size: 13.5px; }
.dz-card__actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 28px 0; }
.dz-card__actions:empty { display: none; }
.dz-card__note { padding: 10px 28px 0; font-size: 13px; color: var(--muted); }
.dz-tone--blue { color: var(--blue); } .dz-tone--red { color: var(--red); } .dz-tone--green { color: var(--green); } .dz-tone--black { color: var(--black); } .dz-tone--amber { color: #b9771c; } .dz-tone--cream { color: #6b5a3c; }
.dz-hidden-empty:not(:has(td)) { display: none; }
.dz-profile-extra:empty { display: none; }

/* ---------- вход, ошибки, ожидание */
.dz-gate, .dz-error, .dz-wait { position: relative; max-width: 500px; margin: 26px auto; padding: 34px 32px 26px; border-radius: 18px; background: var(--cream); background-image: var(--gloss); box-shadow: 0 0 0 4px var(--blue) inset, 0 0 0 8px var(--cream) inset, 0 16px 24px -16px rgba(40, 30, 10, .6); }
.dz-gate h1, .dz-error h1, .dz-wait h1 { font-size: 28px; text-transform: uppercase; color: var(--blue); }
.dz-form { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.dz-field { display: flex; flex-direction: column; gap: 5px; font: 500 14px var(--f-head); }
.dz-field .textbox { width: 100%; }
.dz-form__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 14px; }
.dz-checkline { display: inline-flex; align-items: center; gap: 6px; }
.dz-form__submit { width: 100%; }
.dz-error__text { margin-top: 10px; }
.dz-error__links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 18px !important; }
.dz-wait { margin-top: 12vh; text-align: center; }
.dz-wait p { margin: 10px 0 16px; }

/* ---------- стандартные блоки MyBB */
.tborder { width: 100%; margin-bottom: 16px; border-radius: 12px; overflow: hidden; background: #fffdf6; box-shadow: 0 0 0 2px var(--line) inset; }
.tborder td, .tborder th { padding: 9px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.thead { color: #fff; font: 800 15px var(--f-head); text-transform: uppercase; background: var(--blue); }
.thead a, .thead strong { color: #fff; }
.tcat { background: var(--cream-2); font: 500 13px var(--f-head); color: var(--ink-2); }
.trow1, .trow2 { background: #fffdf6; }
.trow_shaded, .unapproved_post { background: #fff1d1 !important; }
.trow_selected, tr.trow_selected td { background: #fff4c4 !important; }
.trow_deleted, .deleted_post_hidden { background: #f6dcd4 !important; }
.trow_sep { background: var(--cream-2); font-weight: 600; }
.tfoot { background: var(--cream); }
.smalltext { font-size: 13px; color: var(--muted); }
.largetext { font: 800 20px var(--f-head); }
.expcolimage { float: right; }
fieldset { border: 2px solid var(--line); border-radius: 12px; padding: 12px 16px; }
fieldset legend { padding: 0 6px; font: 800 13px var(--f-head); text-transform: uppercase; }
input.textbox, input[type="text"], input[type="password"], input[type="email"], input[type="number"], input[type="search"]:not(#dz-q), input[type="url"], input[type="date"], select, textarea {
	max-width: 100%; min-height: 42px; padding: 9px 14px; font: 15px var(--f-text); color: var(--ink); background: #fff; border: 2px solid #cfc3a3; border-radius: 10px;
}
textarea { min-height: 120px; line-height: 1.55; resize: vertical; }
select[multiple] { min-height: 120px; }
input.textbox:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18, 58, 107, .18); }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; accent-color: var(--red); }
.dz-formtable td { padding: 6px 0; border: 0; }
.dz-formtable .textbox { width: 100%; }
.dz-formtable .button { width: 100%; margin-top: 8px; }
.dz-formtable div[align="center"] { text-align: left; }
.red_alert, .pm_alert { margin-bottom: 14px; padding: 12px 16px; border-radius: 12px; font-weight: 600; }
.red_alert { background: #f6d9d1; color: #7c1f12; }
.pm_alert { background: #fbe7bf; }
div.error { margin-bottom: 14px; padding: 12px 16px; border-radius: 12px; background: #f6d9d1; color: #7c1f12; }
div.error ul { margin: 6px 0 0; padding-left: 20px; }
.popup_menu { background: var(--cream); border: 2px solid var(--blue); border-radius: 12px; box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .4); padding: 6px; }
.popup_menu .popup_item { display: block; padding: 7px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.popup_menu .popup_item:hover { background: var(--cream-2); }
.blocker { position: fixed; inset: 0; z-index: 9998; background: rgba(11, 37, 71, .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: 30px 26px 24px; text-align: left; border-radius: 18px; background: var(--cream); box-shadow: 0 0 0 4px var(--blue) inset, 0 0 0 8px var(--cream) inset, 0 24px 50px -16px rgba(0, 0, 0, .7); }
.modal a.close-modal { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); 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: 20px; color: #fff; }
.dz-modal__title { margin-bottom: 14px; font-size: 22px; text-transform: uppercase; color: var(--blue); }
.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: 12px 14px; border-radius: 12px; background: var(--blue); color: #fff; }
.jGrowl .jGrowl-close { float: right; cursor: pointer; }

/* ---------- подвал */
.dz-foot { margin-top: auto; background: var(--blue-dk); color: #c9d6e8; border-top: 4px solid var(--cream); box-shadow: 0 -4px 0 var(--blue) inset; }
.dz-foot__in { max-width: var(--wrap); margin: 0 auto; padding: 32px 20px 28px; display: grid; grid-template-columns: 1.2fr 1fr 1.1fr; gap: 28px; }
.dz-foot__logo { font: 800 22px var(--f-head); text-transform: uppercase; color: #fff; margin-bottom: 8px !important; }
.dz-foot__plate p:last-child { font-size: 14px; }
.dz-foot__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; align-content: start; }
.dz-foot__nav a { color: #eef3fa; font-size: 14.5px; text-decoration: none; }
.dz-foot__nav a:hover { color: var(--amber); text-decoration: underline; }
.dz-foot__note { padding: 14px 16px; border-radius: 12px; border: 2px dashed rgba(244, 237, 219, .3); font-size: 13.5px; }

/* ---------- адаптив */
@media (max-width: 1060px) {
	.dz-top__in { flex-wrap: wrap; }
	.dz-search { order: 5; flex: 1 1 100%; }
	.dz-hero { grid-template-columns: minmax(0, 1fr); }
	.dz-board__list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
	body { font-size: 15.5px; }
	.dz-top__in { gap: 10px 12px; padding: 10px 14px; }
	.dz-logo__emblem { width: 44px; height: 44px; }
	.dz-logo__emblem span { font-size: 16px; }
	.dz-logo__name { font-size: 15px; }
	.dz-nav { order: 4; flex: 1 1 100%; overflow-x: auto; scrollbar-width: none; }
	.dz-nav a { white-space: nowrap; padding: 6px 10px; font-size: 14px; }
	.dz-act { margin-left: auto; }
	.dz-main { padding: 14px 12px 48px; }
	.dz-sign { padding: 34px 24px 28px; }
	.dz-sign__t { font-size: clamp(42px, 13vw, 60px); }
	.dz-sign__act .dz-btn { flex: 1 1 100%; }
	.dz-cold { padding: 26px 18px 18px; }
	.dz-cold__body { grid-template-columns: minmax(0, 1fr) 80px; }
	.dz-vial { width: 80px; }
	.dz-temp__out { font-size: 38px; }
	.dz-board { padding: 20px 18px 14px; }
	.dz-pumps { grid-template-columns: minmax(0, 1fr); }
	.dz-classes { padding: 26px 18px 20px; }
	.dz-classes__table thead { display: none; }
	.dz-classes__table, .dz-classes__table tbody, .dz-classes__table tr, .dz-classes__table th, .dz-classes__table td { display: block; width: 100%; }
	.dz-classes__table tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
	.dz-classes__table th, .dz-classes__table td { padding: 2px 0; border: 0; }
	.dz-head { grid-template-columns: minmax(0, 1fr); padding: 22px 20px 18px; }
	.dz-head__ico { display: none; }
	.dz-pagehead, .dz-head__desc, .dz-head__meta, .dz-head__forum, .dz-head__act { grid-column: 1; grid-row: auto; }
	.dz-post { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.dz-plate { position: relative; top: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "mono name" "mono rank" "facts facts" "drops cet"; justify-items: start; column-gap: 12px; row-gap: 4px; padding: 20px 18px 16px; border-radius: 16px 16px 0 0; text-align: left; }
	.dz-plate__mono { grid-area: mono; width: 52px; height: 52px; font-size: 19px; margin: 0; }
	.dz-plate__name { grid-area: name; align-self: end; }
	.dz-plate__rank { grid-area: rank; }
	.dz-plate .dz-ufacts { grid-area: facts; display: flex; flex-wrap: wrap; gap: 0 14px; }
	.dz-plate .dz-ufacts div { border: 0; padding: 1px 0; gap: 4px; }
	.dz-plate .dz-ufacts__car { flex-direction: row; flex-basis: 100%; }
	.dz-plate .dz-drops { grid-area: drops; align-self: center; }
	.dz-plate .dz-cetane { grid-area: cet; justify-self: end; margin: 0; }
	.dz-post__card { border-radius: 0 0 14px 14px; padding: 16px 16px 12px; }
	.dz-card__in { grid-template-columns: minmax(0, 1fr); padding: 14px 18px 0; }
	.dz-card__head, .dz-card__actions, .dz-card__note { padding-left: 18px; padding-right: 18px; }
	.dz-foot__in { grid-template-columns: minmax(0, 1fr); }
	.dz-table thead { display: none; }
	.dz-table, .dz-table tbody, .dz-table tr, .dz-table td { display: block; width: 100%; }
	.dz-table tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
	.dz-table td { padding: 0; border: 0; }
	.dz-trow__meta { padding-left: 0; }
	.dz-trow__state { display: none; }
	.dz-table .num { display: inline-block; width: auto; margin: 6px 14px 0 0; text-align: left; font-size: 13px; color: var(--muted); }
	.dz-table .num:nth-of-type(2)::after { content: " отв."; }
	.dz-table .num:nth-of-type(3)::after { content: " просм."; }
	.dz-trow__last { display: none !important; }
}
@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: #1b4d88; font-weight: 500; border-bottom: 2px solid rgba(18, 58, 107, .2); }
: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: #123a6b; border-bottom: 2px solid #c8321f; background: none; }
:is(.post_body, .signature, [class*="-post__body"], [class*="-post__sign"]) a.mycode_url[target="_blank"]::after { content: none; display: none; }
/* ===== конец стиля ссылок ===== */
