/* nv_core — ветка nav-redesign (45_NAVIGATION.md, вариант Б, владелец 12.10): шапка вкладок, разделы вкладок,
   «Надето» значками, «Снасти» Рюкзака */

/* нижнее меню — пять вкладок на всю ширину (screens.css делит его на 7: кнопки жались влево, справа пусто) */
.tabbar { grid-template-columns: repeat(5, 1fr) !important; }

/* шапка: аватар (профиль) слева, колокольчик (сообщения) справа */
.tm-top .nv-me { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 0; background: none; border: 0; color: inherit; text-align: left; }
.nv-av { position: relative; width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(160deg, #2b4a52, #12262b); border: 1.5px solid rgba(255, 255, 255, .28); color: var(--ink); }
.nv-av svg { width: 21px; height: 21px; }
.nv-dot { position: absolute; top: -1px; right: -1px; width: 11px; height: 11px; border-radius: 50%; background: var(--aqua, #7FE0C6);
  box-shadow: 0 0 0 2px rgba(8, 20, 24, .85); }
.nv-me .tm-who { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.nv-me .tm-name, .nv-me .tm-rank { display: block; }
.tm-top .tm-wallet { gap: 10px; }
.nv-bell { position: relative; width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; padding: 0;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: var(--ink); }
.nv-bell svg { width: 19px; height: 19px; }
.tm-top .tm-wallet .nv-gear { margin-right: -4px; }     /* шестерёнка и колокольчик — парой */
.nv-n { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px;
  background: var(--aqua, #7FE0C6); color: #062019; font: 800 11px/18px var(--f-ui, sans-serif); text-align: center; }
.nv-dot.hidden, .nv-n.hidden { display: none; }

/* переключатель разделов вкладки — сразу под заголовком */
.nv-seg { margin-top: 16px; }
.nv-tab .tp-head { padding-top: 22px; }

/* «Надето» строкой значков (Рюкзак → Вещи) */
.nv-eqh { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 2px 8px; }
.nv-eqh b { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 22px; color: var(--ink); }
.nv-eqh small { font-size: 12.5px; font-weight: 600; color: rgba(246, 243, 236, .6); }
.nv-eq { display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 6px; }
.nv-eq button { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 0; background: none; border: 0; color: var(--ink); min-width: 0; }
.nv-eq .im { width: 100%; height: 46px; border-radius: 14px; display: grid; place-items: center; overflow: hidden;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.nv-eq img { max-width: 80%; max-height: 38px; object-fit: contain; }
.nv-eq small { font-size: 10px; font-weight: 700; line-height: 1.1; color: rgba(246, 243, 236, .75); white-space: nowrap; }

/* «Снасти»: наживка в запасе плитками */
.nv-baits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.nv-bait { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border-radius: 16px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); text-align: center; }
.nv-bait-i { width: 34px; height: 34px; display: grid; place-items: center; }
.nv-bait-i svg { width: 30px; height: 30px; }
.nv-bait b { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 16px; line-height: 1.05; }
.nv-bait small { font-size: 12px; color: rgba(246, 243, 236, .7); }

/* ── вкладка «Рыбалка»: «Ловить на …», погода у мест, закрытые свёрнуты, радуга ── */
.nv-go { margin-top: 18px; width: 100%; height: 54px; border-radius: 18px; border: 0; display: flex; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 21px; color: #3a2300;
  background: linear-gradient(100deg, #FFE6A0, #E8B55C); box-shadow: 0 10px 26px rgba(232, 181, 92, .28); }
.nv-go svg { width: 18px; height: 18px; }
.nv-wx { display: flex; align-items: flex-start; gap: 6px; margin-top: 6px; font-size: 13px; font-weight: 600; line-height: 1.25; color: #BFE6F2; }
.nv-wx svg { width: 16px; height: 16px; flex: none; }
.nv-wx .wn { font-weight: 800; }
.nv-wx i { font-style: normal; opacity: .7; white-space: nowrap; }
.nv-wx.rain { color: #9FD3FF; } .nv-wx.fog { color: #C9D6DA; } .nv-wx.clear { color: var(--ink); } .nv-wx.cloudy { color: #D6E2E6; }
.nv-wx.rainbow { color: #F7B7E0; } .nv-wx.storm, .nv-wx.shtorm { color: #B9C6FF; }
.nv-wx.feast { color: #F3D28B; } .nv-wx.feast svg { color: #F2C94C; }     /* жор Хозяина омута (18.10) */
.tm-place .ph { position: relative; }
.nv-left { position: absolute; right: 8px; bottom: 8px; z-index: 2; padding: 4px 8px; border-radius: 10px; display: flex; gap: 4px; align-items: center;
  background: rgba(6, 14, 18, .74); color: var(--ink); font: 800 12px/1 var(--f-ui, sans-serif); white-space: nowrap; }
.nv-left svg { width: 12px; height: 12px; }
.tm-place.nv-rbw { border-color: rgba(247, 183, 224, .85) !important; box-shadow: 0 0 0 1px rgba(247, 183, 224, .3), 0 0 26px rgba(247, 183, 224, .2); }
.tm-place.nv-rbw .nv-left { background: rgba(120, 40, 90, .8); }
.nv-more { list-style: none; margin: 10px 0 0; padding: 16px 18px; border-radius: 20px; border: 1.5px dashed rgba(255, 255, 255, .22);
  color: rgba(246, 243, 236, .75); font-weight: 700; font-size: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.nv-more b { display: block; font-family: var(--f-display); font-style: italic; font-size: 19px; color: var(--ink); font-weight: 900; }
.nv-more svg { width: 22px; height: 22px; flex: none; transform: rotate(90deg); }

/* ── экран ловли: название — «Куда пойти», погода места, цель на воде ── */
#fishing .kn-title { cursor: pointer; }
/* 20.10 (владелец: «кнопка не работает»): в «Кино» у названия pointer-events: none — нажатие уходило в воду (заброс), а
   «Куда пойти» не открывалось. Нажимается, пока удочка не заброшена; на поклёвке и вываживании — как было, мимо */
#fishing[data-st="idle"] .kn-title { pointer-events: auto; }
/* тень названия обрезалась по краям строки (overflow: hidden ради многоточия): место для тени со всех сторон; слева оно
   заходит под «Назад» — кнопка выше названия и нажимается вся */
#fishing .kn-title b { padding: 14px 0 16px 14px; margin: -14px 0 -16px -14px; }
#fishing .kn-back { position: relative; z-index: 1; }
.nv-chev { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .14); margin-left: 8px; vertical-align: 4px; }
.nv-chev svg { width: 14px; height: 14px; transform: rotate(90deg); }
#fishing .kn-title small { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 6px; }
#fishing .kn-title small > span:nth-child(2) { display: none; }
#fishing .kn-title [data-bind="weather-short"] { flex-basis: 100%; }
#fishing .kn-title .nv-wx { margin: 0; font-size: 13px; }
.nv-goal-host { position: absolute; left: 16px; right: 16px; top: calc(var(--safe-top, 0px) + 112px); z-index: 30; transition: opacity .25s; }
#fishing:not([data-st="idle"]) .nv-goal-host { opacity: 0; pointer-events: none; }
.nv-goal { display: flex; gap: 10px; align-items: center; padding: 10px 10px 10px 12px; border-radius: 18px;
  background: rgba(10, 20, 22, .74); border: 1px solid rgba(255, 255, 255, .16); color: var(--ink); }
.nv-goal-i { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); }
.nv-goal-i svg { width: 18px; height: 18px; }
.nv-goal-tx { flex: 1; min-width: 0; }
.nv-goal-tx small { display: block; color: rgba(246, 243, 236, .72); font-weight: 700; font-size: 12px; }
.nv-goal-tx b { display: block; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 17px; line-height: 1.1; }
.nv-goal-go { flex: none; display: inline-flex; align-items: center; gap: 2px; height: 34px; padding: 0 8px 0 12px; border-radius: 12px; border: 0;
  font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 15px; color: #0E2320; background: linear-gradient(100deg, #C6F5E5, #7FD8BE); }
.nv-goal-go svg { width: 14px; height: 14px; }

/* «Куда пойти» — шторка */
.nv-places { display: flex; flex-direction: column; gap: 8px; }
.nv-prow { display: flex; gap: 12px; align-items: center; padding: 10px 12px 10px 10px; border-radius: 18px; text-align: left; width: 100%;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: var(--ink); }
.nv-prow.cur { border-color: rgba(243, 210, 139, .7); background: rgba(243, 210, 139, .08); }
.nv-prow.rbw { border-color: rgba(247, 183, 224, .75); background: rgba(247, 183, 224, .07); }
.nv-prow .ph { position: relative; width: 72px; height: 60px; border-radius: 12px; background-size: cover; background-position: center; flex: none; }
.nv-prow .ph .nv-left { right: 4px; bottom: 4px; padding: 3px 6px; font-size: 11px; border-radius: 8px; }
.nv-prow .tx { flex: 1; min-width: 0; }
.nv-prow .nm { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.nv-prow b { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 19px; }
.nv-prow .nv-wx { margin-top: 3px; }
.nv-prow .tag { font-size: 12px; font-weight: 800; color: rgba(246, 243, 236, .6); white-space: nowrap; }
.nv-prow .tag.gold { color: var(--accent); } .nv-prow .tag.mint { color: var(--aqua, #7FE0C6); }
.nv-next { display: block; margin-top: 3px; font-size: 12px; color: rgba(246, 243, 236, .55); }
.nv-places .nv-more { margin-top: 4px; }

/* «Магазин → Наборы»: значок «вдвое монет» на первом наборе */
.nv-x2 { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; margin: 10px 0 2px; padding: 4px 10px; border-radius: 10px;
  font-size: 12.5px; font-weight: 800; color: #0E2320; background: linear-gradient(100deg, #C6F5E5, #7FD8BE); }
.nv-x2 svg { width: 13px; height: 13px; }

/* шторка наживки на воде: количество второй строкой, «Здесь не клюёт» — одной строкой */
.bait-pick .nv-bq { display: block; font-style: normal; font-size: 12.5px; font-weight: 700; color: rgba(246, 243, 236, .6); margin-top: 1px; }
.nv-boff { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; margin-top: 8px; padding: 14px 16px; border-radius: 18px;
  border: 1.5px dashed rgba(255, 255, 255, .2); background: none; color: rgba(246, 243, 236, .72); font-size: 13.5px; font-weight: 600; text-align: left; }
.nv-boff b { display: block; color: var(--ink); font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 18px; }
.nv-boff svg { width: 20px; height: 20px; flex: none; transform: rotate(90deg); }

/* «Что где теперь» */
.nv-new { position: relative; width: min(360px, calc(100vw - 40px)); padding: 22px 18px 18px; border-radius: 26px; text-align: left;
  background: linear-gradient(180deg, rgba(26, 59, 64, .98), rgba(13, 30, 33, .99)); border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6); opacity: 0; }
/* окно «Что где теперь» — карточкой, как остальные окна (12.10: без подложки текст ложился прямо на экран) */
.modal-wrap.open .nv-new { animation: cardPop .55s var(--spring) forwards; }
.nv-new h3 { margin: 0 0 6px; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 30px; }
.nv-new p { margin: 0 0 14px; color: rgba(246, 243, 236, .75); }
.nv-new-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.nv-new-row { display: flex; gap: 12px; align-items: center; }
.nv-new-row .i { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.nv-new-row .i svg { width: 21px; height: 21px; }
.nv-new-row b { display: block; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 18px; }
.nv-new-row small { display: block; font-size: 13px; color: rgba(246, 243, 236, .7); line-height: 1.25; }

/* шапка: при больших суммах колокольчик не уходит за край — имя ужимается, монеты чуть мельче */
.tm-top { gap: 8px; }
.tm-top .nv-me { flex: 1 1 auto; min-width: 0; }
.tm-top .nv-me .tm-who { min-width: 0; overflow: hidden; }
.tm-top .nv-me .tm-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-top .tm-wallet { flex: none; gap: 8px; }
.tm-top .tm-coins, .tm-top .tm-coins .num { font-size: 22px; }
.tm-top .tm-tokens, .tm-top .tm-tokens .num { font-size: 19px; }
/* аватар крупнее, фото из Telegram, под именем «Открыть профиль» (владелец 12.10); монеты и жетоны — столбиком */
.tm-top .nv-me { gap: 11px; }
.tm-top .nv-av { width: 52px; height: 52px; border: 2px solid rgba(255, 230, 160, .55); box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.tm-top .nv-av svg { width: 25px; height: 25px; }
.tm-top .nv-av img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.tm-top .nv-dot { top: 0; right: 0; width: 13px; height: 13px; z-index: 1; }
.tm-top .nv-me .tm-name { font-size: 16px; }
.nv-open { display: block; margin-top: 3px; font-size: 13px; font-weight: 800; line-height: 1.15;
  color: var(--aqua, #7FE0C6); text-shadow: 0 1px 5px rgba(0, 0, 0, .45); }
.nv-open svg { display: inline-block; width: 14px; height: 14px; margin-left: 1px; vertical-align: -3px; }
.nv-cash { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.tm-top .nv-cash .tm-tokens, .tm-top .nv-cash .tm-tokens .num { font-size: 16px; }
.tm-top .nv-cash .tm-tokens svg { width: 13px; height: 13px; }
/* ── фон вкладки (владелец 12.10, core/nav.js backdrop): картинка сверху, как у страниц фракций, уходит в тёмный низ;
   при прокрутке отъезжает медленнее страницы (только transform/opacity). «Рыбалка» — фото своего места, остальные —
   свои картинки (update/generate_images.py, группа tabs), притушены, чтобы читались заголовок и переключатель ── */
.tabroot.has-bg .nv-bg { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--safe-top) + 430px); z-index: 0;
  pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 52%, rgba(0, 0, 0, .55) 74%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 52%, rgba(0, 0, 0, .55) 74%, transparent 100%); }
.tabroot.has-bg .nv-bg-img { position: absolute; inset: 0; background-size: cover; background-position: center 60%; transform-origin: 50% 0; }
.tabroot.has-bg .nv-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 14, 16, .62) 0%, rgba(6, 14, 16, .08) 22%, rgba(6, 14, 16, 0) 40%,
    rgba(6, 14, 16, .5) 78%, rgba(6, 14, 16, .9) 100%); }
.tabroot.bg-dim .nv-bg { height: calc(var(--safe-top) + 400px); }
.tabroot.bg-dim .nv-bg::after { background: linear-gradient(180deg, rgba(6, 14, 16, .75) 0%, rgba(6, 14, 16, .42) 20%,
    rgba(6, 14, 16, .48) 42%, rgba(6, 14, 16, .8) 68%, rgba(6, 14, 16, .96) 100%); }
.tabroot.has-bg .page-scroll { z-index: 1; }
.tabroot.has-bg .tm-dayword, .tabroot.has-bg .tp-head .tp-word { text-shadow: 0 4px 22px rgba(0, 0, 0, .55); }
.tabroot.has-bg .tm-daylabel, .tabroot.has-bg .tm-dayline, .tabroot.has-bg .tp-head .tp-label, .tabroot.has-bg .tp-head .tp-line,
.tabroot.has-bg .tm-sec small { text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
.tabroot.has-bg .nv-seg { background: rgba(8, 18, 20, .72); }

/* «Рыбалка»: сверху — место, где вы ловите (название на фото, «Ловить»); погода — в строке места в списке */
.tm-day.nv-here { min-height: 292px; display: flex; flex-direction: column; justify-content: flex-end; }
.nv-here-l { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--accent); }
.nv-here-l i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.tm-day.nv-here .tm-dayword { font-size: min(58px, 15vw); line-height: .9; margin-top: 4px; white-space: normal; }
.tm-day.nv-here .tm-dayword.mid { font-size: min(50px, 13vw); }
.tm-day.nv-here .tm-dayword.long { font-size: min(44px, 11.5vw); }
.tm-day.nv-here .tm-dayline { margin-top: 8px; font-size: 15px; font-weight: 700; line-height: 1.25; color: rgba(246, 243, 236, .86); }
.tm-day.nv-here .tm-dayline .coin { vertical-align: -2px; }

/* задание истории у своего места на «Рыбалке» (вариант А, владелец 12.10): строка под погодой и «!» на фото */
.nv-q { display: flex; align-items: flex-start; gap: 6px; margin-top: 6px; font-size: 13px; font-weight: 700; line-height: 1.25; color: var(--accent); }
.nv-q svg { width: 16px; height: 16px; flex: none; margin-top: -1px; }
.nv-q i { font-style: normal; color: rgba(246, 243, 236, .7); white-space: nowrap; }
.tm-place.has-q:not(.cur) { border-color: rgba(255, 230, 160, .5); }
.tm-place .ph .nv-qbadge { position: absolute; top: 8px; left: 8px; z-index: 1; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(100deg, #FFE6A0, #E8B55C); color: #3a2300; font: 900 16px/1 var(--f-display); box-shadow: 0 2px 8px rgba(0, 0, 0, .45); }

/* ── Ивент: кнопка с отсчётом под шестерёнкой и колокольчиком и окно анонса (18.10, constants/promo.py) ── */
.ev-promo-row { display: flex; justify-content: flex-end; margin: 8px 0 -6px; position: relative; z-index: 2; }
.ev-promo { position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  border: 1px solid rgba(243, 210, 139, .55); color: var(--ink);
  background: linear-gradient(135deg, rgba(36, 92, 104, .92), rgba(16, 44, 58, .94) 55%, rgba(74, 52, 22, .92));
  box-shadow: 0 8px 22px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .12); }
.ev-promo::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 236, 190, .28), transparent); transform: skewX(-18deg);
  animation: evShine 4.5s ease-in-out 1s infinite; }
@keyframes evShine { 0%, 70% { transform: translateX(0) skewX(-18deg); } 100% { transform: translateX(420%) skewX(-18deg); } }
.ev-promo-ico { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 40% 35%, #ffe7a8, #e8a93c); color: #3a2506; }
.ev-promo-ico svg { width: 18px; height: 18px; }
.ev-promo-t { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.ev-promo-t b { font-size: 19px; color: #ffe2a0; }
.ev-promo-t small { font: 800 13px/1.2 var(--f-ui, sans-serif); font-variant-numeric: tabular-nums; color: #bff3e2; letter-spacing: .02em; }
.ev-promo.live { border-color: rgba(127, 235, 168, .7); }
.ev-promo.live .ev-promo-t small { color: #7FEBA8; }
.ev-modal { text-align: left; max-height: calc(100vh - 48px); overflow-y: auto; padding-top: 16px; }
.ev-hero { position: relative; height: 112px; margin: 0 0 12px; border-radius: 18px; background-size: cover; background-position: center; overflow: hidden; }
.ev-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(8, 18, 24, .75)); }
.ev-yacht { position: absolute; right: 8px; bottom: 6px; width: 46%; z-index: 1; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); }
.ev-k { display: inline-block; padding: 3px 10px; border-radius: 999px; font: 800 12px/1.4 var(--f-ui, sans-serif); color: #3a2506;
  background: linear-gradient(135deg, #ffe7a8, #e8a93c); }
.ev-modal h3 { margin: 8px 0 4px; font-size: 27px; line-height: 1.05; color: #fff3d6; }
.ev-when { display: flex; align-items: center; gap: 7px; margin: 0 0 12px; font-weight: 700; color: rgba(246, 243, 236, .82); }
.ev-when svg { width: 17px; height: 17px; flex: none; }
.ev-timer { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(243, 210, 139, .3); }
.ev-timer small { color: rgba(246, 243, 236, .7); font-weight: 700; }
.ev-timer b { font-size: 24px; font-variant-numeric: tabular-nums; color: #ffe2a0; }
.ev-points { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.ev-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.4; color: rgba(246, 243, 236, .9); }
.ev-pi { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(127, 224, 198, .14); color: #A9E4D0; }
.ev-pi svg { width: 16px; height: 16px; }
.ev-btns { display: grid; gap: 8px; margin-top: 16px; }
.ev-chat-line { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; padding: 10px 12px; border-radius: 14px; font-size: 14px;
  font-weight: 700; line-height: 1.35; color: #bff3e2; background: rgba(127, 224, 198, .1); border: 1px solid rgba(127, 224, 198, .28); }
.ev-chat-line svg { width: 18px; height: 18px; flex: none; }
.ev-chat-line + .ev-btns { margin-top: 10px; }

/* Окно наживки: вкладки «Удочка» и «Спиннинг» (22.10, js/screens/baits.js, game/spinning.py) */
.bt-tabs { display: flex; gap: 6px; margin: 2px 0 12px; padding: 4px; border-radius: 16px; background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.bt-tabs button { flex: 1; height: 40px; border: 0; border-radius: 12px; background: none; color: rgba(246, 243, 236, .65);
  font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 17px; }
.bt-tabs button.on { background: var(--accent); color: #1a1408; }
.bt-note { margin: 0 2px 10px; font-size: 13px; line-height: 1.35; color: rgba(246, 243, 236, .7); }
.bt-lock { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px 8px; text-align: center; }
.bt-lock p { margin: 0; font-size: 16px; line-height: 1.4; color: var(--ink); }
.bt-lock .bt-lock-s { font-size: 14px; color: rgba(246, 243, 236, .72); }
.bt-lock-ico { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; }
.bt-lock-ico img, .bt-lock-ico svg { width: 100%; height: 100%; object-fit: contain; }
.bt-lock .tp-btn { margin-top: 6px; }
.lure-ico { width: 100%; height: 100%; object-fit: contain; display: block; }
/* Приманки: карточка типа с тремя размерами (22.10, шаг 3; js/screens/baits.js renderLures) */
.lure-row { grid-template-columns: 56px minmax(0, 1fr); row-gap: 8px; min-height: 0; padding: 10px 10px 10px 10px; }
.lure-row .lure-sizes { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.lz { min-height: 42px; padding: 5px 4px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .08); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.lz b { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 15px; }
.lz small { font-size: 11.5px; font-weight: 700; color: rgba(246, 243, 236, .66); }
.lz.on { background: var(--accent); color: #1a1408; box-shadow: none; }
.lz.on small { color: rgba(26, 20, 8, .72); }
.lz .lz-buy { color: var(--accent); font-weight: 800; }
.lz.on b svg { width: 13px; height: 13px; margin-right: 3px; vertical-align: -1px; color: #1a1408; stroke-width: 3; }          /* нет в запасе: «Купить» и цена с монеткой (23.10) */
.lz .lz-price svg { width: 11px; height: 11px; margin: 0 2px 0 1px; vertical-align: -1px; color: var(--accent); }
.lz:disabled { opacity: .45; }
/* приманка ручной работы — золотой строкой под размерами своего типа, те же три размера (владелец 23.10) */
.lz-ul { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 8px; border-radius: 16px;
  background: rgba(243, 210, 139, .08); box-shadow: inset 0 0 0 1px rgba(243, 210, 139, .42); }
.lz-ul-h { grid-column: 1 / -1; display: flex; align-items: center; gap: 9px; min-width: 0; }
.lz-ul-h img { flex: none; width: 32px; height: 32px; object-fit: contain; border-radius: 10px; background: rgba(255, 255, 255, .08);
  box-shadow: 0 0 10px var(--ulc, transparent); }
.lz-ul-h > span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.lz-ul-h b { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 15px; color: var(--accent); }
.lz-ul-h small { font-size: 11.5px; font-weight: 700; color: rgba(246, 243, 236, .66); }
.lz-ul .lz { min-height: 38px; background: rgba(243, 210, 139, .1); box-shadow: inset 0 0 0 1px rgba(243, 210, 139, .25); }
.lz-ul .lz.on { background: var(--accent); box-shadow: none; }
.lz:active:not(:disabled) { transform: scale(.96); }
/* Точки места для спиннинга (22.10, шаг 4): кнопки в ряд во вкладке «Спиннинг» */
.bt-spots-t { margin: 0 2px 6px; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 16px; color: var(--ink); }
.bt-spots { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; }
.bt-spots button { height: 36px; padding: 0 12px; border: 0; border-radius: 18px; background: rgba(255, 255, 255, .08); color: var(--ink);
  font-size: 14px; font-weight: 800; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.bt-spots button.on { background: var(--aqua); color: #08221c; box-shadow: none; }
.bt-spots.sm { gap: 5px; margin-bottom: 4px; }
.bt-spots.sm button { height: 32px; padding: 0 11px; font-size: 13px; }
.bt-spot-note { margin-bottom: 12px; font-size: 12.5px; }
/* Окно «Снасть» внутри шторки приманок (22.10, шаг 5) */
/* 23.10 проход дизайна: «Снасть» и «Журнал места» — две плитки в ряд */
.bt-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0 0 12px; }
.bt-tk { display: flex; align-items: center; gap: 9px; min-width: 0; width: 100%; padding: 9px 10px; border: 0; border-radius: 16px;
  background: rgba(255, 255, 255, .07); color: var(--ink); text-align: left; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.bt-tk:active { transform: scale(.97); }
.bt-tk-i { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(243, 210, 139, .12); color: var(--accent); }
.bt-tk-i svg { width: 19px; height: 19px; }
.bt-tk-t { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.bt-tk-t b { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 17px; line-height: 1.05; }
.bt-tk-t small { font-size: 12px; font-weight: 700; line-height: 1.25; color: rgba(246, 243, 236, .62); }
.bt-tk.weak { box-shadow: inset 0 0 0 1px rgba(255, 140, 150, .45); }
.bt-tk.weak .bt-tk-t small { color: #FFB3BD; }
.bt-back { margin: 0 0 10px; padding: 0; border: 0; background: none; color: var(--accent); font-size: 15px; font-weight: 800; }
.tp-row.noimg.sx-row { min-height: 58px; }
.sx-row .tp-tx b { font-size: 19px; }
.tk-weak { color: #FFB3BD; }
.sx-row .tp-tx { text-align: left; }
.tp-row.noimg.sx-info { grid-template-columns: minmax(0, 1fr); }
.bt-back { display: block; text-align: left; }
/* Журнал места в окне приманки (23.10): строки ниже, карточка рыбы раскрывается под строкой */
.sb-list { gap: 6px; }
.tp-row.sb-row { min-height: 0; padding: 6px 12px 6px 6px; gap: 10px; border-radius: 16px; }
.sb-row .tp-th { width: 52px; height: 40px; border-radius: 12px; }
.sb-row .tp-tx b { font-size: 18px; }
.sb-row .tp-chev svg { transition: transform .2s; }
.sb-row.open .tp-chev svg { transform: rotate(90deg); }
.sb-own-i svg { width: 14px; height: 14px; vertical-align: 0; color: var(--accent); }
.sb-row-d { grid-column: 1 / -1; padding: 4px 2px 6px; cursor: default; }
.sb-more { margin-top: 12px; text-align: center; }
/* Окно «Снасть» (владелец 23.10): карточка спиннинга с его деталями, выбор лески и поводка с плюсами и минусами */
.tk-rod { margin: 0 0 4px; padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 0 0 1px color-mix(in srgb, var(--rc, transparent) 45%, transparent); }
.tk-rod-top { display: flex; align-items: center; gap: 12px; }
.tk-rod-i { flex: none; width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03) 72%); }
.tk-rod-i img { width: 100%; height: 100%; object-fit: contain; }
.tk-rod-i svg { width: 30px; height: 30px; color: var(--accent); }
.tk-rod-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tk-rod-t b { font-size: 20px; line-height: 1.05; }
.tk-rod-t small { font-size: 12.5px; font-weight: 700; line-height: 1.3; color: rgba(246, 243, 236, .7); }
.tk-sock-h { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 2px 6px; }
.tk-sock-h span { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 15px; }
.tk-sock-h small { font-size: 12px; font-weight: 800; color: rgba(246, 243, 236, .6); }
.tk-parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.tk-part { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 6px 8px 6px 6px; border-radius: 12px;
  background: rgba(255, 255, 255, .06); box-shadow: inset 3px 0 0 var(--pc, rgba(255, 255, 255, .2)); }
.tk-part-i { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); font-family: var(--f-display); font-weight: 900; font-size: 20px; color: rgba(246, 243, 236, .5); }
.tk-part-i img { width: 32px; height: 32px; object-fit: contain; }
.tk-part-t { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.tk-part-t b { font-size: 12.5px; font-weight: 800; line-height: 1.2; }
.tk-part-t small { font-size: 11px; font-weight: 700; line-height: 1.25; color: var(--aqua); }
.tk-part.off { opacity: .55; }
.tk-part.off .tk-part-t small { color: #FFB3BD; }
.tk-part.empty { background: none; box-shadow: inset 0 0 0 1px rgba(246, 243, 236, .2); }
.tk-part.empty .tk-part-t small { color: rgba(246, 243, 236, .5); }
.tk-hint { display: block; margin: 8px 2px 0; font-size: 11.5px; line-height: 1.35; color: rgba(246, 243, 236, .5); }
.tk-h { margin: 16px 2px 7px; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 17px; }
.tk-opts { display: grid; gap: 6px; }
.tk-opt { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 12px; border-radius: 14px;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.tk-opt.on { background: rgba(243, 210, 139, .1); box-shadow: inset 0 0 0 1.5px var(--accent); }
.tk-opt-t { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tk-opt-t b { font-size: 17px; line-height: 1.05; margin-bottom: 1px; }
.tk-opt-t small { font-size: 12px; font-weight: 700; line-height: 1.3; }
.tk-opt-t small.pro { color: var(--aqua); }
.tk-opt-t small.con { color: #FFB3BD; }
.tk-opt-a { flex: none; }
.tk-opt-a .tp-btn svg { width: 13px; height: 13px; margin-right: 4px; vertical-align: -1px; }
.tk-on { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 800; color: var(--accent); }
.tk-on svg { width: 15px; height: 15px; }
.tk-warn { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 6px; padding: 8px 12px; border-radius: 12px; font-size: 13px;
  line-height: 1.35; color: #FFD5DA; background: rgba(255, 110, 125, .1); box-shadow: inset 0 0 0 1px rgba(255, 140, 150, .35); }
.tk-warn svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 1px; color: #FF9AA6; }
.tk-part-i svg { width: 16px; height: 16px; }
/* Леска изнашивается, поводки пачками (владелец 23.10): полоса прочности катушки и метки запаса поводков */
.tk-h { display: flex; flex-direction: column; gap: 2px; }
.tk-h small { font-family: var(--f-text); font-style: normal; font-weight: 700; font-size: 11.5px; line-height: 1.3; color: rgba(246, 243, 236, .5); }
.tk-opt-a { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.tk-buy { display: flex; flex-direction: column; align-items: center; gap: 0; min-width: 104px; padding: 5px 10px; line-height: 1.1; }
.tk-buy b { font-size: 14px; }
.tk-buy small { font-family: var(--f-text); font-style: normal; font-size: 12px; font-weight: 800; opacity: .85; }
.tk-buy small svg { width: 11px; height: 11px; margin-right: 3px; vertical-align: -1px; }
.tk-spool { display: flex; align-items: center; gap: 8px; margin-top: 5px; }
.tk-spool i { position: relative; flex: 0 0 72px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.tk-spool i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--d); border-radius: inherit; background: var(--aqua); }
.tk-spool.mid i::after { background: #F0C46A; }
.tk-spool.low i::after { background: #FF8E9C; }
.tk-spool em, .tk-pack em { white-space: nowrap; font-style: normal; font-size: 12px; font-weight: 800; color: rgba(246, 243, 236, .7); }
.tk-spool.low em, .tk-spool.out em, .tk-pack.out em { color: #FFB3BD; }
.tk-pack { display: flex; align-items: center; gap: 3px; margin-top: 5px; }
.tk-pack i { width: 5px; height: 12px; border-radius: 2px; background: rgba(255, 255, 255, .14); }
.tk-pack i.on { background: var(--aqua); }
.tk-pack em { margin-left: 5px; }
.tk-pack.out em { margin-left: 0; }
.tk-opt.dead { box-shadow: inset 0 0 0 1.5px #FF8E9C; background: rgba(255, 110, 125, .08); }
