/* «Всё об автомобилях» — тема «Гаражная стена»: перфопанель, стальные полки, бирки, скотч и приборка. Префикс ga-. */

@font-face { font-family: "Russo One"; font-weight: 400; font-display: swap; src: url(fonts/russo-one-cyrillic-400.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Russo One"; font-weight: 400; font-display: swap; src: url(fonts/russo-one-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url(fonts/manrope-cyrillic-400.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url(fonts/manrope-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url(fonts/manrope-cyrillic-600.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url(fonts/manrope-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }
@font-face { font-family: "Manrope"; font-weight: 800; font-display: swap; src: url(fonts/manrope-cyrillic-800.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-weight: 800; font-display: swap; src: url(fonts/manrope-latin-800.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }
@font-face { font-family: "Caveat"; font-weight: 600; font-display: swap; src: url(fonts/caveat-cyrillic-600.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Caveat"; font-weight: 600; font-display: swap; src: url(fonts/caveat-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url(fonts/jetbrains-mono-cyrillic-500.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url(fonts/jetbrains-mono-latin-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }

:root {
	--board: #c99b6a;
	--board-lt: #d4a979;
	--board-hole: #6e4a2a;
	--steel: #25282a;
	--steel-2: #34383b;
	--steel-3: #4a5054;
	--steel-lt: #8b9196;
	--paper: #fbf8ef;
	--paper-2: #f2ecdc;
	--line: #ddd3bd;
	--ink: #1d2022;
	--ink-2: #45494c;
	--muted: #6d675c;
	--tape: #efe1b0;
	--tape-2: #e6d495;
	--sticky: #f7e27a;
	--red: #d33a2b;
	--red-dk: #a8291d;
	--blue: #1f5fbf;
	--lamp-y: #f6b40e;
	--lamp-r: #ff4433;
	--go: #2f9e5b;
	--f-head: "Russo One", "Arial Black", sans-serif;
	--f-text: "Manrope", "Segoe UI", Arial, sans-serif;
	--f-hand: "Caveat", "Comic Sans MS", cursive;
	--f-mono: "JetBrains Mono", Menlo, Consolas, monospace;
	--shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 10px 22px -12px rgba(48, 28, 10, .55), 0 2px 4px rgba(48, 28, 10, .22);
	--wrap: 1240px;
}

*, *::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(--board);
	/* Перфопанель: ряды отверстий с тенью и лёгкий рисунок оргалита. */
	background-image:
		radial-gradient(circle at 14px 15px, rgba(255, 236, 205, .35) 0 2.6px, transparent 3.2px),
		radial-gradient(circle at 14px 14px, var(--board-hole) 0 3px, transparent 3.6px),
		repeating-linear-gradient(93deg, rgba(120, 76, 36, .05) 0 2px, transparent 2px 9px),
		linear-gradient(180deg, var(--board-lt), var(--board) 420px);
	background-size: 28px 28px, 28px 28px, auto, auto;
}
img { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-dk); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-head); font-weight: 400; line-height: 1.1; letter-spacing: .01em; }
p { margin: 0; }
b, strong { font-weight: 800; }
table { border-collapse: collapse; }
script, template { display: none !important; }
.ga-sr, .sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ga-skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--paper); padding: 8px 14px; border-radius: 6px; }
.ga-skip:focus { top: 12px; }
.float_left { float: none; }

/* ---------- общие детали: скотч, маркер, кнопки, лист */
.ga-tape {
	display: inline-block;
	background: var(--tape);
	padding: .08em .32em .12em;
	box-shadow: 0 2px 5px -2px rgba(60, 40, 10, .45);
	clip-path: polygon(0 6%, 3% 0, 7% 7%, 12% 1%, 18% 6%, 25% 0, 33% 5%, 41% 0, 50% 6%, 58% 1%, 66% 5%, 74% 0, 82% 6%, 89% 1%, 95% 7%, 100% 2%, 99% 50%, 100% 97%, 95% 93%, 89% 100%, 82% 94%, 74% 100%, 66% 95%, 58% 100%, 50% 94%, 41% 100%, 33% 95%, 25% 100%, 18% 94%, 12% 99%, 7% 93%, 3% 100%, 0 95%, 1% 50%);
	background-image: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(0, 0, 0, .03));
}
.ga-marker { font-family: var(--f-hand); font-weight: 600; font-size: 25px; line-height: 1.1; color: var(--red-dk); }
.ga-sheet { background: var(--paper); border-radius: 6px; box-shadow: var(--shadow); position: relative; }

