/* ==========================================================================
   АвтоЛарчик — тема «Наклейки»
   Небесный фон, яркие наклейки с толстой чёрной обводкой и жёсткой тенью, крупные скругления.
   Заголовки — широкий округлый Unbounded, текст — мягкий Nunito. Картинки нарисованы в коде.
   ========================================================================== */

@font-face { font-family: "Unbounded"; src: url("fonts/unbounded-cyrillic-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; src: url("fonts/unbounded-latin-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122, U+2190-2199; }
@font-face { font-family: "Unbounded"; src: url("fonts/unbounded-cyrillic-700.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; src: url("fonts/unbounded-latin-700.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122, U+2190-2199; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito-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: "Nunito"; src: url("fonts/nunito-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: "Nunito"; src: url("fonts/nunito-cyrillic-700.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito-latin-700.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122, U+2190-2199; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito-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: "Nunito"; src: url("fonts/nunito-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 {
	--bg: #bfe0ff;
	--paper: #ffffff;
	--surface: #f1f7ff;
	--ink: #16142b;
	--muted: #4b4868;
	--yellow: #ffd23f;
	--coral: #ff6b57;
	--green: #2fbf71;
	--violet: #7a5cff;
	--sky: #8fc8ff;
	--pink: #ffc6dd;
	--asphalt: #3b3a55;
	--accent: var(--yellow);
	--accent-ink: var(--ink);
	--link: #3b22d6;
	--line: #d9e6f5;
	--field-1: var(--ink);
	--field-1-ink: #fff;

	--f-head: "Unbounded", "Arial Black", sans-serif;
	--f: "Nunito", "Trebuchet MS", sans-serif;
	--step-small: 0.9375rem;
	--step-body: 1.125rem;
	--step-lead: clamp(1.25rem, 1.05rem + 0.7vw, 1.6rem);
	--step-head: clamp(1.9rem, 1.2rem + 2.6vw, 3.4rem);
	--step-display: clamp(2.8rem, 1rem + 6.4vw, 6.6rem);
	--b: 3px solid var(--ink);
	--r: 22px;
	--sh: 6px 6px 0 var(--ink);
	--sh-s: 4px 4px 0 var(--ink);
	--m: clamp(18px, 3vw, 40px);
	--ease: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg) radial-gradient(circle at 1px 1px, rgba(22, 20, 43, .09) 1.2px, transparent 1.6px) 0 0 / 22px 22px; color: var(--ink); font: 400 var(--step-body)/1.55 var(--f); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; border: 0; display: block; }
a { color: var(--link); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; margin: 0; color: var(--ink); }
p { margin: 0 0 .8em; max-width: 64ch; }
b, strong { font-weight: 800; }
table { border-collapse: collapse; }
script, template { display: none !important; }
.al-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.al-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.al-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border: var(--b); border-radius: 999px; background: var(--yellow); color: var(--ink); }
.al-skip:focus { top: 12px; }
.float_left { float: left; } .float_right { float: right; } .clear { clear: both; }

/* ---------- кнопка-таблетка ---------- */
.al-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: var(--b); border-radius: 999px; background: var(--yellow); color: var(--ink); box-shadow: var(--sh-s);
	font: 800 1.0625rem/1 var(--f); cursor: pointer; text-decoration: none; white-space: nowrap;
	transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .2s;
}
.al-btn:hover, .button:hover, input[type="submit"]:hover, button[type="submit"]:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); color: var(--ink); }
.al-btn:active, .button:active, input[type="submit"]:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.al-btn--white { background: var(--paper); }

