/* nv_profile — ветка nav-redesign (45_NAVIGATION.md, вариант Б): страница «Профиль» по аватару (раздел 11 п. 1)
   и «Сообщения» по колокольчику (п. 2). Новые блоки без backdrop-filter (42_PERFORMANCE.md) — плоское стекло. */

/* ── Профиль: четыре плитки ── */
.nvp .pf-hero { margin-top: 4px; }
.nvp-tiles { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nvp-tile, .nvp-friends, .nvp-help-b { background: var(--glass); border: 1px solid var(--stroke); box-shadow: 0 12px 30px rgba(3, 10, 12, .22);
  color: var(--ink); text-align: left; transition: transform .18s var(--ease); }
.nvp-tile:active, .nvp-friends:active, .nvp-help-b:active { transform: scale(.975); }
.nvp-tile { min-height: 96px; border-radius: 20px; padding: 12px 10px 12px 12px; display: grid; grid-template-columns: 42px minmax(0, 1fr);
  align-items: center; gap: 10px; }
.nvp-tile.hl { border-color: rgba(243, 210, 139, .55); }
.nvp-ico { position: relative; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); color: var(--ink); }
.nvp-ico svg { width: 21px; height: 21px; }
.nvp-ico.gold { background: rgba(243, 210, 139, .14); border-color: rgba(243, 210, 139, .2); color: var(--accent); }
.nvp-dot { position: absolute; top: -3px; right: -3px; width: 11px; height: 11px; border-radius: 50%; background: var(--aqua);
  box-shadow: 0 0 0 2px rgba(8, 20, 24, .85); }
.nvp-tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.nvp-tx b { font-size: 21px; line-height: 1; }
.nvp-tx small { font-size: 12.5px; font-weight: 600; line-height: 1.25; color: rgba(246, 243, 236, .75); overflow-wrap: anywhere; }
.nvp-tile.hl .nvp-tx small { color: var(--accent); font-weight: 700; }
.nvp-tx em { font-style: normal; font-size: 11.5px; font-weight: 700; line-height: 1.25; color: var(--aqua);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }

