/* ==========================================================================
   Городской джиппинг — тема «Полевая карта»
   Шалфейная бумага с горизонталями, лесной тёмный, грязь и сигнальный оранжевый.
   Заголовки — узкие прописные Bebas Neue (пак пользователя), текст — антиква Literata, как в походном журнале.
   Бирки со срезанным углом, пунктир маршрутов, фото в дуотоне «лес + оранжевый».
   ========================================================================== */

@font-face { font-family: "Bebas"; src: url("fonts/bebas-bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Literata"; src: url("fonts/literata-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: "Literata"; src: url("fonts/literata-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: "Literata"; src: url("fonts/literata-cyrillic-600.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Literata"; src: url("fonts/literata-latin-600.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122, U+2190-2199; }
@font-face { font-family: "Literata"; src: url("fonts/literata-cyrillic-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Literata"; src: url("fonts/literata-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122, U+2190-2199; }

:root {
	--bg: #dfe5d2;
	--paper: #eef1e6;
	--surface: #e7ecdc;
	--ink: #1e2a1d;
	--muted: #4f5a46;
	--forest: #1e2a1d;
	--forest-2: #2c3b2a;
	--mud: #6e4e2e;
	--sand: #e3c98f;
	--signal: #ff6a13;
	--water: #7fa9c2;
	--contour: #c3cdb0;
	--accent: var(--signal);
	--accent-ink: var(--ink);
	--link: #9b3a00;
	--signal-ink: #a3410a;
	--line: #c3cdb0;
	--field-1: var(--forest);
	--field-1-ink: #eef1e6;

	--f-head: "Bebas", "Oswald", "Arial Narrow", sans-serif;
	--f: "Literata", Georgia, "Times New Roman", serif;
	--step-small: 0.9375rem;
	--step-body: 1.125rem;
	--step-lead: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem);
	--step-head: clamp(2.6rem, 1.6rem + 3.4vw, 4.75rem);
	--step-display: clamp(4rem, 1.4rem + 9vw, 10.5rem);
	--m: clamp(18px, 3.4vw, 52px);
	--cut: 16px;
	--ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 12px; }
body { margin: 0; color: var(--ink); font: 400 var(--step-body)/1.6 var(--f); -webkit-font-smoothing: antialiased;
	background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320' fill='none' stroke='%23cdd5bb' stroke-width='1.4'%3E%3Cpath d='M-10 40c60-30 110 20 170-5s110-40 170 0'/%3E%3Cpath d='M-10 70c60-30 110 20 170-5s110-40 170 0'/%3E%3Cpath d='M-10 120c50 20 100-30 160-10s120 40 180 0'/%3E%3Cpath d='M-10 190c70-40 120 20 170 0s100-30 170 10'/%3E%3Cpath d='M-10 220c70-40 120 20 170 0s100-30 170 10'/%3E%3Cpath d='M-10 280c50 30 110-20 160 0s110 30 170-10'/%3E%3C/svg%3E"); }
img { max-width: 100%; height: auto; border: 0; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 700; line-height: .92; letter-spacing: .01em; text-transform: uppercase; margin: 0; color: var(--ink); }
p { margin: 0 0 .8em; max-width: 64ch; }
b, strong { font-weight: 600; }
table { border-collapse: collapse; }
script, template { display: none !important; }
.uj-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.uj-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.uj-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--signal); color: var(--ink); }
.uj-skip:focus { top: 12px; }
.float_left { float: left; } .float_right { float: right; } .clear { clear: both; }

/* бирка со срезанным углом — общая форма */
.uj-tag, .uj-btn, .uj-luggage, .uj-card, .uj-sheet, .uj-post, .uj-crew > * { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }

/* ---------- кнопка: бирка ---------- */
.uj-btn, .button, input.button, input[type="submit"], input[type="button"], button[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px 0 22px;
	border: 0; background: var(--signal); color: var(--ink); font: 700 1.375rem/1 var(--f-head); letter-spacing: .04em; text-transform: uppercase;
	cursor: pointer; text-decoration: none; white-space: nowrap; transition: background-color .2s, transform .15s var(--ease);
}
.uj-btn:hover, .button:hover, input[type="submit"]:hover, button[type="submit"]:hover { background: #ff8a40; color: var(--ink); }
.uj-btn:active, input[type="submit"]:active { transform: translateY(2px); }
.uj-link { font-style: italic; color: var(--ink); text-decoration: underline; text-decoration-style: dashed; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.uj-link:hover { color: var(--link); }

/* ---------- шапка: тёмная полоса планшета ---------- */
.uj-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; padding: 14px var(--m); background: var(--forest); color: var(--paper); }
.uj-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--paper); text-decoration: none; font: 700 1.375rem/.9 var(--f-head); letter-spacing: .03em; text-transform: uppercase; }
.uj-logo:hover { color: var(--paper); }
.uj-nav { display: flex; flex-wrap: wrap; gap: 4px 26px; margin-right: auto; }
.uj-nav a { padding: 8px 0; color: var(--paper); font: 700 1.25rem/1 var(--f-head); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; border-bottom: 3px solid transparent; }
.uj-nav a:hover { color: var(--paper); border-bottom-color: var(--signal); }
.uj-search input { width: clamp(190px, 18vw, 280px); min-height: 44px; padding: 0 14px; border: 1px solid #4c5d48; border-radius: 0; background: var(--forest-2); color: var(--paper); font: italic 400 1rem/1 var(--f); }
.uj-search input::placeholder { color: #a9b59c; }
.uj-search input:focus { outline: 2px solid var(--signal); }
.uj-act { position: relative; }
.uj-act .uj-btn { min-height: 44px; font-size: 1.25rem; }
.uj-user { display: flex; align-items: center; gap: 10px; color: var(--paper); }
.uj-user__pm { display: none; }
.uj-user__menu summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; padding: 0 16px; background: var(--signal); color: var(--ink); font: 700 1.25rem/1 var(--f-head); text-transform: uppercase; }
.uj-user__menu summary::-webkit-details-marker { display: none; }
.uj-user__drop { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; min-width: 240px; margin: 0; padding: 6px; list-style: none; background: var(--paper); border: 2px solid var(--forest); }
.uj-user__drop a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; }
.uj-user__drop a:hover { background: var(--surface); }

.uj-main { padding: 0 var(--m); }
.uj-path { margin: 18px 0; font-size: 1rem; font-style: italic; }
.uj-path ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.uj-path li:not(:last-child)::after { content: "···"; margin: 0 10px; color: var(--signal); font-style: normal; letter-spacing: 2px; }
.uj-path a { color: var(--muted); text-decoration: none; }
.uj-path a:hover { color: var(--ink); text-decoration: underline; }
.uj-page--index .uj-path { display: none; }

/* ---------- главная: разворот журнала ---------- */
.uj-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: center; min-height: calc(100svh - 76px); padding: clamp(28px, 4vw, 56px) 0; }
.uj-hero__title { font-size: var(--step-display); line-height: .84; }
.uj-hero__lead { margin: 28px 0 0; font-size: var(--step-lead); line-height: 1.45; max-width: 34ch; }
.uj-hero__log { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 34px; margin: 30px 0 0; padding: 16px 0; border-top: 2px dashed var(--forest); border-bottom: 2px dashed var(--forest); }
.uj-hero__log dt { font-size: var(--step-small); font-style: italic; color: var(--muted); }
.uj-hero__log dd { margin: 0; font: 700 1.625rem/1 var(--f-head); text-transform: uppercase; letter-spacing: .02em; }
.uj-hero__act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 30px; }
.uj-hero__photo { position: relative; margin: 0; }
.uj-hero__photo img, .uj-duo { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(1.05); mix-blend-mode: multiply; }
.uj-hero__photo::before { content: ""; position: absolute; inset: 0; background: var(--signal); }
.uj-hero__photo::after { content: ""; position: absolute; inset: 0; background: var(--forest); mix-blend-mode: screen; opacity: .55; pointer-events: none; }
.uj-hero__photo img { position: relative; }
.uj-hero__tag { position: absolute; z-index: 2; left: 16px; bottom: 22px; max-width: 30ch; margin: 0; padding: 14px 28px 14px 18px; background: var(--paper); font-size: 1rem; font-style: italic; line-height: 1.4; }
.uj-hero__tag b, .uj-shot .uj-tag b { display: block; font: 700 1.375rem/1 var(--f-head); font-style: normal; text-transform: uppercase; color: var(--signal-ink); letter-spacing: .04em; }
.js .uj-hero__photo { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s var(--ease); }
.is-ready .uj-hero__photo { clip-path: inset(0 0 0 0); }

/* ---------- карта маршрутов ---------- */
.uj-map { margin: 40px calc(var(--m) * -1) 0; padding: clamp(40px, 6vw, 80px) var(--m); background: var(--forest); color: var(--paper); }
.uj-map__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 40px; margin-bottom: 30px; }
.uj-map__head h2 { color: var(--paper); font-size: var(--step-head); }
.uj-map__head p { margin: 0; max-width: 52ch; color: #cdd5bf; font-style: italic; }
.uj-map__body { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 28px; align-items: start; }
.uj-map__sheet { margin: 0; padding: 10px; background: var(--paper); }
.uj-chart { display: block; width: 100%; height: auto; }
.uj-chart__ground { fill: #e6ead9; }
.uj-chart__contours path { fill: none; stroke: #ccd4b9; stroke-width: 1.6; }
.uj-chart__forest { fill: #b8c79c; stroke: #96a87a; stroke-width: 2; }
.uj-chart__water { fill: #a9c7d6; stroke: #7fa9c2; stroke-width: 2; }
.uj-chart__river { fill: none; stroke: #8fb6cc; stroke-width: 22; stroke-linecap: round; }
.uj-chart__sand { fill: var(--sand); stroke: #c9a865; stroke-width: 2; }
.uj-chart__sand-in { fill: #d7b877; }
.uj-chart__zone rect { fill: #d4d2c4; stroke: #9b9a8c; stroke-width: 2; }
.uj-chart__zone path { stroke: #9b9a8c; stroke-width: 2; }
.uj-chart__ring { fill: none; stroke: #f6f3e6; stroke-width: 10; }
.uj-chart__road { stroke: #f6f3e6; stroke-width: 8; }
.uj-chart__blocks rect { fill: #cfd1c4; stroke: #b2b4a6; stroke-width: 1.5; }
.uj-chart__label { font: italic 400 15px var(--f); fill: #4f5a46; }
.uj-chart__start text { font: 700 18px var(--f-head); letter-spacing: .04em; fill: var(--ink); text-transform: uppercase; }
.uj-routes path { fill: none; stroke: var(--forest); stroke-width: 4; stroke-dasharray: 10 8; stroke-linecap: round; opacity: .45; cursor: pointer; transition: opacity .2s, stroke .2s, stroke-width .2s; }
.uj-routes path:hover { opacity: .9; }
.uj-routes path.is-on { stroke: var(--signal); stroke-width: 7; opacity: 1; animation: uj-march 1.4s linear infinite; }
@keyframes uj-march { to { stroke-dashoffset: -36; } }
.uj-map__side { display: grid; gap: 18px; }
.uj-routelist { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding: 0; list-style: none; }
.uj-routebtn { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 8px 12px; border: 1px solid #4c5d48; background: var(--forest-2); color: var(--paper); text-align: left; cursor: pointer; font: 400 1rem/1.25 var(--f); transition: background-color .2s, border-color .2s; }
.uj-routebtn:hover { border-color: var(--signal); }
.uj-routebtn[aria-pressed="true"] { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.uj-routebtn__n { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 2px solid currentColor; border-radius: 50%; font: 700 1.25rem/1 var(--f-head); }
.uj-routebtn__t small { display: block; margin-top: 2px; font-style: italic; opacity: .85; font-size: .9375rem; }
.uj-card { padding: 22px 26px 24px; background: var(--paper); color: var(--ink); }
.uj-card__no { margin: 0; font: 700 1.25rem/1 var(--f-head); letter-spacing: .06em; text-transform: uppercase; color: var(--signal-ink); }
.uj-card h3 { margin: 4px 0 8px; font-size: clamp(2rem, 1.4rem + 1.6vw, 2.75rem); }
.uj-card__chips { font-style: italic; color: var(--muted); }
.uj-card__mud { display: flex; gap: 6px; margin: 12px 0 16px; color: var(--mud); }
.uj-card__mud svg { width: 18px; height: 22px; }
.uj-card__mud svg.is-off { color: #c6cdb8; }
.uj-card__facts { display: grid; gap: 12px; margin: 0 0 16px; }
.uj-card__facts dt { font: 700 1.125rem/1 var(--f-head); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.uj-card__facts dd { margin: 4px 0 0; }

/* ---------- журнал выездов ---------- */
.uj-logbook { padding: clamp(50px, 7vw, 96px) 0 30px; }
.uj-logbook h2 { font-size: var(--step-head); }
.uj-logbook__lead { margin: 12px 0 28px; font-style: italic; color: var(--muted); }
.uj-logbook__rows { margin: 0; padding: 0; list-style: none; background: var(--paper); border-top: 3px solid var(--forest); }
.uj-logbook__rows li { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(0, 22%) 110px; gap: 4px 24px; align-items: baseline; padding: 14px 18px; border-bottom: 2px solid var(--contour); transition: background-color .2s; }
.uj-logbook__rows li:hover { background: #fff6ec; }
.uj-logbook__date { position: relative; z-index: 1; pointer-events: none; font: 700 1.625rem/1 var(--f-head); color: var(--signal-ink); }
.uj-logbook__date small { display: block; font: italic 400 .9375rem/1.4 var(--f); color: var(--muted); }
.uj-logbook__rows a { color: var(--ink); font-weight: 600; text-decoration: none; }
.uj-logbook__rows a::after { content: ""; position: absolute; inset: 0; }
.uj-logbook__rows a:hover { text-decoration: underline; }
.uj-logbook__where, .uj-logbook__n { position: relative; z-index: 1; pointer-events: none; font-size: 1rem; font-style: italic; color: var(--muted); }
.uj-logbook__n { text-align: right; }

/* ---------- снимки с выездов: дуотон «лес + оранжевый» ---------- */
.uj-shots { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 14px; align-items: end; padding: 20px 0 40px; }
.uj-shot { position: relative; margin: 0; background: var(--signal); }
.uj-shot:nth-child(odd) { transform: rotate(-1deg); }
.uj-shot:nth-child(even) { transform: rotate(1.2deg) translateY(-14px); }
.uj-shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(1.05); mix-blend-mode: multiply; }
.uj-shot::after { content: ""; position: absolute; inset: 0 0 auto 0; aspect-ratio: 4 / 3; background: var(--forest); mix-blend-mode: screen; opacity: .55; pointer-events: none; }
.uj-shot .uj-tag { margin: 0; padding: 12px 24px 12px 14px; background: var(--paper); font-size: 1rem; font-style: italic; line-height: 1.4; }

/* ---------- разделы: багажные бирки ---------- */
.uj-tags { padding: clamp(40px, 6vw, 80px) 0; }
.uj-tags > h2 { font-size: var(--step-head); margin-bottom: 30px; }
.uj-tags__groups { display: grid; gap: 72px; }
.uj-group__title { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; font-size: clamp(1.75rem, 1.3rem + 1vw, 2.25rem); }
.uj-group__title::after { content: ""; flex: 1; border-top: 2px dashed var(--forest); }
.uj-group__title a { color: var(--ink); text-decoration: none; }
.uj-group__tags { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px 18px; margin: 0; padding: 0; list-style: none; }
.uj-luggage { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 30px 22px 18px; background: var(--paper); transition: transform .3s var(--ease); transform-origin: 50% 0; }
.uj-luggage::before { content: ""; position: absolute; top: 10px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border: 3px solid var(--forest); border-radius: 50%; background: var(--bg); }
.uj-luggage:nth-child(3n+1) { transform: rotate(-1.2deg); }
.uj-luggage:nth-child(3n+2) { transform: rotate(.9deg); }
.uj-luggage:hover { transform: rotate(0) translateY(-3px); }
.uj-luggage__state { display: none; }
.uj-luggage__name { color: var(--ink); font: 700 1.625rem/1 var(--f-head); letter-spacing: .02em; text-transform: uppercase; text-decoration: none; }
.uj-luggage__name::after { content: ""; position: absolute; inset: 0; }
.uj-luggage__desc { font-size: 1rem; line-height: 1.5; color: var(--muted); }
.uj-luggage__meta { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin-top: auto; padding-top: 10px; border-top: 2px dashed var(--contour); font-size: 1rem; font-style: italic; }
.uj-luggage__meta b { font: 700 1.25rem/1 var(--f-head); font-style: normal; color: var(--signal-ink); }
.uj-luggage__meta a { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

/* ---------- чек-лист перед выездом ---------- */
.uj-check { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; margin: 0 calc(var(--m) * -1); padding: clamp(50px, 7vw, 90px) var(--m); background: var(--mud); color: var(--paper); }
.uj-check h2 { color: var(--paper); font-size: var(--step-head); }
.uj-check__text p { margin-top: 14px; color: #ead9c3; font-style: italic; }
.uj-check__count { font: 700 2rem/1 var(--f-head) !important; font-style: normal !important; color: var(--sand) !important; text-transform: uppercase; }
.uj-check__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.uj-check__list label { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 16px; border: 1px dashed #b89a74; cursor: pointer; transition: background-color .2s; }
.uj-check__list label:hover { background: #7d5b38; }
.uj-check__list input { flex: none; width: 24px; height: 24px; accent-color: var(--signal); }
.uj-check__list label:has(input:checked) { background: #5a3f24; }
.uj-check__list label:has(input:checked) span { text-decoration: line-through; text-decoration-color: var(--signal); text-decoration-thickness: 2px; }

/* ---------- раздел и тема ---------- */
.uj-sheet { position: relative; margin: 0 0 30px; padding: clamp(24px, 3vw, 40px); background: var(--forest); color: var(--paper); }
.uj-sheet .uj-pagehead { color: var(--paper); }
.uj-sheet__kind { margin: 0 0 6px; font: italic 400 1rem/1.4 var(--f); color: #b8c3aa; }
.uj-pagehead { font-size: var(--step-head); max-width: 22ch; }
.uj-pagehead--thread { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.8rem); max-width: 34ch; }
.uj-sheet__desc { margin: 12px 0 0; color: #dfe5d2; }
.uj-sheet__desc:empty { display: none; }
.uj-sheet__meta { margin: 12px 0 0; font-style: italic; color: #cdd5bf; }
.uj-sheet__forum { margin: 10px 0 0; }
.uj-sheet__forum a { color: var(--sand); }
.uj-sheet__act { margin-top: 18px; }
.uj-sheet__act:empty { display: none; }
.uj-threads { padding: 0; background: var(--paper); }
/* ---------- списки тем, пагинация (общие для сетки) ---------- */

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

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

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

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

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


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


/* список тем — строки журнала */
.uj-threads { padding: 16px 20px 20px !important; border-top: 3px solid var(--forest); }
.uj-table { font-size: 1rem; }
.uj-table th { font: 700 1.125rem/1 var(--f-head) !important; letter-spacing: .06em; text-transform: uppercase; color: var(--muted) !important; border-bottom: 2px solid var(--forest) !important; }
.uj-table td { border-bottom: 1px solid var(--contour) !important; }
.uj-trow:hover td { background: #fff6ec !important; }
.uj-trow__title a { color: var(--ink); font-weight: 600; }
.uj-trow__state[class*="new"] { background: var(--signal) !important; }
.uj-trow__meta { font-style: italic; font-size: 1rem !important; }
.uj-table .num { font: 700 1.5rem/1 var(--f-head) !important; }
.uj-sort a { border-radius: 0 !important; background: var(--surface) !important; font: 700 1.125rem/1 var(--f-head); letter-spacing: .05em; text-transform: uppercase; }
.uj-sort a:hover { background: var(--signal) !important; }
.pagination a, .pagination_current { border-radius: 0 !important; font-family: var(--f-head); font-size: 1.125rem !important; }
.pagination_current { background: var(--forest) !important; }

/* ---------- сообщения: точки маршрута на пунктире ---------- */
.uj-route { position: relative; margin: 0; padding: 0 0 0 64px; list-style: none; }
.uj-route::before { content: ""; position: absolute; left: 22px; top: 0; bottom: 0; border-left: 4px dashed var(--forest); opacity: .5; }
.uj-point { position: relative; margin-bottom: 26px; }
.uj-point__pin { position: absolute; left: -64px; top: 14px; display: grid; place-items: center; width: 48px; height: 48px; border: 3px solid var(--forest); border-radius: 50% 50% 50% 4px; background: var(--paper); transform: rotate(-45deg); text-decoration: none; }
.uj-point__pin span { transform: rotate(45deg); font: 700 1.25rem/1 var(--f-head); color: var(--ink); }
.uj-point--first .uj-point__pin { background: var(--signal); }
.uj-point__pin:hover { background: var(--sand); }
.uj-post { padding: 20px clamp(20px, 2.6vw, 34px) 18px; background: var(--paper); }
.uj-point--first .uj-post { box-shadow: inset 6px 0 0 var(--signal); }
.uj-post__crew { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.uj-post__name { color: var(--ink); font: 700 1.75rem/1 var(--f-head); letter-spacing: .02em; text-transform: uppercase; text-decoration: none; overflow-wrap: anywhere; }
.uj-post__name:hover { color: var(--link); }
.uj-rank { display: inline-block; padding: 3px 10px 2px; background: var(--forest); color: var(--paper); font: 700 1rem/1.2 var(--f-head); letter-spacing: .06em; text-transform: uppercase; }
.uj-starter { padding: 3px 10px 2px; background: var(--signal); font: 700 1rem/1.2 var(--f-head); letter-spacing: .06em; text-transform: uppercase; }
.uj-post__date { margin-left: auto; font-size: 1rem; font-style: italic; color: var(--muted); }
.uj-post__edit:empty, .uj-post__check:empty, .uj-post__status:empty { display: none; }
.uj-post__car { margin: 6px 0 14px; padding-bottom: 12px; border-bottom: 2px dashed var(--contour); font-size: 1rem; font-style: italic; color: var(--muted); max-width: none; }
.uj-post__body { font-size: var(--step-body); line-height: 1.65; max-width: 70ch; overflow-wrap: anywhere; }
.uj-post__body a.mycode_url { color: var(--link); font-weight: 600; text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; }
.uj-post__body a.mycode_url:hover { color: var(--ink); background: #ffe1cc; }
.uj-post__body a.mycode_url[target="_blank"]::after { content: "↗"; margin-left: 2px; font-size: .85em; }
blockquote, .mycode_quote { border-left: 4px solid var(--signal) !important; background: var(--surface) !important; font-style: italic; }
.uj-post__controls { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 14px; font-size: 1rem; }
.uj-post__controls:not(:has(a)) { display: none; }
.postbit_buttons { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.postbit_buttons a { color: var(--muted); font: 700 1.125rem/1 var(--f-head); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
.postbit_buttons a span { background: none !important; padding: 0 !important; }
.postbit_buttons a:hover { color: var(--signal); }

/* отметка брода */
.uj-ford { display: inline-flex; align-items: center; gap: 8px; padding: 2px 10px 2px 4px; background: #dbe8ef; font: 700 1rem/1.4 var(--f-head); letter-spacing: .05em; text-transform: uppercase; color: #1d4058; }
.uj-ford__gauge { position: relative; display: inline-block; width: 12px; height: 20px; border: 2px solid #1d4058; overflow: hidden; }
.uj-ford__gauge i { position: absolute; left: 0; right: 0; bottom: 0; background: var(--water); }
.uj-ford--1 .uj-ford__gauge i { height: 33%; } .uj-ford--2 .uj-ford__gauge i { height: 66%; } .uj-ford--3 .uj-ford__gauge i { height: 100%; }
.uj-guest { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 0 0 26px 64px; padding: 22px 26px; background: var(--forest); color: var(--paper); }
.uj-guest p { margin: 0; font-size: var(--step-lead); font-style: italic; }

/* ---------- карточка экипажа ---------- */
.uj-crew { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; margin: 10px 0 40px; }
.uj-crew__head { grid-column: 1 / 9; padding: clamp(24px, 3vw, 40px); background: var(--forest); color: var(--paper); }
.uj-crew__head .uj-pagehead { color: var(--paper); font-size: var(--step-display); overflow-wrap: anywhere; }
.uj-crew__rank { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 16px 0 0; }
.uj-crew__rank .uj-rank { background: var(--signal); color: var(--ink); }
.uj-crew__status, .uj-crew__status a { color: #cdd5bf; font-style: italic; }
.uj-crew__car { grid-column: 9 / 13; padding: 26px; background: var(--sand); }
.uj-crew__car .uj-sheet__kind { color: var(--mud); }
.uj-crew__machine { margin-bottom: 10px; font: 700 2rem/1 var(--f-head); text-transform: uppercase; }
.uj-crew__no { margin-top: 12px !important; }
.uj-crew__facts { grid-column: 1 / 9; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 24px; margin: 0; padding: 26px; background: var(--paper); }
.uj-crew__facts dt { font-size: 1rem; font-style: italic; color: var(--muted); }
.uj-crew__facts dd { margin: 2px 0 0; font: 700 1.5rem/1.1 var(--f-head); text-transform: uppercase; }
.uj-crew__links { grid-column: 9 / 13; padding: 26px; background: var(--paper); font-size: 1rem; }
.uj-crew__links p { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.uj-crew__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.uj-crew__actions:empty { display: none; }
.uj-crew__note { color: var(--muted); font-style: italic; }
.uj-hidden-empty:not(:has(td)) { display: none; }

/* вход, ошибки, формы */
.uj-gate, .uj-error { max-width: 560px; margin: 20px 0 60px; padding: 32px; background: var(--paper); border-top: 4px solid var(--signal); }
input.textbox, input[type="text"], input[type="password"], input[type="email"], select, textarea { border: 1px solid var(--muted) !important; border-radius: 0 !important; background: #fbfcf7 !important; font-family: var(--f) !important; }
.modal { border-radius: 0 !important; border-top: 5px solid var(--signal) !important; }
.uj-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 14px; }
.uj-adjacent { display: flex; justify-content: space-between; gap: 16px; margin: 30px 0 30px 64px; font-style: italic; }
.uj-reply { margin-left: 64px !important; background: var(--paper) !important; max-width: none !important; }
.uj-modtools { margin-left: 64px; }

/* ---------- подвал ---------- */
.uj-foot { margin-top: 60px; padding: 50px var(--m) 46px; background: var(--forest); color: #dfe5d2; }
.uj-foot__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1fr); gap: 34px; }
.uj-foot__logo { display: flex; align-items: center; gap: 10px; font: 700 2rem/1 var(--f-head); text-transform: uppercase; color: var(--paper); }
.uj-foot__about p:last-child { font-style: italic; }
.uj-foot__nav { display: flex; flex-direction: column; gap: 8px; }
.uj-foot__nav a { color: var(--paper); font: 700 1.375rem/1.1 var(--f-head); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
.uj-foot__nav a:hover { color: var(--signal); }
.uj-foot__note { font-size: 1rem; font-style: italic; }
.uj-credits summary { cursor: pointer; }
.uj-credits a { color: var(--sand); }

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

/* ---------- адаптивность ---------- */
@media (max-width: 1100px) {
	.uj-bar > .uj-search { display: none; }
	.uj-hero { grid-template-columns: 1fr; min-height: 0; }
	.uj-map__body { grid-template-columns: 1fr; }
	.uj-check { grid-template-columns: 1fr; }
	.uj-crew__head, .uj-crew__facts { grid-column: 1 / -1; }
	.uj-crew__car, .uj-crew__links { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
	.uj-bar { gap: 10px 16px; }
	.uj-nav { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: 20px; }
	.uj-nav a { flex: none; font-size: 1.125rem; }
	.uj-act { margin-left: auto; }
	.uj-hero__title { font-size: 19vw; }
	.uj-hero__log { grid-template-columns: 1fr 1fr; }
	.uj-hero__tag { left: 10px; right: 10px; bottom: 10px; }
	.uj-routelist { grid-template-columns: 1fr; }
	.uj-logbook__rows li { grid-template-columns: 70px minmax(0, 1fr); }
	.uj-logbook__where { grid-column: 2; }
	.uj-logbook__n { grid-column: 2; text-align: left; }
	.uj-check__list { grid-template-columns: 1fr; }
	.uj-shots { grid-template-columns: 1fr 1fr; padding-bottom: 70px; }
	.uj-route { padding-left: 44px; }
	.uj-route::before { left: 14px; }
	.uj-point__pin { left: -46px; width: 36px; height: 36px; }
	.uj-point__pin span { font-size: 1rem; }
	.uj-post__date { margin-left: 0; width: 100%; }
	.uj-guest, .uj-adjacent, .uj-modtools, .uj-reply { margin-left: 0 !important; }
	.uj-crew__facts { grid-template-columns: 1fr 1fr; }
	.uj-foot__in { grid-template-columns: 1fr; }
	.uj-table thead { display: none; }
	.uj-table, .uj-table tbody, .uj-table tr, .uj-table td { display: block; width: 100%; }
	.uj-table tr { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--contour); }
	.uj-table td { border: 0 !important; padding: 0 !important; }
	.uj-trow__state { left: 0 !important; top: 18px !important; }
	.uj-table .num { display: inline-block; width: auto; margin: 6px 14px 0 0; font-size: 1rem !important; font-family: var(--f) !important; color: var(--muted); text-align: left; }
	.uj-table .num:nth-of-type(2)::after { content: " ответов"; }
	.uj-table .num:nth-of-type(3)::after { content: " просмотров"; }
	.uj-trow__last { width: auto; margin-top: 4px; }
	.uj-trow__last a, .uj-trow__last span { display: inline; margin-right: 6px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
	.js .uj-hero__photo, .js .uj-reveal { clip-path: none; 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: #9b3a00; font-weight: 600; text-decoration: underline wavy rgba(110, 78, 46, .55) 1px; text-underline-offset: 4px; }
: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: #a3410a; text-decoration: underline wavy #ff6a13 1px; background: none; }
:is(.post_body, .signature, [class*="-post__body"], [class*="-post__sign"]) a.mycode_url[target="_blank"]::after { content: "\2009\2192"; color: #6e4e2e; font-size: .95em; margin-left: 0; text-decoration: none; }
/* ===== конец стиля ссылок ===== */

/* ===== фото участника: перед ником в шапке записи и над именем в карточке экипажа (бирка со срезанным углом) ===== */
.uj-ava, .uj-crew__ava { --cut: 8px; display: block; max-width: none; object-fit: cover; background: var(--contour); clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.uj-ava { order: -1; align-self: center; width: 36px; height: 36px; margin: -4px 0; }
.uj-crew__ava { --cut: 14px; width: 96px; height: 96px; margin: 0 0 18px; }
@media (max-width: 760px) {
	.uj-crew__ava { width: 72px; height: 72px; margin-bottom: 14px; }
}
