/* «Ночной страж» — только #nightGuardianView, его окно и класс body.night-guardian-page. Шрифт — штатный сайта (inherit), оранжевый #ff7200,
   тонкие бронзовые рамки 1px — как в кабинете (home/account/account.css). Лента дропов остаётся.
   — agent: coder, model: sonnet */
.ng { --ng-panel: rgba(12, 17, 22, .94); --ng-card: #14191f; --ng-txt: #f3efe5; --ng-sub: #b7b6b3; --ng-or: #ff7200; --ng-line: rgba(160, 119, 76, .58); --ng-sep: rgba(158, 126, 87, .26);
  color: var(--ng-txt); padding: 18px 0 48px; background: linear-gradient(#0a0d12, #07090c); }
.ng *, .ng *::before, .ng *::after { box-sizing: border-box; }
.ng svg:not(.ng-art) { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ng button { font: inherit; cursor: pointer; color: inherit; }
.ng-wrap { width: min(1376px, calc(100% - 64px)); margin: 0 auto; }
.ng :focus-visible, .ng-dlg :focus-visible { outline: 2px solid var(--ng-or); outline-offset: 2px; }
.ng-muted { color: var(--ng-sub); font-size: 13px; line-height: 1.45; }
.ng-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* шапка страницы */
.ng-head { position: relative; padding-bottom: 14px; }
.ng-crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--ng-sub); }
.ng-crumbs a { color: #e6b27c; text-decoration: none; }
.ng-tools { position: absolute; top: 0; right: 0; display: flex; gap: 10px; }
.ng-tool { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 10px; background: transparent; border: 0; border-radius: 6px; font-size: 14px; }
.ng-tool--icon { width: 34px; padding: 0; justify-content: center; }
.ng-tool:hover { background: rgba(255, 255, 255, .06); }
.ng-title { margin: 14px 0 2px; font-size: 34px; line-height: 1.1; font-weight: 800; letter-spacing: .02em; }
.ng-sub { margin: 0; color: var(--ng-sub); font-size: 16px; }
.ng-link { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 4px 0; color: var(--ng-txt); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.ng-link svg { width: 14px; height: 14px; }
.ng-link--cond { position: absolute; right: 0; bottom: 18px; }
/* сцена */
.ng-view { position: relative; overflow: hidden; border: 1px solid var(--ng-line); border-radius: 10px; aspect-ratio: 2 / 1; background: #0a0d12; }
.ng-view--skel { background: linear-gradient(100deg, #10141a 30%, #181e26 50%, #10141a 70%) 0 0 / 200% 100%; animation: ngSk 1.4s linear infinite; }
@keyframes ngSk { to { background-position: -200% 0; } }
.ng-stage { position: relative; width: 100%; height: 100%; }
.ng-bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; user-select: none; }
.ng-slot { position: absolute; left: calc(var(--x) - 8.7%); width: 17.4%; top: 20%; height: 70%; }
.ng-hit { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; border: 0; border-radius: 10px; z-index: 2; }
.ng-hit:hover { background: rgba(255, 255, 255, .025); }
.ng-hit:focus-visible { outline-offset: -3px; }
.ng-fig { position: absolute; background-repeat: no-repeat; pointer-events: none; z-index: 1; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .55)); }
.ng-plate { position: absolute; left: 50%; top: 82%; transform: translateX(-50%); z-index: 3; pointer-events: none; padding: 5px 12px; font-size: clamp(9px, 1vw, 14px); white-space: nowrap; background: rgba(12, 14, 18, .88); border: 1px solid var(--ng-line); border-radius: 5px; }
.ng-slot.is-sel .ng-plate { border-color: var(--ng-or); }
.ng-slot.is-sel::before { content: ""; position: absolute; left: 4%; right: 4%; top: 73%; height: 16%; border-radius: 50%; pointer-events: none; box-shadow: 0 0 26px 4px rgba(255, 114, 0, .3), inset 0 0 18px rgba(255, 114, 0, .16); }
.ng-plus { position: absolute; left: 50%; top: 14%; transform: translateX(-50%); width: clamp(34px, 4vw, 56px); height: clamp(34px, 4vw, 56px); border: 1px solid var(--ng-line); border-radius: 50%; display: grid; place-items: center; color: #e6b27c; z-index: 3; pointer-events: none; background: rgba(12, 14, 18, .55); }
.ng-plus svg { width: 55%; height: 55%; }
.ng-free { position: absolute; left: 0; right: 0; top: 33%; text-align: center; font-size: clamp(10px, 1.05vw, 15px); color: var(--ng-txt); pointer-events: none; z-index: 3; }
.ng-fund { position: absolute; left: 50%; top: 82%; transform: translateX(-50%); z-index: 4; height: clamp(24px, 2.4vw, 32px); padding: 0 clamp(10px, 1.4vw, 20px); border: 0; border-radius: 5px; background: var(--ng-or); color: #1a1008; font-weight: 700; font-size: clamp(10px, 1vw, 14px); }
.ng-count { position: absolute; top: 12px; right: 14px; z-index: 5; padding: 6px 14px; font-size: 13px; background: rgba(12, 14, 18, .88); border: 1px solid var(--ng-line); border-radius: 6px; }
.ng-flight { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.ng-fl { position: absolute; background-repeat: no-repeat; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .5)); }
.ng-skip { position: absolute; right: 14px; bottom: 14px; pointer-events: auto; height: 34px; padding: 0 16px; border-radius: 6px; border: 1px solid var(--ng-line); background: rgba(12, 14, 18, .9); }
.ng-picks { display: none; }
.ng-full { margin: 10px 0 0; padding: 8px 12px; font-size: 13px; color: #ffd9b3; border: 1px solid rgba(255, 114, 0, .45); border-radius: 6px; background: rgba(255, 114, 0, .07); }
/* панель выбранного стража */
.ng-panel { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(300px, 1.5fr) minmax(220px, 280px); gap: 28px; align-items: center; margin-top: 14px; padding: 18px 22px; background: var(--ng-panel); border: 1px solid var(--ng-line); border-radius: 10px; }
.ng-panel h2 { margin: 0 0 6px; font-size: 21px; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.ng-state { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ng-sub); }
.ng-state i { width: 8px; height: 8px; border-radius: 50%; background: #8a8f98; flex: none; }
.ng-state.is-ready { color: #7be08a; } .ng-state.is-ready i { background: #3fd25a; }
.ng-lvl { font-size: 20px; font-weight: 800; color: #ffb066; }
.ng-xprow { display: flex; justify-content: space-between; gap: 12px; margin: 4px 0 8px; font-size: 14px; flex-wrap: wrap; }
.ng-xprow span:last-child { color: var(--ng-sub); }
.ng-bar { height: 8px; border-radius: 4px; background: #262b33; overflow: hidden; }
.ng-bar i { display: block; height: 100%; background: linear-gradient(90deg, #ff7200, #ffa04d); border-radius: 4px; }
.ng-p-xp small { display: block; margin-top: 8px; text-align: center; color: var(--ng-sub); font-size: 12px; }
.ng-p-act { display: grid; gap: 10px; }
.ng-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: 6px; border: 1px solid var(--ng-sep); background: #161b21; font-size: 14px; font-weight: 600; }
.ng-btn:hover:not(:disabled) { border-color: var(--ng-line); }
.ng-btn--or { background: var(--ng-or); border-color: var(--ng-or); color: #1a1008; font-weight: 700; }
.ng-btn:disabled { opacity: .5; cursor: not-allowed; }
.ng-btn--wide { min-width: 300px; border-color: var(--ng-line); background: transparent; }
.ng-panel--empty { grid-template-columns: 1fr minmax(240px, 320px); }
/* секции */
.ng-sec { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--ng-sep); }
.ng-sec-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.ng-sec-head h2 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: .01em; }
.ng-filters { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.ng-chip { height: 32px; padding: 0 14px; border-radius: 5px; border: 1px solid var(--ng-sep); background: #141a20; font-size: 13px; }
.ng-chip.is-on { border-color: var(--ng-or); color: #ffb066; background: rgba(255, 114, 0, .1); }
.ng-empty { padding: 34px 18px; text-align: center; border: 1px dashed var(--ng-sep); border-radius: 8px; color: var(--ng-sub); }
.ng-empty b { display: block; color: var(--ng-txt); font-size: 16px; margin-bottom: 4px; }
.ng-empty p { margin: 0 0 12px; font-size: 13px; }
.ng-skel { animation: ngPulse 1.2s ease-in-out infinite; }
@keyframes ngPulse { 50% { opacity: .5; } }
.ng-cards { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.ng-card { flex: 0 0 calc((100% - 36px) / 4); min-width: 230px; padding: 12px 14px; background: linear-gradient(160deg, #1b1520, #12161c); border: 1px solid var(--ng-sep); border-radius: 8px; display: flex; flex-direction: column; }
.ng-card h3 { margin: 0; font-size: 14px; font-weight: 700; }
.ng-card small { color: var(--ng-sub); font-size: 11px; }
.ng-art { display: block; object-fit: contain; }
.ng-card-art { width: 100%; height: 110px; margin: 4px 0; }
.ng-art--none { background: #1b2027; border-radius: 6px; }
.ng-card-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; }
.ng-card-foot > span { display: grid; min-width: 0; font-size: 12px; } .ng-card-foot em { font-style: normal; color: var(--ng-sub); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ng-price { margin-left: auto; font-size: 13px; white-space: nowrap; }
.ng-ava { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--ng-line); object-fit: cover; flex: none; display: grid; place-items: center; overflow: hidden; background: #1b2027; }
.ng-crop { display: block; background-repeat: no-repeat; flex: none; }
/* как это работает */
.ng-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ng-steps li { display: grid; justify-items: center; text-align: center; gap: 4px; position: relative; }
.ng-steps li:not(:last-child)::after { content: "›"; position: absolute; right: -14px; top: 38px; color: var(--ng-sub); font-size: 22px; }
.ng-step-art { height: 96px; display: flex; align-items: flex-end; justify-content: center; }
.ng-steps b { font-size: 18px; } .ng-steps li > span:last-child { color: var(--ng-sub); font-size: 13px; }
/* рейтинг */
.ng-podium { display: flex; align-items: flex-end; justify-content: center; gap: 0; padding: 18px 12px 0; background: radial-gradient(ellipse at 50% 100%, rgba(255, 114, 0, .12), transparent 70%), #0c1015; border: 1px solid var(--ng-sep); border-radius: 10px 10px 0 0; }
.ng-pod { display: grid; justify-items: center; width: min(33%, 300px); }
.ng-pod-fig { margin-bottom: -8px; z-index: 1; }
.ng-pod-base { width: 100%; text-align: center; padding: 12px 8px; background: linear-gradient(#1b1d22, #121418); border: 1px solid var(--ng-line); display: grid; gap: 2px; justify-items: center; }
.ng-pod--1 .ng-pod-base { padding-top: 22px; padding-bottom: 22px; } .ng-pod--3 .ng-pod-base { padding-bottom: 6px; }
.ng-pod-base small { color: var(--ng-sub); font-size: 12px; } .ng-pod-base em { font-style: normal; font-size: 13px; }
.ng-pod-base b { font-size: 17px; overflow-wrap: anywhere; }
.ng-medal { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #c79a5a; display: grid; place-items: center; font-weight: 800; color: #e6b27c; }
.ng-table-wrap { overflow-x: auto; margin-top: 10px; }
.ng-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.ng-table th { text-align: left; padding: 10px 12px; color: var(--ng-sub); font-weight: 600; background: #14181e; }
.ng-table td { padding: 8px 12px; border-bottom: 1px solid var(--ng-sep); }
.ng-tr-g { display: inline-flex; align-items: center; gap: 12px; min-height: 40px; }
.ng-more { display: flex; justify-content: center; margin-top: 18px; }
.ng-foot { display: flex; justify-content: center; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--ng-sep); }
/* окна */
.ng-dlg { width: min(640px, calc(100vw - 28px)); max-height: calc(100dvh - 28px); overflow: auto; padding: 24px 26px; border-radius: 10px; border: 1px solid var(--ng-line, rgba(160, 119, 76, .58)); background: #10151a; color: #f3efe5; }
.ng-dlg::backdrop { background: rgba(3, 6, 10, .72); }
.ng-dlg--sm { width: min(480px, calc(100vw - 28px)); } .ng-dlg--md { width: min(720px, calc(100vw - 28px)); } .ng-dlg--lg { width: min(860px, calc(100vw - 28px)); }
.ng-dlg h2 { margin: 0 0 12px; font-size: 20px; font-weight: 700; padding-right: 36px; }
.ng-dlg-x { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 6px; border: 1px solid rgba(158, 126, 87, .26); background: none; color: inherit; cursor: pointer; }
.ng-dlg svg:not(.ng-art) { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.ng-dlg .ng-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 16px; border-radius: 6px; border: 1px solid rgba(158, 126, 87, .26); background: #161b21; color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.ng-dlg .ng-btn--or { background: #ff7200; border-color: #ff7200; color: #1a1008; font-weight: 700; }
.ng-dlg .ng-muted { color: #b7b6b3; font-size: 13px; line-height: 1.45; }
.ng-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.ng-warn { margin: 0 0 12px; padding: 10px 12px; font-size: 13px; line-height: 1.45; color: #ffd9b3; border: 1px solid rgba(255, 114, 0, .45); border-radius: 6px; background: rgba(255, 114, 0, .07); }
.ng-rules { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 13.5px; line-height: 1.5; color: #d8d4cb; }
.ng-t2 { width: 100%; border-collapse: collapse; font-size: 13px; margin: 8px 0; }
.ng-t2 th { text-align: left; color: #b7b6b3; font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--ng-sep, rgba(158, 126, 87, .26)); }
.ng-t2 td { padding: 6px 8px; border-bottom: 1px solid rgba(158, 126, 87, .16); vertical-align: middle; }
.ng-src { margin: 8px 0; } .ng-src summary { cursor: pointer; font-size: 13px; color: #d8d4cb; }
.ng-loot { max-height: min(54vh, 460px); overflow: auto; }
.ng-loot-n { display: flex; align-items: center; gap: 10px; } .ng-loot-art { width: 64px; height: 48px; flex: none; }
.ng-kicker { margin: 0 0 4px; font-size: 11px; letter-spacing: .12em; color: #e6b27c; }
.ng-res-art { display: grid; place-items: center; padding: 10px; margin: 6px 0; border: 1px solid rgba(158, 126, 87, .26); border-radius: 8px; background: radial-gradient(ellipse at 50% 60%, rgba(255, 114, 0, .14), transparent 70%), #12171c; }
.ng-res { width: 100%; max-width: 320px; height: 190px; }
.ng-res-meta { margin: 6px 0; font-size: 15px; }
/* адаптив */
@media (max-width: 900px) { .ng-panel { grid-template-columns: 1fr; gap: 14px; } .ng-panel--empty { grid-template-columns: 1fr; } .ng-p-act { grid-template-columns: 1fr 1fr; }
  .ng-steps { grid-template-columns: repeat(2, 1fr); } .ng-steps li:not(:last-child)::after { display: none; } .ng-link--cond { position: static; margin-top: 6px; } }
@media (max-width: 700px) {
  .ng-wrap { width: calc(100% - 28px); } .ng-title { font-size: 26px; } .ng-tools { top: -4px; }
  .ng-view { aspect-ratio: 1 / 1.02; }
  .ng-stage { width: 250%; height: auto; aspect-ratio: 2 / 1; transform: translate(clamp(-60%, calc(20% - var(--sx) * 100%), 0%), -6%); transition: transform .35s ease; }
  .ng-picks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 10px; }
  .ng-pick { min-height: 54px; display: grid; place-items: center; gap: 2px; padding: 4px; border-radius: 6px; border: 1px solid var(--ng-sep); background: #141a20; }
  .ng-pick.is-sel { border-color: var(--ng-or); } .ng-pick b { font-size: 20px; color: #e6b27c; } .ng-pick small { font-size: 10px; color: var(--ng-sub); }
  .ng-count { top: 8px; right: 8px; }
  .ng-card { flex-basis: 78%; } .ng-filters { margin-left: 0; width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .ng-sec-head h2 { font-size: 20px; } .ng-btn--wide { min-width: 0; width: 100%; } .ng-pod-fig .ng-crop { max-width: 100%; }
  .ng-plate { font-size: 12px; } .ng-free { font-size: 13px; } .ng-fund { height: 30px; font-size: 12px; } .ng-plus { width: 42px; height: 42px; }
  .ng-dlg { padding: 18px 16px; }
}
@media (prefers-reduced-motion: reduce) { .ng-stage, .ng-view--skel, .ng-skel { transition: none; animation: none; } }
/* 27.11.2026 (проверка main): на 390 px третья колонка подиума распирала страницу до 400 px — колонки сжимаются, фигура вписывается */
@media (max-width: 700px) {
  .ng-podium { padding: 18px 6px 0; }
  .ng-pod { flex: 1 1 0; min-width: 0; width: auto; }
  .ng-pod-fig { max-width: 100%; overflow: hidden; }
  .ng-pod-base b { font-size: 15px; }
}

/* ---- 27.11.2026 · UPSKINS_NIGHT_GUARDIAN_APPROVED_v1: единая каменная галерея и ровные бронзовые рамки (только страница ивента) ----
   Фон hall-bg.webp (сгенерирован по макету: стена, колонны с фонарями по краям, пол внизу) — cover без растяжения по одной оси, пол прижат к низу.
   Рамки — та же техника, что в home/upx-frames.css (кольцо clip-path на ::after, срез 10 px, линия 1,5 px), но локально для .ng.
   — agent: main, model: claude-opus-5-5 */
.ng { --ng-panel: rgba(11, 14, 19, .86); background: #0b0e13 url(assets/hall-bg.webp?v=1) center bottom / cover no-repeat; }
@media (min-width: 1100px) { .ng-wrap { width: min(1280px, calc(100% - 140px)); } }
.ng .ng-view, .ng .ng-panel, .ng .ng-empty, .ng .ng-steps, .ng .ng-podium {
  --upf-c: 10px; --upf-w: 1.5px; position: relative; border: 0 !important; border-radius: 0 !important;
  clip-path: polygon(var(--upf-c) 0, calc(100% - var(--upf-c)) 0, 100% var(--upf-c), 100% calc(100% - var(--upf-c)),
                     calc(100% - var(--upf-c)) 100%, var(--upf-c) 100%, 0 calc(100% - var(--upf-c)), 0 var(--upf-c)); }
.ng .ng-view::after, .ng .ng-panel::after, .ng .ng-empty::after, .ng .ng-steps::after, .ng .ng-podium::after {
  --k: calc(var(--upf-c) + var(--upf-w) * .4142);
  content: ""; position: absolute; inset: 0; z-index: 7; pointer-events: none; background: rgba(170, 124, 72, .9);
  clip-path: polygon(evenodd,
    var(--upf-c) 0, calc(100% - var(--upf-c)) 0, 100% var(--upf-c), 100% calc(100% - var(--upf-c)),
    calc(100% - var(--upf-c)) 100%, var(--upf-c) 100%, 0 calc(100% - var(--upf-c)), 0 var(--upf-c), var(--upf-c) 0,
    var(--k) var(--upf-w), calc(100% - var(--k)) var(--upf-w), calc(100% - var(--upf-w)) var(--k), calc(100% - var(--upf-w)) calc(100% - var(--k)),
    calc(100% - var(--k)) calc(100% - var(--upf-w)), var(--k) calc(100% - var(--upf-w)), var(--upf-w) calc(100% - var(--k)), var(--upf-w) var(--k), var(--k) var(--upf-w)); }
/* спокойные затемнённые поверхности панелей поверх камня */
.ng .ng-panel, .ng .ng-empty, .ng .ng-steps, .ng .ng-table-wrap { background: var(--ng-panel); backdrop-filter: blur(2px); }
.ng .ng-podium { background: radial-gradient(ellipse at 50% 100%, rgba(255, 114, 0, .12), transparent 70%), var(--ng-panel); }   /* ревью: отсвет подиума сохранён */
/* ревью: у блоков с горизонтальной прокруткой кольцо ::after уезжало бы вместе с содержимым — у них обычная тонкая бронзовая рамка; фокус — внутри */
.ng .ng-cards, .ng .ng-table-wrap { border: 1.5px solid rgba(170, 124, 72, .9); border-radius: 0; }
.ng .ng-cards:focus-visible, .ng .ng-table-wrap:focus-visible { outline-offset: -3px; }
.ng .ng-steps { padding: 20px 18px 18px; }
.ng .ng-cards { padding: 12px; background: rgba(11, 14, 19, .78); }
.ng .ng-steps li:not(:last-child)::after { content: "›"; color: #b9a27f; }
.ng .ng-sec { border-top-color: rgba(170, 124, 72, .35); }
.ng .ng-foot { border-top-color: rgba(170, 124, 72, .35); padding-bottom: 40px; }
@media (max-width: 700px) { .ng .ng-steps { padding: 16px 12px; } }

/* ---- 27.11.2026 · запрос владельца: ОДИН общий контейнер для «Свободное место / выбранный страж», «Крупные выигрыши», «Как это работает»,
   «Рейтинг стражей» (.ng-board-wrap). Заменяет прежние отдельные рамки нижних блоков. Галерея с пятью местами — отдельно, края совпадают (обе 100% .ng-wrap).
   Рамка — то же кольцо 1,5 px со срезом 10 px, что у галереи. Подложка — ТОЧНО как у кейсов главной (home/catalog-v17/styles/catalog-backdrop-v17.css,
   .case-card::before): linear-gradient(180deg, rgba(18,23,30,.24), rgba(12,16,22,.32)) + backdrop-filter blur(18px) saturate(1.4) brightness(1.12),
   без поддержки размытия — rgba(11,15,21,.80); слоем ::before, содержимое не затемняется (без opacity).
   Разделители секций — ТОЧНО как категории кейсов главной (home/catalog-v17/styles/catalog-groups-v1.css, .cat-divider): ромб 8×8 #ff7200 (повёрнут 45°),
   название 700 15px/1.2 #e9edf4 letter-spacing .01em, пояснение 600 12px #7f8da6, линия 1px rgba(184,134,74,.55), gap 10px, над заголовком 28px, под ним 12px.
   — agent: main, model: claude-opus-5-5 */
.ng .ng-board-wrap { --upf-c: 10px; --upf-w: 1.5px; position: relative; isolation: isolate; margin-top: 14px; padding: 18px 22px 24px;
  clip-path: polygon(var(--upf-c) 0, calc(100% - var(--upf-c)) 0, 100% var(--upf-c), 100% calc(100% - var(--upf-c)), calc(100% - var(--upf-c)) 100%, var(--upf-c) 100%, 0 calc(100% - var(--upf-c)), 0 var(--upf-c)); }
.ng .ng-board-wrap::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 23, 30, .24), rgba(12, 16, 22, .32));
  -webkit-backdrop-filter: blur(18px) saturate(1.4) brightness(1.12); backdrop-filter: blur(18px) saturate(1.4) brightness(1.12); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .ng .ng-board-wrap::before { background: rgba(11, 15, 21, .80); } }
.ng .ng-board-wrap::after { --k: calc(var(--upf-c) + var(--upf-w) * .4142);
  content: ""; position: absolute; inset: 0; z-index: 7; pointer-events: none; background: rgba(170, 124, 72, .9);
  clip-path: polygon(evenodd,
    var(--upf-c) 0, calc(100% - var(--upf-c)) 0, 100% var(--upf-c), 100% calc(100% - var(--upf-c)),
    calc(100% - var(--upf-c)) 100%, var(--upf-c) 100%, 0 calc(100% - var(--upf-c)), 0 var(--upf-c), var(--upf-c) 0,
    var(--k) var(--upf-w), calc(100% - var(--k)) var(--upf-w), calc(100% - var(--upf-w)) var(--k), calc(100% - var(--upf-w)) calc(100% - var(--k)),
    calc(100% - var(--k)) calc(100% - var(--upf-w)), var(--k) calc(100% - var(--upf-w)), var(--upf-w) calc(100% - var(--k)), var(--upf-w) var(--k), var(--k) var(--upf-w)); }
/* внутренние секции — без своих рамок, подложек и повторного затемнения */
.ng .ng-board-wrap .ng-panel, .ng .ng-board-wrap .ng-empty, .ng .ng-board-wrap .ng-steps, .ng .ng-board-wrap .ng-podium,
.ng .ng-board-wrap .ng-table-wrap, .ng .ng-board-wrap .ng-cards {
  clip-path: none; border: 0 !important; border-radius: 0 !important; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.ng .ng-board-wrap .ng-panel::after, .ng .ng-board-wrap .ng-empty::after, .ng .ng-board-wrap .ng-steps::after, .ng .ng-board-wrap .ng-podium::after { content: none; }
.ng .ng-board-wrap .ng-panel { margin-top: 0; padding: 0; }
.ng .ng-board-wrap .ng-empty { padding: 18px 12px 8px; }
.ng .ng-board-wrap .ng-steps { padding: 8px 0 0; }
.ng .ng-board-wrap .ng-cards { padding: 0 0 6px; }
.ng .ng-board-wrap .ng-podium { padding: 12px 12px 0; }
.ng .ng-board-wrap .ng-table th { background: transparent; border-bottom: 1px solid var(--ng-sep); }
/* секции и разделители как у категорий кейсов главной */
.ng .ng-board-wrap .ng-sec { margin-top: 28px; padding-top: 0; border-top: 0; }
.ng .ng-board-wrap .ng-sec-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; min-width: 0; }
.ng .ng-board-wrap .ng-div-mark { flex: none; width: 8px; height: 8px; background: var(--brand-orange, #ff7200); transform: rotate(45deg); }
.ng .ng-board-wrap .ng-sec-head h2 { flex: none; margin: 0; font-family: var(--font); font-weight: 700; font-size: 15px; line-height: 1.2; color: #e9edf4; letter-spacing: .01em; white-space: nowrap; text-transform: none; }
.ng .ng-board-wrap .ng-sec-head > .ng-muted { flex: none; font-family: var(--font); font-weight: 600; font-size: 12px; line-height: 1.2; color: #7f8da6; }
.ng .ng-board-wrap .ng-sec-head::after { content: ""; order: 5; flex: 1 1 40px; min-width: 24px; height: 1px; background: rgba(184, 134, 74, .55); }
.ng .ng-board-wrap .ng-sec-head .ng-filters { order: 6; margin-left: 0; }
.ng .ng-foot { border-top: 0; }
@media (max-width: 700px) {
  .ng .ng-board-wrap { padding: 16px 12px 18px; }
  .ng .ng-board-wrap .ng-sec-head .ng-filters { order: 7; width: 100%; }
  .ng .ng-board-wrap .ng-sec-head h2 { font-size: 15px; }
}