.ga-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: 400 15px/1.1 var(--f-head); letter-spacing: .02em; text-decoration: none; text-transform: uppercase;
	color: #fff; background: var(--red); border: 0; border-radius: 6px; cursor: pointer;
	box-shadow: 0 -3px 0 rgba(0, 0, 0, .22) inset, 0 6px 14px -8px rgba(80, 20, 10, .8);
	transition: transform .15s ease, background-color .15s ease;
}
.ga-btn:hover, .button:hover, input[type="submit"]:hover, input[type="button"]:hover, button[type="submit"]:hover { background: var(--red-dk); color: #fff; }
.ga-btn:active, .button:active, input[type="submit"]:active, button[type="submit"]:active { transform: translateY(2px); box-shadow: 0 -1px 0 rgba(0, 0, 0, .22) inset; }
.ga-btn--steel { background: var(--steel-2); }
.ga-btn--steel:hover { background: var(--steel); }
.ga-btn--quiet { background: var(--paper-2); color: var(--ink); box-shadow: 0 0 0 1px var(--line) inset; }
.ga-btn--quiet:hover { background: var(--tape); color: var(--ink); }

/* ---------- каркас и шапка-полка */
.ga-shell { min-height: 100vh; display: flex; flex-direction: column; }
.ga-main { flex: 1; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 18px 20px 64px; }
.ga-bar {
	position: relative; z-index: 20;
	background: linear-gradient(180deg, #3a3f42, var(--steel) 55%, #1c1e20);
	border-bottom: 6px solid #15171a;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 12px 22px -14px rgba(0, 0, 0, .8);
}
.ga-bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 4px; background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .18), transparent); }
.ga-bar__in { max-width: var(--wrap); margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 22px; }
.ga-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex: none; }
.ga-logo:hover { color: var(--tape); }
.ga-logo__tag svg { display: block; width: 34px; height: 44px; transform: rotate(-8deg); transform-origin: 50% 8%; transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.ga-logo:hover .ga-logo__tag svg { transform: rotate(6deg); }
.ga-logo__tag path { fill: var(--tape); stroke: #b49a52; stroke-width: 1.2; }
.ga-logo__tag circle { fill: var(--steel); }
.ga-logo__tag text { font: 15px var(--f-head); fill: var(--red-dk); text-anchor: middle; }
.ga-logo__name { font: 400 17px/1.02 var(--f-head); text-transform: uppercase; letter-spacing: .03em; }
.ga-nav { display: flex; gap: 4px; }
.ga-nav a { color: #e7e9ea; text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 6px; }
.ga-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.ga-search { position: relative; margin-left: auto; flex: 0 1 300px; }
.ga-search__i { position: absolute; left: 12px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: #8b9196; stroke-width: 2; }
.ga-search input { width: 100%; height: 42px; padding: 0 14px 0 38px; border: 1px solid #4a5054; border-radius: 6px; background: #1a1c1e; color: #fff; font: 15px var(--f-text); }
.ga-search input::placeholder { color: #8b9196; }
.ga-search input:focus { outline: none; border-color: var(--tape); box-shadow: 0 0 0 3px rgba(239, 225, 176, .25); }
.ga-act { flex: none; display: flex; align-items: center; }
.ga-act .ga-btn { min-height: 42px; padding: 8px 18px; }
.ga-user { display: flex; align-items: center; gap: 12px; color: #fff; }
.ga-user__pm { color: #e7e9ea; text-decoration: none; font-weight: 600; font-size: 14px; }
.ga-user__pm b { display: inline-block; min-width: 22px; padding: 1px 6px; margin-left: 4px; border-radius: 10px; background: var(--steel-3); text-align: center; }
.ga-user__pm b:not([data-n="0"]) { background: var(--red); }
.ga-user__menu { position: relative; }
.ga-user__menu summary { list-style: none; cursor: pointer; padding: 8px 14px; border-radius: 6px; background: var(--tape); color: var(--ink); font: 400 14px var(--f-head); }
.ga-user__menu summary::-webkit-details-marker { display: none; }
.ga-user__drop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; margin: 0; padding: 8px; list-style: none; background: var(--paper); border-radius: 6px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6); }
.ga-user__drop a { display: block; padding: 8px 10px; border-radius: 4px; text-decoration: none; color: var(--ink); font-size: 15px; }
.ga-user__drop a:hover { background: var(--tape); }

/* ---------- хлебные крошки */
.ga-path { margin: 0 0 18px; }
.ga-path ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.ga-path li { display: inline-flex; align-items: center; background: rgba(251, 248, 239, .82); padding: 3px 10px; }
.ga-path li:first-child { border-radius: 4px 0 0 4px; }
.ga-path li:last-child { border-radius: 0 4px 4px 0; }
.ga-path li:not(:last-child)::after { content: "›"; margin-left: 10px; color: var(--muted); }
.ga-path a { color: var(--ink-2); text-decoration: none; }
.ga-path a:hover { color: var(--red-dk); text-decoration: underline; }
.ga-page--index .ga-path { display: none; }

/* ---------- главная: стена */
.ga-wall { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 34px; align-items: start; padding-top: 18px; }
.ga-wall__left { position: relative; padding-bottom: 8px; }
.ga-wall__kicker { margin: 0 0 6px 6px; transform: rotate(-2deg); color: var(--steel); }
.ga-wall__title { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: clamp(40px, 5.1vw, 72px); line-height: .98; text-transform: uppercase; color: var(--ink); }
.ga-tape--t1 { transform: rotate(-2.2deg); margin-left: 4px; }
.ga-tape--t2 { transform: rotate(1.1deg); background-color: #f4e8bf; }
.ga-wall__lead { max-width: min(560px, calc(100% - 190px)); margin: 22px 0 0; padding: 16px 20px 18px; font-size: 17px; background: var(--paper); border-radius: 4px; box-shadow: var(--shadow); transform: rotate(-.4deg); }
.ga-wall__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.ga-wall__count { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; font-weight: 600; font-size: 15px; color: var(--steel); }
.ga-wall__count > span:last-child { background: rgba(251, 248, 239, .8); padding: 2px 10px; border-radius: 4px; }

/* висящие инструменты */
.ga-hooks { position: absolute; right: 4px; top: 214px; display: flex; align-items: flex-start; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ga-hang { position: relative; transform-origin: 50% 0; animation: ga-swing 6s ease-in-out infinite; }
.ga-hang::before { content: ""; position: absolute; left: 50%; top: -12px; width: 12px; height: 12px; margin-left: -6px; border: 3px solid #5b6064; border-bottom: 0; border-radius: 8px 8px 0 0; }
.ga-hang--key { animation-delay: -1.5s; } .ga-hang--gauge { animation-delay: -3s; animation-duration: 7s; } .ga-hang--wrench { animation-duration: 8s; }
.ga-hang svg { display: block; }
.ga-hang--key svg { width: 44px; } .ga-hang--gauge svg { width: 62px; } .ga-hang--wrench svg { width: 32px; }
.ga-hang__string { stroke: #3c3f42; stroke-width: 2; fill: none; }
.ga-hang__ring { fill: none; stroke: #9aa1a6; stroke-width: 4; }
.ga-hang__metal { fill: #aeb5ba; stroke: #6f767b; stroke-width: 1.5; }
.ga-hang__fob { fill: var(--red); }
.ga-hang__face { fill: #f6f3ea; stroke: #6f767b; stroke-width: 4; }
.ga-hang__scale { fill: none; stroke: var(--steel); stroke-width: 3; stroke-dasharray: 2 6; }
.ga-hang__needle { stroke: var(--red); stroke-width: 3; stroke-linecap: round; }
.ga-hang__hub { fill: var(--steel); }
.ga-hang__hole { fill: var(--board-hole); }
@keyframes ga-swing { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }

/* ---------- приборка */
.ga-dash {
	position: relative;
	padding: 22px 22px 18px;
	color: #e9ecee;
	background: radial-gradient(120% 90% at 50% 0%, #2b3034, #131517 70%);
	border-radius: 26px;
	box-shadow: 0 0 0 6px #3d4246, 0 0 0 8px #1a1c1e, 0 26px 40px -22px rgba(0, 0, 0, .9);
}
.ga-dash__head h2 { font-size: 26px; text-transform: uppercase; color: #fff; }
.ga-dash__head p { margin-top: 6px; font-size: 14.5px; color: #b9c0c5; }
.ga-cluster { display: grid; grid-template-columns: 170px 1fr; gap: 16px; align-items: center; margin-top: 16px; }
.ga-cluster__dial { width: 100%; height: auto; overflow: visible; }
.ga-dial__arc { fill: none; stroke: #4b5257; stroke-width: 7; stroke-linecap: round; }
.ga-dial__red { fill: none; stroke: #c3352a; stroke-width: 7; stroke-linecap: round; }
.ga-dial__ticks path { stroke: #c8cfd4; stroke-width: 2.4; }
.ga-cluster__dial text { font: 11px var(--f-mono); fill: #9aa3a9; text-anchor: middle; }
.ga-dial__needle { stroke: #ff7a3d; stroke-width: 4; stroke-linecap: round; transform-origin: 100px 110px; transition: transform 1.1s cubic-bezier(.4, 1.6, .5, 1); filter: drop-shadow(0 0 4px rgba(255, 122, 61, .7)); }
.ga-dial__hub { fill: #2d3236; stroke: #6c757b; stroke-width: 2; }
.ga-lamps { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.ga-lamp {
	aspect-ratio: 1; min-width: 0; padding: 7px; border: 0; border-radius: 10px; cursor: pointer;
	background: #0c0d0e; box-shadow: 0 0 0 1px #2c3135 inset, 0 2px 0 rgba(255, 255, 255, .05);
	transition: background-color .2s ease, box-shadow .2s ease, transform .12s ease;
}
.ga-lamp svg { width: 100%; height: 100%; fill: none; stroke: #3d4448; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s ease, filter .2s ease; }
.ga-lamp svg text { font: 700 5.2px var(--f-text); fill: #3d4448; stroke: none; text-anchor: middle; transition: fill .2s ease; }
.ga-lamp:hover { box-shadow: 0 0 0 1px #59626a inset; }
.ga-lamp:hover svg { stroke: #6b757c; }
.ga-lamp:active { transform: scale(.95); }
.ga-lamp.is-on[data-c="y"] svg, .ga-dash.is-test .ga-lamp[data-c="y"] svg { stroke: var(--lamp-y); filter: drop-shadow(0 0 5px rgba(246, 180, 14, .85)); }
.ga-lamp.is-on[data-c="r"] svg, .ga-dash.is-test .ga-lamp[data-c="r"] svg { stroke: var(--lamp-r); filter: drop-shadow(0 0 5px rgba(255, 68, 51, .85)); }
.ga-lamp.is-on[data-c="y"] svg text, .ga-dash.is-test .ga-lamp[data-c="y"] svg text { fill: var(--lamp-y); }
.ga-lamp.is-on { background: #17191b; box-shadow: 0 0 0 2px #6c757b inset; }
.ga-verdict { margin-top: 16px; padding: 14px 16px 16px; color: var(--ink); background: var(--paper); border-radius: 10px; min-height: 172px; }
.ga-verdict h3 { font-size: 20px; }
.ga-verdict p { margin-top: 6px; font-size: 15px; }
.ga-verdict__go { display: flex; gap: 6px; margin: 0 0 10px !important; }
.ga-verdict__go span { padding: 3px 10px; border-radius: 20px; font: 400 12px var(--f-head); text-transform: uppercase; letter-spacing: .04em; background: var(--paper-2); color: #a69f90; }
.ga-verdict[data-go="ok"] [data-go="ok"] { background: var(--go); color: #fff; }
.ga-verdict[data-go="slow"] [data-go="slow"] { background: var(--lamp-y); color: var(--ink); }
.ga-verdict[data-go="stop"] [data-go="stop"] { background: var(--red); color: #fff; }
.ga-verdict__do { padding-left: 12px; border-left: 3px solid var(--tape-2); color: var(--ink-2); }
.ga-verdict__do:empty { display: none; }
.ga-verdict__link[hidden] { display: none; }
.ga-verdict__link { display: inline-block; margin-top: 10px; color: var(--blue); font-weight: 800; }

/* ---------- полки-заголовки */
.ga-shelf {
	position: relative; display: block; margin: 0 0 30px; padding: 12px 18px 11px;
	font-size: 21px; text-transform: uppercase; color: #fff;
	background: linear-gradient(180deg, #4a5054, var(--steel-2) 45%, var(--steel));
	border-radius: 4px 4px 2px 2px;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 8px 0 -3px #1a1c1e, 0 16px 18px -14px rgba(0, 0, 0, .8);
}
.ga-shelf::before, .ga-shelf::after { content: ""; position: absolute; bottom: -22px; width: 14px; height: 22px; background: linear-gradient(90deg, #2c3033, #555b5f, #2c3033); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 30%); }
.ga-shelf::before { left: 26px; } .ga-shelf::after { right: 26px; }
.ga-shelf a, .ga-shelf span { color: #fff; text-decoration: none; }
.ga-shelf a:hover { color: var(--tape); }

/* ---------- свежее: записки */
.ga-fresh { margin-top: 54px; }
.ga-notes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; margin: 0; padding: 0; list-style: none; }
.ga-note { position: relative; }
.ga-note a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px 16px 14px; text-decoration: none; color: var(--ink); background: var(--paper); border-radius: 3px; box-shadow: var(--shadow); transition: transform .2s ease; }
.ga-note::before { content: ""; position: absolute; z-index: 1; top: -9px; left: 50%; width: 86px; height: 22px; margin-left: -43px; background: rgba(239, 225, 176, .92); transform: rotate(-3deg); box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
.ga-note:nth-child(3n+2) a { transform: rotate(.9deg); } .ga-note:nth-child(3n) a { transform: rotate(-.7deg); }
.ga-note:nth-child(4n+3)::before { transform: rotate(4deg); left: 38%; }
.ga-note:nth-child(5) a, .ga-note:nth-child(8) a { background: var(--sticky); }
.ga-note a:hover { transform: translateY(-3px) rotate(0); color: var(--ink); }
.ga-note__f { font: 400 11.5px var(--f-head); text-transform: uppercase; letter-spacing: .04em; color: var(--red-dk); }
.ga-note__t { font-weight: 800; font-size: 16px; line-height: 1.3; }
.ga-note a:hover .ga-note__t { text-decoration: underline; text-decoration-thickness: 2px; }
.ga-note__m { margin-top: auto; font-size: 13px; color: var(--muted); }

/* ---------- разделы: полки с бирками */
.ga-sections { margin-top: 56px; }
.ga-rack { margin-bottom: 44px; }
.ga-tags { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 30px 18px; margin: 0; padding: 0; list-style: none; }
.ga-tag {
	position: relative; display: flex; flex-direction: column; gap: 6px;
	padding: 34px 18px 16px; background: var(--paper);
	clip-path: polygon(12% 0, 88% 0, 100% 11%, 100% 100%, 0 100%, 0 11%);
	filter: drop-shadow(0 8px 10px rgba(60, 35, 10, .32));
	transform-origin: 50% 0; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1);
}
.ga-tag::before { content: ""; position: absolute; left: 50%; top: 11px; width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%; background: var(--board-hole); box-shadow: 0 0 0 3px #d8cfb6; }
.ga-tag:hover { transform: rotate(-1.4deg); }
.ga-tag:nth-child(even):hover { transform: rotate(1.4deg); }
.ga-tag__hook { display: none; }
.ga-tag__state { position: absolute; right: 14px; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: #cfc6b0; }
.ga-tag__state.forum_on { background: var(--red); box-shadow: 0 0 0 3px rgba(211, 58, 43, .2); }
.ga-ico { width: 32px; height: 32px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ga-tag .ga-ico { stroke: var(--red-dk); }
.ga-tag__name { font: 400 18px/1.15 var(--f-head); text-decoration: none; color: var(--ink); }
.ga-tag__name::after { content: ""; position: absolute; inset: 0; }
.ga-tag__name:hover { color: var(--red-dk); }
.ga-tag__desc { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.ga-tag__meta { display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--muted); }
.ga-tag__meta b { color: var(--ink); font: 400 13px var(--f-head); text-transform: uppercase; }
.ga-tag__meta a { position: relative; z-index: 1; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.ga-tag__meta a:hover { color: var(--red-dk); }

/* ---------- шпаргалка */
.ga-cheat { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; align-items: start; margin-top: 16px; }
.ga-board { position: relative; padding: 46px 30px 28px; background: var(--paper); border-radius: 6px; box-shadow: 0 0 0 14px #5f4128, 0 0 0 15px #4a311d, 0 24px 34px -16px rgba(40, 20, 5, .8); margin: 14px; }
.ga-board__clip { position: absolute; left: 50%; top: -26px; width: 150px; height: 46px; margin-left: -75px; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, #d9dee1, #8d959a 60%, #6c7378); box-shadow: 0 4px 6px rgba(0, 0, 0, .35); }
.ga-board__clip::after { content: ""; position: absolute; left: 50%; top: 9px; width: 42px; height: 12px; margin-left: -21px; border-radius: 6px; background: #3f4549; }
.ga-board h2 { font-size: 26px; text-transform: uppercase; }
.ga-board__lead { margin-top: 8px !important; color: var(--ink-2); font-size: 15px; }
.ga-board__list { margin: 18px 0 0; padding: 0; list-style: none; background: repeating-linear-gradient(180deg, transparent 0 39px, #d9e4f0 39px 40px); }
.ga-board__list li a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 14px; padding: 9px 4px 10px 26px; text-decoration: none; color: var(--ink); position: relative; }
.ga-board__list li a::before { content: ""; position: absolute; left: 2px; top: 13px; width: 14px; height: 14px; border: 2px solid var(--ink-2); border-radius: 3px; }
.ga-board__list li a:hover::before { border-color: var(--red); background: linear-gradient(135deg, transparent 45%, var(--red) 45% 58%, transparent 58%); }
.ga-board__list b { font-weight: 800; }
.ga-board__list span { color: var(--ink-2); font-size: 15px; }
.ga-board__list a:hover b { color: var(--red-dk); text-decoration: underline; }
.ga-cheat__side { position: relative; margin-top: 30px; padding: 26px 22px 22px; background: var(--sticky); box-shadow: var(--shadow); transform: rotate(1.2deg); }
.ga-cheat__side::before { content: ""; position: absolute; top: -10px; left: 30%; width: 90px; height: 22px; background: rgba(239, 225, 176, .9); transform: rotate(-4deg); }
.ga-asklist { margin: 10px 0 0; padding: 0 0 0 18px; font-size: 15px; }
.ga-asklist li + li { margin-top: 8px; }

/* ---------- одометр */
.ga-odo { display: inline-flex; flex-direction: column; gap: 4px; }
.ga-odo__drums { display: inline-flex; padding: 3px; gap: 2px; background: #0e0f10; border-radius: 4px; box-shadow: 0 0 0 1px #3a3f42 inset; }
.ga-odo__drums i { display: inline-block; width: 1.1em; padding: 2px 0 1px; font: 500 15px/1.2 var(--f-mono); font-style: normal; text-align: center; color: #f4f1e6; background: linear-gradient(180deg, #1b1d1f, #34383b 50%, #1b1d1f); border-radius: 2px; }
.ga-odo__drums i:last-child { color: #101112; background: linear-gradient(180deg, #d9d4c6, #fbf8ef 50%, #d9d4c6); }
.ga-odo__drums i.is-zero { color: #6c7378; }
.ga-odo__k { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: inherit; opacity: .75; }
.ga-odo--big .ga-odo__drums i { font-size: 22px; width: 1.05em; }

/* ---------- шапки страниц разделов и тем */
.ga-screen { display: flex; flex-direction: column; gap: 18px; }
.ga-head { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 18px; padding: 24px 26px 22px; background: var(--paper); border-radius: 4px; box-shadow: var(--shadow); }
.ga-head::before { content: ""; position: absolute; top: -10px; left: 34px; width: 110px; height: 24px; background: rgba(239, 225, 176, .92); transform: rotate(-2.5deg); box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
.ga-head__ico { grid-row: span 3; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--steel); }
.ga-head__ico .ga-ico { width: 36px; height: 36px; stroke: var(--tape); }
.ga-pagehead { grid-column: 2; font-size: clamp(28px, 3.6vw, 44px); text-transform: uppercase; }
.ga-pagehead--thread { text-transform: none; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.15; }
.ga-head--thread { grid-template-columns: minmax(0, 1fr) auto; }
.ga-head--thread .ga-pagehead, .ga-head--thread .ga-head__meta, .ga-head--thread .ga-head__forum { grid-column: 1; }
.ga-head__desc { grid-column: 2; max-width: 760px; color: var(--ink-2); }
.ga-head__desc:empty { display: none; }
.ga-head__meta { grid-column: 2; font-size: 14px; color: var(--muted); }
.ga-head__forum { font-size: 14px; }
.ga-head__forum a { color: var(--red-dk); font-weight: 800; }
.ga-head__act { grid-column: 3; grid-row: 1 / span 3; }
.ga-head--thread .ga-head__act { grid-column: 2; }
.ga-head__act:empty { display: none; }

/* ---------- список тем */
.ga-threads { background: var(--paper); border-radius: 4px; box-shadow: var(--shadow); padding: 6px 0 4px; }
.ga-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; padding: 12px 22px; }
.ga-tools:empty { display: none; }
.ga-screen > .ga-tools { padding: 0; }
.ga-tools--foot { border-top: 1px solid var(--line); }
.ga-tools__right { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14px; }
.ga-tools__right a { color: var(--ink-2); }
.ga-sort { display: flex; flex-wrap: wrap; gap: 6px; }
.ga-sort a { padding: 6px 12px; border-radius: 4px; background: var(--paper-2); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.ga-sort a:hover { background: var(--tape); color: var(--ink); }
.ga-mod-row { display: none; }
.ga-mod-row:has(td) { display: table; }
.ga-table { width: 100%; }
.ga-table th { padding: 10px 14px; font: 400 12px var(--f-head); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); text-align: left; border-bottom: 2px solid var(--ink); }
.ga-table th:first-child { padding-left: 22px; }
.ga-table td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ga-table .num { width: 96px; text-align: right; font: 500 15px var(--f-mono); }
.ga-table th.num { font: 400 12px var(--f-head); }
.ga-table .num a { color: var(--ink); text-decoration: none; }
.ga-trow:hover td { background: #fffdf6; }
.ga-trow__main { padding-left: 22px !important; }
.ga-trow__state { display: inline-block; width: 10px; height: 10px; margin-right: 10px; border-radius: 50%; background: #d6ccb3; vertical-align: 2px; }
.ga-trow__state[class*="new"] { background: var(--red); }
.ga-trow__title { font-weight: 800; font-size: 17px; line-height: 1.35; }
.ga-trow__title a { color: var(--ink); text-decoration: none; }
.ga-trow__title a:hover { color: var(--red-dk); text-decoration: underline; }
.ga-trow__meta { display: block; margin-top: 3px; padding-left: 20px; font-size: 13.5px; color: var(--muted); }
.ga-trow__meta a { color: var(--ink-2); }
.ga-trow__last { width: 200px; font-size: 13.5px; }
.ga-trow__last a { color: var(--ink); font-weight: 600; }
.ga-trow__last span { display: block; color: var(--muted); }
.ga-trow__last span a { color: var(--muted); font-weight: 400; }
.forumdisplay_sticky .ga-trow__title::before { content: "закреплено"; margin-right: 8px; padding: 2px 8px; font: 400 11px var(--f-head); text-transform: uppercase; background: var(--tape); border-radius: 3px; vertical-align: 2px; }
.pagination, .ga-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: 36px; padding: 6px 10px; border-radius: 4px; text-align: center; font: 500 14px var(--f-mono); text-decoration: none; background: var(--paper-2); color: var(--ink); }
.pagination a:hover { background: var(--tape); }
.pagination_current { background: var(--steel); color: #fff; }

/* ---------- сообщения: бирка на ключах + лист */
.ga-posts { display: flex; flex-direction: column; gap: 26px; }
.ga-post { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 22px; align-items: start; }
.ga-fob { position: sticky; top: 14px; display: flex; flex-direction: column; align-items: center; }
.ga-fob__ring { position: relative; z-index: 1; width: 44px; height: 44px; margin-bottom: -18px; border-radius: 50%; border: 5px solid #a9b0b5; box-shadow: 0 0 0 1px #6f767b, 0 0 0 1px #6f767b inset, 0 3px 4px rgba(0, 0, 0, .3); }
.ga-fob__body {
	position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px;
	padding: 30px 14px 16px; text-align: center; color: #efe9dc;
	background: linear-gradient(160deg, #3b3f42, #25282a 60%);
	border-radius: 22px 22px 14px 14px;
	box-shadow: 0 0 0 1px #15171a, 0 12px 20px -10px rgba(0, 0, 0, .75);
}
.ga-fob__body::before { content: ""; position: absolute; inset: 6px; border: 1.5px dashed rgba(239, 233, 220, .32); border-radius: 17px 17px 10px 10px; pointer-events: none; }
.ga-fob__body::after { content: ""; position: absolute; left: 50%; top: 9px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--board-hole); box-shadow: 0 0 0 2px #15171a; }
.ga-fob__mono { display: grid; place-items: center; width: 56px; height: 56px; margin-top: 4px; border-radius: 50%; font: 400 21px var(--f-head); color: var(--steel); background: var(--tape); box-shadow: 0 0 0 3px #3b3f42, 0 0 0 5px #8b9196; }
.ga-fob__mono .ga-ava { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.ga-fob__name { margin-top: 4px; font: 400 17px/1.15 var(--f-head); color: #fff; text-decoration: none; word-break: break-word; }
a.ga-fob__name:hover { color: var(--tape); text-decoration: underline; }
.ga-fob__rank { padding: 2px 10px; font: 600 15px/1.3 var(--f-hand); font-size: 19px; color: var(--ink); background: var(--tape); transform: rotate(-2deg); clip-path: polygon(0 8%, 4% 0, 96% 6%, 100% 0, 99% 92%, 95% 100%, 5% 94%, 0 100%); }
.ga-lvl1 .ga-fob__rank { background: #e6e0d0; }
.ga-lvl2 .ga-fob__rank { background: #cfe3d4; }
.ga-lvl3 .ga-fob__rank { background: var(--tape); }
.ga-lvl4 .ga-fob__rank { background: #f5c48a; }
.ga-lvl5 .ga-fob__rank { background: #f29a7d; }
.ga-lvl6 .ga-fob__rank { background: var(--red); color: #fff; }
.ga-fob__facts { width: 100%; margin: 4px 0 0; padding: 0; list-style: none; font-size: 13px; line-height: 1.35; text-align: left; }
.ga-fob__facts li { padding: 5px 2px; border-top: 1px solid rgba(255, 255, 255, .09); color: #efe9dc; word-break: break-word; }
.ga-fob__facts span { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: #9aa1a6; }
.ga-fob .ga-odo { align-items: center; margin-top: 4px; }
.ga-fob .ga-odo__drums i { font-size: 13px; }
.ga-post__sheet { position: relative; min-width: 0; padding: 22px 26px 16px; background: var(--paper); border-radius: 4px; box-shadow: var(--shadow); }
.ga-post__sheet::before { content: ""; position: absolute; top: -9px; left: -14px; width: 74px; height: 22px; background: rgba(239, 225, 176, .92); transform: rotate(-30deg); box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
.ga-post--first .ga-post__sheet { box-shadow: 0 0 0 3px var(--red) inset, var(--shadow); }
.ga-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px dashed var(--line); font-size: 13.5px; color: var(--muted); }
.ga-starter { padding: 1px 8px; font: 400 11px var(--f-head); text-transform: uppercase; letter-spacing: .04em; background: var(--red); color: #fff; border-radius: 3px; }
.ga-post__no { margin-left: auto; font: 500 13px var(--f-mono); color: var(--muted); text-decoration: none; }
.ga-post__no:hover { color: var(--red-dk); }
.ga-post__edit:empty, .ga-post__check:empty, .ga-post__status:empty { display: none; }
.ga-post__body { font-size: 16.5px; line-height: 1.7; overflow-wrap: anywhere; }
.ga-post__body img { border-radius: 4px; }
.ga-post__body a.mycode_url, .ga-post__sign a.mycode_url, .signature a.mycode_url {
	color: var(--blue); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: rgba(31, 95, 191, .4); text-underline-offset: 3px;
}
.ga-post__body a.mycode_url:hover { color: #123f86; text-decoration-color: currentColor; background: rgba(31, 95, 191, .07); }
.ga-post__body a.mycode_url[target="_blank"]::after { content: "↗"; display: inline-block; margin-left: 2px; font-size: .8em; text-decoration: none; }
blockquote, .mycode_quote { margin: 12px 0; padding: 12px 16px; background: var(--paper-2); border-left: 4px solid var(--steel-3); border-radius: 0 4px 4px 0; font-size: 15.5px; }
blockquote cite, .mycode_quote cite { display: block; margin-bottom: 4px; font: 400 13px var(--f-head); font-style: normal; color: var(--ink-2); text-transform: uppercase; letter-spacing: .03em; }
blockquote cite > span { text-transform: none; font-family: var(--f-text); color: var(--muted); }
.codeblock { margin: 12px 0; padding: 12px 16px; background: var(--steel); color: #e9ecee; border-radius: 4px; overflow: auto; }
.codeblock .title { font: 400 12px var(--f-head); text-transform: uppercase; color: var(--tape); margin-bottom: 6px; }
.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; }
.ga-post__controls { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 16px; padding-top: 10px; border-top: 1px dashed var(--line); }
.ga-post__controls:not(:has(a)) { display: none; }
.postbit_buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.postbit_buttons a { display: inline-flex; align-items: center; padding: 5px 10px; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--ink-2); background: var(--paper-2); border-radius: 4px; }
.postbit_buttons a span { background: none !important; padding: 0 !important; }
.postbit_buttons a:hover { background: var(--tape); color: var(--ink); }
.signature { margin-top: 14px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--muted); }

.ga-adjacent { display: flex; justify-content: space-between; gap: 12px; }
.ga-adjacent a { padding: 8px 14px; background: rgba(251, 248, 239, .9); border-radius: 4px; text-decoration: none; font-weight: 600; font-size: 14px; }
.ga-adjacent a:hover { background: var(--tape); color: var(--ink); }

/* ---------- ответ и гостевой блок */
.ga-reply, .ga-guest { padding: 22px 26px; background: var(--paper); border-radius: 4px; box-shadow: var(--shadow); }
.ga-reply__head h2 { font-size: 22px; text-transform: uppercase; }
.ga-reply__head p { margin-top: 4px; color: var(--muted); font-size: 14px; }
.ga-reply textarea { width: 100%; min-height: 170px; margin-top: 14px; }
.ga-reply__opts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; font-size: 14px; }
.ga-reply__opts label { display: inline-flex; gap: 6px; align-items: center; }
.ga-reply__captcha:not(:has(td)) { display: none; }
.ga-reply__act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; }
.ga-reply__full { font-size: 14px; }
.ga-reply__mq { margin-top: 8px; font-size: 14px; }
.ga-guest { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.ga-guest p { font-weight: 600; }
.ga-modtools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
.ga-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; }
.thread_tools a { padding: 5px 10px; background: rgba(251, 248, 239, .9); border-radius: 4px; text-decoration: none; }
.ga-modtools > div:empty { display: none; }
.ga-browsing { font-size: 14px; }
.ga-browsing:empty { display: none; }

/* ---------- анкета участника */
.ga-card { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 30px; align-items: start; }
.ga-fob--big { position: relative; top: 0; }
.ga-fob--big .ga-fob__ring { width: 58px; height: 58px; border-width: 7px; margin-bottom: -24px; }
.ga-fob--big .ga-fob__body { padding: 38px 20px 22px; gap: 10px; }
.ga-fob--big .ga-fob__mono { width: 92px; height: 92px; font-size: 34px; }
.ga-fob--big .ga-fob__name { font-size: 26px; }
.ga-fob--big .ga-odo__drums i { font-size: 18px; }
.ga-fob__no { font: 500 13px var(--f-mono); color: #9aa1a6; }
.ga-card__side { padding: 26px 28px 22px; }
.ga-card__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 12px 0 0; }
.ga-card__facts div { padding: 12px 14px 12px 0; border-top: 1px dashed var(--line); }
.ga-card__facts dt { font: 400 11.5px var(--f-head); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.ga-card__facts dd { margin: 4px 0 0; font-weight: 800; font-size: 17px; overflow-wrap: anywhere; }
.ga-card__facts dd a { color: var(--blue); }
.ga-card__links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px !important; }
.ga-card__links a { font-weight: 800; color: var(--blue); }
.ga-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ga-card__actions:empty { display: none; }
.ga-card__note { margin-top: 14px !important; font-size: 13px; color: var(--muted); }
.ga-hidden-empty:not(:has(td)) { display: none; }
.ga-profile-extra:empty { display: none; }
.ga-profile-extra { margin-top: 24px; }

/* ---------- вход, ошибки, ожидание */
.ga-gate, .ga-error, .ga-wait { max-width: 520px; margin: 30px auto; padding: 34px 32px 28px; background: var(--paper); border-radius: 4px; box-shadow: var(--shadow); position: relative; }
.ga-gate::before, .ga-error::before, .ga-wait::before { content: ""; position: absolute; top: -10px; left: 50%; width: 120px; height: 24px; margin-left: -60px; background: rgba(239, 225, 176, .92); transform: rotate(-2deg); }
.ga-gate h1, .ga-error h1, .ga-wait h1 { font-size: 28px; text-transform: uppercase; }
.ga-form { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.ga-field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.ga-field .textbox { width: 100%; }
.ga-form__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; }
.ga-checkline { display: inline-flex; align-items: center; gap: 6px; }
.ga-form__submit { width: 100%; }
.ga-error__text { margin-top: 12px; }
.ga-error__links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 20px !important; }
.ga-wait { margin-top: 12vh; text-align: center; }
.ga-wait p { margin: 12px 0 18px; }

/* ---------- стандартные блоки MyBB (поиск, ЛК, личные сообщения, модерация) */
.tborder { width: 100%; background: var(--paper); border-radius: 4px; box-shadow: var(--shadow); margin-bottom: 18px; overflow: hidden; }
.tborder td, .tborder th { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.thead { background: var(--steel); color: #fff; font: 400 15px var(--f-head); text-transform: uppercase; }
.thead a, .thead strong { color: #fff; }
.tcat { background: var(--paper-2); font-weight: 800; font-size: 13px; color: var(--ink-2); }
.trow1, .trow2 { background: var(--paper); }
.trow_shaded, .unapproved_post { background: #f6ead0 !important; }
.trow_selected, tr.trow_selected td { background: #fff4c9 !important; }
.trow_deleted, .deleted_post_hidden { background: #f3dcd6 !important; }
.trow_sep { background: var(--paper-2); font-weight: 800; }
.tfoot { background: var(--paper-2); }
.smalltext { font-size: 13px; color: var(--muted); }
.largetext { font: 400 20px var(--f-head); }
.expcolimage { float: right; }
fieldset { border: 1px solid var(--line); border-radius: 4px; padding: 12px 16px; }
fieldset legend { padding: 0 6px; font: 400 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(#ga-q), input[type="url"], input[type="date"], select, textarea {
	max-width: 100%; min-height: 42px; padding: 9px 12px; font: 15px var(--f-text); color: var(--ink);
	background: #fff; border: 1.5px solid #cdbf9f; border-radius: 4px;
}
textarea { min-height: 120px; line-height: 1.55; resize: vertical; }
select { padding-right: 32px; }
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(--steel); box-shadow: 0 0 0 3px rgba(31, 95, 191, .18); }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; accent-color: var(--red); }
.ga-formtable td { padding: 6px 0; border: 0; }
.ga-formtable .textbox { width: 100%; }
.ga-formtable .button { width: 100%; margin-top: 8px; }
.ga-formtable div[align="center"] { text-align: left; }
.red_alert, .pm_alert { margin-bottom: 16px; padding: 12px 16px; border-radius: 4px; font-weight: 600; }
.red_alert { background: #f8d7cf; color: #7d1e14; }
.pm_alert { background: var(--sticky); }
div.error { margin-bottom: 16px; padding: 12px 16px; background: #f8d7cf; color: #7d1e14; border-radius: 4px; }
div.error ul { margin: 6px 0 0; padding-left: 20px; }
.popup_menu { background: var(--paper); border-radius: 4px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); padding: 6px; }
.popup_menu .popup_item { display: block; padding: 7px 10px; border-radius: 4px; color: var(--ink); text-decoration: none; }
.popup_menu .popup_item:hover { background: var(--tape); }
.blocker { position: fixed; inset: 0; z-index: 9998; background: rgba(20, 16, 10, .62); 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; background: var(--paper); border-radius: 6px; box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .7); }
.modal a.close-modal { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; background: var(--paper-2); text-indent: -9999px; overflow: hidden; }
.modal a.close-modal::before { content: "×"; position: absolute; inset: 0; display: grid; place-items: center; text-indent: 0; font-size: 22px; color: var(--ink); }
.ga-modal__title { margin-bottom: 14px; font-size: 22px; text-transform: uppercase; }
.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; background: var(--steel); color: #fff; border-radius: 6px; }
.jGrowl .jGrowl-close { float: right; cursor: pointer; }

/* ---------- подвал */
.ga-foot { margin-top: auto; background: linear-gradient(180deg, #34383b, var(--steel) 30%, #1a1c1e); border-top: 6px solid #15171a; color: #c3c9cd; }
.ga-foot__in { max-width: var(--wrap); margin: 0 auto; padding: 36px 20px 30px; display: grid; grid-template-columns: 1.1fr 1fr 1.2fr; gap: 30px; }
.ga-foot__logo { font: 400 22px var(--f-head); text-transform: uppercase; color: #fff; margin-bottom: 10px !important; }
.ga-foot__about p:last-child { font-size: 14px; }
.ga-foot__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; align-content: start; }
.ga-foot__nav a { color: #e7e9ea; font-size: 14.5px; text-decoration: none; }
.ga-foot__nav a:hover { color: var(--tape); text-decoration: underline; }
.ga-foot__note { font-size: 13.5px; padding: 14px 16px; border: 1.5px dashed #50565a; border-radius: 6px; }

/* ---------- появление при прокрутке */
.js .ga-reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .ga-reveal.is-in { opacity: 1; transform: none; }

/* ---------- адаптив */
@media (max-width: 1100px) {
	.ga-bar__in { flex-wrap: wrap; }
	.ga-search { order: 5; flex: 1 1 100%; }
	.ga-wall { grid-template-columns: minmax(0, 1fr); }
	.ga-hooks { display: none; }
	.ga-wall__lead { max-width: 640px; }
	.ga-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ga-cheat { grid-template-columns: minmax(0, 1fr); }
	.ga-cheat__side { margin-top: 0; }
}
@media (max-width: 760px) {
	body { font-size: 15.5px; }
	.ga-bar__in { gap: 10px 14px; padding: 10px 14px; }
	.ga-logo__name { font-size: 15px; }
	.ga-nav { order: 4; flex: 1 1 100%; overflow-x: auto; scrollbar-width: none; }
	.ga-nav a { white-space: nowrap; padding: 6px 10px; font-size: 14px; }
	.ga-act { margin-left: auto; }
	.ga-main { padding: 14px 14px 48px; }
	.ga-wall { gap: 26px; padding-top: 4px; }
	.ga-wall__title { font-size: clamp(36px, 11vw, 54px); }
	.ga-wall__lead { font-size: 16px; }
	.ga-wall__act .ga-btn { flex: 1 1 100%; }
	.ga-dash { padding: 18px 14px 14px; border-radius: 20px; }
	.ga-dash__head h2 { font-size: 22px; }
	.ga-cluster { grid-template-columns: minmax(0, 1fr); }
	.ga-cluster__dial { max-width: 220px; margin: 0 auto; }
	.ga-lamps { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
	.ga-lamp { padding: 5px; border-radius: 8px; }
	.ga-notes { grid-template-columns: minmax(0, 1fr); }
	.ga-tags { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.ga-shelf { font-size: 18px; }
	.ga-board { margin: 10px 8px; padding: 42px 18px 20px; }
	.ga-board__list li a { grid-template-columns: minmax(0, 1fr); gap: 2px; }
	.ga-board__list { background: none; }
	.ga-board__list li { border-bottom: 1px solid #d9e4f0; }
	.ga-head { grid-template-columns: minmax(0, 1fr); padding: 22px 18px 18px; }
	.ga-head__ico { display: none; }
	.ga-pagehead, .ga-head__desc, .ga-head__meta, .ga-head__act, .ga-head--thread .ga-head__act { grid-column: 1; grid-row: auto; }
	.ga-post { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.ga-fob { position: relative; top: 0; flex-direction: row; align-items: stretch; }
	.ga-fob__ring { margin: 18px -14px 0 0; flex: none; width: 34px; height: 34px; }
	.ga-fob__body { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 6px 12px; padding: 12px 14px 12px 22px; border-radius: 14px 14px 0 0; text-align: left; }
	.ga-fob__body::after { display: none; }
	.ga-fob__body::before { inset: 5px; border-radius: 10px 10px 0 0; }
	.ga-fob__mono { width: 42px; height: 42px; font-size: 16px; margin: 0; }
	.ga-fob__name { margin: 0; }
	.ga-fob__facts { display: flex; flex-wrap: wrap; gap: 2px 14px; margin: 0; }
	.ga-fob__facts li { border: 0; padding: 0; }
	.ga-fob .ga-odo { margin: 0; flex-direction: row; align-items: center; gap: 8px; }
	.ga-post__sheet { border-radius: 0 0 4px 4px; padding: 18px 16px 14px; }
	.ga-post__sheet::before { display: none; }
	.ga-card { grid-template-columns: minmax(0, 1fr); }
	.ga-fob--big .ga-fob__body { flex-direction: column; text-align: center; align-items: center; }
	.ga-fob--big { flex-direction: column; align-items: center; }
	.ga-fob--big .ga-fob__ring { margin: 0 0 -24px; }
	.ga-card__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ga-foot__in { grid-template-columns: minmax(0, 1fr); }
	.ga-table thead { display: none; }
	.ga-table, .ga-table tbody, .ga-table tr, .ga-table td { display: block; width: 100%; }
	.ga-table tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
	.ga-table td { padding: 0; border: 0; }
	.ga-trow__main { padding-left: 0 !important; }
	.ga-trow__state { display: none; }
	.ga-trow__meta { padding-left: 0; }
	.ga-table .num { display: inline-block; width: auto; margin-top: 6px; margin-right: 14px; text-align: left; font-size: 13px; color: var(--muted); }
	.ga-table .num:nth-of-type(2)::after { content: " отв."; }
	.ga-table .num:nth-of-type(3)::after { content: " просм."; }
	.ga-trow__last { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .ga-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: #1d2022; font-weight: 600; text-decoration: underline solid currentColor 1px; text-underline-offset: 1px; }
:is(.post_body, .signature, [class*="-post__body"], [class*="-post__sign"]) a.mycode_url:hover, :is(.post_body, .signature, [class*="-post__body"], [class*="-post__sign"]) a.mycode_url:focus-visible { color: #1d2022; background: #efe1b0; text-decoration: underline solid currentColor 1px; }
:is(.post_body, .signature, [class*="-post__body"], [class*="-post__sign"]) a.mycode_url[target="_blank"]::after { content: none; display: none; }
/* ===== конец стиля ссылок ===== */
