/* NB PROJECT — страница розыгрышей (raffles.php). Самодостаточные стили, префикс nbr-. */
.nbr-page { --nbr-line: rgba(255,255,255,.09); --nbr-line-strong: rgba(255,255,255,.16); --nbr-soft: rgba(255,255,255,.035); --nbr-soft-2: rgba(255,255,255,.06); width: 100%; color: var(--text); }
.nbr-page *, .nbr-page *::before, .nbr-page *::after { box-sizing: border-box; }
.nbr-page a { color: inherit; text-decoration: none; }
.nbr-page h1, .nbr-page h2, .nbr-page h3, .nbr-page p { margin: 0; }
.nbr-page [hidden] { display: none !important; }

/* ---------- Заголовок списка ---------- */
.nbr-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 24px; }
.nbr-head__copy { min-width: 0; max-width: 560px; }
.nbr-kicker { margin-bottom: 8px; color: var(--text-muted); font-size: .68rem; font-weight: 800; letter-spacing: .18em; }
.nbr-title { color: #fff; font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.nbr-lead { margin-top: 10px !important; color: var(--text-muted); font-size: .92rem; line-height: 1.65; }
.nbr-summary { display: grid; grid-template-columns: repeat(3, minmax(92px, auto)); border: 1px solid var(--border); border-radius: 12px; background: var(--bg-card); overflow: hidden; }
.nbr-summary > div { display: flex; flex-direction: column; gap: 3px; padding: 12px 18px; }
.nbr-summary > div + div { border-left: 1px solid var(--border); }
.nbr-summary strong { color: #fff; font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.2; }
.nbr-summary span { color: var(--text-muted); font-size: .72rem; }

/* ---------- Фильтры ---------- */
.nbr-toolbar { display: flex; margin-bottom: 18px; }
.nbr-tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--border); border-radius: 11px; background: var(--bg-card); }
.nbr-tab { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 14px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--text-muted); cursor: pointer; font: inherit; font-size: .8rem; font-weight: 700; transition: color .15s, background .15s, border-color .15s; }
.nbr-tab:hover { color: #fff; }
.nbr-tab.is-active { border-color: var(--nbr-line-strong); background: var(--nbr-soft-2); color: #fff; }
.nbr-tab span { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 6px; background: rgba(255,255,255,.08); font-size: .68rem; }

/* ---------- Алерты ---------- */
.nbr-alert { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 18px; padding: 13px 15px; border: 1px solid var(--border); border-radius: 10px; font-size: .86rem; line-height: 1.5; }
.nbr-alert i { margin-top: 2px; }
.nbr-alert--error { border-color: rgba(255,82,82,.35); background: rgba(255,82,82,.07); color: #ffb0b0; }
.nbr-alert--ok { border-color: rgba(120,210,150,.3); background: rgba(80,190,120,.07); color: #a9e6bf; }

/* ---------- Кнопки ---------- */
.nbr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 40px; padding: 0 16px; border: 1px solid var(--nbr-line-strong); border-radius: 9px; background: transparent; color: #fff; cursor: pointer; font: inherit; font-size: .82rem; font-weight: 750; line-height: 1; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.nbr-btn i { font-size: .72rem; }
.nbr-btn:hover { border-color: rgba(255,255,255,.4); background: var(--nbr-soft-2); }
.nbr-btn--primary { border-color: #fff; background: #fff; color: #111 !important; }
.nbr-btn--primary:hover { border-color: #e8e8e8; background: #e8e8e8; }
.nbr-btn--block { width: 100%; margin-top: 14px; }
.nbr-btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Обложка и статусы ---------- */
.nbr-cover { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; min-height: 76px; padding: 14px 16px; overflow: hidden; border-bottom: 1px solid var(--border); background: radial-gradient(ellipse at 85% 30%, rgba(255,255,255,.06), transparent 55%), linear-gradient(115deg, #181818, #0e0e0e 70%); }
.nbr-cover::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 80%); mask-image: linear-gradient(90deg, transparent, #000 80%); pointer-events: none; }
.nbr-cover > * { position: relative; }
.nbr-cover__id { color: #6d6d6d; font-size: .62rem; font-weight: 800; letter-spacing: .14em; white-space: nowrap; }
.nbr-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid var(--nbr-line-strong); border-radius: 99px; background: rgba(0,0,0,.35); color: #d8d8d8; font-size: .68rem; font-weight: 800; line-height: 1.2; }
.nbr-chip__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.nbr-chip--active { border-color: rgba(120,210,150,.3); color: #9be2b4; }
.nbr-chip--active .nbr-chip__dot { box-shadow: 0 0 8px currentColor; animation: nbrPulse 2s ease-in-out infinite; }
.nbr-chip--upcoming { color: #b6cdea; }
.nbr-chip--drawing { color: #e4cf9b; }
.nbr-chip--completed { color: #a2a2a2; }
@keyframes nbrPulse { 50% { opacity: .4; } }

/* ---------- Сетка и карточка списка ---------- */
.nbr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.nbr-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-card); scroll-margin-top: 90px; transition: border-color .18s, transform .18s, box-shadow .18s; }
.nbr-card:hover { border-color: var(--nbr-line-strong); transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0,0,0,.3); }
.nbr-card:target { border-color: rgba(255,255,255,.4); }
.nbr-card__body { display: flex; flex: 1; flex-direction: column; gap: 16px; padding: 18px; }
.nbr-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.nbr-card__title { min-width: 0; color: #fff; font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.3; overflow-wrap: anywhere; }
.nbr-card__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.nbr-card__num { flex-shrink: 0; color: #5f5f5f; font-size: .78rem; font-weight: 800; }
.nbr-card__text { display: -webkit-box; margin-top: -6px !important; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--text-muted); font-size: .84rem; line-height: 1.6; }
.nbr-card__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); }
.nbr-card__meta > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nbr-card__meta small { color: var(--text-muted); font-size: .7rem; }
.nbr-card__meta small i { margin-right: 4px; font-size: .68rem; }
.nbr-card__meta strong { color: #f1f1f1; font-size: .86rem; font-variant-numeric: tabular-nums; }
.nbr-card__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Призы ---------- */
.nbr-prizes { display: flex; flex-direction: column; gap: 8px; }
.nbr-prize { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--nbr-soft); }
.nbr-prize--first { border-color: var(--nbr-line-strong); background: linear-gradient(90deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); }
.nbr-prize__place { display: grid; flex: 0 0 26px; width: 26px; height: 26px; place-items: center; border-radius: 7px; background: rgba(255,255,255,.08); color: #ddd; font-size: .74rem; font-weight: 800; }
.nbr-prize--first .nbr-prize__place { background: #fff; color: #111; }
.nbr-prize__icon { display: grid; flex: 0 0 32px; width: 32px; height: 32px; place-items: center; border-radius: 9px; background: rgba(255,255,255,.06); color: #d6d6d6; font-size: .85rem; }
.nbr-prize__info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.nbr-prize__info strong { font-size: .88rem; line-height: 1.35; overflow-wrap: anywhere; }
.nbr-prize__info small { color: var(--text-muted); font-size: .72rem; line-height: 1.4; }
.nbr-prizes--compact { gap: 6px; }
.nbr-prizes--compact .nbr-prize { padding: 8px 10px; }
.nbr-prizes__more { padding: 2px 4px; color: var(--text-muted); font-size: .76rem; }

/* ---------- Бейджи ---------- */
.nbr-badge { display: inline-flex; align-items: center; gap: 7px; color: #cfcfcf; font-size: .76rem; font-weight: 700; }
.nbr-badge--ok { color: #9be2b4; }
.nbr-badge--win { color: #ffe08a; }
.nbr-badge--muted { color: var(--text-muted); }

/* ---------- Пустые состояния ---------- */
.nbr-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 52px 20px; border: 1px dashed var(--nbr-line-strong); border-radius: 14px; background: var(--nbr-soft); text-align: center; }
.nbr-empty--filter { margin-top: 18px; }
.nbr-empty__icon { display: grid; width: 54px; height: 54px; place-items: center; border: 1px solid var(--nbr-line-strong); border-radius: 15px; background: var(--nbr-soft-2); color: #ddd; font-size: 1.2rem; }
.nbr-empty h3 { color: #fff; font-size: 1.15rem; }
.nbr-empty p { margin-bottom: 8px !important; color: var(--text-muted); font-size: .86rem; }

/* ---------- Детальная страница ---------- */
.nbr-back { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; color: var(--text-muted) !important; font-size: .84rem; font-weight: 700; transition: color .15s; }
.nbr-back:hover { color: #fff !important; }
.nbr-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 20px; }
.nbr-detail__main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.nbr-detail__side { position: sticky; top: 84px; min-width: 0; }
.nbr-panel { min-width: 0; padding: 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-card); }
.nbr-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.nbr-panel__head h2 { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 1.02rem; font-weight: 800; }
.nbr-panel__head h2 i { color: var(--text-muted); font-size: .88rem; }
.nbr-panel__head > span { color: var(--text-muted); font-size: .78rem; }
.nbr-panel__head p { margin-top: 5px !important; color: var(--text-muted); font-size: .8rem; font-weight: 400; }
.nbr-hero { padding: 0; overflow: hidden; }
.nbr-hero .nbr-cover { min-height: 64px; }
.nbr-hero__body { padding: 22px 22px 22px; }
.nbr-hero__title { color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.15; overflow-wrap: anywhere; }
.nbr-hero__text { margin-top: 12px !important; color: #b0b0b0; font-size: .92rem; line-height: 1.7; overflow-wrap: anywhere; }
.nbr-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.nbr-fact { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 15px 16px; border: 1px solid var(--border); border-radius: 11px; background: var(--nbr-soft); }
.nbr-fact--wide { grid-column: 1 / -1; }
.nbr-fact small { color: var(--text-muted); font-size: .74rem; }
.nbr-fact strong { color: #fff; font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.25; overflow-wrap: anywhere; }
.nbr-fact--wide strong { font-size: 2rem; letter-spacing: -.02em; }
.nbr-fact strong.nbr-fact__text { font-size: 1.15rem; letter-spacing: 0; }
.nbr-fact span { color: var(--text-muted); font-size: .74rem; line-height: 1.45; }

/* ---------- Победители ---------- */
.nbr-winners { display: flex; flex-direction: column; }
.nbr-winner { display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: .86rem; }
.nbr-winner:first-child { padding-top: 0; }
.nbr-winner:last-child { padding-bottom: 0; border-bottom: 0; }
.nbr-winner__place { color: #fff; font-weight: 800; }
.nbr-winner__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.nbr-winner__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.nbr-winner__prize { color: var(--text-muted); text-align: right; }

/* ---------- Блок участия ---------- */
.nbr-note { display: flex; flex-direction: column; gap: 6px; padding: 14px 15px; border: 1px solid var(--border); border-radius: 11px; background: var(--nbr-soft); }
.nbr-note strong { display: flex; align-items: center; gap: 8px; color: #fff; font-size: .92rem; }
.nbr-note span { color: var(--text-muted); font-size: .82rem; line-height: 1.55; }
.nbr-note--ok { border-color: rgba(120,210,150,.25); background: rgba(80,190,120,.06); }
.nbr-note--ok strong i { color: #9be2b4; }
.nbr-form { display: flex; flex-direction: column; gap: 10px; }
.nbr-form label { color: var(--text-muted); font-size: .78rem; font-weight: 600; }
.nbr-form input, .nbr-form select { width: 100%; min-height: 42px; padding: 0 12px; border: 1px solid var(--border); border-radius: 9px; background: var(--bg-input); color: var(--text); font: inherit; font-size: .86rem; outline: none; transition: border-color .15s, box-shadow .15s; }
.nbr-form input:focus, .nbr-form select:focus { border-color: rgba(255,255,255,.4); box-shadow: 0 0 0 3px rgba(255,255,255,.05); }
.nbr-form .nbr-btn { width: 100%; margin-top: 4px; }
.nbr-form__note { color: var(--text-muted); font-size: .82rem; line-height: 1.55; }
.nbr-form__note strong { color: #fff; overflow-wrap: anywhere; }
.nbr-form__note--error { color: #ffb0b0; }
.nbr-meta { display: flex; flex-direction: column; gap: 12px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--border); }
.nbr-meta > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nbr-meta dt { color: var(--text-muted); font-size: .78rem; }
.nbr-meta dt i { width: 15px; margin-right: 4px; text-align: center; }
.nbr-meta dd { margin: 0; color: #f1f1f1; font-size: .82rem; font-weight: 700; text-align: right; }

/* ---------- Участники ---------- */
.nbr-people { margin-top: 20px; scroll-margin-top: 90px; }
.nbr-count { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border: 1px solid var(--border); border-radius: 9px; color: #fff !important; font-size: .85rem !important; font-weight: 800; }
.nbr-people__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
.nbr-person { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; transition: border-color .15s, background .15s; }
.nbr-person:hover { border-color: var(--nbr-line-strong); background: var(--nbr-soft); }
.nbr-person__avatar { display: grid; flex: 0 0 36px; width: 36px; height: 36px; place-items: center; border: 1px solid var(--border); border-radius: 10px; background: var(--nbr-soft-2); color: #fff; font-size: .88rem; font-weight: 800; }
.nbr-person__main { display: flex; flex: 1; flex-direction: column; gap: 3px; min-width: 0; }
.nbr-person__main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; font-size: .86rem; }
.nbr-person__main small { color: var(--text-muted); font-size: .7rem; }
.nbr-person__arrow { color: #5f5f5f; font-size: .72rem; }
.nbr-person__win { display: inline-flex; align-items: center; gap: 5px; color: #ffe08a; font-size: .76rem; font-weight: 800; }
.nbr-people__empty { padding: 28px 14px; border: 1px dashed var(--nbr-line-strong); border-radius: 10px; color: var(--text-muted); font-size: .86rem; text-align: center; }
.nbr-pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); font-size: .8rem; }
.nbr-pager a { color: #fff; font-weight: 700; }
.nbr-pager a:hover { text-decoration: underline; }
.nbr-pager span { color: var(--text-muted); }
.nbr-pager .is-off { opacity: .4; }

/* ---------- Адаптив ---------- */
@media (max-width: 900px) {
    .nbr-detail { grid-template-columns: minmax(0, 1fr); }
    .nbr-detail__side { position: static; order: -1; }
}
@media (max-width: 640px) {
    .nbr-head { align-items: stretch; }
    .nbr-summary { width: 100%; grid-template-columns: repeat(3, 1fr); }
    .nbr-summary > div { padding: 11px 12px; }
    .nbr-grid { grid-template-columns: minmax(0, 1fr); }
    .nbr-tabs { width: 100%; }
    .nbr-tab { flex: 1; justify-content: center; }
    .nbr-panel:not(.nbr-hero) { padding: 16px; }
    .nbr-hero__body { padding: 18px; }
    .nbr-fact { padding: 13px; }
    .nbr-fact strong { font-size: 1.3rem; }
    .nbr-fact--wide strong { font-size: 1.6rem; }
    .nbr-winner { grid-template-columns: minmax(0, 1fr); gap: 3px; }
    .nbr-winner__prize { text-align: left; }
    .nbr-people__grid { grid-template-columns: minmax(0, 1fr); }
}

/* =====================================================================
   v2: аватарки, таймер, витринная карточка, «как это работает»
   ===================================================================== */

/* ---------- Аватарки ---------- */
.nbr-av { display: inline-grid; flex: 0 0 auto; place-items: center; overflow: hidden; background: var(--nbr-soft-2); color: #fff; font-weight: 800; }
.nbr-av b { font-weight: 800; }
.nbr-av__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nbr-person__avatar.nbr-av { flex: 0 0 38px; width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 50%; font-size: .9rem; }
.nbr-av--sm { width: 24px; height: 24px; border-radius: 50%; font-size: .68rem; }
.nbr-av--stack { width: 34px; height: 34px; margin-left: -9px; border: 2px solid var(--bg-card); border-radius: 50%; font-size: .78rem; }
.nbr-av--stack:first-child { margin-left: 0; }
.nbr-winner__name { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.nbr-winner__name span:last-child { overflow: hidden; text-overflow: ellipsis; }

/* ---------- Таймер ---------- */
.nbr-timer { grid-column: 1 / -1; padding: 18px; border: 1px solid var(--nbr-line-strong); border-radius: 13px; background: radial-gradient(ellipse at 100% 0, rgba(255,255,255,.06), transparent 55%), var(--nbr-soft); }
.nbr-timer__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 14px; }
.nbr-timer__head small { color: #d8d8d8; font-size: .78rem; font-weight: 700; }
.nbr-timer__head small i { margin-right: 6px; color: var(--text-muted); }
.nbr-timer__head span { color: var(--text-muted); font-size: .74rem; }
.nbr-clock { display: flex; align-items: stretch; gap: 8px; }
.nbr-clock__unit { display: flex; flex: 1 1 0; min-width: 0; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px 10px; border: 1px solid var(--border); border-radius: 11px; background: rgba(0,0,0,.35); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.nbr-clock__unit b { color: #fff; font-size: clamp(1.5rem, 4.4vw, 2.25rem); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; line-height: 1; }
.nbr-clock__unit small { color: var(--text-muted); font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nbr-clock__sep { display: flex; align-items: center; color: #4c4c4c; font-size: 1.3rem; font-weight: 800; }
.nbr-clock.is-done .nbr-clock__unit b { color: #6f6f6f; }
.nbr-progress { position: relative; height: 6px; margin-top: 16px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.07); }
.nbr-progress span { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, #6f6f6f, #fff); transition: width .9s linear; }
.nbr-progress::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent); transform: translateX(-100%); animation: nbrSweep 3.4s ease-in-out infinite; }
@keyframes nbrSweep { to { transform: translateX(100%); } }
.nbr-progress__labels { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; color: var(--text-muted); font-size: .68rem; }
.nbr-progress__labels span:nth-child(2) { color: #fff; font-weight: 800; }
.nbr-card__timer { display: flex; align-items: center; gap: 8px; margin-top: -4px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 10px; background: rgba(0,0,0,.28); color: var(--text-muted); font-size: .78rem; }
.nbr-card__timer i { color: #bdbdbd; }
.nbr-card__timer b { margin-left: auto; color: #fff; font-size: .9rem; font-variant-numeric: tabular-nums; }

/* ---------- Витринная карточка (когда розыгрыш один) ---------- */
.nbr-grid--single { grid-template-columns: minmax(0, 1fr); }
.nbr-feature { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr); min-width: 0; overflow: hidden; border: 1px solid var(--nbr-line-strong); border-radius: 18px; background: var(--bg-card); box-shadow: 0 24px 60px rgba(0,0,0,.35); scroll-margin-top: 90px; }
.nbr-feature[hidden] { display: none; }
.nbr-feature__visual { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 420px; padding: 18px; overflow: hidden; border-right: 1px solid var(--border); background: radial-gradient(ellipse at 50% 42%, rgba(255,255,255,.09), transparent 58%), linear-gradient(160deg, #1a1a1a, #0b0b0b 75%); }
.nbr-feature__visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse at 50% 42%, #000 15%, transparent 72%); mask-image: radial-gradient(ellipse at 50% 42%, #000 15%, transparent 72%); pointer-events: none; }
.nbr-feature__visual > * { position: relative; }
.nbr-feature__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.nbr-feature__emblem { position: relative; display: grid; flex: 1; place-items: center; min-height: 170px; }
.nbr-feature__tile { position: relative; display: grid; width: 118px; height: 118px; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 34px; background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.02)); box-shadow: 0 0 0 10px rgba(255,255,255,.02), 0 26px 70px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.18); transform: rotate(-8deg); animation: nbrFloat 6s ease-in-out infinite; }
.nbr-feature__tile i { color: #f4f4f4; font-size: 2.9rem; filter: drop-shadow(0 8px 18px rgba(255,255,255,.12)); }
.nbr-feature__orbit { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.nbr-feature__orbit--a { width: 230px; height: 160px; transform: translate(-50%, -50%) rotate(-24deg); }
.nbr-feature__orbit--b { width: 160px; height: 224px; transform: translate(-50%, -50%) rotate(30deg); border-color: rgba(255,255,255,.07); }
.nbr-feature__spark { position: absolute; color: #cfcfcf; font-size: 1.2rem; animation: nbrTwinkle 3.2s ease-in-out infinite; }
.nbr-feature__spark--1 { top: 18%; right: 20%; }
.nbr-feature__spark--2 { bottom: 16%; left: 18%; font-size: .95rem; animation-delay: 1.4s; }
@keyframes nbrFloat { 50% { transform: rotate(-8deg) translateY(-8px); } }
@keyframes nbrTwinkle { 50% { opacity: .25; } }
.nbr-feature__clock { display: flex; flex-direction: column; gap: 9px; padding: 13px; border: 1px solid var(--nbr-line); border-radius: 13px; background: rgba(0,0,0,.42); backdrop-filter: blur(4px); }
.nbr-feature__clock > small { color: var(--text-muted); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nbr-feature__clock > strong { color: #fff; font-size: 1.1rem; }
.nbr-feature__clock .nbr-clock__unit { padding: 9px 4px 8px; background: rgba(255,255,255,.03); }
.nbr-feature__clock .nbr-clock__unit b { font-size: clamp(1.25rem, 2.6vw, 1.7rem); }
.nbr-feature__body { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 26px; }
.nbr-feature__title { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.15; overflow-wrap: anywhere; }
.nbr-feature__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nbr-feature__text { margin-top: -6px !important; color: #b0b0b0; font-size: .92rem; line-height: 1.7; }
.nbr-feature__label { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; color: var(--text-muted); font-size: .78rem; }
.nbr-feature__label span:first-child { color: #e6e6e6; font-weight: 800; }
.nbr-feature__label i { margin-right: 7px; color: var(--text-muted); }
.nbr-feature__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: auto; border: 1px solid var(--border); border-radius: 12px; background: var(--nbr-soft); }
.nbr-feature__stats > div { display: flex; flex-direction: column; gap: 5px; min-width: 0; padding: 13px 14px; }
.nbr-feature__stats > div + div { border-left: 1px solid var(--border); }
.nbr-feature__stats small { color: var(--text-muted); font-size: .7rem; }
.nbr-feature__stats small i { margin-right: 5px; }
.nbr-feature__stats strong { color: #fff; font-size: .9rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.nbr-feature__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.nbr-feature__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.nbr-stack { display: flex; align-items: center; gap: 12px; min-width: 0; }
.nbr-stack__list { display: inline-flex; }
.nbr-stack__text { color: var(--text-muted); font-size: .8rem; }

/* ---------- Как это работает ---------- */
.nbr-steps { margin-top: 28px; }
.nbr-steps__head { margin-bottom: 14px; }
.nbr-steps__head h2 { color: #fff; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.nbr-steps__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.nbr-step { position: relative; display: flex; flex-direction: column; gap: 9px; padding: 20px; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: linear-gradient(180deg, rgba(255,255,255,.035), transparent 60%), var(--bg-card); transition: border-color .18s, transform .18s; }
.nbr-step:hover { border-color: var(--nbr-line-strong); transform: translateY(-2px); }
.nbr-step__num { position: absolute; top: 14px; right: 16px; color: rgba(255,255,255,.07); font-size: 2.6rem; font-weight: 900; letter-spacing: -.05em; line-height: 1; }
.nbr-step__icon { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--nbr-line-strong); border-radius: 12px; background: var(--nbr-soft-2); color: #e8e8e8; font-size: .95rem; }
.nbr-step strong { margin-top: 4px; color: #fff; font-size: .98rem; }
.nbr-step p { color: var(--text-muted); font-size: .82rem; line-height: 1.65; }

@media (max-width: 900px) {
    .nbr-feature { grid-template-columns: minmax(0, 1fr); }
    .nbr-feature__visual { min-height: 0; border-right: 0; border-bottom: 1px solid var(--border); }
    .nbr-feature__emblem { min-height: 150px; }
    .nbr-steps__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .nbr-feature__body { padding: 18px; }
    .nbr-feature__stats { grid-template-columns: minmax(0, 1fr); }
    .nbr-feature__stats > div + div { border-left: 0; border-top: 1px solid var(--border); }
    .nbr-clock { gap: 5px; }
    .nbr-clock__sep { display: none; }
    .nbr-timer { padding: 14px; }
    .nbr-feature__foot, .nbr-feature__cta { width: 100%; }
    .nbr-feature__cta .nbr-btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .nbr-feature__tile, .nbr-feature__spark, .nbr-progress::after, .nbr-chip--active .nbr-chip__dot { animation: none; }
}

/* Design refresh: more deliberate spacing and restrained card depth. */
.nbr-page { padding: 30px 22px 66px; }
.nbr-head { gap: 24px; margin-bottom: 28px; }
.nbr-kicker { display: inline-flex; align-items: center; gap: 8px; color: #a0a0a7; }
.nbr-title { letter-spacing: -.045em; }
.nbr-summary { border-color: rgba(255,255,255,.09); border-radius: 14px; background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.01)), #101010; box-shadow: inset 0 1px 0 rgba(255,255,255,.025); }
.nbr-tabs { gap: 5px; padding: 5px; border-color: rgba(255,255,255,.09); border-radius: 12px; background: rgba(16,16,16,.88); }
.nbr-tab { min-height: 38px; padding: 0 16px; border-radius: 8px; }
.nbr-tab.is-active { border-color: rgba(255,255,255,.14); background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.045)); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.nbr-grid { gap: 16px; }
.nbr-card,
.nbr-feature { border-color: rgba(255,255,255,.09); background: linear-gradient(155deg, rgba(255,255,255,.025), transparent 38%), #111; box-shadow: 0 16px 42px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.02); }
.nbr-card:hover,
.nbr-feature:hover { border-color: rgba(255,255,255,.2); box-shadow: 0 22px 48px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.035); }
.nbr-cover { min-height: 84px; background: radial-gradient(ellipse at 85% 15%, rgba(255,255,255,.085), transparent 55%), linear-gradient(125deg, #1b1b1b, #0b0b0b 78%); }
.nbr-card__body { gap: 17px; padding: 20px; }
.nbr-prize { border-color: rgba(255,255,255,.065); background: rgba(255,255,255,.025); }
.nbr-prize--first { border-color: rgba(255,255,255,.13); background: linear-gradient(90deg, rgba(255,255,255,.065), rgba(255,255,255,.018)); }
.nbr-empty { border-color: rgba(255,255,255,.14); background: linear-gradient(145deg, rgba(255,255,255,.03), transparent 65%); }
.nbr-steps { margin-top: 36px; }
.nbr-step { border-color: rgba(255,255,255,.075); border-radius: 15px; background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.008) 65%), #101010; }
.nbr-btn:focus-visible,
.nbr-tab:focus-visible { outline: 2px solid rgba(255,255,255,.7); outline-offset: 3px; }

@media (max-width: 760px) {
    .nbr-page { padding: 24px 15px 46px; }
    .nbr-head { align-items: stretch; }
    .nbr-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .nbr-summary > div { padding: 11px 9px; }
    .nbr-summary strong { font-size: 1.05rem; }
    .nbr-tabs { width: 100%; }
    .nbr-tab { flex: 1; justify-content: center; padding: 0 9px; }
}

@media (prefers-reduced-motion: reduce) {
    .nbr-card,
    .nbr-feature,
    .nbr-step { transition: none; }
}