/* ---------- шапка-наклейка ---------- */
.al-shell { padding: 16px var(--m) 0; }
.al-bar { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; max-width: 1320px; margin: 0 auto 22px; padding: 10px 12px 10px 18px; border: var(--b); border-radius: 999px; background: var(--paper); box-shadow: var(--sh); }
.al-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 1.25rem/1 var(--f-head); }
.al-logo svg { transition: transform .3s var(--ease); }
.al-logo:hover svg { transform: rotate(-8deg) scale(1.08); }
.al-nav { display: flex; flex-wrap: wrap; gap: 4px; margin-right: auto; }
.al-nav a { padding: 10px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 800; }
.al-nav a:hover { background: var(--bg); }
.al-search input { width: clamp(180px, 18vw, 260px); min-height: 48px; padding: 0 18px; border: var(--b); border-radius: 999px; background: var(--surface); color: var(--ink); font: 700 1rem/1 var(--f); }
.al-search input::placeholder { color: var(--muted); font-weight: 400; }
.al-search input:focus { outline: none; background: #fff; box-shadow: var(--sh-s); }
.al-act { position: relative; }
.al-user { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.al-user__pm { display: none; }
.al-user__menu summary { list-style: none; cursor: pointer; min-height: 48px; display: flex; align-items: center; padding: 0 18px; border: var(--b); border-radius: 999px; background: var(--yellow); }
.al-user__menu summary::-webkit-details-marker { display: none; }
.al-user__drop { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; min-width: 240px; margin: 0; padding: 8px; list-style: none; border: var(--b); border-radius: 18px; background: var(--paper); box-shadow: var(--sh); }
.al-user__drop a { display: block; padding: 10px 12px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.al-user__drop a:hover { background: var(--bg); }

/* хлебные крошки */
.al-main { max-width: 1320px; margin: 0 auto; }
.al-path { margin: 0 0 18px; font-size: 1rem; }
.al-path ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.al-path li a, .al-path li span { display: inline-block; padding: 6px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 700; }
.al-path li a:hover { background: var(--yellow); }
.al-path li span { background: var(--surface); font-weight: 400; }
.al-page--index .al-path { display: none; }

/* ---------- главная: ларчик и страхи ---------- */
.al-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: center; min-height: calc(100svh - 120px); padding: 18px 0 40px; }
.al-hero__kicker { display: inline-flex; align-items: center; gap: 10px; margin: 26px 0 0; padding: 6px 16px 6px 8px; border: var(--b); border-radius: 999px; background: var(--paper); font-weight: 800; box-shadow: var(--sh-s); transform: rotate(-2deg); }
.al-hero__title { font-size: var(--step-display); line-height: .95; letter-spacing: -0.03em; }
.al-hero__title span { display: inline-block; margin-top: 8px; padding: 0 .18em .06em; border: 4px solid var(--ink); border-radius: 26px; background: var(--yellow); box-shadow: var(--sh); transform: rotate(-2.5deg); }
.al-hero__lead { margin: 22px 0 0; font-size: var(--step-lead); line-height: 1.4; max-width: 34ch; }
.al-hero__act { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.al-hero__art { position: relative; aspect-ratio: 520 / 440; }
.al-chest-art { width: 100%; height: 100%; overflow: visible; }
.al-pop { transform-box: fill-box; transform-origin: 50% 100%; }
.js .al-pop { opacity: 0; transform: translateY(80px) scale(.6); transition: transform .8s var(--ease), opacity .4s; }
.is-ready .al-pop { opacity: 1; transform: none; }
.is-ready .al-pop--car { transition-delay: .15s; } .is-ready .al-pop--sign { transition-delay: .3s; } .is-ready .al-pop--card { transition-delay: .45s; } .is-ready .al-pop--key { transition-delay: .6s; } .is-ready .al-pop--bang { transition-delay: .75s; }
.is-ready .al-pop--bang { animation: al-bob 3.2s ease-in-out 1.6s infinite; }
@keyframes al-bob { 50% { transform: translateY(-8px) rotate(4deg); } }
.al-fear { position: absolute; z-index: 2; max-width: 15ch; padding: 10px 16px; border: var(--b); border-radius: 18px; background: var(--paper); box-shadow: var(--sh-s); color: var(--ink); font-weight: 800; font-size: 1rem; line-height: 1.25; text-decoration: none; transition: transform .2s var(--ease), background-color .2s; }
.al-fear::after { content: ""; position: absolute; bottom: -12px; left: 22px; width: 18px; height: 18px; border-right: var(--b); border-bottom: var(--b); background: inherit; transform: rotate(45deg) skew(8deg, 8deg); }
.al-fear:hover { background: var(--yellow); transform: scale(1.06) rotate(-2deg); color: var(--ink); }
.al-fear--1 { left: -4%; top: 2%; transform: rotate(-5deg); }
.al-fear--2 { right: -2%; top: -4%; transform: rotate(4deg); background: #e8fff2; }
.al-fear--3 { left: -8%; top: 50%; transform: rotate(3deg); background: #fff3c2; }
.al-fear--4 { right: -6%; top: 44%; transform: rotate(-3deg); background: #ffe3dc; }
.al-fear--5 { left: 30%; bottom: -4%; transform: rotate(2deg); background: #ece6ff; }

/* ---------- тренажёр «Кто едет первым?» ---------- */
.al-quiz { margin: 30px 0 70px; }
.al-quiz__card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-areas: "head head" "board side"; gap: 24px 36px; padding: clamp(20px, 3vw, 40px); border: var(--b); border-radius: 32px; background: var(--paper); box-shadow: 10px 10px 0 var(--ink); }
.al-quiz__head { grid-area: head; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 30px; }
.al-quiz__head h2 { font-size: var(--step-head); }
.al-quiz__head p { margin: 0; max-width: 46ch; font-size: var(--step-body); }
.al-quiz__board { grid-area: board; border: var(--b); border-radius: 24px; overflow: hidden; background: #8bd38a; }
#al-cross { display: block; width: 100%; height: auto; }
.al-quiz__side { grid-area: side; display: flex; flex-direction: column; gap: 14px; }
.al-quiz__step { margin: 0; display: inline-flex; align-self: flex-start; padding: 4px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--bg); font-weight: 800; font-size: 1rem; }
.al-quiz__q { margin: 0; font-family: var(--f-head); font-weight: 500; font-size: var(--step-lead); line-height: 1.3; }
.al-quiz__opts { display: flex; flex-wrap: wrap; gap: 10px; }
.al-quiz__opts button { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 10px; border: var(--b); border-radius: 999px; background: var(--paper); box-shadow: var(--sh-s); font: 800 1.0625rem/1 var(--f); color: var(--ink); cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.al-quiz__opts button i { width: 30px; height: 30px; border: 2px solid var(--ink); border-radius: 50%; background: var(--c); }
.al-quiz__opts button:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.al-quiz__opts button[disabled] { cursor: default; opacity: .55; transform: none; box-shadow: var(--sh-s); }
.al-quiz__opts button.is-right { opacity: 1; background: #d8f7e5; }
.al-quiz__opts button.is-wrong { opacity: 1; background: #ffe0da; }
.al-quiz__res:empty { display: none; }
.al-quiz__res { padding: 16px 18px; border: var(--b); border-radius: 18px; font-size: 1.0625rem; line-height: 1.5; }
.al-quiz__res.is-right { background: #d8f7e5; }
.al-quiz__res.is-wrong { background: #ffe0da; }
.al-quiz__res b { display: block; margin-bottom: 4px; font-family: var(--f-head); font-weight: 700; font-size: 1.125rem; }
.al-quiz__res a { display: inline-block; margin-top: 8px; }
.al-quiz__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: auto; }
.al-quiz__score { font-weight: 800; }
.al-car { cursor: pointer; transition: transform .9s cubic-bezier(.45, 0, .2, 1); }
.al-car:hover .al-car__body { stroke-width: 5; }
.al-car.is-pick .al-car__body { stroke-width: 5; }
.al-path-arrow { fill: none; stroke-width: 5; stroke-dasharray: 2 10; stroke-linecap: round; opacity: .95; }
.al-blink { animation: al-blink .8s steps(2, jump-none) infinite; }
@keyframes al-blink { 50% { opacity: .2; } }

/* ---------- ящики ларчика ---------- */
.al-drawers { margin: 0 0 80px; }
.al-drawers__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px 30px; margin-bottom: 28px; }
.al-drawers__head h2 { font-size: var(--step-head); }
.al-drawers__head p { margin: 0; max-width: 42ch; }
.al-cabinet { display: grid; gap: 14px; padding: 18px; border: var(--b); border-radius: 32px; background: #3f4fd8; box-shadow: 10px 10px 0 var(--ink); }
.al-drawer { border: var(--b); border-radius: 20px; background: var(--tone, var(--yellow)); overflow: hidden; }
.al-drawer[data-tone="coral"] { --tone: var(--coral); }
.al-drawer[data-tone="green"] { --tone: var(--green); }
.al-drawer[data-tone="violet"] { --tone: #b4a2ff; }
.al-drawer[data-tone="sky"] { --tone: var(--sky); }
.al-drawer__front { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 20px; min-height: 92px; padding: 18px 24px; list-style: none; cursor: pointer; }
.al-drawer__front::-webkit-details-marker { display: none; }
.al-drawer__label { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.25rem, 1rem + 1vw, 1.9rem); line-height: 1.1; }
.al-drawer__count { font-weight: 800; padding: 4px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); }
.al-drawer__handle { position: absolute; left: 50%; bottom: 12px; width: 84px; height: 14px; margin-left: -42px; border: var(--b); border-radius: 999px; background: var(--paper); transition: transform .3s var(--ease); }
.al-drawer__front:hover .al-drawer__handle { transform: translateY(-3px); }
.al-drawer[open] .al-drawer__handle { transform: scaleX(.7); }
.al-drawer__in { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 0; padding: 4px 18px 18px; list-style: none; }
.al-drawer[open] .al-drawer__in { animation: al-slide .45s var(--ease); }
@keyframes al-slide { from { transform: translateY(-14px); opacity: 0; } }
.al-drawer__all { display: inline-block; margin: 0 18px 18px; color: var(--ink); }
.al-item { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: var(--b); border-radius: 18px; background: var(--paper); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.al-item:hover { transform: translate(-2px, -2px); box-shadow: var(--sh-s); }
.al-item__state { display: none; }
.al-item__name { color: var(--ink); font-family: var(--f-head); font-weight: 500; font-size: 1.125rem; line-height: 1.2; text-decoration: none; }
.al-item__name::after { content: ""; position: absolute; inset: 0; }
.al-item__desc { font-size: 1rem; color: var(--muted); line-height: 1.45; }
.al-item__meta { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin-top: auto; font-size: 1rem; }
.al-item__meta b { padding: 1px 10px; border-radius: 999px; background: var(--bg); }
.al-item__meta a { color: var(--muted); font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

/* ---------- дорога первого года ---------- */
.al-year { margin: 0 calc(var(--m) * -1) 80px; padding: 56px var(--m) 64px; background: var(--asphalt); color: #fff; }
.al-year h2 { color: #fff; font-size: var(--step-head); }
.al-year__lead { margin: 12px 0 40px; max-width: 52ch; color: #dcdbea; }
.al-year__road { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.al-year__road::before { content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 0; border-top: 6px dashed #fff; opacity: .9; }
.al-stop { position: relative; display: flex; flex-direction: column; gap: 8px; }
.al-stop__n { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border: var(--b); border-radius: 50%; background: var(--yellow); color: var(--ink); font: 700 1.4rem/1 var(--f-head); box-shadow: 4px 4px 0 #000; }
.al-stop:nth-child(3n+2) .al-stop__n { background: var(--coral); }
.al-stop:nth-child(3n) .al-stop__n { background: var(--green); }
.al-stop:last-child .al-stop__n { background: #fff; }
.al-stop a { color: #fff; font-family: var(--f-head); font-weight: 700; font-size: 1.125rem; line-height: 1.2; text-decoration-color: var(--yellow); }
.al-stop a:hover { color: var(--yellow); }
.al-stop__t { font-size: 1rem; color: #dcdbea; line-height: 1.4; }

/* ---------- свежие вопросы облачками ---------- */
.al-fresh { margin-bottom: 80px; }
.al-fresh__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 8px 30px; margin-bottom: 26px; }
.al-fresh__head h2 { font-size: var(--step-head); }
.al-fresh__head p { margin: 0; font-weight: 800; }
.al-fresh__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 18px; margin: 0; padding: 0; list-style: none; }
.al-q { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 16px; border: var(--b); border-radius: 22px 22px 22px 6px; background: var(--paper); box-shadow: var(--sh-s); transition: transform .2s var(--ease); }
.al-q:nth-child(odd) { transform: rotate(-1deg); }
.al-q:nth-child(even) { transform: rotate(1deg); }
.al-q:hover { transform: rotate(0) translateY(-4px); }
.al-q::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 10px; border-radius: 19px 19px 0 0; background: var(--tone, var(--yellow)); }
.al-q--coral { --tone: var(--coral); } .al-q--green { --tone: var(--green); } .al-q--violet { --tone: var(--violet); } .al-q--sky { --tone: var(--sky); }
.al-q a { margin-top: 6px; color: var(--ink); font-size: 1.125rem; font-weight: 800; line-height: 1.3; text-decoration: none; }
.al-q a::after { content: ""; position: absolute; inset: 0; }
.al-q__meta { margin-top: auto; font-size: 1rem; color: var(--muted); }

/* ---------- раздел и тема ---------- */
.al-screen { display: block; }
.al-sticker { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px 30px; margin-bottom: 26px; padding: clamp(22px, 3vw, 40px); border: var(--b); border-radius: 28px; background: var(--tone, var(--yellow)); box-shadow: var(--sh); }
.al-sticker--coral { --tone: #ffa092; } .al-sticker--green { --tone: #7fe0aa; } .al-sticker--violet { --tone: #c9bcff; } .al-sticker--sky { --tone: var(--sky); } .al-sticker--yellow { --tone: var(--yellow); }
.al-sticker__text { max-width: 860px; }
.al-pagehead { font-size: var(--step-head); }
.al-pagehead--thread { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem); line-height: 1.15; }
.al-sticker__desc { margin: 12px 0 0; font-size: var(--step-body); }
.al-sticker__desc:empty { display: none; }
.al-sticker__meta { margin: 10px 0 0; font-weight: 800; }
.al-sticker__forum { margin: 14px 0 0; }
.al-sticker__forum a { display: inline-block; padding: 4px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none; }
.al-sticker__act:empty { display: none; }
.al-threads { padding: 18px; border: var(--b); border-radius: 26px; background: var(--paper); box-shadow: var(--sh); }
/* ---------- списки тем, пагинация (общие для сетки) ---------- */

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

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

.pagination, .al-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); }

/* разметка сообщений: заметные ссылки, цитаты, код */
.al-post__body a.mycode_url, .al-post__sign a.mycode_url { color: var(--link); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.al-post__body a.mycode_url:hover { color: var(--ink); background: #f7e3b5; }
.al-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; }

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


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


/* список тем — карточки-строки */
.al-table { border-collapse: separate !important; border-spacing: 0 10px; font-size: 1rem; }
.al-table th { border: 0 !important; font-weight: 800; color: var(--muted); }
.al-table td { border-top: var(--b) !important; border-bottom: var(--b) !important; background: var(--surface); }
.al-table td:first-child { border-left: var(--b) !important; border-radius: 18px 0 0 18px; padding-left: 38px !important; }
.al-table td:last-child { border-right: var(--b) !important; border-radius: 0 18px 18px 0; }
.al-trow:hover td { background: #fff7d1 !important; }
.al-trow__state { left: 14px !important; top: 21px !important; width: 12px !important; height: 12px !important; border: 2px solid var(--ink); }
.al-trow__state[class*="new"] { background: var(--coral) !important; }
.al-trow__title a { color: var(--ink); font-weight: 800; }
.al-trow__meta { font-size: 1rem !important; }
.al-sort a { border: 2px solid var(--ink); border-radius: 999px !important; background: var(--paper) !important; font-weight: 800; }
.al-sort a:hover { background: var(--yellow) !important; }
.pagination a, .pagination_current { border: 2px solid var(--ink); border-radius: 12px !important; }
.pagination_current { background: var(--ink) !important; }

/* ---------- сообщение: права слева, облачко справа ---------- */
.al-posts { display: grid; gap: 26px; }
.al-post { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 26px; align-items: start; }
.al-license { position: sticky; top: 16px; padding: 14px 16px 16px; border: var(--b); border-radius: 16px; background: var(--pink); box-shadow: var(--sh-s); transform: rotate(var(--tilt, -1deg)); }
.al-license__kind { margin: 0 0 10px; display: flex; justify-content: space-between; font-size: var(--step-small); font-weight: 800; }
.al-license__kind b { padding: 0 8px; border: 2px solid var(--ink); border-radius: 6px; background: var(--paper); font-family: var(--f-head); }
.al-license__row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; }
.al-ava { display: grid; place-items: center; width: 54px; height: 64px; border: var(--b); border-radius: 10px; background: hsl(var(--h, 200) 80% 86%); font: 700 1.5rem/1 var(--f-head); color: var(--ink); }
.al-ava--xl { width: 150px; height: 180px; border-radius: 18px; font-size: 4rem; }
.al-license__name { display: block; color: var(--ink); font-size: 1.125rem; font-weight: 800; line-height: 1.2; text-decoration: none; overflow-wrap: anywhere; }
.al-license__name:hover { text-decoration: underline; }
.al-rank { display: inline-block; margin-top: 6px; padding: 2px 10px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); font-size: var(--step-small); font-weight: 800; line-height: 1.4; }
.al-license__facts { display: grid; gap: 6px; margin: 12px 0 0; font-size: 1rem; }
.al-license__facts div { display: flex; flex-wrap: wrap; gap: 0 6px; }
.al-license__facts dt { color: var(--muted); }
.al-license__facts dt::after { content: ":"; }
.al-license__facts dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.al-badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 6px 12px; border: var(--b); border-radius: 999px; font-size: var(--step-small); font-weight: 800; transform: rotate(-3deg); box-shadow: 3px 3px 0 var(--ink); }
.al-badge b { font-family: var(--f-head); }
.al-badge--pink { background: #fff; }
.al-badge--green { background: #7fe0aa; }
.al-badge--gold { background: var(--yellow); }
.al-bubble { position: relative; padding: 22px clamp(20px, 2.6vw, 34px) 18px; border: var(--b); border-radius: 26px; background: var(--paper); box-shadow: var(--sh); }
.al-bubble::before { content: ""; position: absolute; left: -15px; top: 30px; width: 24px; height: 24px; border-left: var(--b); border-bottom: var(--b); background: var(--paper); transform: rotate(45deg); }
.al-post--first .al-bubble { background: #fff9dc; }
.al-post--first .al-bubble::before { background: #fff9dc; }
.al-bubble__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0 0 12px; max-width: none; font-size: 1rem; color: var(--muted); }
.al-starter { padding: 2px 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 800; }
.al-bubble__no { margin-left: auto; color: var(--muted); text-decoration: none; }
.al-bubble__edit:empty, .al-bubble__check:empty, .al-bubble__status:empty { display: none; }
.al-bubble__body { font-size: var(--step-body); line-height: 1.6; max-width: 70ch; overflow-wrap: anywhere; }
.al-bubble__body a.mycode_url { color: var(--link); font-weight: 800; text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 3px; }
.al-bubble__body a.mycode_url:hover { background: var(--yellow); color: var(--ink); }
.al-bubble__body a.mycode_url[target="_blank"]::after { content: "↗"; margin-left: 2px; font-size: .85em; }
.al-bubble__controls { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 14px; font-size: 1rem; }
.al-bubble__controls:not(:has(a)) { display: none; }
.postbit_buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.postbit_buttons a { padding: 4px 12px; border: 2px solid var(--ink); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; }
.postbit_buttons a span { background: none !important; padding: 0 !important; }
.postbit_buttons a:hover { background: var(--yellow); }
blockquote, .mycode_quote { border: 2px dashed var(--ink) !important; border-radius: 16px; background: var(--surface) !important; }
.al-guest { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 0 0 26px; padding: 22px 26px; border: var(--b); border-radius: 26px; background: var(--paper); box-shadow: var(--sh); }
.al-guest p { margin: 0; font-family: var(--f-head); font-weight: 500; font-size: var(--step-lead); }

/* ---------- права в анкете ---------- */
.al-idcard { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 30px; align-items: start; margin-bottom: 40px; }
.al-idcard__card { position: relative; padding: clamp(20px, 3vw, 36px); border: 4px solid var(--ink); border-radius: 28px; background: var(--pink); box-shadow: 10px 10px 0 var(--ink); transform: rotate(-1.2deg); }
.al-idcard__top { margin: 0 0 22px; font-weight: 800; }
.al-idcard__body { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: start; }
.al-idcard__lines { display: grid; gap: 10px; margin: 0; }
.al-idcard__lines div { display: grid; grid-template-columns: 2.2em minmax(0, 1fr); align-items: baseline; }
.al-idcard__lines dt { font-weight: 800; color: var(--muted); }
.al-idcard__lines dd { margin: 0; font-size: var(--step-body); font-weight: 700; }
.al-idcard__lines h1 { font-size: clamp(1.5rem, 0.9rem + 1.8vw, 2.4rem); overflow-wrap: break-word; }
.al-idcard__cat { margin: 0; padding: 6px 14px; border: var(--b); border-radius: 12px; background: var(--paper); font: 700 2rem/1 var(--f-head); }
.al-idcard__card .al-badge { position: absolute; right: 26px; bottom: -18px; font-size: 1rem; }
.al-idcard__side { padding: 26px; border: var(--b); border-radius: 26px; background: var(--paper); box-shadow: var(--sh); }
.al-idcard__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0; }
.al-idcard__facts dt { font-size: 1rem; color: var(--muted); }
.al-idcard__facts dd { margin: 2px 0 0; font-weight: 800; }
.al-idcard__links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 20px 0 0; }
.al-idcard__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.al-idcard__actions:empty { display: none; }
.al-idcard__note { margin: 14px 0 0; color: var(--muted); font-size: 1rem; }
.al-hidden-empty:not(:has(td)) { display: none; }

/* вход, ошибки, формы */
.al-gate, .al-error { max-width: 560px; margin: 10px auto 60px; padding: 32px; border: var(--b); border-radius: 28px; background: var(--paper); box-shadow: var(--sh); }
.tborder { background: transparent !important; }
input.textbox, input[type="text"], input[type="password"], input[type="email"], select, textarea { border: var(--b) !important; border-radius: 14px !important; background: var(--paper) !important; }
.modal { border: var(--b) !important; border-radius: 26px !important; box-shadow: var(--sh) !important; }
.al-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 14px; }
.al-adjacent { display: flex; justify-content: space-between; gap: 16px; margin: 30px 0; }
.al-reply { border: var(--b) !important; border-radius: 26px; background: var(--paper) !important; box-shadow: var(--sh); max-width: none !important; }

/* ---------- подвал: дорога ---------- */
.al-foot { margin: 40px calc(var(--m) * -1) 0; background: var(--asphalt); color: #fff; }
.al-road { position: relative; height: 70px; background: var(--asphalt); border-top: 6px solid var(--ink); overflow: hidden; }
.al-road::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 6px dashed #fff; }
.al-road__car { position: absolute; left: -130px; top: 6px; width: 120px; height: 50px; animation: al-drive 14s linear infinite; }
@keyframes al-drive { to { transform: translateX(calc(100vw + 260px)); } }
.al-foot__in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 30px; max-width: 1320px; margin: 0 auto; padding: 40px var(--m) 50px; }
.al-foot__logo { display: flex; align-items: center; gap: 10px; font: 700 1.5rem/1 var(--f-head); }
.al-foot__about p { color: #e3e2f0; }
.al-foot__nav { display: flex; flex-direction: column; gap: 10px; }
.al-foot__nav a { color: #fff; text-decoration-color: var(--yellow); }
.al-foot__nav a:hover { color: var(--yellow); }
.al-foot__note { color: #cfcde2; font-size: 1rem; }

/* ---------- появление блоков главной ---------- */
.js .al-reveal { opacity: 0; transform: translateY(26px) scale(.98); transition: opacity .5s, transform .7s var(--ease); }
.js .al-reveal.is-in { opacity: 1; transform: none; }

/* ---------- адаптивность ---------- */
@media (max-width: 1100px) {
	.al-search { display: none; }
	.al-hero { grid-template-columns: 1fr; min-height: 0; }
	.al-hero__art { max-width: 640px; width: 100%; margin: 20px auto 30px; }
	.al-quiz__card { grid-template-columns: 1fr; grid-template-areas: "head" "board" "side"; }
	.al-quiz__board { max-width: 560px; }
	.al-fresh__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.al-year__road { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
	.al-year__road::before { display: none; }
	.al-idcard { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.al-bar { border-radius: 26px; padding: 10px 12px; gap: 10px; }
	.al-logo { font-size: 1.0625rem; gap: 8px; }
	.al-logo svg { width: 40px; height: 35px; }
	.al-user__menu summary, .al-act .al-btn { min-height: 44px; padding: 0 16px; }
	.al-fear--5 { display: none; }
	.al-nav { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; margin: 0; }
	.al-nav a { flex: none; padding: 10px 12px; }
	.al-act { margin-left: auto; }
	.al-hero__title { font-size: 13vw; }
	.al-fear { font-size: .9375rem; max-width: 13ch; padding: 8px 12px; }
	.al-fear--1 { left: 0; } .al-fear--3 { left: 0; } .al-fear--2, .al-fear--4 { right: 0; }
	.al-fresh__list { grid-template-columns: 1fr; }
	.al-year__road { grid-template-columns: 1fr; gap: 22px; }
	.al-stop { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 16px; }
	.al-stop__t { flex-basis: 100%; padding-left: 76px; margin-top: -8px; }
	.al-drawer__front { grid-template-columns: 1fr; padding-bottom: 34px; }
	.al-drawer__count { justify-self: start; }
	.al-post { grid-template-columns: 1fr; gap: 14px; }
	.al-license { position: static; transform: none; }
	.al-bubble::before { left: 30px; top: -15px; border-left: var(--b); border-top: var(--b); border-bottom: 0; }
	.al-idcard__body { grid-template-columns: 1fr; }
	.al-ava--xl { width: 110px; height: 132px; font-size: 3rem; }
	.al-idcard__cat { position: absolute; right: 20px; top: 56px; }
	.al-foot__in { grid-template-columns: 1fr; }
	.al-table thead { display: none; }
	.al-table, .al-table tbody, .al-table tr, .al-table td { display: block; width: 100%; }
	.al-table tr { position: relative; margin-bottom: 10px; padding: 14px 16px 14px 38px; border: var(--b); border-radius: 18px; background: var(--surface); }
	.al-table td { border: 0 !important; background: none !important; padding: 0 !important; border-radius: 0 !important; }
	.al-trow__state { left: -24px !important; top: 6px !important; }
	.al-table .al-trow__main { position: relative; }
	.al-table .num { display: inline-block; width: auto; margin: 6px 14px 0 0; color: var(--muted); text-align: left; }
	.al-table .num:nth-of-type(2)::after { content: " ответов"; }
	.al-table .num:nth-of-type(3)::after { content: " просмотров"; }
	.al-trow__last { width: auto; margin-top: 4px; }
	.al-trow__last a, .al-trow__last span { display: inline; margin-right: 6px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
	.js .al-pop, .js .al-reveal { opacity: 1; transform: 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: #3b22d6; font-weight: 700; background: rgba(122, 92, 255, .13); border-radius: 999px; padding: 0 .35em; }
: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: #16142b; background: rgba(122, 92, 255, .25); }
:is(.post_body, .signature, [class*="-post__body"], [class*="-post__sign"]) a.mycode_url[target="_blank"]::after { content: none; display: none; }
/* ===== конец стиля ссылок ===== */

/* ===== фото участника в окошке «фото» на правах (вместо инициала) ===== */
.al-ava:has(> .al-ava__img) { overflow: hidden; }
.al-ava__img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: inherit; }
