html.nbc-on, html.nbc-on body, html.nbc-on #site, html.nbc-on #wrapper, html.nbc-on #wrapper > .background { background: #f0f0f0; }
html.nb-dk.nbc-on, html.nb-dk.nbc-on body, html.nb-dk.nbc-on #site, html.nb-dk.nbc-on #wrapper, html.nb-dk.nbc-on #wrapper > .background { background: #1c1c1e; }
html.nbc-on .fix { max-width: 100%; }
html.nbc-on body #content, html.nbc-on body .container, html.nbc-on body #column1-n, html.nbc-on body .left_side_content {
	width: 100% !important; max-width: none !important; float: none !important;
	background: transparent !important; box-shadow: none !important; border: 0 !important;
}
html.nbc-on body .top_sections_wrapper, html.nbc-on body > #sidebar, html.nbc-on body #sidebar.sidebar { display: none !important; }
html.nb-dk.nbc-on #footer { background: #232326 !important; color: #9ca3af; }
html.nb-dk.nbc-on #footer a { color: #c7c7cc !important; }
html.nbc-on, html.nbc-on body { overflow-x: hidden; }
#header .bottom_head_bn a.nb-fav-head { position: relative; }
#header .bottom_head_bn a.nb-fav-head .nb-fav-n,
.vkz-mn-fav .nb-fav-n {
	display: inline-flex; min-width: 16px; height: 16px; padding: 0 5px; margin-left: 4px;
	border-radius: 999px; background: #2563eb; color: #fff; font-size: 11px; font-weight: 600;
	align-items: center; justify-content: center; line-height: 1;
}
#header .bottom_head_bn a.nb-fav-head .nb-fav-n[hidden],
.vkz-mn-fav .nb-fav-n[hidden] { display: none !important; }