/* ── Друзья и рыбалка вдвоём — одна строка ── */
.nvp-friends { width: 100%; border-radius: 20px; padding: 14px 12px 14px 14px; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center; gap: 12px; cursor: pointer; }
.nvp-friends .nvp-ico { width: 48px; height: 48px; border-radius: 16px; }
.nvp-friends .nvp-ico svg { width: 24px; height: 24px; }
.nvp-fr-tx { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.nvp-fr-tx b { font-size: 22px; line-height: 1; }
.nvp-fr-tx small { font-size: 12.5px; font-weight: 600; line-height: 1.3; color: rgba(246, 243, 236, .75); }
.nvp-coop { margin-top: 6px; height: 30px; padding: 0 12px 0 9px; border-radius: 15px; display: inline-flex; align-items: center; gap: 6px;
  font: 700 12.5px/1 var(--f-text); color: var(--aqua); background: rgba(169, 228, 208, .08); border: 1px solid rgba(169, 228, 208, .35); }
.nvp-coop svg { width: 16px; height: 16px; }
.nvp-coop.on { background: rgba(169, 228, 208, .16); }
.nvp-coop:active { transform: scale(.96); }

/* ── помощь: три кнопки в ряд (четыре — два ряда) ── */
.nvp-help { margin-top: 10px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.nvp-help.n1 { grid-template-columns: 1fr; }
.nvp-help.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nvp-help.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.nvp-help.n4 .nvp-help-b b { font-size: 12.5px; }
.nvp-help-b { min-height: 74px; border-radius: 18px; padding: 10px 6px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 7px; text-align: center; }
.nvp-help-i { display: grid; color: rgba(246, 243, 236, .85); }
.nvp-help-i svg { width: 21px; height: 21px; }
.nvp-help-b b { font: 700 13.5px/1.15 var(--f-text); }
.nvp-own { margin-top: 20px; }
.nvp-own small { display: block; margin: 0 2px; font-size: 12px; font-weight: 600; color: rgba(246, 243, 236, .5); }
.nvp-own .nvp-help { margin-top: 6px; }
.nvp-own .nvp-help-b { min-height: 58px; flex-direction: row; gap: 8px; }

.pf.intro .nvp-tile { animation: hbRise .55s cubic-bezier(.2, .8, .2, 1) both; }
.pf.intro .nvp-tile:nth-child(1) { animation-delay: .45s; }
.pf.intro .nvp-tile:nth-child(2) { animation-delay: .52s; }
.pf.intro .nvp-tile:nth-child(3) { animation-delay: .59s; }
.pf.intro .nvp-tile:nth-child(4) { animation-delay: .66s; }
.pf.intro .nvp-friends, .pf.intro .nvp-help { animation: hbRise .6s cubic-bezier(.2, .8, .2, 1) .9s both; }

/* ── Сообщения: «Важное | Торги | Всё» ── */
.nvi-seg button .n { margin-left: 2px; }
.nvi-list { display: flex; flex-direction: column; gap: 8px; }
.nvi-msg { text-align: left; border-radius: 18px; padding: 11px 10px 11px 10px; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: var(--ink); cursor: pointer; transition: transform .18s var(--ease); }
.nvi-msg:active { transform: scale(.98); }
.nvi-msg.nvi-wait { background: rgba(169, 228, 208, .07); border-color: rgba(169, 228, 208, .42); }
.nvi-msg.is-new { border-color: rgba(243, 210, 139, .55); }
.nvi-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: rgba(246, 243, 236, .85); }
.nvi-ico svg { width: 19px; height: 19px; }
.nvi-msg.nvi-wait .nvi-ico { background: rgba(169, 228, 208, .16); color: var(--aqua); }
.nvi-msg.nvi-trade .nvi-ico, .nvi-msg.nvi-other .nvi-ico { color: rgba(246, 243, 236, .6); }
.nvi-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nvi-text { font-size: 14px; line-height: 1.4; color: rgba(246, 243, 236, .92); overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nvi-msg.is-open .nvi-text { display: block; -webkit-line-clamp: unset; overflow: visible; }
.nvi-text a { color: var(--aqua); }
.nvi-when { font-size: 12px; font-weight: 600; color: rgba(246, 243, 236, .55); }
.nvi-when b { color: var(--accent); font-weight: 900; }
.nvi-msg .pf-chev svg { width: 18px; height: 18px; }
.nvi-more { margin-top: 8px; }

/* торги: строка на лот — вещь слева, что с ней стало справа */
.nvi-lots { border-radius: 20px; padding: 2px 14px 2px 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.nvi-lot { min-height: 52px; padding: 10px 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.nvi-lot.is-go { grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; cursor: pointer; }
.nvi-lot + .nvi-lot { border-top: 1px solid rgba(255, 255, 255, .1); }
.nvi-lot-n { font-size: 15px; font-weight: 800; line-height: 1.25; color: var(--ink); overflow-wrap: anywhere; }
.nvi-lot-st { max-width: 190px; font-size: 13px; font-weight: 600; line-height: 1.3; text-align: right; color: rgba(246, 243, 236, .7); }
.nvi-lot-st.nvi-mint { color: var(--aqua); }
.nvi-lot-st.nvi-gold { color: var(--accent); font-weight: 700; }
.nvi-lot-st.nvi-dim { color: rgba(246, 243, 236, .5); }
.nvi-lot .pf-chev svg { width: 18px; height: 18px; }

/* карточка лучшего улова → «Моя карточка» (владелец 12.10, вариант А): полоска внизу с кнопкой «Открыть» */
.pf-hero.with-open { height: 378px; }
.pf-hero.with-open .pf-hero-bot { bottom: 60px; }
.pf-open { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 48px; display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 0 12px 0 18px; background: rgba(6, 14, 16, .78); border-top: 1px solid rgba(255, 230, 160, .25); }
.pf-open-tx { min-width: 0; }
.pf-open-tx b { display: block; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 18px; line-height: 1.05; color: var(--accent); }
.pf-open-tx small { display: block; margin-top: 1px; font-size: 12px; font-weight: 600; color: rgba(246, 243, 236, .72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-open-go { flex: none; display: inline-flex; align-items: center; gap: 2px; height: 32px; padding: 0 8px 0 13px; border-radius: 16px; font-family: var(--f-display);
  font-style: italic; font-weight: 900; font-size: 15px; color: #3a2300; background: linear-gradient(100deg, #FFE6A0, #E8B55C); }
.pf-open-go svg { width: 16px; height: 16px; }
