/* ДанСтрой МСК — тема «Двор»: тёмный асфальт с зерном, свежая разметка, контент на светлых бетонных плитах.
   Шрифты: Science Gothic (табличные заголовки и узкие метки), Finlandica (текст). Префикс классов ds-. */

@font-face { font-family: 'Science Gothic'; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 50% 200%;
	src: url(fonts/science-gothic-cyrillic-wdth-normal.woff2) format('woff2-variations'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Science Gothic'; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 50% 200%;
	src: url(fonts/science-gothic-latin-wdth-normal.woff2) format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Finlandica'; font-style: normal; font-display: swap; font-weight: 400; src: url(fonts/finlandica-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Finlandica'; font-style: normal; font-display: swap; font-weight: 400; src: url(fonts/finlandica-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Finlandica'; font-style: italic; font-display: swap; font-weight: 400; src: url(fonts/finlandica-cyrillic-400-italic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Finlandica'; font-style: italic; font-display: swap; font-weight: 400; src: url(fonts/finlandica-latin-400-italic.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD; }
@font-face { font-family: 'Finlandica'; font-style: normal; font-display: swap; font-weight: 500 600; src: url(fonts/finlandica-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Finlandica'; font-style: normal; font-display: swap; font-weight: 500 600; src: url(fonts/finlandica-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD; }
@font-face { font-family: 'Finlandica'; font-style: normal; font-display: swap; font-weight: 700 900; src: url(fonts/finlandica-cyrillic-700-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Finlandica'; font-style: normal; font-display: swap; font-weight: 700 900; src: url(fonts/finlandica-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD; }

:root {
	--asph: #252320; --asph-2: #1b1917; --asph-3: #302d29; --asph-4: #3b3833; --asph-line: #4a463f;
	--mark: #f3f1ea; --mark-y: #efbe2c; --signal: #ec5a1f; --lawn: #5a8a3a;
	--granite: #a8a49d; --tile: #a8735f;
	--slab: #f2eee6; --slab-2: #e8e2d6; --seam: #d8d0c1;
	--ink: #22201d; --ink-2: #4f4a43; --ink-3: #655f57;
	--on-asph: #ece8df; --on-asph-2: #bdb6aa;
	--blue: #1f5aa6; --blue-dk: #174a8c; --red: #d3302b; --green: #2f7a3e; --navy: #1d3a68; --slate: #55707d;
	--link-dark: #f2c94c; --link-light: #1b4f8f;
	--f-head: 'Science Gothic', 'Arial Narrow', 'Roboto Condensed', sans-serif;
	--f-text: 'Finlandica', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
	--wrap: 1240px; --dock-h: 78px; --step: 30px;
	--lane: rgba(243, 241, 234, .5);
	--seams: linear-gradient(90deg, transparent calc(100% - 1px), rgba(80, 64, 40, .055) 0), linear-gradient(transparent calc(100% - 1px), rgba(80, 64, 40, .055) 0);
}

/* ---------------------------------------------------------------- база: асфальт с зерном */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
	margin: 0; min-height: 100vh; color: var(--on-asph); font: 400 16px/1.55 var(--f-text);
	background-color: var(--asph);
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .87 0 0 0 0 .8 0 0 0 0 .7 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
		radial-gradient(circle at 30% 40%, rgba(0, 0, 0, .4) 0 1px, transparent 1.7px),
		radial-gradient(circle at 70% 70%, rgba(220, 205, 180, .11) 0 1.2px, transparent 1.9px);
	background-size: 200px 200px, 9px 9px, 14px 13px;
	overflow-x: hidden;
}
/* края проезжей части: жёлтая линия слева и белая справа */
body::before, body::after { content: ""; position: fixed; top: 0; bottom: 0; width: 3px; pointer-events: none; z-index: 0; opacity: .5; }
body::before { left: 14px; background: var(--mark-y); }
body::after { right: 14px; background: repeating-linear-gradient(180deg, var(--mark) 0 26px, transparent 26px 44px); }
img { max-width: 100%; height: auto; }
a { color: var(--link-dark); text-underline-offset: 3px; }
a:hover { color: #ffe08a; }
:focus-visible { outline: 3px solid var(--mark-y); outline-offset: 2px; }
button { font: inherit; }
p { margin: 0 0 .8em; }
.ds-site { position: relative; z-index: 1; }
.ds-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--mark-y); color: #1d1b19; font-weight: 700; border-radius: 6px; }
.ds-skip:focus { top: 12px; }

.ds-h1 { font: 800 clamp(25px, 2.5vw, 34px)/1.12 var(--f-head); font-stretch: 106%; color: var(--mark); margin: 0; letter-spacing: -.003em; }
.ds-h2 { font: 800 19px/1.2 var(--f-head); font-stretch: 106%; color: var(--mark); margin: 0 0 12px; }
.ds-h3 { font: 800 16px/1.2 var(--f-head); font-stretch: 104%; color: var(--mark); margin: 0 0 10px; }
.ds-kicker { font: 700 13px/1.2 var(--f-head); font-stretch: 72%; letter-spacing: .1em; text-transform: uppercase; color: var(--mark-y); margin: 0 0 6px; }
.ds-more { font-weight: 600; }
.ds-empty { list-style: none; padding: 14px 16px; color: var(--ink-2); background: var(--slab); border-radius: 8px; }

/* ---------------------------------------------------------------- верхняя полоса: логотип и крошки */
.ds-strip { position: relative; z-index: 20; background: rgba(27, 25, 23, .92); }
.ds-strip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--mark) 0 22px, transparent 22px 40px); opacity: .7; }
.ds-strip__in { max-width: 1440px; margin: 0 auto; padding: 9px 28px 10px; display: flex; align-items: center; gap: 10px 26px; min-height: 56px; flex-wrap: wrap; }
.ds-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--mark); text-decoration: none; flex: none; }
.ds-logo:hover { color: #fff; }
.ds-logo__mark { flex: none; }
.ds-logo__name { font: 800 20px/1 var(--f-head); font-stretch: 116%; letter-spacing: .01em; display: inline-flex; align-items: center; gap: 7px; }
.ds-logo__name b { font: 800 13px/1 var(--f-head); font-stretch: 90%; letter-spacing: .08em; padding: 4px 6px 3px; border-radius: 3px; background: var(--mark-y); color: #1d1b19; }
.ds-strip__crumbs { min-width: 0; flex: 1; }
.ds-crumbs { font-size: 14px; color: var(--on-asph-2); display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.ds-crumbs a { color: var(--on-asph); text-decoration: none; }
.ds-crumbs a:hover { color: var(--mark-y); text-decoration: underline; }
.ds-crumbs .active { color: var(--on-asph-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 52ch; }
.ds-crumbs__sep { color: var(--mark-y); opacity: .8; }
.ds-page--index .ds-strip__crumbs { display: none; }

.ds-main { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 20px 28px 40px; }
.ds-page--index .ds-main { max-width: 1440px; }
.ds-page--thread .ds-main { max-width: 1080px; }

/* ---------------------------------------------------------------- подвал */
.ds-foot { position: relative; padding: 0 28px calc(var(--dock-h) + 40px + env(safe-area-inset-bottom)); }
.ds-page--index .ds-foot__in { max-width: 1384px; }
.ds-page--thread .ds-foot__in { max-width: 1024px; }
.ds-foot__in { max-width: var(--wrap); margin: 0 auto; padding-top: 22px; border-top: 2px solid var(--asph-line); color: var(--on-asph-2); font-size: 14px; display: grid; gap: 10px; }
.ds-foot__brand { margin: 0; color: var(--on-asph); }
.ds-foot__links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.ds-foot__links a { color: var(--on-asph); }
.ds-foot__note { margin: 0; max-width: 80ch; }

/* ---------------------------------------------------------------- нижний док: дорожные таблички */
.ds-dock {
	position: fixed; z-index: 75; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%);
	display: flex; gap: 4px; padding: 7px 9px; background: rgba(29, 27, 24, .96); border: 2px solid var(--mark); border-radius: 16px;
	box-shadow: inset 0 0 0 3px var(--asph-2), 0 12px 32px rgba(0, 0, 0, .55);
}
.ds-dock__b {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 76px; min-height: 60px; padding: 5px 8px 6px;
	border-radius: 10px; color: var(--on-asph); text-decoration: none; font: 600 12.5px/1.1 var(--f-text); white-space: nowrap; transition: background .15s;
}
.ds-dock__b span { max-width: 92px; overflow: hidden; text-overflow: ellipsis; }
.ds-dock__b:hover { background: var(--asph-4); color: #fff; }
.ds-dock__b.is-on, .ds-dock__b[aria-expanded="true"] { background: rgba(239, 190, 44, .14); color: var(--mark-y); }
.ds-dock__b.is-on::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 22px; height: 3px; margin-left: -11px; border-radius: 2px; background: var(--mark-y); }
.ds-dock__b .ds-sign { width: 34px; height: 34px; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .5)); }
.ds-dock__b .ds-face { width: 34px; height: 34px; }

.ds-scrim { position: fixed; inset: 0; z-index: 70; display: none; background: rgba(10, 9, 8, .58); }
.ds-scrim.is-on { display: block; animation: ds-fade .2s ease; }
.ds-sheet {
	position: fixed; z-index: 80; left: 50%; bottom: calc(102px + env(safe-area-inset-bottom)); width: min(920px, calc(100vw - 32px)); max-height: min(70vh, 700px);
	display: flex; flex-direction: column; background: var(--slab); color: var(--ink); border-radius: 14px; border-top: 6px solid var(--mark-y);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transform: translate(-50%, 22px); transition: opacity .2s, transform .25s, visibility 0s .25s;
}
.ds-sheet--narrow { width: min(540px, calc(100vw - 32px)); }
.ds-sheet.is-open, .ds-sheet:target { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s, transform .25s; }
.ds-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 20px; border-bottom: 1px solid var(--seam); }
.ds-sheet__t { margin: 0; font: 800 18px/1.2 var(--f-head); font-stretch: 106%; color: var(--ink); }
.ds-sheet__x { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; color: var(--ink); font-size: 28px; line-height: 1; text-decoration: none; }
.ds-sheet__x:hover { background: var(--slab-2); color: var(--ink); }
.ds-sheet__body { overflow: auto; padding: 16px 20px 20px; overscroll-behavior: contain; }
.ds-sheet__body--secs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 20px; }
.ds-sheet__more { margin: 12px 0 0; }
.ds-sheet a { color: var(--link-light); }
.ds-secs__h { margin: 0 0 8px; padding-bottom: 6px; border-bottom: 3px solid var(--blue); font: 700 13px/1.2 var(--f-head); font-stretch: 74%; letter-spacing: .08em; text-transform: uppercase; }
.ds-secs--yellow .ds-secs__h { border-color: var(--mark-y); }
.ds-secs--green .ds-secs__h { border-color: #2d6b3c; }
.ds-secs--white .ds-secs__h { border-color: var(--ink-3); }
.ds-sheet .ds-secs__h a { color: var(--ink); text-decoration: none; }
.ds-secs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ds-sec { display: flex; align-items: center; gap: 10px; padding: 6px 6px; border-radius: 8px; text-decoration: none; }
.ds-sheet .ds-sec { color: var(--ink); }
.ds-sec:hover, .ds-sec.is-on { background: var(--slab-2); }
.ds-sec__t { flex: 1; font-size: 15px; line-height: 1.25; font-weight: 600; }
.ds-sec__n { font: 700 13px var(--f-head); font-stretch: 80%; color: var(--ink-3); }

.ds-search__l { display: block; font-weight: 700; margin: 0 0 8px; }
.ds-search__row { display: flex; gap: 8px; }
.ds-search__row .textbox { flex: 1; min-width: 0; }
.ds-search__hint { margin: 10px 0 0; font-size: 14px; color: var(--ink-3); }
.ds-login__p { margin: 0 0 12px; color: var(--ink-2); }
.ds-field { margin: 0 0 12px; display: grid; gap: 5px; }
.ds-field label { font-weight: 600; font-size: 14.5px; }
.ds-field--row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14.5px; }
.ds-check-l { display: inline-flex; align-items: center; gap: 8px; font-weight: 500 !important; }
.ds-field .textbox { width: 100%; }
.ds-me__who { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.ds-me__who span { display: grid; gap: 2px; }
.ds-me__who b { font: 800 18px var(--f-head); }
.ds-me__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ds-me__links a { display: flex; align-items: center; justify-content: space-between; padding: 9px 10px; border-radius: 8px; color: var(--ink) !important; text-decoration: none; font-weight: 600; }
.ds-me__links a:hover { background: var(--slab-2); }
.ds-pm { min-width: 24px; padding: 1px 7px; border-radius: 999px; background: var(--signal); color: #1d1b19; font-size: 13px; text-align: center; }
.ds-pm[data-n="0"] { background: var(--slab-2); color: var(--ink-3); }

/* ---------------------------------------------------------------- этапы, таблички, лица, бейджи */
.ds-stage {
	display: inline-flex; align-items: center; padding: 3px 8px 3px; border-radius: 4px; white-space: nowrap;
	font: 700 12px/1.25 var(--f-head); font-stretch: 74%; letter-spacing: .07em; text-transform: uppercase;
	box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .85), 0 0 0 1px rgba(0, 0, 0, .28);
}
.ds-stage--plan { background: var(--blue); color: #fff; }
.ds-stage--works { background: repeating-linear-gradient(-45deg, #ef6a2c 0 7px, #f4874d 7px 14px); color: #1a1816; }
.ds-stage--done { background: var(--green); color: #fff; }
.ds-stage--defect { background: #fff; color: #a82018; box-shadow: inset 0 0 0 2px var(--red), 0 0 0 1px rgba(0, 0, 0, .2); }
.ds-stage--season { background: var(--slate); color: #fff; }
.ds-stage--ask { background: var(--mark-y); color: #1d1b19; box-shadow: inset 0 0 0 1.5px rgba(29, 27, 25, .55); }

.ds-ico { flex: none; display: inline-block; vertical-align: middle; }
.ds-ico__bg { fill: var(--blue); }
.ds-ico__rim { fill: none; stroke: #fff; stroke-width: 1.2; }
.ds-ico__g { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ds-ico__g .f { fill: #fff; stroke: none; }
.ds-ico--yellow .ds-ico__bg { fill: var(--mark-y); }
.ds-ico--yellow .ds-ico__rim, .ds-ico--yellow .ds-ico__g, .ds-ico--white .ds-ico__rim, .ds-ico--white .ds-ico__g { stroke: #1d1b19; }
.ds-ico--yellow .ds-ico__g .f, .ds-ico--white .ds-ico__g .f { fill: #1d1b19; }
.ds-ico--green .ds-ico__bg { fill: #2d6b3c; }
.ds-ico--white .ds-ico__bg { fill: #fff; stroke: #1d1b19; stroke-width: 1; }

.ds-face { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; overflow: hidden; border-radius: 9px; background: #3a3732; color: #fff; box-shadow: 0 0 0 2px var(--mark), 0 0 0 3px rgba(0, 0, 0, .35); font: 800 15px/1 var(--f-head); }
.ds-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ds-face--xs { width: 22px; height: 22px; border-radius: 5px; font-size: 10.5px; box-shadow: 0 0 0 1.5px var(--mark); }
.ds-face--s { width: 30px; height: 30px; border-radius: 7px; font-size: 12.5px; }
.ds-face--m { width: 44px; height: 44px; font-size: 16px; }
.ds-face--l { width: 56px; height: 56px; border-radius: 11px; font-size: 20px; }
.ds-face--xl { width: 152px; height: 152px; border-radius: 16px; font-size: 54px; box-shadow: 0 0 0 4px var(--mark), 0 0 0 6px rgba(0, 0, 0, .35); }
.ds-mono-0 { background: var(--blue); } .ds-mono-1 { background: #9a5a43; } .ds-mono-2 { background: #3f6e2c; } .ds-mono-3 { background: var(--slate); } .ds-mono-4 { background: #7a5a1c; }

.ds-badge { flex: none; vertical-align: middle; }
.ds-badge text { font: 800 11px var(--f-head); font-stretch: 90%; text-anchor: middle; fill: #fff; }
.ds-badge .r { fill: none; stroke: #fff; stroke-width: 1.1; }
.ds-badge--1 .b, .ds-badge--2 .b { fill: var(--blue); }
.ds-badge--3 .b { fill: #fff; stroke: #1d1b19; stroke-width: .8; }
.ds-badge--3 .r { fill: var(--mark-y); stroke: none; }
.ds-badge--3 text, .ds-badge--4 text { fill: #1d1b19; }
.ds-badge--4 .b { fill: var(--red); }
.ds-badge--4 .r { fill: #fff; stroke: none; }
.ds-badge--5 .b { fill: var(--red); }
.ds-badge--6 .b { fill: #2d6b3c; }
.ds-rank { display: inline-flex; align-items: center; gap: 6px; font: 600 13.5px/1.2 var(--f-text); color: var(--ink-2); }
.ds-rep { display: inline-flex; align-items: baseline; gap: 4px; padding: 2px 9px; border-radius: 999px; background: #dde9d6; color: #22502d; font: 600 13px/1.4 var(--f-text); white-space: nowrap; }
.ds-rep b { font: 800 13.5px var(--f-head); }
.ds-rep--down { background: #f6e0dc; color: #8e2a1f; }
.ds-rep--zero { background: var(--slab-2); color: var(--ink-3); }
.ds-op { display: inline-block; padding: 2px 7px 1px; border: 1.5px solid var(--blue); border-radius: 3px; background: #fff; color: var(--blue-dk); font: 700 12px/1.3 var(--f-head); font-stretch: 74%; letter-spacing: .07em; text-transform: uppercase; }

/* ---------------------------------------------------------------- главная: план двора */
.ds-hello { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 28px; margin: 0 0 14px; }
.ds-hello__h1 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-size: clamp(24px, 2.3vw, 31px); }
.ds-hello__h1 span { font: 600 16px/1.3 var(--f-text); color: var(--on-asph-2); letter-spacing: 0; }
.ds-hello__p { margin: 0; max-width: 62ch; font-size: 15px; color: var(--on-asph-2); }

.ds-home { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.ds-yard__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 12px; }
.ds-yard__h { margin: 0; font: 700 14px/1 var(--f-head); font-stretch: 72%; letter-spacing: .14em; text-transform: uppercase; color: var(--mark-y); display: flex; align-items: center; gap: 10px; }
.ds-yard__h::before { content: ""; width: 26px; height: 3px; background: var(--mark-y); }
.ds-layers { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 11px; background: var(--asph-2); border: 1px solid var(--asph-line); }
.ds-layer { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 7px 13px; border: 0; border-radius: 8px; background: transparent; color: var(--on-asph); font: 600 14.5px/1 var(--f-text); cursor: pointer; transition: background .15s, color .15s; }
.ds-layer:hover { background: var(--asph-4); }
.ds-layer.is-on { background: var(--mark); color: #1d1b19; }
.ds-layer.is-on[data-layer="rain"] { background: #a9d0ef; }
.ds-layer.is-on[data-layer="winter"] { background: #e6f1f8; }
.ds-layer.is-on[data-layer="evening"] { background: #ffd27a; }

.ds-yard__frame { position: relative; border-radius: 14px; border: 3px solid var(--granite); box-shadow: 0 0 0 6px var(--asph-2), 0 22px 44px rgba(0, 0, 0, .5); background: #34322e; }
.ds-yard__svg { display: block; width: 100%; height: auto; border-radius: 11px; overflow: hidden; user-select: none; -webkit-user-select: none; }
.ds-yard__hint { margin: 14px 0 0; font-size: 13.5px; color: var(--on-asph-2); }
.ds-hint--touch { display: none; }
@media (hover: none) { .ds-hint--mouse { display: none; } .ds-hint--touch { display: inline; } }

.ds-z { cursor: pointer; outline: none; }
.ds-z__hl { fill: rgba(255, 236, 170, 0); stroke: transparent; stroke-width: 4; pointer-events: none; transition: fill .15s, stroke .15s; }
.ds-z:hover .ds-z__hl, .ds-z:focus .ds-z__hl, .ds-z.is-hot .ds-z__hl { fill: rgba(255, 236, 170, .14); stroke: var(--mark-y); stroke-dasharray: 14 8; animation: ds-march 1.1s linear infinite; }
.ds-z:focus-visible .ds-z__hl { stroke-width: 6; }
.ds-lbl { font: 700 15px/1 var(--f-head); font-stretch: 70%; letter-spacing: .09em; fill: var(--mark); text-anchor: middle; paint-order: stroke; stroke: #1d1b19; stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.ds-lbl--s { font-size: 13px; stroke-width: 3.5px; }
.ds-lbl--roof { font-size: 18px; stroke: #4f4a43; }
.ds-lbl--dk { fill: #1d1b19; stroke: rgba(243, 241, 234, .9); }
.ds-lbl--plate { fill: #1d1b19; stroke: none; font-size: 12px; }
.ds-lbl--p { font-size: 32px; font-stretch: 100%; fill: rgba(243, 241, 234, .75); stroke: none; }
.ds-lbl--ent { font-size: 12px; fill: #efebe2; stroke: none; }
.ds-curb { fill: none; stroke: var(--granite); stroke-width: 3.5; }
.ds-mk { fill: none; stroke: var(--mark); stroke-width: 2.5; }
.ds-mk--dash { stroke-dasharray: 18 16; opacity: .9; }
.ds-mk--y { stroke: var(--mark-y); stroke-width: 2.5; }
.ds-mk--arrow { stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.ds-zebra { fill: var(--mark); }
.ds-grate { fill: #232120; stroke: #8b8780; stroke-width: 1.5; }
.ds-ramp { fill: #cbbfb2; }
.ds-trail { fill: none; stroke: #8c7457; stroke-width: 9; stroke-linecap: round; opacity: .9; }
.ds-tree { fill: url(#dsg-tree); stroke: #2f5222; stroke-width: 1; }
.ds-tree__sh { fill: rgba(0, 0, 0, .28); }
.ds-tree__hi { fill: #a2d06f; opacity: .26; }
.ds-car__gl { fill: #1e2830; opacity: .82; }
.ds-car__roof { fill: rgba(255, 255, 255, .14); }
.ds-lamp circle:first-child { fill: #2b2e33; stroke: #9aa0a6; stroke-width: 1.5; }
.ds-lamp__h { fill: #d9d4c4; }
.ds-mast circle { fill: #2e3237; stroke: #9aa0a6; stroke-width: 1.5; }
.ds-cone circle { fill: var(--signal); }
.ds-cone .w { fill: none; stroke: #fff; stroke-width: 1.6; }
.ds-entlight { fill: #ffd27a; }
.ds-flag { transform-box: fill-box; transform-origin: left center; animation: ds-flag 2.8s ease-in-out infinite; }

/* слои «После ливня / Зимой / Вечером» */
.ds-lay { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .6s ease, visibility 0s .6s; }
.ds-yard[data-layer="rain"] .ds-lay--rain, .ds-yard[data-layer="winter"] .ds-lay--winter, .ds-yard[data-layer="evening"] .ds-lay--evening { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.ds-pud path { stroke: rgba(235, 246, 255, .7); stroke-width: 1.6; }
.ds-wtree { fill: #e3e9ec; stroke: #8b969b; stroke-width: 1.4; }
.ds-wtree__in { fill: none; stroke: #9aa5aa; stroke-width: 1.2; stroke-dasharray: 3 3; }
.ds-pud { transform-box: fill-box; transform-origin: center; transform: scale(.12); opacity: 0; transition: transform .5s ease, opacity .4s ease; }
.ds-yard[data-layer="rain"] .ds-pud { transform: scale(1); opacity: 1; transition: transform 1.6s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * .22s + .25s), opacity .7s ease calc(var(--i) * .22s + .25s); }
.ds-drain { fill: rgba(143, 211, 255, .12); stroke: #8fd3ff; stroke-width: 3; transform-box: fill-box; transform-origin: center; }
.ds-yard[data-layer="rain"] .ds-drain { animation: ds-pulse 1.9s ease-out infinite; animation-delay: calc(var(--i) * .45s); }
.ds-ripples circle { fill: none; stroke: #e2f1fc; stroke-width: 1.4; transform-box: fill-box; transform-origin: center; opacity: 0; }
.ds-yard[data-layer="rain"] .ds-ripples circle { animation: ds-ripple 2.4s ease-out infinite; }
.ds-yard[data-layer="rain"] .ds-ripples circle:nth-child(2) { animation-delay: .7s; }
.ds-yard[data-layer="rain"] .ds-ripples circle:nth-child(3) { animation-delay: 1.3s; }
.ds-yard[data-layer="rain"] .ds-ripples circle:nth-child(4) { animation-delay: 1.8s; }
.ds-yard[data-layer="rain"] .ds-fall--rain { animation: ds-rain .8s linear infinite; }
.ds-yard[data-layer="winter"] .ds-fall--snow { animation: ds-snow 7s linear infinite; }
.ds-bank { fill: none; stroke: #f4f7f9; stroke-width: 10; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 70 14 34 10; opacity: .95; }
.ds-trail--snow { stroke: #6f777d; stroke-width: 5; stroke-dasharray: 3 6; opacity: 1; }
.ds-ice ellipse { fill: #bfe3f7; stroke: #fff; stroke-width: 1.5; }
.ds-glow { mix-blend-mode: screen; }
.ds-bulb { fill: #fff4c9; }
.ds-dark { fill: rgba(255, 90, 60, .08); stroke: #ff7a5c; stroke-width: 2.5; stroke-dasharray: 7 6; }
.ds-yard[data-layer="evening"] .ds-dark { animation: ds-march 1.4s linear infinite; }

/* метки-проблемы поверх плана */
.ds-pins { position: absolute; inset: 0; pointer-events: none; }
.ds-pin { position: absolute; display: flex; align-items: center; gap: 6px; transform: translate(-15px, -15px) scale(.5); transform-origin: 15px 15px; opacity: 0; pointer-events: none; text-decoration: none; transition: opacity .3s, transform .3s; }
.ds-yard[data-layer="rain"] .ds-pin[data-layer="rain"], .ds-yard[data-layer="winter"] .ds-pin[data-layer="winter"], .ds-yard[data-layer="evening"] .ds-pin[data-layer="evening"] {
	opacity: 1; transform: translate(-15px, -15px) scale(1); pointer-events: auto; transition: opacity .35s ease calc(var(--i) * .12s + .55s), transform .45s cubic-bezier(.3, 1.5, .5, 1) calc(var(--i) * .12s + .55s);
}
.ds-pin b { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--signal); color: #1d1b19; font: 800 15px/1 var(--f-head); box-shadow: 0 0 0 3px #fff, 0 4px 12px rgba(0, 0, 0, .45); }
.ds-pin span { padding: 5px 9px; border-radius: 6px; background: rgba(27, 25, 23, .93); color: #fff; font: 600 13.5px/1.2 var(--f-text); white-space: nowrap; box-shadow: 0 3px 10px rgba(0, 0, 0, .4); }
.ds-pin:hover span, .ds-pin.is-hot span { background: var(--mark-y); color: #1d1b19; }
.ds-pin:hover b, .ds-pin.is-hot b { background: var(--mark-y); }

/* подпись зоны */
.ds-tip { position: absolute; z-index: 6; width: 310px; max-width: calc(100% - 16px); padding: 12px 15px 13px; border-radius: 10px; border-top: 5px solid var(--blue); background: var(--slab); color: var(--ink); box-shadow: 0 16px 38px rgba(0, 0, 0, .5); pointer-events: none; }
.ds-tip[data-tone="yellow"] { border-top-color: var(--mark-y); }
.ds-tip[data-tone="green"] { border-top-color: #2d6b3c; }
.ds-tip[data-tone="white"] { border-top-color: var(--ink-3); }
.ds-tip.is-pinned { pointer-events: auto; }
.ds-tip a { color: var(--link-light); }
.ds-zi__k { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font: 700 12px/1.2 var(--f-head); font-stretch: 74%; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.ds-zi__t { margin: 0 0 4px; font: 800 19px/1.15 var(--f-head); font-stretch: 102%; }
.ds-zi__d { margin: 0 0 8px; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.ds-zi__n { margin: 0 0 8px; font-size: 14px; }
.ds-zi__n b { font: 800 16px var(--f-head); }
.ds-zi__last { display: grid; gap: 2px; margin: 0; padding-top: 8px; border-top: 1px dashed var(--seam); font-size: 14px; line-height: 1.35; }
.ds-zi__last span { font: 700 12px var(--f-head); font-stretch: 74%; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.ds-tip .ds-zi__last a { color: var(--ink); font-weight: 600; text-decoration: none; }
.ds-zi__last em { font-style: normal; font-size: 13px; color: var(--ink-3); }
.ds-zi__go { display: none; }
.ds-tip.is-pinned .ds-zi__go { display: inline-flex; margin-top: 10px; min-height: 40px; align-items: center; padding: 8px 14px; border-radius: 8px; background: var(--mark-y); color: #1d1b19 !important; font-weight: 700; text-decoration: none; box-shadow: inset 0 0 0 1.5px rgba(29, 27, 25, .5); }

/* панель «Во дворе сейчас» */
.ds-now { position: sticky; top: 14px; display: flex; flex-direction: column; max-height: calc(100vh - 130px); overflow: hidden; border-radius: 14px; background: var(--slab); color: var(--ink); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.ds-now__head { padding: 14px 16px 11px; background: var(--asph-3); color: var(--mark); border-bottom: 3px solid var(--mark-y); }
.ds-now__h { display: flex; align-items: center; gap: 9px; margin: 0; font: 800 18px/1.2 var(--f-head); font-stretch: 106%; }
.ds-now__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--signal); animation: ds-beacon 1.6s ease-in-out infinite; }
.ds-now__zone { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 6px 0 0; font-size: 14px; color: var(--on-asph-2); }
.ds-now__reset { padding: 0; border: 0; background: none; color: var(--link-dark); font: 600 14px var(--f-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ds-feed { list-style: none; margin: 0; padding: 0; overflow: auto; overscroll-behavior: contain; }
.ds-feed__i { border-bottom: 1px solid var(--seam); }
.ds-feed__a { display: grid; gap: 5px; padding: 11px 16px 12px; color: var(--ink) !important; text-decoration: none; }
.ds-feed__a:hover { background: #ebe5d8; }
.ds-feed__top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; }
.ds-feed__z { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--ink-2); }
.ds-feed__t { font: 700 15.5px/1.3 var(--f-text); }
.ds-feed__a:hover .ds-feed__t { text-decoration: underline; text-decoration-color: var(--tile); text-underline-offset: 3px; }
.ds-feed__m { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 7px; font-size: 13px; color: var(--ink-3); }
.ds-feed__r { margin-left: auto; font-weight: 600; color: var(--ink-2); }
.ds-feed__empty { margin: 0; padding: 18px 16px; color: var(--ink-2); }
.ds-now__go { display: block; padding: 12px 16px 14px; color: var(--link-light) !important; font-weight: 700; }
.ds-now__go::after { content: " →"; }

/* под планом: слой-пояснение, чек-лист, этапы */
.ds-below { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .85fr); gap: 20px; margin: 26px 0 0; align-items: start; }
.ds-notes, .ds-legend { padding: 18px 20px; border-radius: 14px; background: var(--asph-3); border: 1px solid var(--asph-line); }
.ds-note { display: none; }
.ds-note.is-on { display: block; animation: ds-in .35s ease; }
.ds-note__p { color: var(--on-asph); }
.ds-note__how { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; color: var(--on-asph-2); font-size: 15px; }
.ds-note__how b { color: var(--mark); }
.ds-note__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ds-note__list a { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 2px 12px; padding: 9px 10px; border-radius: 10px; color: var(--on-asph); text-decoration: none; }
.ds-note__list a:hover, .ds-note__list li.is-hot a { background: var(--asph-4); }
.ds-note__k { grid-row: span 3; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--signal); color: #1d1b19; font: 800 15px var(--f-head); box-shadow: 0 0 0 2px #fff; }
.ds-note__t { font: 700 16px/1.25 var(--f-text); color: var(--mark); }
.ds-note__d { font-size: 14.5px; color: var(--on-asph-2); line-height: 1.4; }
.ds-note__f { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--link-dark); }

.ds-check { padding: 18px 20px; border-radius: 14px; background: var(--slab); color: var(--ink); background-image: var(--seams); background-size: 160px 80px; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); border-top: 6px solid var(--green); }
.ds-check .ds-h2 { color: var(--ink); }
.ds-check__p { font-size: 14.5px; color: var(--ink-2); }
.ds-check__list { list-style: none; margin: 0 0 10px; padding: 0; }
.ds-check__list label { display: flex; align-items: flex-start; gap: 11px; padding: 8px 2px; border-bottom: 1px dashed var(--seam); font-size: 15px; line-height: 1.35; cursor: pointer; }
.ds-check__list input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border: 2px solid var(--ink-2); border-radius: 5px; background: #fff; cursor: pointer; display: grid; place-items: center; }
.ds-check__list input:checked { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; border-color: var(--green); }
.ds-check__list li.is-done span { color: var(--ink-3); }
.ds-check__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0; font-size: 14px; }
.ds-check__n { font-weight: 700; }
.ds-check__reset { padding: 0; border: 0; background: none; color: var(--link-light); font: 600 14px var(--f-text); text-decoration: underline; cursor: pointer; }
.ds-check a { color: var(--link-light); }

.ds-legend__list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 9px; }
.ds-legend__list li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14.5px; color: var(--on-asph-2); }
.ds-legend__total { margin: 0; padding-top: 12px; border-top: 1px dashed var(--asph-line); color: var(--on-asph-2); font-size: 14.5px; }
.ds-legend__total b { color: var(--mark); font: 800 18px var(--f-head); }

/* ---------------------------------------------------------------- раздел: табличка зоны и участки */
.ds-fhead { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px 24px; align-items: center; margin: 2px 0 20px; padding: 20px 24px 22px; border-radius: 14px; background: var(--asph-3); border: 1px solid var(--asph-line); }
.ds-fhead::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 9px; height: 2px; background: repeating-linear-gradient(90deg, var(--mark) 0 18px, transparent 18px 32px); opacity: .45; }
.ds-fhead__sign:empty { display: none; }
.ds-fhead__sign svg { filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .45)); }
.ds-fhead__d { margin: 8px 0 0; max-width: 72ch; font-size: 15.5px; line-height: 1.45; color: var(--on-asph-2); }
.ds-fhead__n { margin: 8px 0 0; font-size: 14px; color: var(--on-asph-2); }
.ds-fhead__n b { color: var(--mark); font-family: var(--f-head); }
.ds-fhead--yellow .ds-kicker { color: var(--mark-y); }
.ds-fhead--blue .ds-kicker { color: #8fbaf0; }
.ds-fhead--green .ds-kicker { color: #9ccb7a; }
.ds-fhead--white .ds-kicker { color: var(--on-asph); }

.ds-zones, .ds-zcat { margin: 0 0 22px; }
.ds-zcat__t { font: 800 18px var(--f-head); margin: 0 0 10px; }
.ds-zones__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ds-zrow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px 18px; align-items: center; padding: 14px 18px; border-radius: 10px; background: var(--slab); color: var(--ink); background-image: var(--seams); background-size: 200px 100px; }
.ds-zrow__h { margin: 0; display: flex; align-items: center; gap: 8px; }
.ds-zrow__t { font: 800 18px/1.2 var(--f-head); font-stretch: 102%; color: var(--ink) !important; text-decoration: none; }
.ds-zrow__t:hover { text-decoration: underline; }
.ds-zrow__d { margin: 4px 0 0; font-size: 14.5px; color: var(--ink-2); }
.ds-zrow__last { margin: 6px 0 0; font-size: 14px; }
.ds-zrow__lt { display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; }
.ds-zrow__lt span { font: 700 12px var(--f-head); font-stretch: 74%; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.ds-zrow__lt a { color: var(--link-light); font-weight: 600; }
.ds-zrow__lt em { font-style: normal; color: var(--ink-3); font-size: 13px; }
.ds-zrow__lt--none { color: var(--ink-3); }
.ds-zrow__n { margin: 0; display: grid; gap: 2px; text-align: right; font-size: 13.5px; color: var(--ink-3); white-space: nowrap; }
.ds-zrow__n b { color: var(--ink); font: 800 17px var(--f-head); }
.ds-new { display: none; }

.ds-plots__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin: 0 0 10px; }
.ds-plots__head .ds-h2 { margin: 0; }
.ds-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.ds-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 6px 13px; border: 1.5px solid #5d584f; border-radius: 999px; background: transparent; color: var(--on-asph); font: 600 14px/1 var(--f-text); cursor: pointer; }
.ds-chip:hover { border-color: var(--mark); }
.ds-chip i { width: 10px; height: 10px; border-radius: 2px; background: var(--granite); }
.ds-chip--plan i { background: #6f9be0; } .ds-chip--works i { background: var(--signal); } .ds-chip--done i { background: #4fae62; }
.ds-chip--defect i { background: #ff6b5e; } .ds-chip--season i { background: #8fb0bf; } .ds-chip--ask i { background: var(--mark-y); }
.ds-chip.is-on { background: var(--mark); border-color: var(--mark); color: #1d1b19; }
.ds-chip__n { font: 700 13px var(--f-head); font-stretch: 80%; opacity: .85; }
.ds-sort { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 12px; font-size: 14px; color: var(--on-asph-2); }
.ds-sort a { color: var(--on-asph); }
.ds-plots__list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.ds-plot {
	position: relative; display: grid; grid-template-columns: 58px 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px 14px 0;
	border-radius: 9px; border-left: 7px solid var(--granite); background: var(--slab); color: var(--ink); background-image: var(--seams); background-size: 220px 110px;
	box-shadow: 0 2px 0 rgba(0, 0, 0, .35);
}
.ds-plot[data-stage="plan"] { border-left-color: var(--blue); } .ds-plot[data-stage="works"] { border-left-color: var(--signal); } .ds-plot[data-stage="done"] { border-left-color: var(--green); }
.ds-plot[data-stage="defect"] { border-left-color: var(--red); } .ds-plot[data-stage="season"] { border-left-color: var(--slate); } .ds-plot[data-stage="ask"] { border-left-color: var(--mark-y); }
.ds-plot__no { align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 1px dashed var(--seam); font: 700 12px/1.1 var(--f-head); font-stretch: 72%; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.ds-plot__no b { font-size: 21px; font-stretch: 92%; letter-spacing: 0; color: var(--ink); }
.ds-plot__top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 5px; }
.ds-plot__date { font-size: 13.5px; color: var(--ink-3); }
.ds-plot__h { margin: 0; font: 700 17.5px/1.3 var(--f-text); }
.ds-plot__t { color: var(--ink) !important; text-decoration: none; }
.ds-plot__t:hover { text-decoration: underline; text-decoration-color: var(--tile); text-decoration-thickness: 2px; }
.ds-plot__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 7px 0 0; font-size: 13.5px; color: var(--ink-3); }
.ds-plot__meta a { color: var(--ink-2); font-weight: 600; }
.ds-plot__n { display: grid; justify-items: center; min-width: 76px; padding: 7px 10px; border-radius: 8px; background: var(--slab-2); color: var(--ink) !important; text-decoration: none; }
.ds-plot__n b { font: 800 22px/1 var(--f-head); }
.ds-plot__n span { font-size: 12.5px; color: var(--ink-3); }
.ds-plot__n:hover { background: #ddd5c6; }
.ds-plot__mod { position: absolute; right: 8px; top: 8px; }
.ds-pages { font-size: 13px; color: var(--ink-3); }
.ds-pages a { color: var(--link-light); }
.ds-sep { list-style: none; padding: 10px 2px 2px; font: 700 12.5px/1.2 var(--f-head); font-stretch: 74%; letter-spacing: .1em; text-transform: uppercase; color: var(--mark-y); }
.ds-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 16px; }
.ds-bar__r { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 14px; }
.ds-bar__r a:not(.button) { color: var(--on-asph); }

/* ---------------------------------------------------------------- тема: щит объекта и дерево ответов */
.ds-shield { position: relative; margin: 2px 0 24px; padding-bottom: 24px; }
.ds-shield__board { position: relative; z-index: 1; overflow: hidden; border: 3px solid #2a2b2e; border-radius: 6px; background: #fbfaf6; color: var(--ink); box-shadow: 0 16px 34px rgba(0, 0, 0, .45); }
.ds-shield__k { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; padding: 10px 18px; background: var(--blue); color: #fff; font: 700 13.5px/1.2 var(--f-head); font-stretch: 80%; letter-spacing: .06em; text-transform: uppercase; }
.ds-shield__k a { color: #fff; }
.ds-shield__obj { margin-right: auto; }
.ds-shield__h1 { padding: 16px 20px 6px; color: var(--ink); }
.ds-shield__dl { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 0; padding: 8px 20px 16px; }
.ds-shield__dl div { display: grid; gap: 3px; }
.ds-shield__dl dt { font: 700 12px/1.2 var(--f-head); font-stretch: 74%; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.ds-shield__dl dd { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 15px; }
.ds-shield__dl dd b { font-family: var(--f-head); }
.ds-shield__by span { color: var(--ink-2); }
.ds-shield__legs::before, .ds-shield__legs::after { content: ""; position: absolute; bottom: 0; width: 10px; height: 34px; background: linear-gradient(90deg, #4a4d52, #6a6e74 60%, #4a4d52); border-radius: 0 0 2px 2px; }
.ds-shield__legs::before { left: 12%; } .ds-shield__legs::after { right: 12%; }
.ds-page--thread[data-stage="works"] .ds-shield__k { background: repeating-linear-gradient(-45deg, #e9672a 0 14px, #ef7d43 14px 28px); color: #1a1816; }
.ds-page--thread[data-stage="works"] .ds-shield__k a { color: #1a1816; }
.ds-page--thread[data-stage="done"] .ds-shield__k { background: var(--green); }
.ds-page--thread[data-stage="defect"] .ds-shield__k { background: #a82018; }
.ds-page--thread[data-stage="season"] .ds-shield__k { background: var(--slate); }

.ds-tree { position: relative; }
.ds-post { position: relative; padding: 0 0 14px; scroll-margin-top: 16px; }
.ds-post--d1 { padding-left: var(--step); } .ds-post--d2 { padding-left: calc(var(--step) * 2); }
.ds-post--d3 { padding-left: calc(var(--step) * 3); } .ds-post--d4 { padding-left: calc(var(--step) * 4); }
.ds-lane { position: absolute; top: 0; bottom: 0; left: calc((var(--k) - 1) * var(--step) + var(--step) / 2 - 1px); width: 2px; background: repeating-linear-gradient(180deg, var(--lane) 0 11px, transparent 11px 19px); pointer-events: none; }
.ds-lane--elbow { bottom: auto; height: 36px; width: calc(var(--step) / 2 + 1px); background: none; border-left: 2px solid var(--mark-y); border-bottom: 2px solid var(--mark-y); border-bottom-left-radius: 12px; opacity: .85; }
.ds-slab { position: relative; overflow: hidden; border-radius: 9px; background: var(--slab); color: var(--ink); background-image: var(--seams); background-size: 240px 120px; box-shadow: 0 2px 0 rgba(0, 0, 0, .4), 0 12px 26px rgba(0, 0, 0, .22); }
.ds-post__bar { display: flex; align-items: center; gap: 12px; padding: 11px 16px; background: linear-gradient(#ece6da, #e6dfd2); border-bottom: 1px solid var(--seam); }
.ds-post__who { flex: 1; min-width: 0; }
.ds-post__name { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px; margin: 0; }
.ds-post__nick a, .ds-post__nick { font: 800 16.5px/1.2 var(--f-head); font-stretch: 100%; color: var(--ink) !important; text-decoration: none; }
.ds-post__nick a:hover { text-decoration: underline; }
.ds-post__facts { display: flex; flex-wrap: wrap; gap: 3px 16px; margin: 4px 0 0; font-size: 13.5px; color: var(--ink-2); }
.ds-post__facts i { margin-right: 5px; font: 700 12px var(--f-head); font-stretch: 74%; font-style: normal; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.ds-post__date { align-self: flex-start; margin-top: 2px; font-size: 13.5px; color: var(--ink-3) !important; text-decoration: none; white-space: nowrap; }
.ds-post__date:hover { color: var(--ink) !important; text-decoration: underline; }
.ds-post__re { margin: 0; padding: 9px 18px 0; font-size: 14px; color: var(--ink-3); }
.ds-post__re a { color: var(--blue-dk); font-weight: 700; text-decoration: none; }
.ds-post__re a:hover { text-decoration: underline; }
.ds-post__body { padding: 10px 18px 14px; font-size: 17px; line-height: 1.62; color: var(--ink); overflow-wrap: anywhere; }
.ds-post--main .ds-slab { border-top: 6px solid var(--mark-y); }
.ds-post--main .ds-post__bar { padding: 14px 20px; }
.ds-post--main .ds-post__body { padding: 18px 22px 20px; font-size: 18.5px; }
.ds-post--main .ds-post__nick a { font-size: 18px; }
.ds-post--op .ds-slab { box-shadow: inset 4px 0 0 var(--blue), 0 2px 0 rgba(0, 0, 0, .4), 0 12px 26px rgba(0, 0, 0, .22); }
.ds-post.is-parent .ds-slab, .ds-post.is-target .ds-slab { outline: 3px solid var(--mark-y); outline-offset: 2px; }
.ds-post .post_meta { padding: 0 18px; font-size: 13px; color: var(--ink-3); }
.ds-post .post_meta:empty { display: none; }
.ds-post__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px; padding: 6px 10px; border-top: 1px dashed var(--seam); }
.postbit_buttons { display: flex; flex-wrap: wrap; gap: 2px; }
.postbit_buttons > a, .postbit_buttons a { display: inline-flex; align-items: center; min-height: 36px; padding: 5px 10px; border-radius: 6px; color: var(--ink-2) !important; font-size: 14px; font-weight: 600; text-decoration: none; }
.postbit_buttons a:hover { background: var(--slab-2); color: var(--ink) !important; }
.postbit_buttons a span { background: none !important; padding: 0 !important; }
.postbit_mirage { display: inline-flex; }
.ds-post .signature { margin: 0 18px 12px; padding-top: 10px; border-top: 1px dashed var(--seam); font-size: 14.5px; color: var(--ink-2); }
.ds-post__body blockquote, .ds-post__body .mycode_quote { margin: 10px 0; padding: 10px 14px; border-left: 4px solid var(--granite); border-radius: 4px; background: #e9e3d6; font-size: .95em; }
.ds-post__body blockquote cite { display: block; margin-bottom: 4px; font-style: normal; font-weight: 700; color: var(--ink-2); }
.ds-post__body blockquote cite > span { font-weight: 400; color: var(--ink-3); }
.ds-post__body img { border-radius: 6px; }
.ds-post__body ul, .ds-post__body ol { padding-left: 1.3em; }
.codeblock { margin: 10px 0; padding: 10px 12px; border-radius: 6px; background: #2b2926; color: #ece8df; }
.codeblock .title { font-size: 13px; color: var(--on-asph-2); margin-bottom: 4px; }
.codeblock code { font-size: 14px; white-space: pre-wrap; }

.ds-tfoot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 22px 0 12px; padding: 14px 18px; border-radius: 12px; background: var(--asph-3); border: 1px solid var(--asph-line); }
.ds-tfoot__people { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; color: var(--on-asph-2); font-size: 14.5px; }
.ds-stack { display: flex; flex-wrap: wrap; gap: 6px; }
.ds-nextprev { display: flex; gap: 18px; font-size: 14.5px; }
.ds-nextprev a { color: var(--on-asph); }
.ds-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; }
.ds-tools ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.ds-tools a { color: var(--on-asph-2); }
.ds-guest { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 6px 0 16px; padding: 16px 20px; border-radius: 12px; background: var(--slab); color: var(--ink); border-left: 7px solid var(--mark-y); }
.ds-guest p { margin: 0; max-width: 60ch; }

/* ---------------------------------------------------------------- профиль: адресная табличка жителя */
.ds-plate { display: flex; align-items: stretch; gap: 6px; margin: 2px 0 22px; padding: 6px; border-radius: 12px; background: var(--navy); color: #fff; box-shadow: 0 16px 34px rgba(0, 0, 0, .45); }
.ds-plate__in { flex: 1; min-width: 0; padding: 16px 22px 18px; border: 2px solid #fff; border-radius: 7px; }
.ds-plate__k { margin: 0 0 6px; font: 700 13px/1.2 var(--f-head); font-stretch: 76%; letter-spacing: .1em; text-transform: uppercase; color: #d4ddea; }
.ds-plate__name { margin: 0; font: 800 clamp(28px, 4vw, 46px)/1.05 var(--f-head); font-stretch: 112%; color: #fff; overflow-wrap: anywhere; }
.ds-plate__name a, .ds-plate__name span { color: #fff !important; }
.ds-plate__sub { margin: 8px 0 0; font-size: 16px; color: #dfe6f0; }
.ds-plate__no { display: grid; place-content: center; margin: 0; min-width: 132px; padding: 10px 14px; border: 2px solid #fff; border-radius: 7px; text-align: center; }
.ds-plate__no b { font: 800 46px/1 var(--f-head); font-stretch: 96%; }
.ds-plate__no span { font-size: 14px; color: #dfe6f0; }
.ds-resident__grid { display: grid; grid-template-columns: 210px minmax(0, 1fr) 290px; gap: 20px; align-items: start; }
.ds-resident__photo { display: grid; justify-items: center; gap: 14px; margin: 0; padding: 20px 14px 16px; border-radius: 14px; background: var(--asph-3); border: 1px solid var(--asph-line); }
.ds-resident__photo figcaption { display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; font-weight: 600; color: var(--on-asph); }
.ds-card { padding: 16px 20px; border-radius: 14px; background: var(--slab); color: var(--ink); background-image: var(--seams); background-size: 200px 100px; }
.ds-card__dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; margin: 0; }
.ds-card__dl div { padding-bottom: 10px; border-bottom: 1px dashed var(--seam); }
.ds-card__dl dt { font: 700 12px/1.2 var(--f-head); font-stretch: 74%; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.ds-card__dl dd { margin: 4px 0 0; font-size: 15.5px; }
.ds-card__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; }
.ds-card a { color: var(--link-light); }
.ds-ladder { padding: 16px 16px 12px; border-radius: 14px; background: var(--asph-3); border: 1px solid var(--asph-line); }
.ds-ladder__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ds-ladder__list li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; color: var(--on-asph-2); font-size: 14.5px; }
.ds-ladder__list li.is-past { opacity: .72; }
.ds-ladder__list li.is-now { background: rgba(239, 190, 44, .14); color: var(--mark); font-weight: 700; box-shadow: inset 3px 0 0 var(--mark-y); }
.ds-ladder__n { font: 600 13px var(--f-head); font-stretch: 80%; color: var(--on-asph-2); }
.ds-plist { margin-top: 26px; }
.ds-plist__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 10px; }
.ds-plist__i { display: flex; gap: 12px; padding: 13px 15px; border-radius: 10px; background: var(--slab); color: var(--ink); }
.ds-plist__k { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 4px; font-size: 13px; color: var(--ink-3); }
.ds-plist__t { font: 700 16px/1.3 var(--f-text); color: var(--ink) !important; text-decoration: none; }
.ds-plist__t:hover { text-decoration: underline; }
.ds-plist__m { margin: 4px 0 0; font-size: 13.5px; color: var(--ink-3); }
.ds-resident__extra { margin-top: 20px; }

/* ---------------------------------------------------------------- ошибка и переход */
.ds-msg { display: flex; gap: 22px; align-items: flex-start; max-width: 780px; margin: 30px auto; padding: 24px 26px; border-radius: 14px; background: var(--slab); color: var(--ink); border-top: 6px solid var(--red); box-shadow: 0 16px 34px rgba(0, 0, 0, .45); }
.ds-msg--go { border-top-color: var(--green); margin-top: 12vh; }
.ds-msg__sign { flex: none; }
.ds-msg__t { color: var(--ink); margin-bottom: 10px; }
.ds-msg__body { font-size: 16px; }
.ds-msg a { color: var(--link-light); }
.ds-msg__foot { margin: 14px 0 0; }

/* ---------------------------------------------------------------- стандартные элементы MyBB */
.tborder { width: 100%; margin: 0 0 18px; border-collapse: separate; border-spacing: 0; border-radius: 12px; overflow: hidden; background: var(--slab); color: var(--ink); box-shadow: 0 10px 26px rgba(0, 0, 0, .3); }
.tborder a, .trow1 a, .trow2 a, .tfoot a, .tcat a { color: var(--link-light); }
.thead { padding: 12px 16px; background: var(--asph-3); color: var(--mark); border-bottom: 3px solid var(--mark-y); font: 800 16.5px/1.25 var(--f-head); font-stretch: 104%; text-align: left; }
.thead a, .thead strong { color: var(--mark) !important; }
.thead .expcolimage { float: right; }
.tcat { padding: 8px 16px; background: #e2dbce; color: var(--ink-2); font: 700 12.5px/1.3 var(--f-head); font-stretch: 76%; letter-spacing: .08em; text-transform: uppercase; }
.tcat a { color: var(--ink-2); }
.trow1, .trow2, .trow_shaded { padding: 11px 16px; border-bottom: 1px solid var(--seam); vertical-align: top; font-size: 15px; }
.trow1 { background: var(--slab); } .trow2 { background: #ece6db; }
.trow_shaded { background: #f4e4c4; }
.trow_selected td, .trow_selected { background: #f6e7b4 !important; }
.tfoot { padding: 10px 16px; background: #e2dbce; color: var(--ink-2); }
.tborder td, .tborder th { text-align: left; }
.smalltext { font-size: 13.5px; color: var(--ink-3); }
.largetext { font: 800 18px var(--f-head); }
.float_left { float: left; } .float_right { float: right; }
.clear { clear: both; }
input.textbox, textarea, select, input[type="text"], input[type="password"], input[type="email"], input[type="search"], input[type="number"], input[type="url"] {
	max-width: 100%; padding: 9px 11px; border: 1.5px solid #aca393; border-radius: 7px; background: #fff; color: var(--ink); font: 16px/1.35 var(--f-text);
}
textarea { line-height: 1.5; }
input.textbox:focus, textarea:focus, select:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="search"]:focus { border-color: var(--blue); outline: 3px solid rgba(31, 90, 166, .25); outline-offset: 0; }
.button, input.button, button.button, a.button, input[type="submit"], input[type="button"], button[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border: 0; border-radius: 8px;
	background: var(--mark-y); color: #1d1b19 !important; font: 700 15px/1.1 var(--f-text); text-decoration: none; cursor: pointer;
	box-shadow: inset 0 0 0 1.5px rgba(29, 27, 25, .5), inset 0 -3px 0 rgba(0, 0, 0, .16);
}
.button:hover, input.button:hover, input[type="submit"]:hover, button[type="submit"]:hover { background: #f6cc4c; }
.button span { background: none !important; padding: 0 !important; }
.new_thread_button, .new_reply_button { min-height: 48px; padding: 12px 22px; font-size: 16px; }
.closed_button { background: var(--granite); }
.pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; font-size: 14px; color: var(--on-asph-2); }
.pagination .pages { margin-right: 4px; }
.pagination a, .pagination .pagination_current, .pagination .pagination_next, .pagination .pagination_previous {
	display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 9px; border-radius: 7px; border: 1px solid var(--asph-line); background: var(--asph-3); color: var(--mark) !important; text-decoration: none; font-weight: 600;
}
.pagination a:hover { border-color: var(--mark); }
.pagination .pagination_current { background: var(--mark-y); border-color: var(--mark-y); color: #1d1b19 !important; }
.popup_menu { z-index: 50; min-width: 180px; padding: 6px 0; border: 1px solid var(--seam); border-radius: 9px; background: var(--slab); box-shadow: 0 12px 28px rgba(0, 0, 0, .4); }
.popup_menu .popup_item { display: block; padding: 8px 14px; color: var(--ink) !important; text-decoration: none; font-size: 14.5px; }
.popup_menu .popup_item:hover { background: var(--slab-2); }
.popup_menu .popup_item_container { margin: 0; }
.blocker { z-index: 9999 !important; background: rgba(10, 9, 8, .62) !important; }
.modal { max-width: 560px; padding: 0 !important; border-radius: 12px !important; background: var(--slab) !important; color: var(--ink); box-shadow: 0 24px 60px rgba(0, 0, 0, .6) !important; overflow: hidden; }
.modal .tborder { margin: 0; box-shadow: none; border-radius: 0; }
.modal a.close-modal { top: 10px !important; right: 10px !important; width: 30px !important; height: 30px !important; }
.error, div.error { margin: 0 0 16px; padding: 12px 16px; border: 1.5px solid var(--red); border-radius: 9px; background: #fbe7e3; color: #7c1d14; }
.error ul { margin: 6px 0 0; padding-left: 1.2em; }
.red_alert, .pm_alert { margin: 0 0 14px; padding: 11px 15px; border-radius: 9px; border: 1.5px solid var(--mark-y); background: #fff4d1; color: var(--ink); }
.red_alert a, .pm_alert a { color: var(--link-light); }
.ds-main > table:not(.tborder) td { vertical-align: top; }
.usercp_nav .usercp_nav_item, .modcp_nav_item { display: block; padding: 6px 0 6px 26px; background-position: 0 50%; }
.sceditor-container { max-width: 100%; border-radius: 8px !important; }
.sceditor-container iframe, .sceditor-container textarea { font-size: 16px !important; }
.select2-container .select2-choice { border-radius: 7px; }
fieldset { border: 1px solid var(--seam); border-radius: 9px; padding: 10px 14px; }
legend { font-weight: 700; padding: 0 6px; }
.ds-modtools .tborder, .ds-tools__mod form { margin-top: 10px; }
#posts_container { position: relative; }
.post.unapproved_post .ds-slab, .post.deleted_post .ds-slab { opacity: .75; }
.ignored_post, .deleted_post_hidden { margin: 0 0 12px; padding: 10px 14px; border-radius: 8px; background: var(--asph-3); color: var(--on-asph-2); }
.author_buttons, .post_management_buttons { min-width: 0; }
.scaleimages img { max-width: 100%; }
.post_content { padding: 0; }

/* ---------------------------------------------------------------- анимации */
@keyframes ds-march { to { stroke-dashoffset: -44; } }
@keyframes ds-flag { 0%, 100% { transform: skewY(0); } 50% { transform: skewY(-8deg) scaleX(.92); } }
@keyframes ds-pulse { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(2.1); opacity: 0; } }
@keyframes ds-ripple { 0% { transform: scale(.4); opacity: .95; } 100% { transform: scale(3.2); opacity: 0; } }
@keyframes ds-rain { to { transform: translate(-24px, 96px); } }
@keyframes ds-snow { to { transform: translate(60px, 120px); } }
@keyframes ds-beacon { 0%, 100% { box-shadow: 0 0 0 0 rgba(236, 90, 31, .7); } 60% { box-shadow: 0 0 0 7px rgba(236, 90, 31, 0); } }
@keyframes ds-fade { from { opacity: 0; } }
@keyframes ds-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- адаптивность */
@media (max-width: 1180px) {
	.ds-home { grid-template-columns: minmax(0, 1fr) 320px; }
	.ds-below { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.ds-legend { grid-column: 1 / -1; }
	.ds-resident__grid { grid-template-columns: 200px minmax(0, 1fr); }
	.ds-ladder { grid-column: 1 / -1; }
	.ds-sheet__body--secs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
	.ds-home { grid-template-columns: minmax(0, 1fr); }
	.ds-now { position: static; max-height: none; }
	.ds-feed { max-height: 520px; }
	.ds-below { grid-template-columns: minmax(0, 1fr); }
	.ds-legend { grid-column: auto; }
	body::before, body::after { display: none; }
}
@media (max-width: 760px) {
	:root { --step: 14px; --dock-h: 70px; }
	.ds-strip__in { padding: 8px 16px 9px; min-height: 50px; gap: 6px 16px; }
	.ds-logo__name { font-size: 18px; }
	.ds-strip__crumbs { flex-basis: 100%; }
	.ds-crumbs { font-size: 13.5px; }
	.ds-crumbs .active { max-width: 30ch; }
	.ds-main { padding: 14px 16px 30px; }
	.ds-foot { padding: 0 16px calc(var(--dock-h) + 30px + env(safe-area-inset-bottom)); }
	.ds-hello { margin-bottom: 10px; }
	.ds-hello__h1 span { font-size: 15px; }
	.ds-hello__p { font-size: 14.5px; }
	.ds-yard__bar { flex-direction: column; align-items: stretch; }
	.ds-layers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.ds-layer { justify-content: center; flex-direction: column; gap: 3px; padding: 6px 4px; font-size: 12.5px; min-height: 48px; text-align: center; }
	.ds-yard__frame { border-width: 2px; border-radius: 10px; box-shadow: 0 0 0 4px var(--asph-2), 0 12px 26px rgba(0, 0, 0, .45); }
	.ds-yard__svg { border-radius: 8px; }
	.ds-pin { transform: translate(-12px, -12px) scale(.5); transform-origin: 12px 12px; }
	.ds-yard[data-layer="rain"] .ds-pin[data-layer="rain"], .ds-yard[data-layer="winter"] .ds-pin[data-layer="winter"], .ds-yard[data-layer="evening"] .ds-pin[data-layer="evening"] { transform: translate(-12px, -12px) scale(1); }
	.ds-pin b { width: 24px; height: 24px; font-size: 13px; box-shadow: 0 0 0 2px #fff, 0 3px 8px rgba(0, 0, 0, .45); }
	.ds-pin span { display: none; }
	.ds-tip { position: absolute; left: 0 !important; right: 0; top: calc(100% + 10px) !important; width: auto; max-width: none; }
	.ds-yard__hint { margin-top: 12px; }
	.ds-fhead { grid-template-columns: auto minmax(0, 1fr); padding: 16px 16px 20px; }
	.ds-fhead__sign svg { width: 52px; height: 52px; }
	.ds-fhead__act { grid-column: 1 / -1; }
	.ds-plot { grid-template-columns: 34px minmax(0, 1fr); gap: 10px 12px; padding: 12px 12px 12px 12px; align-items: start; }
	.ds-plot__no { display: none; }
	.ds-plot__ico svg { width: 34px; height: 34px; }
	.ds-plot__n { grid-column: 2; justify-self: start; display: inline-flex; gap: 6px; align-items: baseline; min-width: 0; padding: 4px 10px; }
	.ds-plot__n b { font-size: 17px; }
	.ds-plot__h { font-size: 16.5px; }
	.ds-zrow { grid-template-columns: auto minmax(0, 1fr); padding: 12px 14px; }
	.ds-zrow__n { grid-column: 2; text-align: left; display: flex; gap: 12px; }
	.ds-shield__h1 { padding: 14px 14px 4px; }
	.ds-shield__k { padding: 9px 14px; }
	.ds-shield__dl { padding: 8px 14px 14px; gap: 10px 22px; }
	.ds-post__bar, .ds-post--main .ds-post__bar { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 10px; align-items: start; padding: 10px 12px; }
	.ds-post__bar .ds-face { width: 40px; height: 40px; grid-row: span 2; font-size: 15px; }
	.ds-post__name { gap: 4px 8px; }
	.ds-post__facts { display: block; line-height: 1.5; }
	.ds-post__facts span { margin-right: 12px; }
	.ds-post__facts span { display: inline-block; max-width: 100%; }
	.ds-post__facts i { white-space: nowrap; }
	.ds-shield__h1 { font-size: 21px; line-height: 1.16; }
	.ds-post__date { grid-column: 2; margin: 0; }
	.ds-post__body { padding: 10px 13px 12px; font-size: 16.5px; }
	.ds-post--main .ds-post__body { padding: 14px 14px 16px; font-size: 17px; }
	.ds-post__re { padding: 8px 13px 0; }
	.ds-lane--elbow { height: 30px; border-bottom-left-radius: 8px; }
	.ds-plate { flex-direction: column; }
	.ds-plate__no { grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 10px; min-width: 0; }
	.ds-plate__no b { font-size: 34px; }
	.ds-resident__grid { grid-template-columns: minmax(0, 1fr); }
	.ds-card__dl { grid-template-columns: minmax(0, 1fr); }
	.ds-plist__list { grid-template-columns: minmax(0, 1fr); }
	.ds-msg { flex-direction: column; padding: 18px; }
	.ds-dock { left: 0; right: 0; bottom: 0; transform: none; gap: 0; padding: 5px 4px calc(5px + env(safe-area-inset-bottom)); border-width: 2px 0 0; border-radius: 14px 14px 0 0; box-shadow: 0 -8px 24px rgba(0, 0, 0, .5); }
	.ds-dock__b { flex: 1 1 0; min-width: 0; min-height: 56px; padding: 4px 2px 5px; font-size: 12px; }
	.ds-dock__b span { max-width: 100%; }
	.ds-dock__b .ds-sign, .ds-dock__b .ds-face { width: 30px; height: 30px; }
	.ds-sheet { left: 0; right: 0; bottom: 0; width: 100%; max-height: 82vh; border-radius: 16px 16px 0 0; transform: translateY(30px); padding-bottom: env(safe-area-inset-bottom); }
	.ds-sheet--narrow { width: 100%; }
	.ds-sheet.is-open, .ds-sheet:target { transform: none; }
	.ds-sheet__body--secs { grid-template-columns: minmax(0, 1fr); }
	.tborder td, .tborder th { display: block; width: auto !important; }
	.trow1, .trow2 { padding: 10px 12px; }
}
@media (max-width: 420px) {
	.ds-hello__h1 { font-size: 23px; }
	.ds-search__row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.ds-fall { display: none; }
}

/* ---------------------------------------------------------------- ссылки в сообщениях: свой стиль форума — «мощение»
   под ссылкой полоска из мелких кирпичиков плитки в разбежку, без подчёркивания; при наведении полоска становится сигнально-оранжевой */
:is(.post_body, .signature, [class*="-post__body"]) a.mycode_url {
	color: #7c3517; font-weight: 600; text-decoration: none; padding-bottom: 5px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='4'%3E%3Cg fill='%23b0705a'%3E%3Crect x='0' y='0' width='5.3' height='1.7'/%3E%3Crect x='3' y='2.2' width='5.3' height='1.7'/%3E%3C/g%3E%3Cg fill='%239d948b'%3E%3Crect x='6' y='0' width='5.3' height='1.7'/%3E%3Crect x='9' y='2.2' width='5.3' height='1.7'/%3E%3Crect x='-3' y='2.2' width='5.3' height='1.7'/%3E%3C/g%3E%3C/svg%3E") repeat-x 0 100% / 12px 4px;
	-webkit-box-decoration-break: clone; box-decoration-break: clone; transition: color .15s;
}
:is(.post_body, .signature, [class*="-post__body"]) a.mycode_url:hover, :is(.post_body, .signature, [class*="-post__body"]) a.mycode_url:focus-visible {
	color: #a83a10;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='4'%3E%3Cg fill='%23ec5a1f'%3E%3Crect x='0' y='0' width='5.3' height='1.7'/%3E%3Crect x='3' y='2.2' width='5.3' height='1.7'/%3E%3C/g%3E%3Cg fill='%23f39a62'%3E%3Crect x='6' y='0' width='5.3' height='1.7'/%3E%3Crect x='9' y='2.2' width='5.3' height='1.7'/%3E%3Crect x='-3' y='2.2' width='5.3' height='1.7'/%3E%3C/g%3E%3C/svg%3E");
}