.nbc-root, .nbc-root * { box-sizing: border-box; }
.nbc-root {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 14px; line-height: 1.4; color: #1a1a1a;
	max-width: 1280px; margin: 0 auto; padding: 28px 28px 64px;
}
html.nb-dk .nbc-root { color: #f3f4f6; }
.nbc-root a { color: inherit; text-decoration: none; }
html.nbc-on a:hover, html.nbc-on a:focus, html.nbc-on a:active { text-decoration: none !important; }
/* в кабинете число избранного уже на вкладке, бейдж на сердце в шапке не нужен */
html.nbc-on .nb-fav-head .nb-fav-n,
html.nbc-on .vkz-mn-fav .nb-fav-n { display: none !important; }
.nbc-need-auth, .nbc-empty { text-align: center; color: #6b6b6b; padding: 48px 0; }
html.nb-dk .nbc-need-auth, html.nb-dk .nbc-empty { color: #9ca3af; }

.nbc-tabs { display: flex; gap: 24px; border-bottom: 1px solid rgba(20,20,20,.12); margin: 0 0 18px; }
html.nb-dk .nbc-tabs { border-color: rgba(240,240,240,.12); }
.nbc-tab { padding: 10px 0; font-size: 15px; color: #6b6b6b; border-bottom: 2px solid transparent; margin-bottom: -1px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.nbc-tab.is-on { font-weight: 700; color: inherit; border-bottom-color: #2563eb; }
.nbc-tab-n { font-size: 12px; font-weight: 600; padding: 1px 7px; border-radius: 999px; background: rgba(20,20,20,.07); color: #6b6b6b; }
.nbc-tab.is-on .nbc-tab-n { background: #dbe4ff; color: #2563eb; }
html.nb-dk .nbc-tab { color: #9ca3af; }
html.nb-dk .nbc-tab.is-on { color: #f3f4f6; }
html.nb-dk .nbc-tab-n { background: rgba(240,240,240,.1); color: #9ca3af; }
html.nb-dk .nbc-tab.is-on .nbc-tab-n { background: rgba(37,99,235,.35); color: #fff; }
.nbc-tabs-m { display: none; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; }
.nbc-tabs-m .nbc-chip { flex: 1 1 auto; justify-content: center; padding: 7px 8px; }

.nbc-chip {
	display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 7px 12px;
	border-radius: 999px; border: 1px solid rgba(20,20,20,.12); background: #fff; color: #1a1a1a;
	white-space: nowrap; flex: 0 0 auto; cursor: pointer;
}
html.nb-dk .nbc-chip { background: #2c2c2e; border-color: rgba(240,240,240,.12); color: #f3f4f6; }
.nbc-chip.is-on { background: #2563eb; border-color: #2563eb; color: #fff; font-weight: 500; }
.nbc-chip span, .nbc-chip-n { font-size: 12px; opacity: .65; }
.nbc-chip.is-on span, .nbc-chip.is-on .nbc-chip-n { opacity: .85; }

.nbc-h2 { font-size: 18px; font-weight: 700; }
.nbc-sub { font-size: 13px; color: #6b6b6b; }
html.nb-dk .nbc-sub { color: #9ca3af; }
.nbc-fav-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 12px; margin-bottom: 14px; }
.nbc-favs .nb-feed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }

.nbc-caps, .nbc-caps-pad { font-size: 10px; letter-spacing: .12em; font-weight: 600; color: #8a8a8a; text-transform: uppercase; }
.nbc-caps-pad { padding: 4px 10px; }
.nbc-caps-pad2 { padding: 12px 10px 4px; }
html.nb-dk .nbc-caps, html.nb-dk .nbc-caps-pad { color: #a1a1a6; }

.nbc-bal {
	display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid rgba(20,20,20,.12);
	border-radius: 16px; padding: 12px;
}
html.nb-dk .nbc-bal { background: #2c2c2e; border-color: rgba(240,240,240,.12); }
.nbc-bal-ico { width: 40px; height: 40px; border-radius: 12px; background: #2563eb; color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.nbc-bal-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.nbc-bal-v { font-size: 17px; font-weight: 700; line-height: 1.2; }
.nbc-bal-plus { width: 36px; height: 36px; border-radius: 10px; background: #dbe4ff; color: #2563eb; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
html.nb-dk .nbc-bal-plus { background: rgba(37,99,235,.35); color: #fff; }

.nbc-notices { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 20px; align-items: start; }
.nbc-side { display: flex; flex-direction: column; gap: 10px; }
.nbc-side-card { background: #fff; border: 1px solid rgba(20,20,20,.12); border-radius: 12px; padding: 8px; }
html.nb-dk .nbc-side-card { background: #2c2c2e; border-color: rgba(240,240,240,.12); }
.nbc-side-row { display: flex; align-items: center; padding: 8px 10px; border-radius: 8px; font-size: 14px; }
.nbc-side-row span:last-child { font-size: 12px; opacity: .7; margin-left: auto; padding-left: 8px; }
.nbc-side-row.is-on { background: #eff6ff; color: #1d4ed8; font-weight: 600; }
html.nb-dk .nbc-side-row.is-on { background: rgba(37,99,235,.22); color: #93c5fd; }

.nbc-top { display: none; }
.nbc-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: #fef2f2; color: #b91c1c; border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; font-size: 14px; }
html.nb-dk .nbc-banner { background: rgba(220,38,38,.18); color: #fca5a5; }
.nbc-banner-t { flex: 1 1 200px; font-weight: 600; }
.nbc-banner-mob { display: none; }

.nbc-list-card { background: #fff; border: 1px solid rgba(20,20,20,.12); border-radius: 12px; overflow: visible; }
html.nb-dk .nbc-list-card { background: #2c2c2e; border-color: rgba(240,240,240,.12); }
.nbc-list-h { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; padding: 10px 16px; border-bottom: 1px solid rgba(20,20,20,.12); font-size: 12px; color: #6b6b6b; }
html.nb-dk .nbc-list-h { border-color: rgba(240,240,240,.12); color: #9ca3af; }
.nbc-list-legend { display: inline-flex; align-items: center; gap: 14px; padding-left: 18px; border-left: 1px solid rgba(20,20,20,.12); }
html.nb-dk .nbc-list-legend { border-color: rgba(240,240,240,.12); }
.nbc-check-all { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: inherit; }
.nbc-row { display: grid; grid-template-columns: 22px minmax(0,1fr) 190px auto; gap: 24px; align-items: center; padding: 14px 16px; border-bottom: 1px solid rgba(20,20,20,.12); }
html.nb-dk .nbc-row { border-color: rgba(240,240,240,.12); }
.nbc-row.is-dim .nbc-ph, .nbc-row.is-dim .nbc-card-ph { opacity: .55; }
.nbc-row-main { display: flex; gap: 14px; align-items: center; min-width: 0; }
.nbc-ph { width: 72px; height: 54px; border-radius: 8px; background: #e8e8e8; color: #a1a1a6; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; overflow: hidden; }
html.nb-dk .nbc-ph { background: #3a3a3c; }
.nbc-ph img, .nbc-card-ph img, .nbc-firm-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nbc-row-txt { min-width: 0; flex: 1; }
.nbc-title { font-size: 15px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nbc-price { font-size: 15px; font-weight: 700; margin: 2px 0 4px; }
.nbc-mute { color: #6b6b6b; font-weight: 400; }
html.nb-dk .nbc-mute { color: #9ca3af; }
.nbc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12px; color: #6b6b6b; }
html.nb-dk .nbc-meta { color: #9ca3af; }
.nbc-meta span { display: inline-flex; align-items: center; gap: 4px; }
.nbc-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 999px; background: #dbe4ff; color: #2563eb; }
html.nb-dk .nbc-tag { background: rgba(37,99,235,.35); color: #fff; }
.nbc-cd-n { font-size: 15px; font-weight: 700; line-height: 1.25; }
.nbc-cd-n.is-warn { color: #dc2626; }
html.nb-dk .nbc-cd-n.is-warn { color: #f87171; }
.nbc-cd-n.is-mute { color: #6b6b6b; }
html.nb-dk .nbc-cd-n.is-mute { color: #9ca3af; }
.nbc-cd-d { font-size: 12px; color: #6b6b6b; }
.nbc-cd-d.is-warn { color: #dc2626; }
html.nb-dk .nbc-cd-d { color: #9ca3af; }
.nbc-row-act { display: flex; align-items: center; gap: 8px; }
.nbc-card { display: none; }

.nbc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	font-family: inherit; font-size: 14px; font-weight: 600; padding: 9px 16px; min-height: 40px;
	border-radius: 8px; border: 1px solid rgba(20,20,20,.12); background: #fff; color: inherit; cursor: pointer; white-space: nowrap;
}
.nbc-btn-plain { background: #fff; }
.nbc-btn-soft { background: #eff6ff; border-color: #2563eb; color: #1d4ed8; padding: 6px 12px; min-height: 34px; font-size: 13px; }
html.nb-dk .nbc-btn-soft { background: rgba(37,99,235,.22); color: #93c5fd; }
.nbc-btn-pri { background: #2563eb; border: none; color: #fff; }
.nbc-btn-pri:hover { background: #1d4ed8; }
.nbc-btn-pri:disabled { background: #93b4f5; cursor: default; }
.nbc-btn-danger { color: #dc2626; }
.nbc-btn-block { width: 100%; }
.nbc-btn-plain.nbc-btn { padding: 6px 12px; min-height: 34px; font-size: 13px; }
html.nb-dk .nbc-btn { background: #2c2c2e; border-color: rgba(240,240,240,.12); color: #f3f4f6; }
html.nb-dk .nbc-btn-pri { background: #2563eb; color: #fff; }

.nbc-more {
	width: 34px; height: 34px; border-radius: 8px; border: 1px solid rgba(20,20,20,.12);
	background: #fff; color: #6b6b6b; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
html.nb-dk .nbc-more { background: #2c2c2e; border-color: rgba(240,240,240,.12); color: #9ca3af; }
.nbc-more.is-round { border: none; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; }
.nbc-menu { position: relative; flex: 0 0 auto; }
.nbc-menu-list {
	position: absolute; right: 0; top: 38px; z-index: 20; min-width: 220px;
	background: #fff; border: 1px solid rgba(20,20,20,.12); border-radius: 12px; overflow: hidden;
	box-shadow: 0 8px 20px rgba(0,0,0,.12);
}
html.nb-dk .nbc-menu-list { background: #2c2c2e; border-color: rgba(240,240,240,.12); }
.nbc-menu-list a, .nbc-menu-list button {
	display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 14px; width: 100%;
	border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; font-family: inherit;
}
.nbc-menu-list .is-danger { color: #dc2626; }
html.nb-dk .nbc-menu-list .is-danger { color: #f87171; }

.nbc-sel {
	font-family: inherit; font-size: 14px; height: 38px; padding: 0 12px; border-radius: 8px;
	border: 1px solid #d1d5db; background: #fff; color: inherit; width: 200px; appearance: none;
}
html.nb-dk .nbc-sel { background: #2a2a2e; border-color: #3f3f46; color: #f3f4f6; }
.nbc-check input, .nbc-check-all input { width: 18px; height: 18px; accent-color: #2563eb; }

.nbc-bar {
	position: sticky; bottom: 0; background: #fff; border-top: 1px solid rgba(20,20,20,.12);
	padding: 10px 16px 14px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; z-index: 5;
}
html.nb-dk .nbc-bar { background: #2c2c2e; border-color: rgba(240,240,240,.12); }
.nbc-bar[hidden] { display: none !important; }
.nbc-bar-n { flex: 1 1 120px; font-size: 14px; font-weight: 600; }

.nbc-firm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.nbc-firm { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid rgba(20,20,20,.12); border-radius: 12px; padding: 12px; }
html.nb-dk .nbc-firm { background: #2c2c2e; border-color: rgba(240,240,240,.12); }
.nbc-firm-logo { width: 72px; height: 72px; border-radius: 8px; background: #e8e8e8; color: #a1a1a6; overflow: hidden; display: flex; align-items: center; justify-content: center; position: relative; flex: 0 0 auto; }
html.nb-dk .nbc-firm-logo { background: #3a3a3c; }
.nbc-firm-logo .nbc-tag { position: absolute; left: 4px; bottom: 4px; }
.nbc-firm-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.nbc-firm-name { font-size: 14px; font-weight: 700; }
.nbc-firm-txt .nbc-btn { margin-top: 8px; align-self: flex-start; }
.nbc-firm-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.nbc-pager { padding: 16px 0 0; text-align: center; }
.nbc-toast {
	position: fixed; left: 12px; right: 12px; bottom: 14px; z-index: 30; max-width: 560px; margin: 0 auto;
	background: #1a1a1a; color: #fff; border-radius: 12px; padding: 10px 14px; font-size: 13px;
	display: flex; gap: 10px; align-items: center;
}

@media (max-width: 1105px) {
	html.nbc-on .fix { padding-left: 0; padding-right: 0; }
	.nbc-root { padding: 20px 16px 56px; }
	.nbc-tabs { display: none; }
	.nbc-tabs-m { display: flex; }
	.nbc-notices { display: block; }
	.nbc-side { display: none; }
	.nbc-top { display: block; }
	.nbc-bal-wide { max-width: 420px; margin-bottom: 14px; }
	.nbc-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
	.nbc-chips { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
	.nbc-list-h .nbc-list-legend { display: none; }
}

@media (min-width: 720px) and (max-width: 1105px) {
	.nbc-row { display: block; position: relative; padding: 14px 16px 14px 48px; }
	.nbc-row > .nbc-check { position: absolute; left: 16px; top: 30px; display: block; }
	.nbc-row-main { width: 100%; }
	.nbc-row-cd, .nbc-row-act {
		display: flex; align-items: center; margin-top: 12px; padding-top: 10px;
		border-top: 1px dashed rgba(20,20,20,.12);
	}
	html.nb-dk .nbc-row-cd, html.nb-dk .nbc-row-act { border-color: rgba(240,240,240,.12); }
	.nbc-row-cd { float: left; border-top: 0; padding-top: 0; }
	.nbc-row-act { float: right; border-top: 0; padding-top: 0; margin-top: 12px; }
	.nbc-row::after { content: ""; display: block; clear: both; border-top: 1px dashed rgba(20,20,20,.12); margin-top: 12px; }
}

@media (max-width: 719px) {
	.nbc-root { padding: 20px 16px 56px; }
	.nbc-tabs { display: none; }
	.nbc-tabs-m { display: flex; }
	.nbc-notices { display: block; }
	.nbc-side { display: none; }
	.nbc-top { display: block; }
	.nbc-banner-desk { display: none; }
	.nbc-banner-mob { display: inline-flex; }
	.nbc-filters { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 14px; }
	.nbc-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 0; padding: 0; }
	.nbc-chips .nbc-chip { flex: 1 1 auto; justify-content: center; }
	.nbc-sel { width: 100%; margin: 0; }
	.nbc-list-card { background: transparent; border: 0; }
	.nbc-list-h, .nbc-check, .nbc-check-all, .nbc-bar, .nbc-row-main, .nbc-row-cd, .nbc-row-act { display: none !important; }
	.nbc-row { display: contents; border: 0; padding: 0; }
	.nbc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(20,20,20,.12); border-radius: 12px; overflow: visible; }
	html.nb-dk .nbc-card { background: #2c2c2e; border-color: rgba(240,240,240,.12); }
	.nbc-list-card { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
	.nbc-list-card .nbc-empty { grid-column: 1 / -1; }
	.nbc-pager { grid-column: 1 / -1; }
	.nbc-card-ph { position: relative; aspect-ratio: 4 / 3; border-radius: 12px 12px 0 0; background: #e8e8e8; color: #a1a1a6; overflow: visible; }
	html.nb-dk .nbc-card-ph { background: #3a3a3c; }
	.nbc-card-ph > a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 12px 12px 0 0; overflow: hidden; }
	.nbc-card .nbc-menu-list { min-width: 200px; }
	.nbc-badge { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; }
	.nbc-badge.is-warn { background: #dc2626; }
	.nbc-menu-round { position: absolute; right: 8px; top: 8px; }
	.nbc-tag-ph { position: absolute; left: 8px; bottom: 8px; }
	.nbc-card-b { padding: 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
	.nbc-card-b .nbc-title { font-size: 14px; min-height: 36px; }
	.nbc-card-b .nbc-btn { margin-top: 8px; }
	.nbc-firm-grid { grid-template-columns: 1fr; gap: 10px; }
	.nbc-favs .nb-feed-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
}
