/* ==========================================================================
   Все о такси — тема «Ночной город»
   Полуночный синий фон с тёплыми пятнами натриевых фонарей, стеклянные панели, светящаяся «шашка» такси.
   Заголовки — тяжёлый Dela Gothic One, текст — Onest. Табличка водителя янтарём, как в салоне ночью.
   ========================================================================== */

@font-face { font-family: "Dela"; src: url("fonts/dela-gothic-one-cyrillic-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Dela"; src: url("fonts/dela-gothic-one-latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122, U+2190-2199; }
@font-face { font-family: "Onest"; src: url("fonts/onest-cyrillic-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; src: url("fonts/onest-latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122, U+2190-2199; }
@font-face { font-family: "Onest"; src: url("fonts/onest-cyrillic-600.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; src: url("fonts/onest-latin-600.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122, U+2190-2199; }
@font-face { font-family: "Onest"; src: url("fonts/onest-cyrillic-800.woff2") format("woff2"); font-weight: 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; src: url("fonts/onest-latin-800.woff2") format("woff2"); font-weight: 800; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122, U+2190-2199; }

:root {
	color-scheme: dark;
	--bg: #0b1030;
	--night-2: #141a45;
	--surface: rgba(255, 255, 255, .06);
	--surface-2: rgba(255, 255, 255, .1);
	--glass-b: rgba(255, 255, 255, .14);
	--paper: #11173d;
	--ink: #eef0ff;
	--muted: #b3b8e0;
	--amber: #ffb547;
	--lemon: #ffe36e;
	--brake: #ff4d78;
	--sky: #8cc8ff;
	--accent: var(--lemon);
	--accent-ink: #1a1400;
	--link: #ffd27a;
	--line: rgba(255, 255, 255, .14);
	--field-1: #070a20;
	--field-1-ink: #eef0ff;

	--f-head: "Dela", "Arial Black", sans-serif;
	--f: "Onest", "Segoe UI", Arial, sans-serif;
	--step-small: 0.9375rem;
	--step-body: 1.0625rem;
	--step-lead: clamp(1.2rem, 1.02rem + 0.6vw, 1.5rem);
	--step-head: clamp(2.2rem, 1.4rem + 3vw, 4rem);
	--step-display: clamp(3.2rem, 1.2rem + 7vw, 8rem);
	--m: clamp(18px, 3.4vw, 52px);
	--r: 20px;
	--ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 12px; background: var(--bg); }
body { margin: 0; min-height: 100vh; color: var(--ink); font: 400 var(--step-body)/1.6 var(--f); -webkit-font-smoothing: antialiased;
	background: radial-gradient(900px 600px at 85% -5%, rgba(255, 181, 71, .16), transparent 60%), radial-gradient(700px 500px at -10% 40%, rgba(255, 77, 120, .1), transparent 60%), radial-gradient(800px 600px at 60% 110%, rgba(140, 200, 255, .1), transparent 60%), var(--bg); background-attachment: fixed; }
img { max-width: 100%; height: auto; border: 0; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--lemon); }
:focus-visible { outline: 3px solid var(--lemon); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 400; line-height: 1.02; letter-spacing: -0.01em; margin: 0; color: #fff; }
p { margin: 0 0 .8em; max-width: 64ch; }
b, strong { font-weight: 600; }
table { border-collapse: collapse; }
script, template { display: none !important; }
.vt-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vt-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 12px; background: var(--lemon); color: var(--accent-ink); }
.vt-skip:focus { top: 12px; }
.float_left { float: left; } .float_right { float: right; } .clear { clear: both; }

/* стекло */
.vt-glass { border: 1px solid var(--glass-b); border-radius: var(--r); background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }

/* «шашка» на крыше: светящийся короб */
.vt-roof { display: inline-grid; place-items: center; padding: 3px 10px 4px; border-radius: 8px 8px 3px 3px; background: var(--lemon); color: #3a2b00; font: 400 .875rem/1 var(--f-head); letter-spacing: .04em; box-shadow: 0 0 18px rgba(255, 227, 110, .55), 0 0 2px rgba(255, 227, 110, .9); }

/* ---------- кнопки ---------- */
.vt-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: 50px; padding: 0 24px;
	border: 0; border-radius: 14px; background: var(--lemon); color: var(--accent-ink); font: 600 1.0625rem/1 var(--f);
	cursor: pointer; text-decoration: none; white-space: nowrap; box-shadow: 0 8px 30px -10px rgba(255, 227, 110, .7);
	transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.vt-btn:hover, .button:hover, input[type="submit"]:hover, button[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(255, 227, 110, .9); color: var(--accent-ink); }
.vt-btn:active { transform: translateY(1px); }
.vt-btn--glass { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: none; border: 1px solid var(--glass-b); }
.vt-btn--glass:hover { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; }

/* ---------- шапка ---------- */
.vt-shell { padding: 0; }
.vt-bar { position: sticky; top: 0; z-index: 50; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 14px var(--m); background: rgba(11, 16, 48, .72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.vt-logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font: 400 1.25rem/1 var(--f-head); }
.vt-logo:hover { color: #fff; }
.vt-nav { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-right: auto; }
.vt-nav a { padding: 9px 14px; border-radius: 12px; color: var(--muted); text-decoration: none; font-weight: 600; transition: color .2s, background-color .2s; }
.vt-nav a:hover { color: #fff; background: var(--surface-2); }
.vt-search input { width: clamp(180px, 18vw, 270px); min-height: 44px; padding: 0 16px; border: 1px solid var(--glass-b); border-radius: 12px; background: rgba(255, 255, 255, .06); color: #fff; font: 400 1rem/1 var(--f); }
.vt-search input::placeholder { color: #8f95c4; }
.vt-search input:focus { outline: 2px solid var(--lemon); }
.vt-act { position: relative; }
.vt-act .vt-btn { min-height: 44px; }
.vt-user { display: flex; align-items: center; gap: 10px; }
.vt-user__pm { display: none; }
.vt-user__menu summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; padding: 0 16px; border-radius: 12px; background: var(--lemon); color: var(--accent-ink); font-weight: 600; }
.vt-user__menu summary::-webkit-details-marker { display: none; }
.vt-user__drop { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; min-width: 240px; margin: 0; padding: 6px; list-style: none; border: 1px solid var(--glass-b); border-radius: 16px; background: #141a45; }
.vt-user__drop a { display: block; padding: 10px 12px; border-radius: 10px; color: #fff; text-decoration: none; }
.vt-user__drop a:hover { background: var(--surface-2); }

.vt-main { padding: 0 var(--m); }
.vt-path { margin: 20px 0; font-size: 1rem; }
.vt-path ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.vt-path li:not(:last-child)::after { content: "›"; margin: 0 10px; color: var(--amber); }
.vt-path a { color: var(--muted); text-decoration: none; }
.vt-path a:hover { color: #fff; }
.vt-path li span { color: #fff; }
.vt-page--index .vt-path { display: none; }

/* ---------- главная: ночь, шашка, название ---------- */
.vt-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); align-items: end; gap: 30px; min-height: calc(100svh - 74px); margin: 0 calc(var(--m) * -1); padding: 60px var(--m) 56px; overflow: hidden; isolation: isolate; }
.vt-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.2) brightness(.7); transform: scale(1.06); }
.vt-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 16, 48, .25) 0%, rgba(11, 16, 48, .55) 45%, var(--bg) 100%), linear-gradient(90deg, rgba(11, 16, 48, .85) 0%, rgba(11, 16, 48, .2) 70%); }
.js .vt-hero__bg { transition: transform 6s ease-out; }
.is-ready .vt-hero__bg { transform: scale(1); }
.vt-hero__sign { display: inline-block; margin: 0 0 22px; }
.vt-hero__sign span { display: inline-grid; place-items: center; min-width: 210px; padding: 14px 30px 16px; border-radius: 22px 22px 6px 6px; background: var(--lemon); color: #3a2b00; font: 400 clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem)/1 var(--f-head); letter-spacing: .06em; box-shadow: 0 0 60px rgba(255, 227, 110, .55), 0 0 12px rgba(255, 227, 110, .9), inset 0 -6px 0 rgba(0, 0, 0, .12); animation: vt-glow 3.6s ease-in-out infinite; }
@keyframes vt-glow { 50% { box-shadow: 0 0 90px rgba(255, 227, 110, .75), 0 0 16px rgba(255, 227, 110, 1), inset 0 -6px 0 rgba(0, 0, 0, .12); } }
.vt-hero__title { font-size: var(--step-display); line-height: .92; text-shadow: 0 6px 40px rgba(0, 0, 0, .5); }
.vt-hero__lead { margin: 24px 0 0; font-size: var(--step-lead); line-height: 1.45; max-width: 40ch; color: #e3e6ff; }
.vt-hero__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.vt-hero__now { padding: 22px 24px; }
.vt-hero__now-k { margin: 0 0 10px; color: var(--amber); font-weight: 600; }
.vt-hero__now-t { display: block; color: #fff; font-size: 1.25rem; font-weight: 600; line-height: 1.3; text-decoration: none; }
.vt-hero__now-t:hover { color: var(--lemon); }
.vt-hero__now-m { margin: 8px 0 14px; color: var(--muted); font-size: 1rem; }
.vt-hero__now-n { margin: 0; padding-top: 4px; color: var(--muted); font-size: 1rem; }

/* ---------- пропуск на линию ---------- */
.vt-pass { padding: clamp(60px, 8vw, 110px) 0 40px; }
.vt-pass__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 40px; margin-bottom: 30px; }
.vt-pass__head h2 { font-size: var(--step-head); }
.vt-pass__head p { margin: 0; max-width: 46ch; color: var(--muted); }
.vt-pass__form { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; overflow: hidden; }
.vt-pass__qs { margin: 0; padding: 10px 0; list-style: none; counter-reset: q; }
.vt-q { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 24px; counter-increment: q; }
.vt-q + .vt-q { border-top: 1px solid var(--line); }
.vt-q::before { content: counter(q); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); color: var(--amber); font: 400 1rem/1 var(--f-head); }
.vt-q p { margin: 0; font-size: 1.0625rem; }
.vt-q__yn { display: inline-flex; gap: 6px; }
.vt-q__yn label { position: relative; cursor: pointer; }
.vt-q__yn input { position: absolute; opacity: 0; }
.vt-q__yn span { display: inline-grid; place-items: center; min-width: 58px; min-height: 44px; padding: 0 12px; border: 1px solid var(--glass-b); border-radius: 12px; font-weight: 600; transition: background-color .2s, color .2s; }
.vt-q__yn label:hover span { background: var(--surface-2); }
.vt-q__yn input:checked[value="1"] + span { background: #2fd38a; border-color: #2fd38a; color: #002414; }
.vt-q__yn input:checked[value="0"] + span { background: var(--brake); border-color: var(--brake); color: #2b0010; }
.vt-q__yn input:focus-visible + span { outline: 3px solid var(--lemon); outline-offset: 2px; }
.vt-pass__res { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: rgba(0, 0, 0, .22); }
.vt-meter { height: 12px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.vt-meter i { display: block; width: 0; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brake), var(--amber), var(--lemon)); box-shadow: 0 0 20px rgba(255, 227, 110, .7); transition: width .5s var(--ease); }
.vt-pass__verdict { margin: 0; font: 400 clamp(1.4rem, 1.1rem + 1vw, 2rem)/1.15 var(--f-head); color: #fff; }
.vt-pass__todo { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.vt-pass__todo li { padding: 12px 14px; border-left: 3px solid var(--brake); border-radius: 0 12px 12px 0; background: rgba(255, 77, 120, .1); font-size: 1rem; }
.vt-pass__todo a { display: inline-block; margin-top: 4px; }
.vt-pass__note { margin: auto 0 0; color: var(--muted); font-size: 1rem; }

/* ---------- часы смены ---------- */
.vt-clock { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: clamp(50px, 7vw, 100px) 0; }
.vt-clock h2 { font-size: var(--step-head); }
.vt-clock__text > p { margin: 16px 0 26px; color: var(--muted); }
.vt-clock__card { padding: 22px 24px; }
.vt-clock__h { margin: 0 0 6px; font: 400 2.5rem/1 var(--f-head); color: var(--lemon); text-shadow: 0 0 24px rgba(255, 227, 110, .5); }
.vt-clock__dial { margin: 0; }
#vt-dial { display: block; width: 100%; max-width: 520px; height: auto; margin: 0 auto; }
.vt-seg { cursor: pointer; transition: opacity .2s, transform .2s var(--ease); transform-origin: 210px 210px; }
.vt-seg:hover, .vt-seg.is-on { opacity: 1 !important; transform: scale(1.04); }
.vt-dial__hour { font: 600 14px var(--f); fill: #b3b8e0; }
.vt-dial__now { font: 400 30px var(--f-head); fill: #fff; }

/* ---------- разделы ---------- */
.vt-sections { padding: clamp(40px, 6vw, 80px) 0; }
.vt-sections > h2 { font-size: var(--step-head); margin-bottom: 30px; }
.vt-sections__groups { display: grid; gap: 76px; }
.vt-group__title { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.vt-group__title::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 14px var(--amber); }
.vt-group__title a { color: #fff; text-decoration: none; }
.vt-group__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.vt-item { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; transition: transform .25s var(--ease), border-color .25s; }
.vt-item:hover { transform: translateY(-3px); border-color: rgba(255, 227, 110, .5); }
.vt-item__state { display: none; }
.vt-item__name { color: #fff; font-size: 1.1875rem; font-weight: 600; line-height: 1.25; text-decoration: none; }
.vt-item__name::after { content: ""; position: absolute; inset: 0; }
.vt-item__desc { font-size: 1rem; line-height: 1.5; color: var(--muted); }
.vt-item__meta { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin-top: auto; padding-top: 12px; font-size: 1rem; }
.vt-item__meta b { color: var(--amber); }
.vt-item__meta a { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

/* ---------- свежее с линии ---------- */
.vt-night { padding: clamp(40px, 6vw, 80px) 0 20px; }
.vt-night h2 { font-size: var(--step-head); margin-bottom: 28px; }
.vt-night__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vt-night__list { grid-row: 1 / 3; display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.vt-night__list li { position: relative; display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 2px 14px; padding: 12px 14px; border-radius: 14px; transition: background-color .2s; }
.vt-night__list li:hover { background: var(--surface); }
.vt-night__time { grid-row: 1 / 3; color: var(--lemon); font: 400 1.125rem/1.3 var(--f-head); text-shadow: 0 0 14px rgba(255, 227, 110, .4); }
.vt-night__list a { color: #fff; font-weight: 600; line-height: 1.35; text-decoration: none; }
.vt-night__list a::after { content: ""; position: absolute; inset: 0; }
.vt-night__list a:hover { color: var(--lemon); }
.vt-night__meta { position: relative; z-index: 1; pointer-events: none; color: var(--muted); font-size: 1rem; }
.vt-night__photo { margin: 0; border-radius: var(--r); overflow: hidden; }
.vt-night__photo img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; transition: transform .8s var(--ease); }
.vt-night__photo:hover img { transform: scale(1.05); }
.vt-night__photo--1 { grid-column: 2 / 4; }

/* ---------- раздел и тема ---------- */
.vt-head { margin: 0 0 26px; padding: clamp(24px, 3vw, 40px); }
.vt-pagehead { font-size: var(--step-head); max-width: 22ch; }
.vt-pagehead--thread { font-size: clamp(1.8rem, 1.2rem + 2vw, 3.2rem); max-width: 30ch; }
.vt-head__desc { margin: 12px 0 0; color: var(--muted); }
.vt-head__desc:empty { display: none; }
.vt-head__meta { margin: 10px 0 0; color: var(--muted); }
.vt-head__forum { margin: 10px 0 0; }
.vt-head__act { margin-top: 18px; }
.vt-head__act:empty { display: none; }
.vt-threads { padding: 16px 20px 20px !important; border: 1px solid var(--glass-b); border-radius: var(--r); background: rgba(255, 255, 255, .04); }
/* ---------- списки тем, пагинация (общие для сетки) ---------- */

.vt-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 14px; font-size: var(--step-small); }
.vt-tools--foot { margin: 18px 0 0; }
.vt-tools__right { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.vt-tools__right a { color: var(--muted); }
.vt-sort { display: flex; flex-wrap: wrap; gap: 4px; }
.vt-sort a { padding: 10px 12px; background: var(--surface); text-decoration: none; }
.vt-sort a:hover { background: var(--surface-2); color: var(--ink); }
.vt-mod-row { display: none; }
.vt-mod-row:has(td) { display: table; width: 100%; }

.vt-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.vt-table th { text-align: left; font-weight: 400; color: var(--muted); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.vt-table td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.vt-table .num { text-align: right; width: 96px; padding-right: 24px; font-size: var(--step-body); }
.vt-table th.num { font-size: var(--step-small); }
.vt-table .num a { text-decoration: none; }
.vt-trow:hover td { background: var(--surface); }
.vt-trow__main { position: relative; padding-left: 18px !important; }
.vt-trow__state { position: absolute; left: 0; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: transparent; }
.vt-trow__state[class*="new"] { background: var(--accent); }
.vt-trow__title { display: block; font-size: var(--step-body); line-height: 1.35; }
.vt-trow__title a { text-decoration: none; }
.vt-trow__title a:hover { text-decoration: underline; }
.vt-trow__meta { display: block; margin-top: 4px; color: var(--muted); }
.vt-trow__meta a { color: var(--muted); }
.vt-trow__last { width: 200px; color: var(--muted); }
.vt-trow__last a { color: var(--ink); text-decoration: none; display: block; }
.vt-trow__last span { display: block; }
.vt-trow__last span a { color: var(--muted); display: inline; }
.forumdisplay_sticky .vt-trow__title::before { content: "Закреплено · "; color: var(--muted); }
.vt-new { margin-right: 6px; padding: 1px 6px; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-size: var(--step-small); }
.vt-empty { padding: 32px 0 !important; color: var(--muted); }
.vt-modcheck { display: inline-grid; place-items: center; width: 44px; height: 44px; }

.pagination, .vt-pages { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: var(--step-small); }
.pagination .pages { display: none; }
.pagination a, .pagination_current { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; background: var(--surface); text-decoration: none; }
.pagination a:hover { background: var(--surface-2); color: var(--ink); }
.pagination_current { background: var(--ink); color: var(--bg); }

/* разметка сообщений: заметные ссылки, цитаты, код */
.vt-post__body a.mycode_url, .vt-post__sign a.mycode_url { color: var(--link); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.vt-post__body a.mycode_url:hover { color: var(--ink); background: #f7e3b5; }
.vt-post__body a.mycode_url[target="_blank"]::after { content: "↗"; font-size: .8em; margin-left: 2px; display: inline-block; text-decoration: none; }
blockquote, .mycode_quote { margin: 0 0 16px; padding: 14px 18px; background: var(--surface); font-size: 0.95em; }
blockquote cite, .mycode_quote cite { display: block; font-style: normal; color: var(--muted); font-size: var(--step-small); margin-bottom: 6px; }
blockquote cite > span { float: right; }
.codeblock { margin: 0 0 16px; padding: 14px 16px; background: var(--field-1); color: var(--field-1-ink); }
.codeblock .title { color: #c7cad3; font-size: var(--step-small); margin-bottom: 6px; }
.codeblock code, .codeblock pre { font: 14px/1.55 ui-monospace, Menlo, Consolas, monospace; white-space: pre-wrap; }
.post_body ul, .post_body ol { padding-left: 1.3em; }

.vt-adjacent { display: flex; justify-content: space-between; gap: 16px; margin: 40px 0; font-size: var(--step-small); }
.vt-adjacent a { color: var(--muted); }
.vt-reply { margin: 0 0 32px; padding: 32px; background: var(--surface); max-width: calc(72ch + 2 * 32px); }
.vt-reply__head h2 { font-size: var(--step-lead); }
.vt-reply__head p { color: var(--muted); font-size: var(--step-small); margin: 6px 0 16px; }
.vt-reply textarea { width: 100%; min-height: 180px; }
.vt-reply__opts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: var(--step-small); color: var(--muted); }
.vt-reply__opts label { display: inline-flex; align-items: center; gap: 6px; }
.vt-reply__captcha:not(:has(td)) { display: none; }
.vt-reply__act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.vt-reply__full { margin-left: auto; font-size: var(--step-small); color: var(--muted); }
.vt-reply__mq { margin-top: 8px; font-size: var(--step-small); }
.vt-guest p { margin: 0; font-size: var(--step-lead); }
.vt-modtools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 20px; font-size: var(--step-small); }
.thread_tools { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
.thread_tools li { background: none !important; padding: 0 !important; }
.thread_tools a { color: var(--muted); }
.vt-modtools > div { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.vt-browsing { margin-top: 16px; font-size: var(--step-small); color: var(--muted); }
.vt-browsing:empty { display: none; }


/* ---------- вход, ошибки, ожидание ---------- */
.vt-gate { max-width: 460px; margin: 24px 0 80px; }
.vt-gate h1 { font-size: var(--step-head); margin-bottom: 24px; }
.vt-form { display: grid; gap: 16px; }
.vt-field { display: grid; gap: 6px; font-size: var(--step-small); color: var(--muted); }
.vt-field .textbox { width: 100%; }
.vt-form__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; font-size: var(--step-small); }
.vt-checkline { display: inline-flex; align-items: center; gap: 8px; }
.vt-form__submit { width: 100%; }
.vt-error { max-width: 720px; margin: 24px 0 80px; }
.vt-error h1 { font-size: var(--step-head); margin-bottom: 16px; }
.vt-error__text { font-size: var(--step-lead); line-height: 1.35; }
.vt-error__links { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; }
.vt-wait { max-width: 520px; margin: 20vh auto 0; padding: 0 var(--m); }
.vt-wait h1 { font-size: var(--step-head); margin-bottom: 12px; }
.vt-wait p { color: var(--muted); }

/* ---------- стандартные элементы MyBB (формы, ЛК, поиск) ---------- */
.tborder { width: 100%; margin: 0 0 24px; border-collapse: collapse; background: var(--bg); font-size: var(--step-small); }
.tborder td, .tborder th { padding: 12px 12px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.thead { font-size: var(--step-lead); border-bottom: 0 !important; padding-top: 24px !important; }
.thead strong { font-weight: 400; }
.tcat { color: var(--muted); }
.trow1, .trow2 { background: var(--bg); }
.trow_shaded, .unapproved_post { background: #ebe6df !important; }
.trow_selected, tr.trow_selected td { background: #f7e3b5 !important; }
.trow_deleted, .deleted_post_hidden { background: #f2d9d2 !important; }
.trow_sep { color: var(--muted); padding: 16px 0 6px; }
.tfoot { text-align: left; border-bottom: 0 !important; }
.smalltext { font-size: var(--step-small); color: var(--muted); }
.largetext { font-size: var(--step-lead); }
.expcolimage { display: none; }
fieldset { border: 0; padding: 20px 0; margin: 0 0 20px; }
fieldset legend { font-size: var(--step-lead); padding: 0; }
input.textbox, input[type="text"], input[type="password"], input[type="email"], input[type="number"], input[type="search"]:not(#vt-q), input[type="url"], input[type="date"], select, textarea {
	max-width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 0; background: var(--surface); color: var(--ink); font: 400 var(--step-body)/1.4 var(--f);
}
textarea { line-height: 1.55; }
select { appearance: none; padding-right: 34px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23333231' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center; }
select[multiple] { background-image: none; }
input.textbox:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; accent-color: var(--ink); vertical-align: -3px; }
.vt-formtable td { display: block; padding: 6px 0; border: 0; }
.vt-formtable .textbox { width: 100%; }
.vt-formtable .button { width: 100%; }
.vt-formtable div[align="center"] { text-align: left; }
.red_alert, .pm_alert { margin: 0 0 16px; padding: 12px 16px; font-size: var(--step-small); }
.red_alert { background: #f2d9d2; }
.pm_alert { background: #f7e3b5; display: flex; justify-content: space-between; gap: 10px; }
div.error { margin: 0 0 16px; padding: 14px 18px; background: #f2d9d2; }
div.error ul { margin: 6px 0 0; padding-left: 1.2em; }
.popup_menu { /* taste-skill-ignore: всплывающее меню */ position: absolute; z-index: 70; min-width: 200px; padding: 6px; background: var(--bg); box-shadow: 0 20px 50px -24px rgba(5, 7, 10, .45); font-size: var(--step-small); }
.popup_menu .popup_item { display: block; padding: 9px 12px; text-decoration: none; color: var(--ink); background: none; }
.popup_menu .popup_item:hover { background: var(--surface); }
.blocker { position: fixed; inset: 0; z-index: 9998; padding: 20px; overflow: auto; background: rgba(5, 7, 10, .62); text-align: center; }
.blocker::before { content: ""; display: inline-block; height: 100%; vertical-align: middle; }
.modal { /* taste-skill-ignore: диалог */ display: none; vertical-align: middle; position: relative; z-index: 9999; width: 100%; max-width: 440px; padding: 32px; text-align: left; background: var(--bg); box-shadow: 0 30px 70px -20px rgba(5, 7, 10, .55); }
.modal a.close-modal { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; display: grid; place-items: center; font-size: 0; }
.modal a.close-modal { width: auto; font-size: 0; }
.modal a.close-modal::before { content: "Закрыть"; font-size: var(--step-small); color: var(--muted); }
.vt-modal__title { font-size: var(--step-head); margin-bottom: 16px; }
.jGrowl { position: fixed; z-index: 9999; }
.jGrowl.top-right { top: 16px; right: 16px; }
.jGrowl .jGrowl-notification, .jGrowl .jGrowl-closer { /* taste-skill-ignore: уведомление */ width: 300px; margin-top: 8px; padding: 14px 16px; background: var(--field-1); color: var(--field-1-ink); box-shadow: 0 20px 40px -20px rgba(5, 7, 10, .5); }
.jGrowl .jGrowl-close { float: right; background: none; border: 0; color: inherit; cursor: pointer; }


/* общие элементы MyBB на тёмном фоне */
.tborder, .trow1, .trow2, .tcat, .thead { background: transparent !important; color: var(--ink); }
.tborder td, .tborder th { border-color: var(--line) !important; }
.trow_shaded, .unapproved_post { background: rgba(255, 181, 71, .1) !important; }
.trow_selected, tr.trow_selected td { background: rgba(255, 227, 110, .12) !important; }
.trow_deleted, .deleted_post_hidden { background: rgba(255, 77, 120, .12) !important; }
input.textbox, input[type="text"], input[type="password"], input[type="email"], input[type="number"], input[type="search"]:not(#vt-q), select, textarea { border: 1px solid var(--glass-b) !important; border-radius: 12px !important; background: rgba(255, 255, 255, .06) !important; color: #fff !important; }
select { background-image: none !important; }
.modal { border: 1px solid var(--glass-b) !important; border-radius: 22px !important; background: #141a45 !important; color: #fff; }
.popup_menu { background: #141a45 !important; border: 1px solid var(--glass-b); border-radius: 14px; }
.popup_menu .popup_item { color: #fff !important; }
.red_alert, div.error { background: rgba(255, 77, 120, .15) !important; color: #fff; }
.pm_alert { background: rgba(255, 181, 71, .15) !important; }
.vt-table th { color: var(--muted) !important; border-bottom: 1px solid var(--line) !important; }
.vt-table td { border-bottom: 1px solid var(--line) !important; }
.vt-trow:hover td { background: rgba(255, 255, 255, .05) !important; }
.vt-trow__title a { color: #fff; font-weight: 600; }
.vt-trow__state[class*="new"] { background: var(--lemon) !important; box-shadow: 0 0 10px var(--lemon); }
.vt-trow__meta, .vt-trow__meta a, .vt-trow__last, .vt-trow__last span a { color: var(--muted) !important; font-size: 1rem !important; }
.vt-trow__last a { color: #fff !important; }
.vt-table .num a, .vt-table .num { color: #fff; }
.vt-sort a { border-radius: 12px !important; background: var(--surface) !important; color: #fff !important; }
.vt-sort a:hover { background: var(--surface-2) !important; }
.vt-tools__right a { color: var(--muted) !important; }
.pagination a, .pagination_current { border-radius: 10px !important; background: var(--surface) !important; color: #fff !important; }
.pagination_current { background: var(--lemon) !important; color: var(--accent-ink) !important; }
.smalltext { color: var(--muted) !important; }
.vt-reply { border: 1px solid var(--glass-b); border-radius: var(--r) !important; background: rgba(255, 255, 255, .05) !important; max-width: none !important; }
.codeblock { background: #070a20 !important; border-radius: 12px; }

/* ---------- сообщение: табличка водителя ---------- */
.vt-posts { display: grid; gap: 18px; max-width: 980px; }
.vt-post { padding: 0 0 18px; overflow: hidden; }
.vt-plate { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "k tips" "name tips" "line line"; gap: 2px 16px; padding: 14px 22px 14px; background: linear-gradient(90deg, rgba(255, 181, 71, .2), rgba(255, 181, 71, .04)); }
.vt-plate__k { grid-area: k; margin: 0; color: var(--amber); font-size: var(--step-small); font-weight: 600; }
.vt-plate__name { grid-area: name; color: #fff; font: 400 1.4rem/1.15 var(--f-head); text-decoration: none; overflow-wrap: anywhere; }
.vt-plate__name:hover { color: var(--lemon); }
.vt-plate__line { grid-area: line; margin: 4px 0 0; max-width: none; color: #d9dcfa; font-size: 1rem; }
.vt-plate__line b { color: var(--amber); }
.vt-plate .vt-tips { grid-area: tips; align-self: center; }
.vt-tips { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 99px; background: rgba(0, 0, 0, .3); font-size: var(--step-small); font-weight: 600; white-space: nowrap; }
.vt-tips i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-style: normal; font-weight: 800; color: #2b1d00; }
.vt-tips--copper i { background: #e0915a; } .vt-tips--silver i { background: #d6dbe8; } .vt-tips--gold i { background: var(--lemon); box-shadow: 0 0 14px var(--lemon); }
.vt-post__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 14px 22px 10px; max-width: none; color: var(--muted); font-size: 1rem; }
.vt-starter { padding: 2px 10px; border-radius: 99px; background: rgba(255, 227, 110, .16); color: var(--lemon); font-weight: 600; }
.vt-post__no { margin-left: auto; color: var(--muted); text-decoration: none; }
.vt-post__edit:empty, .vt-post__check:empty, .vt-post__status:empty { display: none; }
.vt-post__body { margin: 0 22px; font-size: var(--step-body); line-height: 1.65; max-width: 70ch; overflow-wrap: anywhere; color: #eef0ff; }
.vt-post--first { border-color: rgba(255, 227, 110, .4); }
.vt-post__body a.mycode_url { color: var(--link); font-weight: 600; text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; }
.vt-post__body a.mycode_url:hover { color: #1a1400; background: var(--lemon); }
.vt-post__body a.mycode_url[target="_blank"]::after { content: "↗"; margin-left: 2px; font-size: .85em; }
blockquote, .mycode_quote { border-left: 3px solid var(--amber) !important; border-radius: 0 12px 12px 0; background: rgba(255, 255, 255, .05) !important; color: #dfe2ff; }
blockquote cite, .mycode_quote cite { color: var(--amber) !important; }
.vt-post__controls { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 14px 22px 0; font-size: 1rem; }
.vt-post__controls:not(:has(a)) { display: none; }
.postbit_buttons { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.postbit_buttons a { color: var(--muted); text-decoration: none; font-weight: 600; }
.postbit_buttons a span { background: none !important; padding: 0 !important; }
.postbit_buttons a:hover { color: var(--lemon); }
.vt-guest { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 0 0 26px; padding: 22px 26px; max-width: 980px; }
.vt-guest p { margin: 0; font-size: var(--step-lead); }

/* ---------- профиль: табличка в салоне ---------- */
.vt-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: start; margin: 10px 0 40px; }
.vt-plate--big { display: block; padding: clamp(24px, 3vw, 40px); border: 1px solid rgba(255, 181, 71, .45); border-radius: var(--r); background: linear-gradient(150deg, rgba(255, 181, 71, .22), rgba(255, 181, 71, .05)); box-shadow: 0 0 60px -20px rgba(255, 181, 71, .5); }
.vt-plate--big .vt-plate__name { display: block; margin: 0 0 6px; font-size: var(--step-head); }
.vt-plate--big .vt-plate__k { margin-bottom: 22px; }
.vt-plate__facts { display: grid; gap: 12px; margin: 0 0 18px; }
.vt-plate__facts div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; padding: 8px 12px; border-radius: 10px; background: rgba(0, 0, 0, .18); }
.vt-plate__facts dt { color: var(--amber); }
.vt-plate__facts dd { margin: 0; font-weight: 600; }
.vt-card__side { padding: 26px; }
.vt-card__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0; }
.vt-card__facts dt { color: var(--muted); font-size: 1rem; }
.vt-card__facts dd { margin: 2px 0 0; font-weight: 600; }
.vt-card__facts dd a { color: #fff; }
.vt-card__links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 20px 0 0; }
.vt-card__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.vt-card__actions:empty { display: none; }
.vt-card__note { color: var(--muted); font-size: 1rem; }
.vt-hidden-empty:not(:has(td)) { display: none; }

/* вход и ошибки */
.vt-gate, .vt-error { max-width: 560px; margin: 20px 0 60px; padding: 32px; border: 1px solid var(--glass-b); border-radius: var(--r); background: rgba(255, 255, 255, .05); }
.vt-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 14px; }
.vt-adjacent { display: flex; justify-content: space-between; gap: 16px; margin: 30px 0; max-width: 980px; }
.vt-adjacent a { color: var(--muted); }

/* ---------- подвал ---------- */
.vt-foot { margin-top: 70px; padding: 50px var(--m) 46px; background: rgba(5, 8, 26, .7); }
.vt-foot__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1fr); gap: 34px; }
.vt-foot__logo { display: flex; align-items: center; gap: 12px; color: #fff; font: 400 1.5rem/1 var(--f-head); }
.vt-foot__about p:last-child { color: var(--muted); }
.vt-foot__nav { display: flex; flex-direction: column; gap: 10px; }
.vt-foot__nav a { color: #fff; text-decoration: none; font-weight: 600; }
.vt-foot__nav a:hover { color: var(--lemon); }
.vt-foot__note { color: var(--muted); font-size: 1rem; }
.vt-credits summary { cursor: pointer; }

/* ---------- появление блоков главной ---------- */
.js .vt-reveal { opacity: 0; transform: translateY(24px); filter: blur(4px); transition: opacity .7s, transform .8s var(--ease), filter .7s; }
.js .vt-reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ---------- адаптивность ---------- */
@media (max-width: 1100px) {
	.vt-bar > .vt-search { display: none; }
	.vt-hero { grid-template-columns: 1fr; align-items: end; }
	.vt-pass__form { grid-template-columns: 1fr; }
	.vt-clock { grid-template-columns: 1fr; }
	.vt-night__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
	.vt-night__list { grid-column: 1 / -1; grid-row: auto; }
	.vt-night__photo--1 { grid-column: 1 / -1; }
	.vt-card { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.vt-bar { position: static; gap: 10px 16px; }
	.vt-nav { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; margin: 0 -8px; }
	.vt-nav a { flex: none; }
	.vt-act { margin-left: auto; }
	.vt-hero { min-height: 0; padding-top: 40px; }
	.vt-hero__title { font-size: 15vw; }
	.vt-q { grid-template-columns: 34px minmax(0, 1fr); padding: 14px 16px; }
	.vt-q__yn { grid-column: 2; }
	.vt-pass__res { padding: 20px 16px; }
	.vt-night__grid { grid-template-columns: 1fr; }
	.vt-night__photo { grid-column: 1 / -1 !important; }
	.vt-plate { grid-template-areas: "k" "name" "tips" "line"; grid-template-columns: 1fr; padding: 14px 16px; }
	.vt-plate .vt-tips { justify-self: start; margin-top: 6px; }
	.vt-post__meta, .vt-post__body, .vt-post__controls { margin-left: 16px; margin-right: 16px; }
	.vt-post__no { margin-left: 0; }
	.vt-plate__facts div { grid-template-columns: 1fr; gap: 2px; }
	.vt-pagehead { font-size: 7.4vw; }
	.vt-pagehead--thread { font-size: 6.2vw; }
	.vt-card__facts { grid-template-columns: 1fr 1fr; }
	.vt-foot__in { grid-template-columns: 1fr; }
	.vt-table thead { display: none; }
	.vt-table, .vt-table tbody, .vt-table tr, .vt-table td { display: block; width: 100%; }
	.vt-table tr { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); }
	.vt-table td { border: 0 !important; padding: 0 !important; }
	.vt-trow__state { left: 0 !important; top: 18px !important; }
	.vt-table .num { display: inline-block; width: auto; margin: 6px 14px 0 0; color: var(--muted) !important; text-align: left; }
	.vt-table .num:nth-of-type(2)::after { content: " ответов"; }
	.vt-table .num:nth-of-type(3)::after { content: " просмотров"; }
	.vt-trow__last { width: auto; margin-top: 4px; }
	.vt-trow__last a, .vt-trow__last span { display: inline; margin-right: 6px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
	.js .vt-reveal { opacity: 1; transform: none; filter: none; }
}

/* ===== ссылки в сообщениях: свой стиль форума (у каждого форума сетки свой, не повторять) ===== */
: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: #ffd27a; font-weight: 500; box-shadow: inset 0 -1px 0 rgba(255, 181, 71, .55); }
: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: #ffe7b0; text-shadow: 0 0 10px rgba(255, 210, 122, .45); box-shadow: inset 0 -1px 0 #ffb547; background: none; }
:is(.post_body, .signature, [class*="-post__body"], [class*="-post__sign"]) a.mycode_url[target="_blank"]::after { content: none; display: none; }
/* ===== конец стиля ссылок ===== */

/* ===== фото водителя: слева в табличке сообщения и над именем в табличке профиля ===== */
.vt-plate:has(> .vt-ava) { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ava k tips" "ava name tips" "line line line"; }
.vt-ava, .vt-card__ava { display: block; max-width: none; object-fit: cover; border-radius: 50%; background: rgba(0, 0, 0, .3); }
.vt-ava { grid-area: ava; align-self: center; width: 48px; height: 48px; }
.vt-card__ava { width: 88px; height: 88px; margin: 0 0 16px; }
@media (max-width: 760px) {
	.vt-plate:has(> .vt-ava) { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ava k" "ava name" "tips tips" "line line"; }
	.vt-card__ava { width: 68px; height: 68px; margin-bottom: 12px; }
}
