/* nv_pages — ветка nav-redesign (45_NAVIGATION.md, вариант Б) */

/* ── nvf: база фракции, клуб, трофейный зал — страницы из разделов (core/segpage.js; 45_NAVIGATION.md, раздел 11) ── */
.nvf-seg { margin-top: 16px; }
.nvf-hub .nvf-wait { margin-top: 28px; }
.nvf-hub .nvf-wait .tp-empty { margin-top: 0; }
/* тихая ссылка внизу страницы: «Сменить фракцию», «Покинуть клуб» */
.nvf-foot { margin-top: 26px; display: flex; justify-content: center; }
.nvf-link { padding: 8px 12px; background: none; border: 0; font-size: 15px; font-weight: 700; line-height: 1.3; color: rgba(246, 243, 236, .62);
  text-decoration: underline; text-decoration-color: rgba(246, 243, 236, .35); text-underline-offset: 4px; }
.nvf-link.red { color: rgba(242, 154, 142, .85); text-decoration-color: rgba(242, 154, 142, .45); }
.nvf-link.busy { opacity: .5; }
/* строки штаба: кнопка «Продать» / «Забрать» прямо в строке */
.nvf-hq .tp-right .tp-btn.sm { white-space: nowrap; }
.nvf-hq .tp-tx small .red { color: #F29A8E; }
/* реестр: места свёрнуты, раскрыты только открытые игроку; заголовок места — кнопка */
.nvf-rgp { display: flex; flex-direction: column; }
.rg-list .nvf-rgp-h { margin: 0; padding: 12px 12px 12px 16px; border-radius: 16px; align-items: center; cursor: pointer;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.rg-list .nvf-rgp-h > span.tm-x { flex: 1; min-width: 0; font-size: 21px; }
.rg-list .nvf-rgp-h small { white-space: nowrap; }
.rg-list .nvf-rgp-h .nvf-rgp-ch { flex: none; width: 22px; height: 22px; display: grid; place-items: center; font-size: 0; color: rgba(246, 243, 236, .6);
  transition: transform .25s; }
.nvf-rgp-ch svg { width: 18px; height: 18px; }
.nvf-rgp.open .nvf-rgp-ch { transform: rotate(90deg); }
.nvf-rgp.open .nvf-rgp-h { border-color: rgba(243, 210, 139, .45); }
.nvf-rgp-b { display: none; flex-direction: column; gap: 10px; margin-top: 10px; }
.nvf-rgp.open .nvf-rgp-b, .rg-list.nvf-rgq .nvf-rgp-b { display: flex; }
/* клуб: контракт дня на странице клуба — карточка-кнопка, «Вступить — бесплатно» */
.nvf-gct.tap { cursor: pointer; }

/* ── nvt-tr: торговцы «сначала его дело» и Мастер (npc.js, casino.js, season.js, story/journal.js; 45_NAVIGATION.md,
   раздел 11 п. 3, раздел 12 «Мастер», макеты 3 и 10) ── */
/* низ страницы: доверие, «Ещё у …», задания — короткими строками */
.nvt-tr-foot { margin-top: 24px; }
.tp-row.nvt-tr-row { min-height: 64px; padding-top: 9px; padding-bottom: 9px; }
.tp-row.nvt-tr-row .tp-tx b { font-size: 20px; line-height: 1.02; }
.tp-row.nvt-tr-more { background: rgba(255, 255, 255, .04); border-style: dashed; border-color: rgba(246, 243, 236, .24); }
.tp-row.nvt-tr-more .tp-th.ico { background: rgba(246, 243, 236, .08); color: rgba(246, 243, 236, .7); }
.tp-row.nvt-tr-ok .tp-tx b { color: var(--ink); }
.nvt-tr-chev svg { transform: rotate(90deg); transition: transform .25s var(--ease); }
.nvt-tr-chev.up svg { transform: rotate(-90deg); }
.nvt-tr-qs { margin-top: 2px; }
.nvt-tr-mt { margin-top: 10px; }
/* шторка доверия: прежняя карточка условий без своего заголовка */
.sheet-body .tq-trust.nvt-tr-trust { margin-top: 0; }
/* торговец закрыт уровнем — одна карточка */
.tp-card.nvt-tr-lock { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 18px 18px; text-align: center; }
.nvt-tr-lock-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: rgba(243, 210, 139, .14); }
.nvt-tr-lock-ico svg { width: 26px; height: 26px; }
.nvt-tr-lock-t { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 26px; line-height: 1; text-wrap: balance; }
.nvt-tr-lock-s { font-size: 14px; font-weight: 600; line-height: 1.4; color: rgba(246, 243, 236, .86); }
.nvt-tr-lock-n { font-size: 12.5px; line-height: 1.4; color: rgba(246, 243, 236, .6); }
.nvt-tr-lock .tp-btn { margin-top: 6px; }
/* Марина: что копится до опта — по строке на вид */
.tp-card.nvt-tr-wait { padding: 12px 14px; }
.nvt-tr-wait-k { font-family: var(--f-display); font-style: italic; font-size: 16px; font-weight: 800; color: rgba(246, 243, 236, .72); }
.nvt-tr-wait-l { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.nvt-tr-wait-l li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 34px; }
.nvt-tr-wait-l img { width: 34px; height: 34px; object-fit: contain; }
.nvt-tr-wait-l span { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 17px; line-height: 1.05; overflow-wrap: anywhere; }
.nvt-tr-wait-l em { font-style: normal; font-size: 12.5px; font-weight: 600; color: rgba(246, 243, 236, .66); white-space: nowrap; }
@media (max-width: 360px) { .nvt-tr-wait-l em { white-space: normal; text-align: right; } }
.nvt-tr-anchor { display: inline-block; width: 0; height: 0; overflow: hidden; }   /* якорь прокрутки ({ focus: "rest" }) */

/* ── Друзья (18.10): поиск, заявки, кто в игре ── */
.fr .fr-seg { margin-top: 14px; }
.fr .fr-seg .n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 6px; padding: 0 5px; border-radius: 10px;
  background: var(--aqua, #7FE0C6); color: #062019; font: 800 12px/20px var(--f-ui, sans-serif); font-style: normal; }
.fr-search { margin-top: 16px; display: flex; }
.fr-found:not(:empty) { margin-top: 10px; }
.fr-searching { display: grid; place-items: center; padding: 14px 0; }
.fr-av { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 20px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); }
.fr-dot { position: absolute; right: -1px; bottom: -1px; width: 12px; height: 12px; border-radius: 50%; background: #5BE38F;
  border: 2px solid rgba(10, 24, 30, .95); }
.fr-on { color: #7FEBA8; font-weight: 700; }
.fr-wait { color: rgba(246, 243, 236, .6); font-size: 12.5px; white-space: nowrap; }
.fr-btns { display: flex; align-items: center; gap: 6px; }
.fr-x { width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: rgba(246, 243, 236, .75); }
.fr-x svg { width: 16px; height: 16px; }
.pcard2-online { position: relative; display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; font-size: 13.5px;
  font-weight: 700; color: rgba(246, 243, 236, .78); text-shadow: 0 2px 8px rgba(0, 0, 0, .6); }
.pcard2-online .fr-dot { position: static; border-width: 0; width: 10px; height: 10px; }
.pcard2-online.on { color: #7FEBA8; }

/* ── Звёзды и подарки (18.10) ── */
.don-stars { color: #2a1d00; background: linear-gradient(135deg, #ffe58a, #f6b93b 60%, #e89a1c); border: 0;
  box-shadow: 0 8px 20px rgba(246, 185, 59, .28); }
.don-gift-cat { margin: 14px 2px 8px; font: 800 13px/1.2 var(--f-ui, sans-serif); letter-spacing: .02em; color: rgba(246, 243, 236, .6); }
.don-gift-cat:first-child { margin-top: 0; }
.tp-row.off { opacity: .55; }
.pcard2-friend .tp-btn { flex: 1; }
