/* «Туман»: внутренние страницы — торговцы, магазин, Причал, трофеи, аквариум, фракции, клуб, профиль.
   Разметка — js/core/tp.js (корень <div class="tp">), появление — nav.js (dressPage). После tabs.css:
   берёт из harbor.css hbRise/hbFade/hbGrow/hbPop/hbFlow/hbSweep/hbKen и .hb-shine, из tuman.css tmWordIn,
   tmStickerIn, tmMetal, fxSun, fxSpin. Темы раздела — класс .theme-* на странице (def.theme в nav). */

/* ── каркас: крупный заголовок над фото, шапка проявляется при прокрутке ── */
.page .page-scroll { padding-left: 18px; padding-right: 18px; }
.page.has-title .page-hero { height: calc(var(--safe-top) + 330px); }
.page.has-title .page-scroll.with-hero { padding-top: calc(var(--safe-top) + 176px); }
.page.has-title .page-scroll:not(.with-hero) { padding-top: calc(var(--safe-top) + 58px); }
.page.has-title .page-hero::after { background: linear-gradient(180deg, rgba(6, 14, 16, .55) 0%, rgba(6, 14, 16, 0) 26%, rgba(6, 14, 16, 0) 48%,
  rgba(6, 14, 16, .7) 84%, rgba(6, 14, 16, .9) 100%); }
.page.has-title .page-head { background: none; }
.page.has-title .page-head::before { opacity: 0; transition: opacity .3s; }
.page.has-title .page-head::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: linear-gradient(180deg, rgba(11, 23, 25, .98) 0%, rgba(11, 23, 25, .96) 78%, rgba(11, 23, 25, 0)); }
/* шапка почти сплошная до заголовка: размытие под ней выключено (perf.css), и полупрозрачный фон пропускал текст страницы
   поверх заголовка (разбор экранов 06.10) */
.page.has-title.scrolled .page-head::before, .page.has-title.scrolled .page-head::after { opacity: 1; }
.page.has-title .page-title { opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.page.has-title.scrolled .page-title { opacity: 1; transform: none; }
.tp { position: relative; padding-bottom: 8px; }
.tp .tm-sec { margin-top: 26px; }

/* ── заголовок и реплика ── */
.tp-head { position: relative; padding-top: 4px; }
.tp-head .tm-daylabel { color: rgba(246, 243, 236, .82); text-shadow: 0 2px 12px rgba(0, 0, 0, .55); }
.tp-word { margin: 8px 0 0; font-size: min(calc(var(--tp-n, 88) * 1px), calc(var(--tp-n, 88) * 100vw / 390)); line-height: .8; letter-spacing: -.02em;
  white-space: nowrap; text-shadow: 0 10px 34px rgba(4, 12, 14, .5); }
.tp-head .tm-dayline { margin-top: 10px; font-size: 25px; text-shadow: 0 4px 18px rgba(0, 0, 0, .45); }
.tp-head .tm-dayline svg { width: 20px; height: 20px; vertical-align: -3px; }
.tp-sticker { top: 18px; }
.tp-sticker b { font-size: 30px; white-space: nowrap; }
.tp-say { position: relative; margin-top: 18px; padding: 11px 14px 12px; border-radius: 6px 18px 18px 18px; font-size: 14.5px; line-height: 1.42;
  color: rgba(246, 243, 236, .92); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 12px 30px rgba(3, 10, 12, .25); }
.tp-say .who { display: block; margin-bottom: 1px; font-size: 16px; color: var(--accent); }
.tp-say .txt { font-style: italic; }
.tp-say .txt.typing::after { content: "▍"; margin-left: 1px; color: var(--accent); animation: tpBlink .8s steps(2) infinite; }
@keyframes tpBlink { 50% { opacity: 0; } }

/* ── строки ── */
.tp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tp-row { position: relative; overflow: hidden; width: 100%; min-height: 76px; border-radius: 20px; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center; gap: 12px; padding: 10px 14px 10px 10px; text-align: left; color: var(--ink); background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .13); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  transition: transform .18s var(--ease), background .2s, opacity .3s; }
.tp-row.ico-row { grid-template-columns: 44px minmax(0, 1fr) auto; }
.tp-row.noimg { grid-template-columns: minmax(0, 1fr) auto; padding-left: 16px; }
.tp-row.tap { cursor: pointer; }
.tp-row.tap:active { transform: scale(.975); }
.tp-row.hl { background: rgba(255, 255, 255, .15); border-color: var(--accent); box-shadow: 0 12px 30px rgba(4, 12, 14, .28); }
.tp-row.hl::after, .tp-card.hl::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; background-size: 300% 100%;
  background-image: linear-gradient(105deg, rgba(255, 255, 255, 0) 42%, rgba(255, 244, 214, .2) 50%, rgba(255, 255, 255, 0) 58%);
  animation: hbSweep 4.6s ease-in-out 1.4s infinite; }
.tp-row.mint { border-color: rgba(169, 228, 208, .6); background: rgba(169, 228, 208, .1); }
.tp-row.red { border-color: rgba(242, 154, 142, .55); background: rgba(242, 154, 142, .1); }
.tp-row.locked { background: none; border: 1px dashed rgba(246, 243, 236, .28); -webkit-backdrop-filter: none; backdrop-filter: none; color: rgba(246, 243, 236, .55); }
.tp-row.locked .tp-th { filter: grayscale(1) brightness(.6); }
.tp-row.dim { opacity: .55; }
.tp-row.gone { animation: tpOut .5s ease-in both !important; }
.tp-row.ph { min-height: 82px; grid-template-columns: minmax(0, 1fr) 106px; gap: 10px; padding: 0 0 0 16px; }
.tp-ph { position: relative; align-self: stretch; background-size: cover; background-position: center; transition: transform .5s var(--ease); }
.tp-ph-r { position: absolute; right: 8px; bottom: 8px; }
.tp-th { position: relative; width: 56px; height: 56px; flex: none; border-radius: 16px; overflow: hidden; display: grid; place-items: center;
  background: rgba(8, 18, 20, .45) center / cover no-repeat; }
.tp-th.round { border-radius: 50%; }
.tp-th img { width: 100%; height: 100%; object-fit: cover; }
.tp-th.contain { background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .16), rgba(255, 255, 255, .03) 72%); }
.tp-th.contain img { width: 94%; height: 94%; object-fit: contain; filter: drop-shadow(0 5px 6px rgba(0, 0, 0, .4)); }
.tp-th.ico { width: 44px; height: 44px; border-radius: 14px; background: rgba(243, 210, 139, .12); color: var(--accent); }
.tp-th.ico svg { width: 22px; height: 22px; }
.tp-th.ico.mint { background: rgba(169, 228, 208, .14); color: var(--aqua); }
.tp-th.ico.red { background: rgba(242, 154, 142, .14); color: var(--red); }
.tp-th.ico.violet { background: rgba(201, 182, 255, .16); color: var(--violet); }
.tp-tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tp-tx b { font-size: 23px; line-height: .98; }
.tp-tx small { font-size: 12.5px; font-weight: 600; line-height: 1.32; color: rgba(246, 243, 236, .76); }
.tp-tx small svg, .tp-card-s svg, .tp-note svg, .tp-say svg, .tp-card-k svg, .tp-tile small svg, .tp-tile b svg, .tp-card-t svg,
.tp-tx b svg { width: 1.1em; height: 1.1em; vertical-align: -.18em; flex: none; }
.tp-row.hl .tp-tx small { color: rgba(246, 243, 236, .88); }
.tp-right { display: flex; align-items: center; gap: 6px; }
.tp-stack { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.tp-chev { color: rgba(246, 243, 236, .55); display: grid; }
.tp-chev svg { width: 20px; height: 20px; }
.tp-ping { position: absolute; right: -1px; bottom: 1px; width: 14px; height: 14px; border-radius: 50%; background: var(--aqua); border: 2px solid #12262A;
  animation: hbPing 2s ease-out infinite; }

/* ── значения, фишки, таймеры ── */
.tp-val { display: inline-flex; align-items: center; gap: 5px; font-family: var(--f-display); font-style: italic; font-size: 22px; font-weight: 900; white-space: nowrap; }
.tp-val svg { width: 15px; height: 15px; flex: none; }
.tp-val.gold { color: var(--accent); }
.tp-val.mint { color: var(--aqua); }
.tp-val.red { color: var(--red); }
.tp-val.ink { color: var(--ink); }
.tp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tp-chip { height: 30px; padding: 0 11px; border-radius: 15px; display: inline-flex; align-items: center; gap: 5px; font-size: 16px; font-weight: 800;
  color: var(--ink); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); white-space: nowrap; }
.tp-chip svg { width: 14px; height: 14px; }
.tp-chip.gold { color: var(--accent); border-color: rgba(243, 210, 139, .5); background: rgba(243, 210, 139, .1); }
.tp-chip.mint { color: var(--aqua); border-color: rgba(169, 228, 208, .5); background: rgba(169, 228, 208, .1); }
.tp-chip.red { color: var(--red); border-color: rgba(242, 154, 142, .5); background: rgba(242, 154, 142, .1); }
.tp-timer { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-display); font-style: italic; font-size: 17px; font-weight: 800; color: rgba(246, 243, 236, .78); }
.tp-timer b { color: var(--ink); font-weight: 900; }
.tp-timer svg { width: 16px; height: 16px; }
.tp-timer.ok { color: var(--aqua); }
.tp-timer.bad { color: var(--red); }
.tp-note { margin: 14px 2px 0; font-size: 12.5px; line-height: 1.45; color: rgba(246, 243, 236, .62); }
.tp-note b { color: rgba(246, 243, 236, .88); }

/* ── кнопки ── */
.tp-btn { position: relative; overflow: hidden; height: 46px; padding: 0 16px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  gap: 7px; font-size: 20px; font-weight: 900; white-space: nowrap; color: var(--accent-ink); background: var(--accent);
  transition: transform .15s var(--ease), opacity .2s, filter .2s; }
.tp-btn:active { transform: scale(.96); }
.tp-btn svg { width: 18px; height: 18px; flex: none; }
.tp-btn[disabled], .tp-btn.off { opacity: .42; pointer-events: none; filter: grayscale(.4); }
.tp-btn.busy { opacity: .7; pointer-events: none; }
.tp-btn.mint { background: var(--aqua); color: #0E2320; }
.tp-btn.ghost { color: var(--ink); background: rgba(255, 255, 255, .08); border: 1px solid var(--stroke-2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.tp-btn.red { color: var(--red); background: rgba(242, 154, 142, .16); border: 1px solid rgba(242, 154, 142, .6); }
.tp-btn.violet { background: var(--violet); color: #1C1433; }
.tp-btn.dark { background: #1F1A0E; color: #FFE39A; }
.tp-btn.metal { color: #2A1D05; background: linear-gradient(100deg, #C8922F 0%, #FFE39A 35%, #E2AE4C 60%, #FFF0C4 80%, #C8922F 100%); background-size: 220% 100%;
  animation: tmMetal 3.2s linear infinite; box-shadow: 0 0 30px rgba(255, 200, 90, .35), 0 12px 28px rgba(0, 0, 0, .45); }
.tp-btn.sm { height: 38px; padding: 0 12px; border-radius: 12px; font-size: 18px; }
.tp-btn.big { height: 58px; border-radius: 18px; font-size: 24px; box-shadow: 0 12px 28px rgba(3, 10, 12, .4); }
/* длинная подпись на узком экране — в две строки, а не обрезается («упить на 7 дней · 15 00», 07.10):
   высота — не меньше прежней, одна строка выглядит как раньше */
.tp-btn { white-space: normal; line-height: 1; text-align: center; text-wrap: balance; height: auto; min-height: 46px; padding-block: 4px; }
.tp-btn.sm { height: auto; min-height: 38px; }
.tp-btn.big { height: auto; min-height: 58px; }
.tp-btn.block { display: flex; width: 100%; }
.tp-btn.pulse { animation: tpPulse 2.2s ease-in-out infinite; }
@keyframes tpPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(243, 210, 139, .5); } 50% { box-shadow: 0 0 0 9px rgba(243, 210, 139, 0); } }
.tp-btn.mint.pulse { animation-name: tpPulseMint; }
@keyframes tpPulseMint { 0%, 100% { box-shadow: 0 0 0 0 rgba(169, 228, 208, .5); } 50% { box-shadow: 0 0 0 9px rgba(169, 228, 208, 0); } }
.tp-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tp-mt { margin-top: 10px; }
.tp-mt2 { margin-top: 18px; }

/* ── карточки ── */
.tp-card { position: relative; overflow: hidden; border-radius: 22px; padding: 14px 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 12px 30px rgba(3, 10, 12, .22); }
.tp-card.gold { border-color: rgba(243, 210, 139, .55); background: linear-gradient(100deg, rgba(243, 210, 139, .16), rgba(255, 255, 255, .05)); }
.tp-card.mint { border-color: rgba(169, 228, 208, .55); background: linear-gradient(100deg, rgba(169, 228, 208, .14), rgba(255, 255, 255, .05)); }
.tp-card.red { border-color: rgba(242, 154, 142, .55); background: linear-gradient(100deg, rgba(242, 154, 142, .14), rgba(255, 255, 255, .04)); }
.tp-card.violet { border-color: rgba(201, 182, 255, .5); background: linear-gradient(100deg, rgba(201, 182, 255, .16), rgba(243, 210, 139, .1)); }
.tp-card-k { font-family: var(--f-display); font-style: italic; font-size: 17px; font-weight: 800; color: var(--accent); }
.tp-card-t { margin-top: 2px; font-family: var(--f-display); font-style: italic; font-size: 30px; font-weight: 900; line-height: .95; }
.tp-card-s { margin-top: 5px; font-size: 13px; font-weight: 600; line-height: 1.38; color: rgba(246, 243, 236, .8); }
/* задание с кольцом: картинка в кольце слева, суть справа */
.tp-task { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 14px; align-items: center; }
.tp-task .tp-ring { width: 136px; height: 136px; }
.tp-task-x { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tp-task-x .tp-card-t { font-size: 27px; }
/* Анатолий: золото — только у награды и «Ловить»; «осталось 28 кг» — на тёмной плашке (разбор экранов 06.10) */
.ana-head .tm-dayline { color: var(--ink); }
.ana-task .tp-task-x .tp-card-k { color: rgba(246, 243, 236, .66); }
.ana-task .tp-ring:not(.done) .tp-ring-l { background: rgba(11, 23, 25, .9); color: var(--ink); box-shadow: 0 0 0 1px rgba(246, 243, 236, .22), 0 6px 14px rgba(0, 0, 0, .35); }
.ana-warn { margin: 7px 4px 0; text-align: center; font-size: 13.5px; font-weight: 700; line-height: 1.35; color: #FFB08A; }
/* наживки нет — строка с «Купить» под местом ловли (npc.js spotRow) */
.tp-row.spot-bait { min-height: 0; padding: 8px 10px 8px 16px; }
.tp-row.spot-bait .tp-tx b { font-size: 18px; color: #FFB08A; }

/* ── фото-плашка (как «Магазин снастей») ── */
.tp-banner { position: relative; height: 150px; border-radius: 22px; overflow: hidden; cursor: pointer; box-shadow: 0 14px 30px rgba(3, 10, 12, .3);
  transition: transform .18s var(--ease); display: block; width: 100%; text-align: left; color: var(--ink); }
.tp-banner:active { transform: scale(.985); }
.tp-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; animation: hbKen 22s ease-in-out infinite alternate; }
.tp-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 14, 16, .9) 0%, rgba(6, 14, 16, .55) 58%, rgba(6, 14, 16, .1) 100%); }
.tp-banner-in { position: absolute; inset: 16px; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; }
.tp-banner-in > span:first-child { display: flex; flex-direction: column; }
.tp-banner-t { display: block; font-size: 34px; font-weight: 900; line-height: .9; }
.tp-banner-d { display: block; margin-top: 4px; font-size: 13px; font-weight: 600; line-height: 1.35; color: rgba(246, 243, 236, .85); max-width: 70%; }

/* ── крупное число и полоска цифр ── */
.tp-big { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.tp-big b { font-size: 72px; font-weight: 900; line-height: .8; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tp-big > span { font-family: var(--f-display); font-style: italic; font-size: 24px; font-weight: 900; color: rgba(246, 243, 236, .65); }
.tp-big.gold b { color: var(--accent); }
.tp-big.mint b { color: var(--aqua); }
.tp-stats { position: relative; overflow: hidden; border-radius: 20px; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); }
.tp-stats > span, .tp-stats > button { padding: 10px 0 12px 14px; display: flex; flex-direction: column; min-width: 0; text-align: left; color: var(--ink); }
.tp-stats > * + * { border-left: 1px solid rgba(255, 255, 255, .12); }
.tp-stats > button:active { background: rgba(255, 255, 255, .06); }
.tp-stats b { font-family: var(--f-display); font-style: italic; font-size: 30px; font-weight: 900; line-height: 1; white-space: nowrap; }
.tp-stats small { font-family: var(--f-display); font-style: italic; font-size: 15px; font-weight: 800; color: rgba(246, 243, 236, .68); }
.tp-stats .gold { color: var(--accent); }
.tp-stats .mint { color: var(--aqua); }
@media (max-width: 360px) { .tp-stats b { font-size: 25px; } .tp-stats > span, .tp-stats > button { padding-left: 10px; } }   /* «+10 %» в три колонки на 320 px (07.10) */

/* ── полосы, кольца, точки ── */
.tp-bar { display: block; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.tp-bar i { display: block; width: var(--p); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #FFF1C9 60%, var(--accent));
  background-size: 200% 100%; animation: hbFlow 2.8s linear infinite; box-shadow: 0 0 10px rgba(243, 210, 139, .55); }
.tp-bar.mint i { background: linear-gradient(90deg, var(--aqua), #E2FFF6 60%, var(--aqua)); background-size: 200% 100%; box-shadow: 0 0 10px rgba(169, 228, 208, .55); }
.tp-bar.red i { background: linear-gradient(90deg, #E07A6E, var(--red)); box-shadow: 0 0 10px rgba(242, 154, 142, .6); }
.tp-bar.thin { height: 4px; }
.tp-ring { position: relative; width: 156px; height: 156px; flex: none; }
.tp-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.tp-ring circle { fill: none; stroke-width: 8; }
.tp-ring .bg { stroke: rgba(255, 255, 255, .12); }
.tp-ring .fg { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset 1.3s cubic-bezier(.3, .7, .2, 1) .25s; filter: drop-shadow(0 0 6px rgba(243, 210, 139, .55)); }
.tp-ring.done .fg { stroke: var(--aqua); filter: drop-shadow(0 0 7px rgba(169, 228, 208, .6)); }
.tp-ring > .tp-ring-fl { position: absolute; left: 13%; top: 16%; width: 74%; height: 68%; animation: pfFloat 4s ease-in-out infinite alternate; }
.tp-ring-fl > img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .45)); }   /* тень — у картинки (09.10) */
.tp-ring-l { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); height: 26px; padding: 0 10px; border-radius: 13px; display: flex; align-items: center;
  font-size: 15px; font-weight: 900; white-space: nowrap; color: var(--accent-ink); background: var(--accent); box-shadow: 0 6px 14px rgba(0, 0, 0, .35); }
.tp-ring.done .tp-ring-l { background: var(--aqua); color: #0E2320; }
.tp-ring.bump { animation: tpRingBump .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes tpRingBump { 40% { transform: scale(1.08); } }
.tp-dots { display: flex; gap: 4px; }
.tp-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.tp-dots i.on { background: var(--aqua); box-shadow: 0 0 8px rgba(169, 228, 208, .7); }

/* ── переключатель разделов ── */
.tp-seg { margin-top: 18px; display: flex; gap: 4px; padding: 4px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); }
.tp-seg button { flex: 1; min-width: 0; height: 40px; border-radius: 12px; padding: 0 6px; font-family: var(--f-display); font-style: italic; font-size: 19px; font-weight: 900;
  color: rgba(246, 243, 236, .7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .25s, color .25s, box-shadow .25s; }
.tp-seg button.on { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 16px rgba(243, 210, 139, .25); }
@media (max-width: 400px) { .tp-seg button { font-size: 16.5px; padding: 0 4px; } .tp-seg button .n { font-size: 13.5px; } }
@media (max-width: 340px) { .tp-seg button { font-size: 14.5px; padding: 0 3px; } .tp-seg { gap: 2px; } }
.tp-seg button .n { font-size: 15px; opacity: .78; }
/* Тихон без находок: «Находки · 0» приглушены, вместо заголовка «Лавка» — одна строка (разбор экранов 06.10) */
.tp-seg button.th-none:not(.on) { opacity: .55; }
.th-empty { margin: 10px 2px 14px; font-size: 14px; font-weight: 600; line-height: 1.35; color: rgba(246, 243, 236, .75); }

/* ── плитки ── */
.tp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tp-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tp-tile { position: relative; border-radius: 18px; padding: 10px 8px 11px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; min-width: 0;
  color: var(--ink); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  transition: transform .18s var(--ease); }
.tp-tile.tap:active { transform: scale(.96); }
.tp-tile img { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .4)); }
.tp-tile b { font-size: 17px; line-height: 1.02; }
.tp-tile small { font-size: 11.5px; font-weight: 600; color: rgba(246, 243, 236, .72); }
.tp-tile .tp-val { font-size: 17px; }
.tp-tile .tp-val svg { width: 12px; height: 12px; }
.tp-tile .cnt { position: absolute; right: 7px; top: 7px; min-width: 24px; height: 22px; padding: 0 6px; border-radius: 11px; display: grid; place-items: center;
  font-family: var(--f-display); font-style: italic; font-size: 15px; font-weight: 900; color: var(--accent-ink); background: var(--accent); }
.tp-tile.sold, .tp-tile.gone { animation: tpTileOut .5s ease-in both !important; }
@keyframes tpTileOut { 30% { transform: scale(1.08); filter: brightness(1.4); } 100% { opacity: 0; transform: translateY(-18px) scale(.6); } }
@keyframes tpOut { 20% { transform: scale(1.02); filter: brightness(1.35); } 100% { opacity: 0; transform: translateX(56px) scale(.96); } }

/* ── пусто ── */
.tp-empty { border-radius: 24px; padding: 24px 20px 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  background: rgba(255, 255, 255, .05); border: 1px dashed rgba(246, 243, 236, .22); }
.tp-empty-ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: rgba(243, 210, 139, .14);
  animation: bkEmptyBob 3s ease-in-out infinite alternate; }
.tp-empty-ico svg { width: 30px; height: 30px; }
.tp-empty b { font-size: 28px; line-height: 1; }
.tp-empty > span:not(.tp-empty-ico) { font-size: 14px; line-height: 1.4; color: rgba(246, 243, 236, .78); max-width: 290px; }
.tp-empty .tp-btn { margin-top: 8px; }

/* ── кнопка снизу, прилипает к краю ── */
/* отступ sticky считается от нижнего поля прокрутки страницы (safe-bottom + 28px): −14px — 14px над краем экрана */
.tp-dock { position: sticky; bottom: -14px; z-index: 4; margin-top: 18px; display: grid; gap: 10px; }
.tp-dock.two { grid-template-columns: 1fr 2.2fr; }
.tp-dock::before { content: ""; position: absolute; left: -18px; right: -18px; top: -40px; bottom: calc(-20px - var(--safe-bottom)); z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 12, 16, 0) 0, rgba(6, 12, 16, .88) 62px, rgba(6, 12, 16, .97) 98px); }
/* кнопка-«причал» должна стоять последней: если после неё что-то есть, она — обычная кнопка, без подложки
   (14.10: у Тихона подложка «Обменять» наезжала на карточку «Доверие Тихона») */
.tp-dock:not(:last-child) { position: relative; bottom: auto; }
.tp-dock:not(:last-child)::before { display: none; }

/* ── появление: блоки волной, слово проявляется, наклейка прилетает, полосы растут ── */
.page.intro .tp > *:not(.tp-list):not(.tp-grid) { animation: hbRise .55s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(70ms + var(--i, 0) * 65ms); }
.page.intro .tp-list > *, .page.intro .tp-grid > * { animation: hbRise .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(140ms + var(--i, 0) * 50ms + var(--j, 0) * 55ms); }
.page.intro .tp-grid > * { animation-name: tpPop; }
@keyframes tpPop { from { opacity: 0; transform: scale(.82) translateY(10px); } to { opacity: 1; transform: none; } }
.page.intro .tp-word { animation: tmWordIn .9s cubic-bezier(.2, .8, .2, 1) both; }
.page.intro .tp-head .tm-dayline { animation: hbFade .6s .3s ease-out both; }
.page.intro .tp-sticker { animation: tmStickerIn .7s .45s cubic-bezier(.3, 1.6, .5, 1) both; }
.page.intro .tp-bar i { animation: hbGrow 1.1s cubic-bezier(.2, .8, .2, 1) .45s both, hbFlow 2.8s linear infinite; }
.page.intro .tp-dock { animation: bkDockIn .6s cubic-bezier(.2, .8, .2, 1) .45s both; }
.page.intro [data-count] { display: inline-block; animation: hbPop .5s ease-out 1.35s both; }

/* ── мелочи: ссылка в заголовке раздела, награда, наживка в тексте ── */
.tp-link { font-size: 17px; font-weight: 900; color: var(--accent); animation: tkBlink 1.6s ease-in-out infinite; }
.tp-reward { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.tp-reward .tp-val { font-size: 24px; }
.tp-bait { display: inline-grid; vertical-align: -3px; margin-right: 3px; }
.tp-bait svg, .tp-bait img { width: 15px; height: 15px; }

/* ── лот дня Ингвара: вещь в лучах, металлическая кнопка ── */
.tp-lot { position: relative; overflow: hidden; margin-top: 18px; border-radius: 26px; padding: 18px 18px 16px; display: flex; flex-direction: column; align-items: center;
  gap: 8px; text-align: center; border: 1px solid rgba(243, 210, 139, .5);
  background: radial-gradient(70% 50% at 50% 34%, rgba(255, 214, 140, .26), rgba(255, 214, 140, 0) 70%), linear-gradient(180deg, rgba(20, 44, 48, .6), rgba(6, 14, 16, .88));
  box-shadow: 0 20px 44px rgba(3, 10, 12, .4); }
.tp-lot-rays { position: absolute; left: 50%; top: 150px; width: 820px; height: 820px; margin: -410px 0 0 -410px; border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  background: repeating-conic-gradient(from 0deg, rgba(255, 226, 170, .14) 0deg 3deg, rgba(255, 226, 170, 0) 3deg 12deg);
  -webkit-mask-image: radial-gradient(circle, #000 0, #000 8%, transparent 40%); mask-image: radial-gradient(circle, #000 0, #000 8%, transparent 40%);
  animation: fxSpin 40s linear infinite; }
.tp-lot > *:not(.tp-lot-rays) { position: relative; }
.tp-lot-k { font-size: 17px; font-weight: 800; color: var(--accent); }
.tp-lot-pic { height: 170px; display: grid; place-items: center; }
.tp-lot-pic img { max-width: 220px; max-height: 170px; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .5)); animation: pfFloat 4s ease-in-out infinite alternate; }
.tp-lot-pic img.rod { max-height: 190px; transform: rotate(-24deg); }
.tp-lot-ico { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: rgba(243, 210, 139, .12);
  box-shadow: 0 0 40px rgba(243, 210, 139, .25); animation: pfFloat 4s ease-in-out infinite alternate; }
.tp-lot-ico svg { width: 76px; height: 76px; stroke-width: 1.6; }   /* 60 терялся в карточке с лучами */
.tp-lot-name { font-size: 34px; line-height: .95; }
.tp-lot-eff { font-size: 13.5px; font-weight: 600; line-height: 1.4; color: rgba(246, 243, 236, .85); max-width: 300px; }
.tp-lot .tp-btn { margin-top: 6px; }
.tp-lot-reason { font-size: 13px; font-weight: 700; color: var(--red); }
.tp-lot.sold { border-color: rgba(246, 243, 236, .18); }
/* Ингвар: три лота — первый большой, с лучами; остальные компактные, без лучей и плавания (телефон) */
.tp-lot.sm { margin-top: 12px; padding: 14px 16px; }
.tp-lot.sm .tp-lot-pic { height: 108px; }
.tp-lot.sm .tp-lot-pic img { max-width: 170px; max-height: 108px; animation: none; }
.tp-lot.sm .tp-lot-pic img.rod { max-height: 118px; }
.tp-lot.sm .tp-lot-ico { width: 84px; height: 84px; }
.tp-lot.sm .tp-lot-ico svg { width: 52px; height: 52px; }
.tp-lot.sm .tp-lot-name { font-size: 26px; }
.tp-lot-pic { position: relative; }
.tp-lot-n { position: absolute; right: -6px; bottom: 8px; font-size: 26px; color: var(--accent); text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.tp-lot.sold .tp-lot-pic { filter: grayscale(.8) brightness(.7); }
.page.intro .tp-lot-pic { animation: pfFishIn 1s cubic-bezier(.3, 1.35, .5, 1) .35s both; }
/* Ингвар (update/55_INGVAR.md, 18.10): сделка недели, наживка оптом, диковины, выбор именных рыб */
.ig-deal { margin-top: 18px; padding: 16px 16px 14px; border-radius: 24px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center; border: 1px solid rgba(243, 210, 139, .55);
  background: radial-gradient(80% 60% at 50% 30%, rgba(255, 214, 140, .22), rgba(255, 214, 140, 0) 70%), linear-gradient(180deg, rgba(20, 44, 48, .62), rgba(6, 14, 16, .9));
  box-shadow: 0 18px 40px rgba(3, 10, 12, .4); }
.ig-deal.done { border-color: rgba(246, 243, 236, .18); }
.ig-deal-k { font-size: 17px; font-weight: 800; color: var(--accent); }
.ig-deal-row { display: flex; align-items: center; gap: 10px; }
.ig-deal-fish { display: flex; gap: 6px; }
.ig-deal-fish i { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #ffd24a;
  background: rgba(255, 210, 74, .12); box-shadow: 0 0 18px rgba(255, 210, 74, .22); }
.ig-deal-fish i:nth-child(2) { color: #e6f6ff; background: rgba(220, 240, 255, .12); box-shadow: 0 0 18px rgba(220, 240, 255, .22); }
.ig-deal-fish svg { width: 28px; height: 28px; }
.ig-deal-arrow { color: rgba(246, 243, 236, .6); } .ig-deal-arrow svg { width: 22px; height: 22px; }
.ig-deal-rub { font-size: 40px; line-height: 1; color: var(--accent); }
.ig-deal-t { margin: 0; font-size: 13.5px; font-weight: 600; line-height: 1.4; color: rgba(246, 243, 236, .86); max-width: 320px; }
.ig-deal-st { margin: 2px 0 0; font-size: 13px; font-weight: 700; color: rgba(246, 243, 236, .7); }
.ig-deal .tp-btn { margin-top: 4px; }
.ig-packs { margin-top: 10px; }
.ig-bait-day { margin: 10px 2px 8px; font-size: 13px; font-weight: 700; color: rgba(246, 243, 236, .72); }
.tp-th.ig-bait { background: rgba(255, 255, 255, .06); }
.tp-th.ig-bait svg { width: 38px; height: 38px; }
.ig-curios { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.ig-curio { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border-radius: 16px; text-align: center;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.ig-curio img { width: 100%; max-width: 56px; aspect-ratio: 1; object-fit: contain; filter: grayscale(1) brightness(.55); opacity: .7; }
.ig-curio small { font-size: 10.5px; font-weight: 700; line-height: 1.15; color: rgba(246, 243, 236, .55); }
.ig-curio.own { border-color: rgba(243, 210, 139, .5); background: rgba(243, 210, 139, .1); }
.ig-curio.own img { filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); opacity: 1; }
.ig-curio.own small { color: var(--accent); }
.ig-picks { display: grid; gap: 8px; }
.ig-pick { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border-radius: 16px; text-align: left; color: inherit; font: inherit;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.ig-pick.on { border-color: var(--accent); background: rgba(243, 210, 139, .12); }
.ig-pick-pic { width: 52px; height: 52px; flex: none; display: grid; place-items: center; }
.ig-pick-pic img { max-width: 52px; max-height: 52px; object-fit: contain; }
.ig-pick-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ig-pick-tx b { font-size: 16px; line-height: 1.1; }
.ig-pick-tx small { font-size: 12px; font-weight: 600; color: rgba(246, 243, 236, .62); line-height: 1.3; }
.ig-pick-ck { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 2px solid rgba(255, 255, 255, .25); color: transparent; }
.ig-pick.on .ig-pick-ck { background: var(--accent); border-color: var(--accent); color: #1b1408; }
.ig-pick-ck svg { width: 16px; height: 16px; }

/* ── окно «Задание выполнено»: лучи, рыба, награда, металлическая «Забрать» ── */
.tp-cel { padding: 22px 20px 18px; }
.tp-cel .cel-img { height: 170px; }
.tp-cel-k { position: relative; font-size: 20px; font-weight: 800; color: var(--accent); }
.tp-cel-t { position: relative; margin-top: 2px; font-size: 38px; line-height: .92; }
.tp-cel-r { position: relative; margin: 12px 0 16px; display: flex; justify-content: center; gap: 14px; }
.tp-cel-r .tp-val { font-size: 30px; }
.tp-cel-r .tp-val svg { width: 20px; height: 20px; }

/* ── компактные строки (легенды, списки правил) ── */
.tp-row.compact { min-height: 52px; grid-template-columns: 36px minmax(0, 1fr) auto; padding: 6px 14px 6px 10px; border-radius: 16px; }
.tp-row.compact.noimg { grid-template-columns: minmax(0, 1fr) auto; padding-left: 14px; }
.tp-row.compact .tp-th { width: 36px; height: 36px; border-radius: 12px; }
.tp-row.compact .tp-tx b { font-size: 19px; }
.tp-row.compact .tp-val { font-size: 19px; }

/* ── Семёныч: защита баланса, итог игры, ставки ── */
.tp-guard { margin-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.tp-guard small { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: rgba(246, 243, 236, .72); }
.tp-guard small svg { width: 14px; height: 14px; color: var(--aqua); flex: none; }
.cas-stakes { margin-top: 14px; justify-content: center; }
.cas-stakes .tp-chip { height: 40px; padding: 0 15px; font-size: 20px; cursor: pointer; transition: transform .15s, background .2s; }
.cas-stakes .tp-chip:active { transform: scale(.94); }
.cas-stakes .tp-chip.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); box-shadow: 0 6px 16px rgba(243, 210, 139, .3); }
.cas-sw { background: none !important; }
.cas-dot { width: 20px; height: 20px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255, 255, 255, .12); }
.tp .sacks { margin-top: 18px; }
.tp .sk-n { font-size: 19px; }
.tp .sk-p .tp-val { font-size: 18px; }

/* ── Штурвал удачи, итог игры, «Двойное или ничего» (01.10.2026) ──
   Колесо крутит видеокарта (только transform), тень под ним стоит; язычок щёлкает на колышках,
   строка над колесом — что под стрелкой; итог — изменение баланса крупно и формула. */
.cw-lab { text-align: center; font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--ink); margin-top: 6px; }
/* над штурвалом — одна картинка-полоса, а не второй штурвал (разбор экранов 06.10) */
.page:has(.tp.cw) .page-hero { height: calc(var(--safe-top) + 140px); }
.page:has(.tp.cw) .page-scroll.with-hero { padding-top: calc(var(--safe-top) + 84px); }
.page:has(.tp.cw) .page-hero-img { background-position: center 100%; }
.cw-tick { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 9px; min-height: 50px; margin: 8px 0 0;
  padding: 6px 14px; border-radius: 18px; text-align: center; }
.cw-t-e { font-size: 22px; line-height: 1; }
.cw-t-n { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 25px; line-height: 1.1; }
.cw-t-m { font-size: 27px; line-height: 1; color: var(--accent); }
.cw-t-m.z { font-size: 20px; color: var(--red); }
.cw-tick.idle .cw-t-n, .cw-tick.spin .cw-t-n { font-family: inherit; font-style: normal; font-weight: 700; font-size: 17px; color: rgba(246, 243, 236, .72); }
.cw-tick.spin .cw-t-n { animation: cwBreath 1s ease-in-out infinite alternate; }
@keyframes cwBreath { from { opacity: .45; } to { opacity: 1; } }
.cw-tick.win { background: rgba(243, 210, 139, .12); box-shadow: inset 0 0 0 1px rgba(243, 210, 139, .5); animation: cwPop .55s cubic-bezier(.3, 1.5, .5, 1) both; }
.cw-tick.even { background: rgba(255, 255, 255, .07); animation: cwPop .45s ease-out both; }
.cw-tick.lose { background: rgba(242, 154, 142, .08); box-shadow: inset 0 0 0 1px rgba(242, 154, 142, .32); animation: cwPop .45s ease-out both; }
.cw-tick.lose .cw-t-n { color: rgba(246, 243, 236, .75); }
.cw-tick-bump { animation: cwBump .2s ease-out; }
@keyframes cwBump { from { transform: translateY(-5px); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes cwPop { from { transform: scale(.84); opacity: 0; } to { transform: none; opacity: 1; } }

.cw-stage { position: relative; width: min(100%, 316px); aspect-ratio: 1; margin: 12px auto 0; }
.cw-shadow { position: absolute; left: 6%; right: 6%; bottom: -5%; height: 20%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .62), rgba(0, 0, 0, 0)); }
.cw-stage .helm { position: absolute; inset: 0; will-change: transform; }
.helm-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.helm-svg text { dominant-baseline: central; text-anchor: middle; }
.helm-svg text.wm { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 19px; fill: #fff; paint-order: stroke; stroke: rgba(0, 0, 0, .55); stroke-width: 3.5px; }
.helm-svg text.we { font-size: 16px; }
.helm-svg text.wz { font-size: 15px; opacity: .4; }
.helm-svg text.wk { font-family: var(--f-display); font-weight: 900; font-size: 8.5px; fill: #1c242e; }
.helm-svg text.wk.g { fill: #3a2300; font-size: 17px; }
.cw-hl { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.cw-hl-p { fill: rgba(255, 244, 214, .18); stroke: #FFE7A6; stroke-width: 3; stroke-linejoin: round; animation: cwHl 1.1s ease-in-out 3 both; }
@keyframes cwHl { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.cw-ptr { position: absolute; left: 50%; top: -4.5%; width: 34px; height: 48px; margin-left: -17px; z-index: 3; pointer-events: none; filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .6)); }
.cw-ptr i { position: absolute; inset: 0; transform-origin: 17px 13px; will-change: transform;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 48'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23C8922F'/%3E%3Cstop offset='.5' stop-color='%23FFE7A6'/%3E%3Cstop offset='1' stop-color='%23B8822A'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M17 46 L5 16 A13 13 0 1 1 29 16 Z' fill='url(%23g)' stroke='%235a3d0c' stroke-width='1.5'/%3E%3Ccircle cx='17' cy='13' r='4.5' fill='%235a3d0c'/%3E%3Ccircle cx='16' cy='12' r='1.6' fill='%23fff2b8'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.cw-stamp { position: absolute; left: 50%; top: 50%; z-index: 4; pointer-events: none; padding: 6px 16px; border-radius: 22px;
  font-size: 58px; line-height: 1; color: #FFE7A6; background: radial-gradient(closest-side, rgba(10, 14, 20, .82), rgba(10, 14, 20, .5) 70%, rgba(10, 14, 20, 0));
  text-shadow: 0 0 22px rgba(255, 190, 70, .85), 0 5px 14px rgba(0, 0, 0, .7); transform: translate(-50%, -50%); animation: cwStamp .6s cubic-bezier(.3, 1.6, .45, 1) both; }
.cw-stamp.big { font-size: 76px; }
@keyframes cwStamp { from { transform: translate(-50%, -50%) scale(2.3); opacity: 0; } 55% { opacity: 1; } to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
.cw-rays { position: absolute; inset: -22%; border-radius: 50%; opacity: 0; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(255, 224, 122, .38) 0 8deg, rgba(255, 224, 122, 0) 8deg 20deg);
  -webkit-mask: radial-gradient(circle, #000 28%, transparent 70%); mask: radial-gradient(circle, #000 28%, transparent 70%); }
.cw-stage.t5 .cw-rays, .cw-stage.t6 .cw-rays { animation: cwRays 2.6s ease-out both; }
@keyframes cwRays { 0% { opacity: 0; transform: scale(.6) rotate(0deg); } 25% { opacity: 1; } 100% { opacity: 0; transform: scale(1.05) rotate(40deg); } }
.cw-stage.t0::after { content: ""; position: absolute; inset: -1%; border-radius: 50%; background: rgba(4, 8, 12, .42); pointer-events: none; z-index: 2; animation: cwDim 1.8s ease-out both; }
@keyframes cwDim { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }
.page.cw-spinning .cw-lab, .page.cw-spinning .cas-stakes, .page.cw-spinning .cw-guard { opacity: .45; transition: opacity .3s; }

.cw-res { margin-top: 14px; padding: 12px 14px 14px; border-radius: 22px; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center;
  background: rgba(10, 20, 22, .62); border: 1px solid var(--stroke-2); animation: cwResIn .5s cubic-bezier(.2, .9, .3, 1.15) both; }
@keyframes cwResIn { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
.cw-res-k { font-size: 14px; font-weight: 800; color: rgba(246, 243, 236, .72); }
.cw-res-sum { font-size: 54px; line-height: 1; letter-spacing: -.01em; }
.cw-res-why { font-size: 14px; font-weight: 600; color: rgba(246, 243, 236, .7); }
.cw-res.win { border-color: rgba(169, 228, 208, .5); background: linear-gradient(180deg, rgba(169, 228, 208, .13), rgba(10, 20, 22, .62)); }
.cw-res.win .cw-res-sum { color: var(--aqua); }
.cw-res.big { border-color: rgba(243, 210, 139, .65); background: radial-gradient(120% 100% at 50% 0%, rgba(243, 210, 139, .26), rgba(10, 20, 22, .62)); }
.cw-res.big .cw-res-sum { color: var(--accent); text-shadow: 0 0 26px rgba(243, 210, 139, .55); }
.cw-res.lose { border-color: rgba(242, 154, 142, .35); }
.cw-res.lose .cw-res-sum { color: var(--red); }
.cw-res-btns { display: grid; grid-template-columns: 1.35fr 1fr; gap: 8px; width: 100%; margin-top: 10px; }
.cw-res-btns .tp-btn { height: 48px; font-size: 19px; padding: 0 10px; }
.cw-res-btns .tp-btn svg { width: 18px; height: 18px; }
.cw-res-note { display: flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: rgba(246, 243, 236, .6); }
.cw-res-note svg, .cw-guard svg { width: 14px; height: 14px; flex: none; color: var(--aqua); }
.cw-guard { display: flex; align-items: flex-start; justify-content: center; gap: 6px; margin: 12px 6px 0; font-size: 12.5px; font-weight: 600; color: rgba(246, 243, 236, .58); }
.cw-guard svg { margin-top: 2px; }

.dbl { position: relative; width: min(372px, calc(100vw - 28px)); padding: 18px 16px 16px; border-radius: 28px; text-align: center;
  background: linear-gradient(180deg, rgba(34, 44, 52, .99), rgba(14, 22, 26, .99)); border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: cardPop .5s var(--spring) both; }
.dbl.won { border-color: rgba(243, 210, 139, .55); }
.dbl.lost { border-color: rgba(242, 154, 142, .45); }
.shell-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.dbl .shell3d .face { display: block; filter: none; }
.dbl-ico { display: block; width: 44px; height: 42px; }
.dbl-k { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 27px; }
.dbl-stake { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px; font-size: 46px; line-height: 1; }
.dbl-stake .coin { width: 30px; height: 30px; flex: none; }
.dbl-stake b { transition: color .3s; }
.dbl-stake b.burnt { color: var(--red); text-decoration: line-through; text-decoration-thickness: 3px; }
.dbl.won .dbl-stake b { color: var(--accent); text-shadow: 0 0 22px rgba(243, 210, 139, .5); }
.dbl-sub { margin-top: 5px; font-size: 14px; font-weight: 600; color: rgba(246, 243, 236, .7); }
.dbl .shell-stage { height: 124px; }
.dbl .shell3d { width: 96px; height: 96px; }
.dbl .shell3d .face { inset: 4px; }
.dbl-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dbl-opt { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px 12px; border-radius: 18px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--stroke-2); transition: opacity .35s, transform .35s cubic-bezier(.3, 1.5, .5, 1), border-color .35s, background .35s; }
.dbl-opt b { font-size: 20px; }
.dbl-opt small { font-size: 13.5px; font-weight: 800; }
.dbl-opt em { font-style: normal; font-size: 12.5px; font-weight: 700; color: rgba(246, 243, 236, .55); }
.dbl-opt.win small { color: var(--accent); }
.dbl-opt.lose small { color: var(--red); }
.dbl-opts.wait .dbl-opt { animation: dblWait .45s ease-in-out infinite alternate; }
.dbl-opts.wait .dbl-opt.lose { animation-delay: .45s; }
@keyframes dblWait { from { opacity: .45; } to { opacity: 1; } }
.dbl-opt.on { transform: scale(1.06); }
.dbl-opt.on.win { border-color: var(--accent); background: rgba(243, 210, 139, .17); box-shadow: 0 0 28px rgba(243, 210, 139, .35); }
.dbl-opt.on.lose { border-color: var(--red); background: rgba(242, 154, 142, .16); animation: dblShake .45s ease-in-out; }
.dbl-opt.off { opacity: .32; transform: scale(.95); }
@keyframes dblShake { 20%, 60% { transform: scale(1.06) translateX(-5px); } 40%, 80% { transform: scale(1.06) translateX(5px); } }
.dbl-verdict { min-height: 64px; margin: 10px 2px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
.dbl-verdict b { font-size: 38px; line-height: 1; }
.dbl-verdict span { font-size: 14px; font-weight: 600; color: rgba(246, 243, 236, .72); }
.dbl-verdict.win b { color: var(--accent); text-shadow: 0 0 22px rgba(243, 210, 139, .5); animation: dblV .5s cubic-bezier(.3, 1.6, .45, 1) both; }
.dbl-verdict.lose b { color: var(--red); animation: dblV .45s ease-out both; }
@keyframes dblV { from { transform: scale(1.9); opacity: 0; } to { transform: none; opacity: 1; } }
.dbl-btns { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.dbl-btns .tp-btn { height: 52px; font-size: 20px; }
.sack-pop .sp-mult { top: 36px; left: -58px; width: 116px; padding: 3px 0 4px; border-radius: 14px; background: rgba(10, 14, 20, .84);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .45); }   /* на плашке: иначе «×0,5» ложился на подпись мешка */
.sack-pop.big .sp-emo { font-size: 84px; }
.sack-pop.big .sp-mult { font-size: 30px; }

/* ── шторка снизу: крупный заголовок, вещь в свете, металлическая кнопка ── */
.sheet { background: linear-gradient(180deg, rgba(22, 38, 42, .95), rgba(10, 18, 20, .97)); -webkit-backdrop-filter: blur(24px) saturate(1.3); backdrop-filter: blur(24px) saturate(1.3); }
.sheet-head h3 { font-style: italic; font-weight: 900; font-size: 30px; line-height: 1; }
.sheet-head .sub { display: inline-flex; align-items: center; gap: 5px; font-family: var(--f-display); font-style: italic; font-size: 16px; font-weight: 800; color: rgba(246, 243, 236, .72); }
.sheet-head .sub svg { width: 15px; height: 15px; }
.sheet-foot { background: rgba(8, 16, 18, .72); border-top-color: rgba(255, 255, 255, .08); }
.tp-sheet { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
/* лист прокручивается сам: содержимое не сжимается под высоту экрана (07.10: в карточке лота на iPhone блок цен
   с overflow: hidden сплющивался до полоски, и цифры обрезались) */
.tp-sheet > *, .rg-sheet > *, .fx-claim-list > *, .ps-got > *, .lvu-cards > *, .board > * { flex-shrink: 0; }
.tp-sheet .tp-stats { width: 100%; text-align: left; }
.tp-sheet .tp-note { text-align: left; }
.tp-sheet-pic { position: relative; width: 100%; height: 150px; display: grid; place-items: center;
  background: radial-gradient(50% 60% at 50% 55%, rgba(243, 210, 139, .24), rgba(243, 210, 139, 0) 72%); }
.tp-sheet-pic img { max-width: 240px; max-height: 140px; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .5)); animation: pfFloat 4s ease-in-out infinite alternate; }
.tp-sheet-pic .auc-ico svg { width: 64px; height: 64px; stroke-width: 1.6; }
.tp-sheet-t { font-size: 32px; line-height: .95; }

/* ── аукцион ── */
.auc-th img { width: 92% !important; height: 92% !important; object-fit: contain !important; }
.auc-ico { display: grid; place-items: center; color: var(--accent); }
.auc-ico svg { width: 26px; height: 26px; }
.auc-pic { height: 64px; display: grid; place-items: center; }
.auc-pic img { width: 64px; height: 64px; object-fit: contain; }
.tp-pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tp-pager > span { font-size: 19px; color: rgba(246, 243, 236, .75); }

/* рынок: график средней цены предмета (js/core/pricechart.js) — линия золотом, заливка-дымка, сетка волосками */
.pc { width: 100%; text-align: left; border-radius: 20px; padding: 12px 12px 10px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.pc-wait .loader-dots { padding: 26px 0; }
.pc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.pc-k { display: block; font-size: 12.5px; font-weight: 700; color: rgba(246, 243, 236, .62); }
.pc-top b { font-size: 30px; line-height: 1.05; color: var(--ink); }
.pc-u { font-family: var(--f-display); font-style: italic; font-size: 17px; font-weight: 800; color: rgba(246, 243, 236, .72); }
.pc-chg { align-self: center; padding: 4px 9px; border-radius: 12px; font-size: 12.5px; font-weight: 800; line-height: 1.25; color: rgba(246, 243, 236, .78);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.pc-chg.up { color: var(--aqua); background: rgba(169, 228, 208, .1); border-color: rgba(169, 228, 208, .4); }
.pc-chg.down { color: var(--red); background: rgba(242, 154, 142, .1); border-color: rgba(242, 154, 142, .4); }
.pc-plot { position: relative; margin-top: 8px; touch-action: pan-y; }
.pc-plot svg { display: block; width: 100%; height: auto; overflow: visible; }
.pc-grid { stroke: rgba(255, 255, 255, .08); stroke-width: 1; }
.pc-tick { font-family: var(--f-text); font-size: 10.5px; font-weight: 700; fill: rgba(246, 243, 236, .5); }
.pc-tick.end { text-anchor: end; }
.pc-area { fill: rgba(243, 210, 139, .12); }
.pc-line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.pc-dot { fill: var(--accent); stroke: #16262A; stroke-width: 2; }
.pc-hl { fill: var(--accent); stroke: var(--ink); stroke-width: 2; opacity: 0; }
.pc-hl.on { opacity: 1; }
.pc-cross { stroke: rgba(246, 243, 236, .35); stroke-width: 1; opacity: 0; }
.pc-cross.on { opacity: 1; }
.pc-tip { position: absolute; left: 0; top: 0; transform: translate(-50%, calc(-100% - 12px)); padding: 6px 9px; border-radius: 10px; pointer-events: none;
  background: rgba(8, 16, 18, .94); border: 1px solid rgba(243, 210, 139, .35); font-size: 12px; font-weight: 700; line-height: 1.3; color: rgba(246, 243, 236, .86);
  white-space: nowrap; opacity: 0; transition: opacity .15s; }
.pc-tip.on { opacity: 1; }
.pc-tip b { display: block; color: var(--accent); font-size: 12.5px; }
.pc-foot { margin: 8px 0 0; font-size: 12.5px; line-height: 1.4; color: rgba(246, 243, 236, .62); }
.pc-none { margin: 6px 0 0; font-size: 14px; line-height: 1.4; color: rgba(246, 243, 236, .8); }
/* срок торгов и стартовая цена в листе «На торги» */
.auc-lab { align-self: stretch; margin: 6px 2px 0; text-align: left; font-family: var(--f-display); font-style: italic; font-size: 18px; font-weight: 900; color: rgba(246, 243, 236, .86); }
.auc-hours { align-self: stretch; margin-top: 0; }
.auc-hours button { font-size: 18px; }
.tp-sheet-pic.sm { height: 110px; }
.tp-sheet-pic.sm img { max-height: 100px; }

/* ── удочка на полке: повёрнута по кончику, рука справа ── */
.tp-rod { position: relative; align-self: stretch; min-height: 82px; overflow: hidden; background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .2), rgba(255, 255, 255, .03) 72%); }
.tp-rod img { position: absolute; max-width: none; width: 155px; height: 155px; left: -62px; top: -51px; transform-origin: 74.5% 59.2%; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .45)); }
.tp-rod.big { min-height: 124px; }
.tp-rod.big img { width: 210px; height: 210px; left: -84px; top: -64px; }

/* ── магазин снастей ── */
.shop-rod { min-height: 98px; }
.shop-rod .tp-tx, .shop-house .tp-tx { padding: 11px 0; }
.shop-rod-r { margin-top: 6px; display: flex; }
.shop-rod.tap:active .tp-rod img { filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .45)) brightness(1.2); }
.shop-cur { display: grid; grid-template-columns: minmax(0, 1fr) 132px; align-items: center; gap: 10px; padding: 0 0 0 16px; }
.shop-cur .tp-tx { padding: 12px 0; gap: 6px; }
.shop-cur .tp-card-t { font-size: 28px; }
/* золото — только у следующей удочки: вкладка, «в руках» и дальние цены спокойные (разбор экранов 06.10) */
.shop-seg button.on { background: rgba(255, 255, 255, .16); color: var(--ink); box-shadow: none; }
.shop-cur .tp-card-k { color: rgba(246, 243, 236, .7); }
.tp-btn.shop-later { background: rgba(255, 255, 255, .07); color: var(--accent); box-shadow: inset 0 0 0 1px rgba(243, 210, 139, .32); }
.shop-warn { display: flex; gap: 8px; align-items: flex-start; margin: 0 2px 10px; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.shop-warn svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--accent); }
.shop-warn b { color: var(--accent); }
.shop-bait { justify-content: space-between; }
.shop-bi { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, rgba(243, 210, 139, .2), rgba(243, 210, 139, 0) 70%); }
.shop-bi svg, .shop-bi img { width: 40px; height: 40px; }
.shop-bait .tp-btn { width: 100%; margin-top: 4px; padding: 0 6px; font-size: 16px; }
.shop-bait.locked { opacity: .55; }
.shop-house { min-height: 108px; grid-template-columns: minmax(0, 1fr) 124px; }
/* дом: что даёт и цена в часах рыбалки (03.10) */
.shop-house .hs-p { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; margin-top: 3px; }
.shop-house .hs-p svg { width: 14px; height: 14px; margin-right: 2px; vertical-align: -2px; }
.shop-house .hs-p2 { display: block; margin-top: 2px; font-size: 12px; line-height: 1.3; color: rgba(246, 243, 236, .62); }
.shop-house .hs-up { font-style: normal; font-weight: 800; color: #A9E4D0; }
.shop-house .hs-r { flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.shop-house .hs-h, .shop-house .hs-price { font-size: 12px; color: rgba(246, 243, 236, .6); }
.shop-house .hs-price { font-weight: 700; color: rgba(243, 210, 139, .8); }
.shop-house .tp-btn.hs-wait { opacity: .38; filter: grayscale(1); box-shadow: none; }   /* аквариум занят — сначала «Вернуть рыбу» */
.shop-worm svg { width: 30px; height: 30px; }
.shop-cmp { width: 100%; margin-top: 10px; text-align: left; }
.shop-cmp-l { display: flex; justify-content: space-between; gap: 10px; font-size: 18px; font-weight: 800; }
.shop-cmp-l b { font-weight: 900; }
.shop-cmp-l b.up { color: var(--aqua); }
.shop-cmp-bar { position: relative; height: 10px; margin-top: 5px; border-radius: 5px; overflow: hidden; background: rgba(255, 255, 255, .12); }
.shop-cmp-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; }
.shop-cmp-bar .now { background: rgba(246, 243, 236, .32); z-index: 1; }
.shop-cmp-bar .next { width: var(--w); background: linear-gradient(90deg, var(--aqua), #E2FFF6); box-shadow: 0 0 10px rgba(169, 228, 208, .6); animation: hbGrow 1.1s cubic-bezier(.2, .8, .2, 1) .35s both; }
.shop-sheet-rod { height: 170px; }
.shop-sheet-rod img { max-height: 170px; }
.tp-cel-rod { position: relative; height: 170px; overflow: hidden; }
.tp-cel-rod img { position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; margin: -170px 0 0 -170px; transform-origin: 74.5% 59.2%;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .5)); }
.tp-cel p { position: relative; margin: 6px 0 14px; font-size: 13.5px; color: rgba(246, 243, 236, .82); }

/* ── шторка наживки на месте ловли ── */
.bait-pick .tp-tx b em { font-style: inherit; font-size: 17px; color: rgba(246, 243, 236, .6); }
.bait-th svg, .bait-th img { width: 38px !important; height: 38px !important; }
.bait-acts { flex-direction: column; align-items: stretch; gap: 6px; }
.bait-acts .tp-btn { padding: 0 10px; font-size: 16px; height: 34px; }
.bait-pick .bite-dots { vertical-align: 1px; }
/* бесплатные черви — бирюзой; выбранная наживка — галочкой, а не кнопкой (разбор экранов 06.10) */
.tp-row.bait-pick.free { border-color: var(--aqua); }
.bait-acts .tp-btn.picked { background: none; color: var(--aqua); box-shadow: none; }
.bait-acts .tp-btn.picked::before { content: "✓\00a0"; }

/* ── Причал: ступени, стройка, привилегии ── */
/* питомцы сидят на причале — справа от заголовка, на картинке шапки (30_POLISH.md, п. 8) */
.tp.hh { position: relative; }
.hh-pets { position: absolute; right: 2px; top: -16px; display: flex; align-items: flex-end; gap: 2px; pointer-events: none; z-index: 1; }
/* коты у дома: дышит рамка, тень — у картинки (09.10, см. .pf-fish в tabs.css) */
.hh-pet { display: block; transform-origin: 50% 100%; animation: petBreath 3.4s ease-in-out calc(var(--i) * -1.3s) infinite; }
.hh-pet > img { display: block; height: 92px; width: auto; max-width: 30vw; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .5)); }
.hh-pet + .hh-pet > img { height: 78px; }
.tp-row.hh-petrow .tp-ph { background-size: contain; background-repeat: no-repeat; background-position: center 85%;
  background-color: rgba(169, 228, 208, .08); }
.hh-steps { position: relative; margin-top: 20px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.hh-steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 27px; height: 2px; background: rgba(255, 255, 255, .16); }
.hh-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.hh-step-i { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #122326 center / cover no-repeat;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .16); color: #fff; }
.hh-step-i b { font-size: 24px; text-shadow: 0 2px 8px rgba(0, 0, 0, .8); }
.hh-step-i svg { width: 22px; height: 22px; stroke-width: 3; padding: 4px; box-sizing: content-box; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.hh-step small { font-size: 14px; font-weight: 800; color: rgba(246, 243, 236, .66); white-space: nowrap; }
.hh-step:not(.built) .hh-step-i { filter: grayscale(.7) brightness(.55); }
.hh-step.built .hh-step-i { box-shadow: inset 0 0 0 2px var(--accent), 0 0 14px rgba(243, 210, 139, .35); }
.hh-step.built small { color: var(--accent); }
.hh-step.cur .hh-step-i { width: 60px; height: 60px; margin-top: -3px; animation: tmGoldPing 2.2s ease-out infinite; }
.hh-step.next .hh-step-i { filter: grayscale(.2) brightness(.85); box-shadow: inset 0 0 0 2px rgba(169, 228, 208, .8); }
.hh-step.next small { color: var(--aqua); }
@keyframes tmGoldPing { 0% { box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 0 rgba(243, 210, 139, .55); }
  100% { box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 12px rgba(243, 210, 139, 0); } }
.page.intro .hh-step { animation: tpPop .5s cubic-bezier(.3, 1.5, .5, 1) both; }
.page.intro .hh-step:nth-child(2) { animation-delay: .08s; } .page.intro .hh-step:nth-child(3) { animation-delay: .16s; }
.page.intro .hh-step:nth-child(4) { animation-delay: .24s; } .page.intro .hh-step:nth-child(5) { animation-delay: .32s; }
.hh-build { display: flex; flex-direction: column; gap: 2px; padding-top: 0; }
/* стройка под ступенями: фото ниже, золото — только у кнопки (разбор экранов 06.10) */
.tp.hh > .hh-steps + .tm-sec { margin-top: 18px; }
.tp-card.hh-build { color: var(--ink); }
.hh-build .tp-card-k { color: rgba(246, 243, 236, .66); }
.hh-build-ph { display: block; height: 84px; margin: 0 -16px 12px; background-size: cover; background-position: center 45%;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); animation: hbKen 22s ease-in-out infinite alternate; }
.hh-perk { display: flex; align-items: center; gap: 7px; margin-top: 6px; font-size: 13px; font-weight: 600; line-height: 1.35; color: rgba(246, 243, 236, .86); }
.hh-perk svg { width: 15px; height: 15px; flex: none; color: var(--accent); }
.hh-perks { display: flex; flex-direction: column; padding-top: 8px; }
.hh-prestige { display: flex; flex-direction: column; gap: 4px; }
.hh-prestige-n { display: flex; align-items: center; gap: 6px; font-size: 44px; color: var(--red); }
.hh-prestige-n svg { width: 36px; height: 36px; }

/* ── пропуска: штамп на фото места ── */
/* только строки страницы «Пропуска»: класс permit есть и у места на вкладке «Рыбалка» (пропуск не куплен) */
.tp-row.permit { min-height: 118px; grid-template-columns: minmax(0, 1fr) 120px; }
.tp-row.permit .tp-tx { padding: 12px 0; }
.permit-until { display: flex; align-items: center; gap: 4px; color: var(--aqua) !important; }
.permit-act { margin-top: 6px; display: flex; }
.permit-stamp { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-12deg); padding: 3px 9px; border-radius: 8px; font-size: 17px; font-weight: 900;
  color: rgba(242, 154, 142, .95); border: 2.5px solid rgba(242, 154, 142, .9); background: rgba(20, 8, 6, .35); text-transform: lowercase; letter-spacing: .02em;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .2); white-space: nowrap; }
.permit-stamp.on { color: var(--aqua); border-color: rgba(169, 228, 208, .95); background: rgba(6, 20, 18, .4); }
.permit-stamp.slam { animation: tpSlam .55s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes tpSlam { 0% { opacity: 0; transform: translate(-50%, -50%) rotate(-30deg) scale(2.4); } 60% { opacity: 1; transform: translate(-50%, -50%) rotate(-10deg) scale(.92); }
  100% { transform: translate(-50%, -50%) rotate(-12deg) scale(1); } }
.tp-row.permit.locked .tp-ph { filter: grayscale(1) brightness(.5); }

/* ── трофейный зал: доска, латунная табличка, корона рекорда ── */
.tp-plaque-up { position: absolute; top: 6px; left: 6px; z-index: 2; display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px; border-radius: 9px;
  font-size: 12px; color: #062019; background: var(--aqua); }
.tp-plaque-up svg { width: 12px; height: 12px; }
.tp-plaque-big { display: flex; justify-content: center; margin-bottom: 10px; }
.tp-plaque-big img { width: 160px; height: 160px; object-fit: contain; }
.tp-plaque { position: relative; border-radius: 18px; padding: 10px 10px 0; display: flex; flex-direction: column; align-items: stretch; text-align: center; color: var(--ink);
  background: linear-gradient(180deg, #5A3A22 0%, #3E2716 100%); box-shadow: inset 0 1px 0 rgba(255, 220, 170, .25), inset 0 0 0 1px rgba(0, 0, 0, .4), 0 14px 26px rgba(0, 0, 0, .45); }
.tp-plaque::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(92deg, rgba(0, 0, 0, 0) 0 6px, rgba(0, 0, 0, .12) 6px 7px, rgba(255, 220, 170, .04) 7px 12px); }
.tp-plaque-board { position: relative; height: 96px; display: grid; place-items: center; border-radius: 12px;
  background: radial-gradient(60% 70% at 50% 40%, rgba(255, 222, 170, .28), rgba(255, 222, 170, 0) 72%); }
/* трофей на табличке: покачивается рамка, тень — у картинки (09.10, см. .pf-fish в tabs.css) */
.tp-plaque-fl { display: block; max-width: 100%; animation: pfFloat 5s ease-in-out infinite alternate; }
.tp-plaque-board img { display: block; max-width: 100%; max-height: 88px; object-fit: contain; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .55)); }
.tp-plaque-ico svg { width: 44px; height: 44px; color: #F3E3C6; }
.tp-plaque-plate { position: relative; margin: 8px -2px 10px; padding: 5px 8px 6px; border-radius: 8px; display: flex; flex-direction: column; gap: 1px;
  background: linear-gradient(100deg, #B07A22 0%, #F2D38A 35%, #C99A45 60%, #F6E2A8 80%, #B07A22 100%); background-size: 220% 100%; color: #2A1D05;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 2px 4px rgba(0, 0, 0, .4); animation: tmMetal 5s linear infinite; }
.tp-plaque-plate b { font-size: 17px; line-height: 1; }
.tp-plaque-plate small { font-size: 11.5px; font-weight: 800; color: rgba(42, 29, 5, .75); }
.tp-plaque-crown { position: absolute; right: 8px; top: 8px; z-index: 1; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 14px rgba(243, 210, 139, .7); }
.tp-plaque-crown svg { width: 16px; height: 16px; }
.tp-plaque.excl { background: linear-gradient(180deg, #2E2440 0%, #1C1628 100%); }
/* босс недели, Хозяин океана, Царь-рыба (24.10): золотая рамка и блик, что проходит по табличке (только transform) */
.tp-plaque.boss { background: linear-gradient(180deg, #3A2A12 0%, #1F160A 100%); overflow: hidden;
  box-shadow: inset 0 0 0 1.5px rgba(243, 210, 139, .85), inset 0 1px 0 rgba(255, 236, 190, .5), 0 0 18px rgba(243, 190, 90, .28), 0 14px 26px rgba(0, 0, 0, .45); }
.tp-plaque.boss::before { opacity: .35; }
.tp-plaque.boss::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; pointer-events: none; z-index: 2;
  background: linear-gradient(100deg, rgba(255, 240, 200, 0) 0%, rgba(255, 240, 200, .22) 50%, rgba(255, 240, 200, 0) 100%);
  transform: translateX(0) skewX(-12deg); animation: plaqueGlint 6s ease-in-out infinite; }
@keyframes plaqueGlint { 0%, 70% { transform: translateX(0) skewX(-12deg); } 100% { transform: translateX(420%) skewX(-12deg); } }
.tp-plaque.boss .tp-plaque-board { background: radial-gradient(60% 70% at 50% 40%, rgba(255, 210, 120, .4), rgba(255, 210, 120, 0) 72%); }
.tp-plaque.boss .tp-plaque-ico svg { color: var(--accent); }
.tp-plaque.empty { background: rgba(255, 255, 255, .04); border: 1.5px dashed rgba(246, 243, 236, .25); box-shadow: none; }
.tp-plaque.empty::before { display: none; }
.tp-plaque.empty .tp-plaque-plate { background: rgba(255, 255, 255, .08); color: var(--ink); animation: none; box-shadow: none; }
.tp-plaque.empty .tp-plaque-plate small { color: rgba(246, 243, 236, .7); }
.tp-plaque-plus { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); border: 1.5px dashed rgba(243, 210, 139, .6); }
.tp-plaque-plus svg { width: 22px; height: 22px; }
.tp-plaque.empty:active { transform: scale(.97); }

/* ── витрина именных рыб: ореол, золото, блик по силуэту ── */
.tp-named { position: relative; overflow: hidden; border-radius: 20px; padding: 12px 10px 12px; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center;
  border: 1px solid rgba(243, 210, 139, .5); background: linear-gradient(180deg, rgba(243, 210, 139, .16), rgba(255, 255, 255, .04)); }
.tp-named.albino { border-color: rgba(220, 240, 255, .5); background: linear-gradient(180deg, rgba(220, 240, 255, .14), rgba(255, 255, 255, .04)); }
.tp-named-glow { position: absolute; left: 50%; top: 42px; width: 150px; height: 110px; margin: -55px 0 0 -75px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 200, 60, .45), rgba(255, 200, 60, 0)); animation: bkHalo 3s ease-in-out infinite alternate; }
.tp-named.albino .tp-named-glow { background: radial-gradient(closest-side, rgba(220, 240, 255, .45), rgba(220, 240, 255, 0)); }
.tp-named-pic { position: relative; width: 130px; animation: bkNamedBob 3.4s ease-in-out infinite alternate; }
.tp-named-pic img { display: block; width: 130px; }
.tp-named-shine { position: absolute; inset: 0; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; mix-blend-mode: screen; background-size: 320% 100%;
  background-image: linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, rgba(255, 252, 232, .95) 48%, rgba(255, 255, 255, 0) 58%); animation: bkShine 2.8s ease-in-out infinite; }
.tp-named-serial { position: absolute; left: 10px; top: 10px; font-size: 16px; color: var(--accent); }
.tp-named b { position: relative; font-size: 18px; line-height: 1; }
.tp-named small { position: relative; font-size: 11.5px; font-weight: 600; color: rgba(246, 243, 236, .72); }
/* главная рыба из коллекции — на аукцион (home.js namedSheet) */
.tp-bid-more { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.tp-bid-more .tp-btn { min-height: 44px; font-size: 17px; }
.tp-named.tap { cursor: pointer; transition: transform .15s ease; }
.tp-named.tap:active { transform: scale(.97); }
.tp-named-go { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; padding: 5px 10px;
  border-radius: 10px; background: rgba(243, 210, 139, .16); border: 1px solid rgba(243, 210, 139, .45); color: #F3D28B; font-size: 14px; }
.tp-named-go svg { width: 14px; height: 14px; }
.nm-head .tp-word { white-space: nowrap; }      /* «Именные рыбы» — в одну строку */

/* ── аквариум: стекло со светом ── */
.tp-tank { border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px rgba(169, 228, 208, .35), 0 20px 44px rgba(0, 10, 14, .5), 0 0 40px rgba(120, 220, 210, .12); }
.aq-free { cursor: pointer; }
.aq-free .tp-tx b { color: var(--ink); }
/* «вернуть всех» — не главная кнопка экрана: серая, без мигания (разбор экранов 06.10) */
.tp-link.aq-retall { font-size: 15px; color: rgba(246, 243, 236, .5); animation: none; }

/* ── фракции: ранг, поход, выбор пути ── */
.fx-rank-st b { font-size: 38px; }
.fx-rank-st.smug { border-color: rgba(227, 106, 86, .45); box-shadow: 0 0 24px rgba(200, 50, 30, .25); }
.fx-rank { display: flex; flex-direction: column; gap: 8px; }
.fx-rank-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.fx-rank-top .tp-val small { font-size: 16px; color: rgba(246, 243, 236, .6); }
.fx-rank-s { font-size: 12.5px; font-weight: 600; color: rgba(246, 243, 236, .7); }
.fx-warn-card { margin-bottom: 10px; }
/* маршрут: части строки не рвутся при переносе; цена выхода белая и подписана; полный склад в штабе — читаемо
   (разбор экранов 06.10) */
.fx-ocean .tp-row[data-a="route"]:not(.locked) .tp-tx small { display: flex; flex-wrap: wrap; gap: 4px 12px; line-height: 1.5; }
.fx-m { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.fx-cost { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.fx-cost small { font-size: 12px; font-weight: 600; line-height: 1; color: rgba(246, 243, 236, .64); }
.fx-cost .tp-val { font-size: 21px; }
.fx-cost .tp-val svg { color: rgba(246, 243, 236, .6); }
.fx .tp-row.red .tp-tx small { color: rgba(246, 243, 236, .9); }
.tp-val small { font-size: .7em; }
.fx-haul { position: relative; overflow: hidden; margin-top: 18px; border-radius: 24px; padding: 0 14px 14px; display: flex; flex-direction: column; gap: 4px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(169, 228, 208, .45); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 18px 40px rgba(3, 10, 12, .35); }
.fx-haul.bad { border-color: rgba(242, 154, 142, .5); }
.fx-haul-ph { display: block; height: 150px; margin: 0 -14px 10px; background-size: cover; background-position: center 45%;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); animation: hbKen 22s ease-in-out infinite alternate; }
.fx-haul-t { font-size: 40px; line-height: .9; }
.fx-haul-lines { margin-top: 4px; font-size: 13px; line-height: 1.45; color: rgba(246, 243, 236, .82); }
.fx-haul-grid { margin-top: 10px; }
.fx-haul-total { margin-top: 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.fx-haul-total span { font-size: 22px; color: rgba(246, 243, 236, .75); }
.fx-haul-total b { font-size: 46px; line-height: .9; color: var(--accent); text-shadow: 0 0 24px rgba(243, 210, 139, .4); }
.page.intro .fx-haul .tp-grid > * { animation-delay: calc(500ms + var(--j, 0) * 90ms); }
.fx-paths { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
/* выбор фракции: плотный фон карточек, «сменить можно позже» под ценой, шапка обрезана по лицам — надписи
   картинки не уходят под «Назад» (разбор экранов 06.10) */
.fx-path { position: relative; overflow: hidden; border-radius: 24px; border: 1px solid rgba(169, 228, 208, .45); background: #0F2023;
  box-shadow: 0 18px 40px rgba(3, 10, 12, .35); }
.fx-path.smuggler { border-color: rgba(227, 106, 86, .45); background: #1C0E0B; }
.fx-later { margin: 6px 0 0; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--aqua); }
.page:has(.fx-paths) .page-hero { height: calc(var(--safe-top) + 262px); }
.page:has(.fx-paths) .page-hero .page-hero-img { background-size: 100% auto; background-position: center -24.6vw; }
.fx-path-ph { display: block; height: 150px; background-size: cover; background-position: center 55%;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.fx-path.smuggler .fx-path-ph { filter: saturate(.45) brightness(.62) contrast(1.15) sepia(.2); }
.fx-path-in { display: flex; flex-direction: column; gap: 2px; padding: 0 16px 16px; margin-top: -26px; position: relative; }
.fx-path-t { font-size: 40px; line-height: .9; }
.fx-path.smuggler .tp-card-k { color: #E36A56; }
.fx-path.smuggler .fx-path-t { text-shadow: 0 0 30px rgba(190, 44, 26, .5); }
.fx-path.smuggler .hh-perk svg { color: #E36A56; }
.fx-path.smuggler .tp-btn.red { background: #B8402F; color: #FFE9E2; border: 0; box-shadow: 0 12px 28px rgba(120, 20, 10, .45); }

/* лодки: сцена с водой сверху карточки */
.fx-boats { display: flex; flex-direction: column; gap: 10px; }
.fx-boat { padding: 0; }
.fx-boat .bc-stage { width: 100%; height: 138px; border-radius: 0; margin: 0; }
.fx-boat .bc-stage img { width: auto; max-width: 62%; max-height: 118px; }
/* у фото штаба и лавок вывески сверху — показываем нижнюю часть кадра */
.page.theme-yacht .page-hero-img, .page.theme-smug .page-hero-img { background-position: center 82%; }
.fx-boat-in { display: flex; flex-direction: column; gap: 6px; padding: 12px 16px 14px; }
.fx-boat-buy { display: flex; align-items: center; gap: 10px; }
.fx-old { font-size: 18px; color: rgba(246, 243, 236, .5); }
.fx-boat.locked { opacity: .85; }
.fx-boat.locked .bc-stage img { filter: grayscale(.8) brightness(.6); }
/* своя лодка — первой, слабые — одной строкой, продажа — тихой ссылкой в карточке своей лодки (разбор экранов 06.10) */
.fx-boat-line { font-size: 13.5px; font-weight: 600; line-height: 1.35; color: rgba(246, 243, 236, .72); }
.fx-boat-line b { color: var(--ink); }
.fx-sell { align-self: flex-start; margin-top: 2px; padding: 0; font-size: 14px; font-weight: 700; line-height: 1.3; color: rgba(246, 243, 236, .6);
  text-decoration: underline; text-underline-offset: 3px; }
.fx-worse { padding: 12px 16px; }
.fx-worse .tp-card-s { margin: 0; color: rgba(246, 243, 236, .66); }
.tp-up-boat { margin-top: 18px; border-radius: 22px; overflow: hidden; }
/* улучшения: картинка меньше — список виден на первом экране; подписи под цифрами обычным шрифтом; на кнопке —
   «Улучшить» и цена с монетой (разбор экранов 06.10) */
.tp-up-boat.up-boat { height: 112px; }
.tp-up-boat.up-boat img { width: 32%; margin-bottom: 16px; }
.fx-up-st b { font-size: 27px; }
.fx-up-st small { font: 600 12.5px/1.3 var(--f-text); color: rgba(246, 243, 236, .72); }
.fx-up .tp-tx > small { font-size: 13.5px; }
.fx-up .tp-btn.fx-upb { height: auto; flex-direction: column; gap: 2px; padding: 7px 12px; line-height: 1; }
.fx-upb small { font: 700 12px/1 var(--f-text); opacity: .8; }
.fx-upb-p { display: inline-flex; align-items: center; gap: 4px; }
.fx-upb-p svg { width: 14px; height: 14px; }

/* мастерская и списки со значками-эмодзи */
.fx-up-emo { font-size: 22px; line-height: 1; display: grid; place-items: center; }
.fx-up-emo svg { width: 22px !important; height: 22px !important; }
.fx-up-lv { display: block; margin-top: 3px; font: 600 12.5px var(--f-text); color: rgba(246, 243, 236, .6); }
.fx-pips { display: flex; gap: 3px; margin: 2px 0 3px; }
.fx-pips i { width: 16px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .16); }
.fx-pips i.on { background: var(--accent); box-shadow: 0 0 6px rgba(243, 210, 139, .6); }
.tp-row.tp-flash { animation: tpFlash .9s ease-out; }
@keyframes tpFlash { 0% { box-shadow: 0 0 0 0 rgba(243, 210, 139, .7); background: rgba(243, 210, 139, .25); } 100% { box-shadow: 0 0 0 14px rgba(243, 210, 139, 0); } }

/* счётчики: побег, розыск */
.fx-meter, .fx-wanted { display: flex; flex-direction: column; gap: 8px; }
.fx-meter .tp-big b, .fx-wanted .tp-big b { font-size: 84px; }
.fx-wanted .tp-big b { color: var(--aqua); }
.fx-wanted.warm { border-color: rgba(243, 210, 139, .55); }
.fx-wanted.warm .tp-big b { color: var(--accent); }
.fx-wanted.hot { border-color: rgba(227, 106, 86, .7); background: linear-gradient(100deg, rgba(160, 30, 20, .3), rgba(30, 10, 8, .5)); animation: fxSiren 2.4s ease-in-out infinite; }
.fx-wanted.hot .tp-big b { color: var(--red); text-shadow: 0 0 30px rgba(227, 106, 86, .6); }
@keyframes fxSiren { 0%, 100% { box-shadow: 0 0 0 0 rgba(227, 106, 86, 0), 0 12px 30px rgba(0, 0, 0, .3); } 50% { box-shadow: 0 0 34px 2px rgba(227, 106, 86, .35), 0 12px 30px rgba(0, 0, 0, .3); } }
.fx-place { font-size: 24px; }
/* розыск: цена и итог — прямо на кнопках (разбор экранов 06.10) */
.tp-btns .tp-btn.fx-two { height: auto; min-height: 66px; flex-direction: column; gap: 3px; padding: 8px 10px; line-height: 1; }
.fx-two-l { display: inline-flex; align-items: center; gap: 6px; }
.fx-two small { font: 700 13px/1.2 var(--f-text); opacity: .85; white-space: normal; text-align: center; }

/* наводки и журнал */
.fx-target { min-height: 88px; }
.fx-target-th { width: 72px !important; height: 56px !important; }
.tp-row.fx-target { grid-template-columns: 72px minmax(0, 1fr) auto; }
.fx-target-pic img { max-width: 260px; }
.fx-approach { width: 100%; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.fx-approach-d { margin: -2px 2px 6px; font-size: 12px; font-weight: 600; color: rgba(246, 243, 236, .66); }
.fx-jr { display: flex; flex-direction: column; gap: 10px; }
.fx-jr-text { font-size: 13.5px; line-height: 1.45; color: rgba(246, 243, 236, .88); }
.fx-jr-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.fx-jr.caught, .fx-jr.defended { border-color: rgba(242, 154, 142, .45); }
.fx-jr.success { border-color: rgba(169, 228, 208, .45); }
/* охрана цели — цветом; налёт, ждущий ответа: крупно — что украли, два равных ответа, под каждым — что будет
   (разбор экранов 06.10) */
.fx-guard { font-weight: 800; }
.fx-guard.none { color: var(--aqua); }
.fx-guard.on { color: var(--red); }
.fx-jr-big { display: block; font-size: 19px; font-weight: 800; line-height: 1.25; color: var(--ink); }
.fx-jr-who { display: block; margin-top: 3px; font-size: 13px; font-weight: 600; line-height: 1.35; color: rgba(246, 243, 236, .7); }
.fx-jr-opts { display: flex; flex-direction: column; gap: 12px; margin-top: 2px; }
.fx-jr-opts .tp-btn { height: 50px; font-size: 21px; }
.fx-jr-opt small { display: block; margin: 6px 4px 0; font-size: 12.5px; font-weight: 600; line-height: 1.4; color: rgba(246, 243, 236, .78); }
.tp-evr .tp-btn { margin-top: 12px; }

/* ── поле ввода ── */
.tp-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.tp-input { width: 100%; height: 48px; padding: 0 14px; border-radius: 14px; font: 600 15px var(--f-text); color: var(--ink); outline: none;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: border-color .2s, background .2s; }
.tp-input::placeholder { color: rgba(246, 243, 236, .45); }
.tp-input:focus { border-color: var(--accent); background: rgba(255, 255, 255, .12); }
.tp-form .tp-btn { height: 48px; }

/* ── клуб ── */
.gl-place { font-size: 24px; }
.gl-bonus { font-weight: 700; }                         /* «+15 % опыта на неделю» в строке рейтинга (разбор экранов 06.10) */
.gl-bonus.gold { color: var(--accent); }
.gl-bonus.mint { color: var(--aqua); }
.gl-bonus.off { font-weight: 600; color: rgba(246, 243, 236, .5); }   /* бонус не достанется: позади нет клуба от 100 рыб */
/* главная клуба: строка недели без улова — не золотом, подписи плиток — обычным шрифтом, состояние в строках меню (разбор экранов 06.10) */
.tp-head.gl-quiet .tm-dayline { color: rgba(246, 243, 236, .72); }
.gl-stats small { margin-top: 5px; font-family: var(--f-text); font-style: normal; font-size: 12.5px; font-weight: 600; }
.gl-menu .tp-tx small .tp-bar { margin-top: 8px; max-width: 230px; }
.gl-ok { color: var(--aqua); font-weight: 700; }
.gl-open { margin-top: 0; }
.gl-perks { display: flex; flex-direction: column; }
.gl-contract, .gl-exp, .gl-invite { display: flex; flex-direction: column; gap: 6px; }
.gl-contract .tp-big b { font-size: 76px; }
/* контракт: заголовок задания белым, награда подписана, таймер обычным шрифтом (разбор экранов 06.10) */
.gl-contract .tp-card-t { color: var(--ink); }
.gl-reward-l { flex-basis: 100%; font-size: 13px; font-weight: 600; line-height: 1.3; color: rgba(246, 243, 236, .72); }
.gl-contract .tp-reward .tp-val small { margin-left: 5px; font: 700 14px/1 var(--f-text); color: inherit; }
.gl-contract .tp-timer { font-family: var(--f-text); font-style: normal; font-size: 14px; font-weight: 600; }
.gl-exp .tp-big b { font-size: 54px; }
.gl-exp .gl-why { color: var(--ink); }
.gl-acts { display: flex; flex-direction: column; gap: 8px; }
.gl-board { display: flex; flex-direction: column; gap: 8px; }
.gl-msg { align-self: flex-start; max-width: 86%; padding: 9px 13px 10px; border-radius: 6px 18px 18px 18px; display: flex; flex-direction: column; gap: 2px;
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.gl-msg.me { align-self: flex-end; border-radius: 18px 6px 18px 18px; background: rgba(243, 210, 139, .16); border-color: rgba(243, 210, 139, .4); }
.gl-msg-h { display: flex; align-items: baseline; gap: 8px; }
.gl-msg-del { margin-left: auto; align-self: center; display: inline-flex; padding: 2px; color: rgba(246, 243, 236, .5); }
.gl-msg-del svg { width: 16px; height: 16px; }
.gl-msg-del:active { color: #FF8A80; }
.gl-msg-h b { font-size: 17px; color: var(--aqua); }   /* чужие имена — бирюзой, золото — только своим (разбор экранов 06.10) */
.gl-msg.me .gl-msg-h b { color: var(--accent); }
.gl-msg-h small { font-size: 11px; font-weight: 700; color: rgba(246, 243, 236, .5); }
.gl-msg-t { font-size: 14px; line-height: 1.4; color: rgba(246, 243, 236, .92); overflow-wrap: anywhere; }
.page.intro .gl-msg { animation: hbRise .45s cubic-bezier(.2, .8, .2, 1) both; }
.gl-post { position: sticky; bottom: -16px; z-index: 4; margin-top: 16px; }
.gl-post::before { content: ""; position: absolute; left: -18px; right: -18px; top: -30px; bottom: -30px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 12, 16, 0), rgba(6, 12, 16, .88) 48%); }
.gl-post .tp-btn { padding: 0 16px; font-size: 19px; }            /* «Записать» словом */
.gl-post .tp-input { background: rgba(12, 22, 26, .94); }       /* сквозь поле не просвечивают записи */
.tp-note.gl-hint { margin: 10px 2px 0; font-size: 13px; color: rgba(246, 243, 236, .72); }
.gl-give { justify-content: flex-start; }
.gl-give .tp-chip.all { background: none; color: rgba(246, 243, 236, .78); border: 1px dashed rgba(246, 243, 236, .38); box-shadow: none; }   /* «Внести всё» — без золота */
.gl-link { display: block; margin-top: 6px; padding: 10px 12px; border-radius: 12px; font: 600 13px/1.35 ui-monospace, Menlo, Consolas, monospace; color: var(--accent);
  background: rgba(8, 16, 18, .55); border: 1px dashed rgba(243, 210, 139, .4); overflow-wrap: anywhere; user-select: all; }

/* ── друзья, бонусы, поддержка, автоловля, документы ── */
.fr-invite { display: flex; flex-direction: column; gap: 8px; }
.fr-gifts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 2px 0; }
.fr-gift { border-radius: 14px; padding: 8px 8px 9px; display: flex; flex-direction: column; background: rgba(8, 16, 18, .4); border: 1px solid rgba(243, 210, 139, .3); }
.fr-gift b { font-size: 24px; line-height: 1; color: var(--accent); }
.fr-gift.mint b { color: var(--aqua); }
.fr-gift small { font-size: 11px; font-weight: 700; color: rgba(246, 243, 236, .7); }
.fr-bank { display: flex; flex-direction: column; gap: 6px; }
.fr-bank .tp-big b { font-size: 64px; }
/* награды за рост друга и шаги совместной рыбалки — лесенкой (разбор экранов 06.10) */
.fr-ladder .gl-place, .cp-steps .gl-place { font-size: 21px; }
.fr-ladder .tp-tx b, .cp-steps .tp-tx b { font-size: 20px; }
.don-tile { justify-content: space-between; min-height: 112px; }
.don-tile b { font-size: 17px; }
.don-coins { font-size: 16px !important; }
.don-coins svg { width: 13px !important; height: 13px !important; }
.don-price { margin-top: 4px; height: 28px; padding: 0 12px; border-radius: 14px; display: inline-flex; align-items: center; gap: 4px; font-size: 18px; font-weight: 900;
  color: var(--accent-ink); background: var(--accent); }
.don-price svg { width: 14px; height: 14px; }
.don-tile.blocked { opacity: .6; }
.don-tile.blocked .don-price { background: rgba(169, 228, 208, .2); color: var(--aqua); }
.don-desc { margin-top: -4px; margin-bottom: 10px; }

/* ── магазин: наборы чёрно-золотыми карточками (30_POLISH.md, п. 15) ── */
.don-bundles { display: grid; gap: 12px; }
.don-bundle { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; width: 100%; padding: 16px; border-radius: 22px;
  text-align: left; color: #F6EFD9; font: inherit; isolation: isolate;
  background: radial-gradient(120% 90% at 100% 0%, rgba(243, 210, 139, .17), transparent 55%), linear-gradient(160deg, #1b1710 0%, #0b0a08 58%, #16120a 100%);
  border: 1px solid rgba(243, 210, 139, .6); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .55), 0 14px 30px rgba(0, 0, 0, .45), 0 0 24px rgba(243, 210, 139, .12); }
.don-bundle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 60%; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 236, 190, .14) 50%, rgba(255, 255, 255, 0)); animation: gcSweep 6.5s ease-in-out infinite; }
.don-bundle > * { position: relative; z-index: 1; }
.don-bundle:active { transform: scale(.985); }
.don-bundle.mint { border-color: rgba(143, 227, 207, .6); background: radial-gradient(120% 90% at 100% 0%, rgba(143, 227, 207, .16), transparent 55%), linear-gradient(160deg, #0f1a17 0%, #08100e 60%, #0d1714 100%); }
.don-bundle.bronze { border-color: rgba(214, 150, 92, .65); }
.don-bundle.plat { border-color: rgba(236, 232, 220, .75); background: radial-gradient(120% 90% at 100% 0%, rgba(236, 232, 220, .2), transparent 55%), linear-gradient(160deg, #1c1b18 0%, #0b0b0a 60%, #19170f 100%); }
.don-bundle.blocked { opacity: .55; }
.don-b-top { display: flex; gap: 12px; align-items: center; }
.don-art { position: relative; width: 92px; height: 74px; flex: none; }
.don-art img { position: absolute; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .55)); }
.don-art img.c { left: 0; bottom: 0; width: 66px; height: 66px; }
.don-art img.b { right: 0; bottom: 2px; width: 48px; height: 48px; }
.don-art i { position: absolute; font-style: normal; font-size: 15px; line-height: 1; padding: 3px 6px; border-radius: 9px; background: #F3D28B; color: #2A1D05; }
.don-art i.nc { left: 2px; top: -2px; }
.don-art i.nb { right: -2px; top: 16px; background: #8FE3CF; color: #0B2A22; }
.don-b-tx { display: flex; flex-direction: column; min-width: 0; }
.don-b-tx b { font-size: 26px; line-height: 1.05; background: linear-gradient(100deg, #c08a2c, #ffe9a6 40%, #dca545 70%, #fff4cf); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.don-bundle.mint .don-b-tx b { background: linear-gradient(100deg, #6fd8bb, #d6fff2 45%, #8fe3cf); -webkit-background-clip: text; background-clip: text; }
.don-bundle.plat .don-b-tx b { background: linear-gradient(100deg, #b9b5aa, #ffffff 45%, #d9d4c5); -webkit-background-clip: text; background-clip: text; }
.don-b-tx small { font-size: 13px; color: rgba(246, 239, 217, .72); margin-top: 3px; }
.don-b-tx small.k { display: inline-flex; align-items: center; gap: 5px; margin: 0 0 3px; color: #F3D28B; font-weight: 700; }
.don-b-tx small.k svg { width: 14px; height: 14px; }
.don-b-list { display: grid; gap: 6px; }
.don-b-list span { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.3; color: #EDE3CC; }
.don-b-list svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: #F3D28B; }
.don-b-list em { font-style: normal; }
.don-b-cta { display: flex; align-items: center; justify-content: center; gap: 6px; height: 46px; border-radius: 14px; font-size: 22px;
  color: #2A1D05; background: linear-gradient(115deg, #B9822A 0%, #F6D78F 34%, #DDA548 58%, #FFF0C4 78%, #C8922F 100%); box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
.don-b-cta svg { width: 16px; height: 16px; }
.don-bundle.blocked .don-b-cta { background: rgba(169, 228, 208, .18); color: var(--aqua); box-shadow: none; }
.don-ribbon { position: absolute; top: 22px; right: -44px; z-index: 2; width: 170px; padding: 4px 0; text-align: center; font-size: 12px;
  transform: rotate(35deg); background: linear-gradient(100deg, #C8922F, #FFE39A 50%, #C8922F); color: #2A1D05; box-shadow: 0 4px 10px rgba(0, 0, 0, .4); }
.don-bundle.mint .don-ribbon { background: linear-gradient(100deg, #5fc8ab, #d6fff2 50%, #5fc8ab); color: #0B2A22; }
/* «Меценат»: картинка «Причал благодарит» под карточкой */
.don-bundle.patron { min-height: 300px; justify-content: flex-end; border-color: rgba(255, 216, 107, .85); }
.don-patron-ph { position: absolute !important; inset: 0; z-index: 0 !important; background-size: cover; background-position: center 30%; opacity: .5;
  -webkit-mask-image: linear-gradient(#000 20%, transparent 78%); mask-image: linear-gradient(#000 20%, transparent 78%); }
/* пакеты контейнеров, удобства, Путёвка — плитки с картинкой или иконкой */
.don-packs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.don-pack, .don-easy { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 12px; border-radius: 18px; text-align: left;
  color: #F6EFD9; font: inherit; background: linear-gradient(165deg, #17140e, #0c0b09); border: 1px solid rgba(243, 210, 139, .38); }
.don-pack:active, .don-easy:active { transform: scale(.97); }
.don-pack .don-art { width: 84px; height: 64px; margin-bottom: 4px; }
.don-pack .don-art img.c { width: 58px; height: 58px; }
.don-pack .don-art img.b { width: 42px; height: 42px; }
.don-pack b, .don-easy b { font-size: 21px; line-height: 1.05; color: #F6EFD9; }
.don-pack small, .don-easy small { font-size: 12.5px; line-height: 1.25; color: rgba(246, 239, 217, .66); }
.don-gift { display: flex; gap: 5px; align-items: flex-start; margin-top: 2px; font-size: 12.5px; line-height: 1.25; color: #F3D28B; }
.don-gift svg { width: 13px; height: 13px; flex: none; margin-top: 1px; }
.don-gift em { font-style: normal; }
.don-pack .don-price, .don-easy .don-price { margin-top: auto; padding-top: 0; }
.don-pack.blocked, .don-easy.blocked { opacity: .55; }
.don-easy .ic { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; margin-bottom: 4px; color: #8FE3CF; background: rgba(143, 227, 207, .12); }
.don-easy .ic svg { width: 24px; height: 24px; }
.don-easy.pass .ic { color: #F3D28B; background: rgba(243, 210, 139, .14); }
.don-auto { margin-bottom: 0; }
.af-scene { min-height: 124px; }
.af-hero { margin-bottom: 0; cursor: default; }
.af-acts { display: flex; flex-direction: column; gap: 8px; }
/* карточка автоловли в «Магазине» (05.10, владелец: «самая имбовая услуга» — заметной): ночное море и «Ловит, пока вы спите» */
.af-card { position: relative; overflow: hidden; display: block; width: 100%; border-radius: 26px; text-align: left; color: var(--ink);
  background: linear-gradient(180deg, #13262A, #0D1A1D); border: 1.5px solid rgba(243, 210, 139, .75); box-shadow: 0 18px 40px rgba(3, 10, 12, .45);
  transition: transform .18s var(--ease); }
.af-card:active { transform: scale(.98); }
/* «Магазин» на вкладке: фото ниже, «Подключить · 299 ₽» видно без прокрутки (разбор экранов 06.10) */
.tabroot[data-tab="donate"] .page-hero { height: calc(var(--safe-top) + 190px); }
.tabroot.page[data-tab="donate"] .page-scroll.with-hero { padding-top: calc(var(--safe-top) + 64px); }
.af-top { position: relative; display: block; height: 150px; background-size: cover; background-position: center 30%; }
.af-top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 26, 29, 0) 38%, rgba(13, 26, 29, .96) 100%); }
.af-top-tx { position: absolute; left: 16px; right: 16px; bottom: 10px; z-index: 1; }
.af-ribbon { position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 11px;
  border-radius: 10px; font-size: 15px; color: #3a2300; background: linear-gradient(100deg, #FFE6A0, #E8B55C); box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
.af-ribbon svg { width: 15px; height: 15px; flex: none; }
.af-kicker { display: flex; align-items: center; gap: 6px; font-size: 17px; color: var(--aqua); text-shadow: 0 2px 8px rgba(0, 0, 0, .6); }
.af-kicker svg { width: 18px; height: 18px; flex: none; }
.af-title { display: block; margin-top: 4px; font-size: 40px; line-height: .92; text-shadow: 0 3px 14px rgba(0, 0, 0, .6); }
.af-body { display: block; padding: 2px 16px 16px; }
.af-perks { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.af-perks span { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; line-height: 1.25; color: rgba(246, 243, 236, .92); }
.af-perks svg { width: 17px; height: 17px; flex: none; color: var(--aqua); }
.af-go { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; margin-top: 14px;
  border-radius: 16px; font-size: 22px; color: #0E2320; background: linear-gradient(100deg, #C6F5E5, #7FD8BE); box-shadow: 0 8px 22px rgba(127, 216, 190, .3); }
/* два варианта (10.10): месяц с подарками — золотом, под ним что в подарок */
.af-go { font-family: var(--f-display); font-style: italic; font-weight: 900; }
.af-go:active { transform: scale(.97); }
.af-go2 { margin-top: 10px; color: #3a2300; background: linear-gradient(100deg, #FFE6A0, #E8B55C); box-shadow: 0 8px 22px rgba(232, 181, 92, .3); }
.af-gift { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 7px; font-size: 13px; font-weight: 700; color: var(--gold); }
.af-gift svg { width: 15px; height: 15px; flex: none; }
.don-old { margin-right: .3em; font-weight: 600; opacity: .55; text-decoration: line-through; }
/* Кейс сезона в «Магазине» (43_TRAP_CASE.md): ледяной, таймер до конца продажи, три кнопки */
.ch-card { position: relative; overflow: hidden; border-radius: 26px; padding: 0 14px 14px; color: var(--ink);
  background: linear-gradient(180deg, #14233A, #0B1424); border: 1.5px solid rgba(169, 210, 255, .7); box-shadow: 0 18px 40px rgba(3, 8, 16, .45); }
.ch-top { position: relative; display: block; min-height: 150px; padding: 46px 132px 0 2px; }
.ch-pic { position: absolute; right: -8px; top: 26px; width: 150px; height: 150px; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .55)); }
.ch-timer { position: absolute; top: 14px; left: 0; display: inline-flex; align-items: center; gap: 6px; height: 27px; padding: 0 10px;
  border-radius: 10px; font-size: 15px; color: #071526; background: linear-gradient(100deg, #D8ECFF, #8FC2FF); box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
.ch-timer svg { width: 15px; height: 15px; flex: none; }
.ch-kicker { display: flex; align-items: center; gap: 6px; font-size: 16px; color: #A9D2FF; }
.ch-kicker svg { width: 16px; height: 16px; flex: none; }
.ch-title { display: block; margin-top: 4px; font-size: 38px; line-height: .95; }
.ch-line { display: block; margin-top: 6px; font-size: 13.5px; font-weight: 700; line-height: 1.3; color: rgba(246, 243, 236, .8); }
.ch-pool { display: flex; gap: 6px; margin-top: 12px; }
.ch-pool img { flex: 1 1 0; min-width: 0; height: 46px; object-fit: contain; border-radius: 10px; background: rgba(169, 210, 255, .08); }
.ch-btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.ch-buy { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 58px; padding: 6px 4px;
  border-radius: 16px; color: #071526; background: linear-gradient(160deg, #E4F1FF, #9CC8FF); box-shadow: 0 8px 20px rgba(120, 180, 255, .22); }
.ch-buy b { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 19px; line-height: 1; }
.ch-buy span { font-size: 14px; font-weight: 800; }
.ch-buy.best { color: #3a2300; background: linear-gradient(160deg, #FFE6A0, #E8B55C); box-shadow: 0 8px 20px rgba(232, 181, 92, .3); }
.ch-buy:active { transform: scale(.96); }
.ch-buy[disabled] { opacity: .45; }
.ch-note { display: block; margin-top: 10px; font-size: 12.5px; line-height: 1.35; color: rgba(246, 243, 236, .62); }
/* Таймер раздела «только в этом сезоне» (20.10: «Наборы», «Контейнеры и ящики») — форма как у таймера кейса сезона,
   на всю ширину, между заголовком и описанием */
.don-season { display: flex; align-items: center; gap: 8px; height: 34px; margin: -2px 0 12px; padding: 0 14px; border-radius: 12px;
  font-size: 15px; color: #2A1A04; background: linear-gradient(100deg, #FFE9AE, #E8B55C); box-shadow: 0 6px 16px rgba(0, 0, 0, .3); }
.don-season svg { width: 16px; height: 16px; flex: none; }
.don-season span { white-space: nowrap; }
.don-season i { flex: 1; }
.don-season b { white-space: nowrap; font-weight: 900; }
.don-season + .don-desc { margin-top: 0; }
/* Тихон: товар недели (20.10) — полоса до понедельника, как таймер «Магазина», только в цвет жетонов */
.th-week { display: flex; align-items: center; gap: 8px; height: 34px; margin: -2px 0 12px; padding: 0 14px; border-radius: 12px;
  font-size: 15px; color: #06231B; background: linear-gradient(100deg, #CFF7EA, #7FD9BE); box-shadow: 0 6px 16px rgba(0, 0, 0, .3); }
.th-week svg { width: 16px; height: 16px; flex: none; }
.th-week span, .th-week b { white-space: nowrap; }
.th-week i { flex: 1; }
.th-week b { font-weight: 900; }
.th-week-n { color: var(--accent, #A9E4D0); font-weight: 700; }
.af-go .don-old { margin-left: .3em; }
/* «сейчас 30 дней → скоро 10 дней» за одну цену (afpromo.nowVsLaterHtml) */
.af-vs { display: grid; grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr); align-items: center; gap: 6px; margin-top: 14px; }
.af-vs-now, .af-vs-later { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 16px; }
.af-vs small { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.af-vs b { font-size: 28px; line-height: 1; }
.af-vs i { font-style: normal; font-size: 13px; font-weight: 700; }
.af-vs-now { background: linear-gradient(120deg, rgba(243, 210, 139, .3), rgba(243, 210, 139, .1)); border: 1.5px solid rgba(243, 210, 139, .8);
  box-shadow: 0 0 18px rgba(243, 210, 139, .22); }
.af-vs-now small, .af-vs-now i { color: #FFE6A0; }
.af-vs-later { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14); color: rgba(246, 243, 236, .6); }
.af-vs-arrow { display: grid; place-items: center; color: rgba(246, 243, 236, .5); }
.af-vs-arrow svg { width: 22px; height: 22px; }
.af-promo-note { display: block; margin-top: 8px; text-align: center; font-size: 13px; font-weight: 600; color: rgba(246, 243, 236, .75); }
.af-qty { font-style: inherit; font-size: 17px; color: rgba(246, 243, 236, .6); }
.af-live .af-t { font-size: 26px; }
.af-live .af-radar span svg { width: 34px; height: 34px; color: var(--aqua); }
.doc-card { font-size: 13.5px; line-height: 1.55; color: rgba(246, 243, 236, .88); }
.doc-card .doc-text { max-height: none; }

/* ── профиль: достижения, навыки, статистика, рыбопедия, оформление, карточка ── */
.ach-grid2 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 6px; }
.ach-cell { align-items: center; text-align: center; }
.ach-cell small { font-size: 11.5px; }
.ach-cell em { font-style: normal; font-size: 10.5px; line-height: 1.25; color: rgba(246, 243, 236, .55); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ach-cell:not(.on) .pf-hex-ico svg { width: 20px !important; height: 20px !important; }
/* прогресс к закрытому: «есть 320 из 500» (разбор экранов 06.10) */
.ach-prog { display: block; width: 72%; height: 5px; margin: 6px auto 2px; border-radius: 3px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.ach-prog i { display: block; height: 100%; border-radius: 3px; background: var(--aqua); }
.ach-n { display: block; font: 700 12.5px var(--f-text); color: var(--aqua); }
.ach-cell.fresh .pf-hex { animation: achFresh 1.6s ease-in-out infinite; }
@keyframes achFresh { 0%, 100% { filter: drop-shadow(0 0 4px rgba(243, 210, 139, .5)); transform: scale(1); } 50% { filter: drop-shadow(0 0 14px rgba(243, 210, 139, .95)); transform: scale(1.08); } }
.sk-st { border-color: rgba(169, 228, 208, .5); }
.sk-st b { color: var(--aqua); }
/* навыки бирюзовые, уровень «0 из 3» строкой под названием (разбор экранов 06.10) */
.sk-how { margin: 10px 2px 0; font-size: 14px; color: rgba(246, 243, 236, .82); }
.sk-row .tp-th.ico { background: rgba(255, 255, 255, .08); }
.sk-row .tp-tx b { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.sk-lv { display: flex; align-items: center; gap: 8px; margin: 3px 0 5px; }
.sk-lv em { font: 700 12px var(--f-text); color: rgba(246, 243, 236, .6); }
.sk-pips { display: inline-flex; margin: 0; }
.sk-pips i.on { background: var(--aqua); box-shadow: 0 0 6px rgba(169, 228, 208, .6); }
.st-record { position: relative; min-height: 136px; display: flex; flex-direction: column; gap: 2px; padding-right: 150px; }
.st-record-img { position: absolute; right: -10px; top: 50%; width: 170px; transform: translateY(-50%) rotate(-6deg);
  animation: pfFloat 4s ease-in-out infinite alternate; }
.st-record-img > img { display: block; width: 100%; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .5)); }      /* тень — у картинки (09.10) */
.st-record .tp-big b { font-size: 60px; }
.st-row .tp-tx { gap: 6px; }
.st-bar { margin-top: 2px; }
.dex-grid2 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.dex-c { position: relative; aspect-ratio: 1; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 6px 4px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .13); transition: transform .15s; }
.dex-c:active { transform: scale(.94); }
.dex-c img { width: 88%; height: 46%; object-fit: contain; filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .4)); }
.dex-c .w { font-size: 13px; color: rgba(246, 243, 236, .8); white-space: nowrap; }
.dex-c.rare { border-color: rgba(201, 182, 255, .5); background: rgba(201, 182, 255, .1); }
.dex-c.unknown { background: rgba(255, 255, 255, .03); border-style: dashed; }
.dex-c.unknown img { filter: brightness(0); opacity: .35; }
.dex-c.unknown .w { color: rgba(246, 243, 236, .4); font-size: 16px; }
.dex-crown2 { position: absolute; right: 4px; top: 4px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.dex-crown2 svg { width: 12px; height: 12px; }
/* под рыбой — имя и «рекорд 1,20 кг», легенда к короне и сиреневой рамке (разбор экранов 06.10) */
.dex-c .dex-w { display: flex; flex-direction: column; align-items: center; max-width: 100%; line-height: 1.05; white-space: normal; text-align: center; }
.dex-w b { max-width: 100%; font-size: 14px; color: var(--ink); overflow: hidden; white-space: normal; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }      /* «Императорский ангел» — в две строки */
.dex-w small { font: 600 10.5px/1.2 var(--f-text); color: rgba(246, 243, 236, .72); }
.dex-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 2px 0; font: 600 13px var(--f-text); color: rgba(246, 243, 236, .8); }
.dex-legend > span { display: flex; align-items: center; gap: 6px; }
.dex-legend .dex-crown2 { position: static; }
.dex-rare { width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid rgba(201, 182, 255, .7); background: rgba(201, 182, 255, .12); }
.page.intro .dex-grid2 > * { animation-delay: calc(100ms + var(--j, 0) * 25ms); }
.cos-frame { min-height: 84px; justify-content: center; }
.cos-frame b { font-size: 19px; }
.cos-frame.on { border-color: var(--accent); background: rgba(243, 210, 139, .14); box-shadow: 0 0 20px rgba(243, 210, 139, .2); }
.cos-frame.locked { opacity: .5; }
/* «Оформление» (23_SHOP.md): цвет имени — переливом по буквам; без анимации — бережём батарею */
.ns { -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  text-shadow: none !important; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .45)); }
.ns-gold { background-image: linear-gradient(100deg, #c08a2c 0%, #ffe9a6 34%, #dca545 55%, #fff4cf 76%, #c8922f 100%); }
.ns-sea { background-image: linear-gradient(100deg, #2fd6c4 0%, #9ff4ff 38%, #3a9bff 72%, #c9f6ff 100%); }
.ns-sunset { background-image: linear-gradient(100deg, #ff7a59 0%, #ffbd6b 34%, #ff5f8f 70%, #ffd38a 100%); }
.ns-brass { background-image: linear-gradient(100deg, #8a5a1c 0%, #f3d28b 28%, #b07a2a 50%, #ffe9b0 70%, #8b1a1a 100%); }
.ns-aurora { background-image: linear-gradient(100deg, #7affc8 0%, #36e0a0 30%, #5b8cff 66%, #c48aff 100%); }
.ns-fire { background-image: linear-gradient(100deg, #ff3b1f 0%, #ff8a1f 38%, #ffd23f 68%, #ff5a1f 100%); }
.ns-patron { background-image: linear-gradient(100deg, #b07a22 0%, #fff6dc 22%, #e8c46a 40%, #ffffff 52%, #d9a441 66%, #fff0c2 82%, #b9862c 100%); }
/* фон карточки и цвет имени — витрина */
.cos-bgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cos-bg { position: relative; height: 92px; border-radius: 18px; overflow: hidden; background-size: cover; background-position: center;
  border: 1.5px solid rgba(255, 255, 255, .14); display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: 8px 10px; text-align: left; color: #fff; transition: transform .15s; }
.cos-bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .7)); }
.cos-bg > * { position: relative; }
.cos-bg b { font-size: 17px; line-height: 1.05; }
.cos-bg small { display: inline-flex; align-items: center; gap: 3px; margin-top: 2px; font-size: 14px; font-weight: 900; color: var(--accent); }
.cos-bg small svg { width: 12px; height: 12px; }
.cos-bg:active { transform: scale(.97); }
.cos-bg.on { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(243, 210, 139, .35), 0 0 18px rgba(243, 210, 139, .25); }
/* закрытые фоны темнее, цена на тёмной плашке, у своего — «выбрано» (разбор экранов 06.10) */
.cos-bg.locked { filter: saturate(.45); }
.cos-bg.locked::before { background: linear-gradient(180deg, rgba(11, 23, 25, .5), rgba(11, 23, 25, .84)); }
.cos-bg.locked b { color: rgba(246, 243, 236, .82); }
.cos-bg.locked small { margin-top: 5px; padding: 3px 8px 3px 6px; border-radius: 9px; font-size: 13px; color: var(--ink); background: rgba(11, 23, 25, .88); }
.cos-bg .cos-sel { display: inline-block; margin-top: 5px; padding: 3px 8px; border-radius: 9px; font: 800 13px var(--f-text); color: #1F1A0E; background: var(--accent); }
.cos-grid + .cos-more { margin-top: 10px; }
.tp-empty .cos-boat { margin-top: 12px; }
.cos-names { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cos-name { min-height: 64px; border-radius: 16px; padding: 8px 12px; display: flex; flex-direction: column; justify-content: center; gap: 2px;
  text-align: left; color: var(--ink); background: rgba(255, 255, 255, .06); border: 1.5px solid rgba(255, 255, 255, .12); transition: transform .15s; }
.cos-name b { font-size: 22px; line-height: 1; }
.cos-name small { display: inline-flex; align-items: center; gap: 3px; font-size: 12.5px; font-weight: 700; color: rgba(246, 243, 236, .65); }
.cos-name small svg { width: 12px; height: 12px; }
.cos-name:active { transform: scale(.97); }
.cos-name.on { border-color: var(--accent); background: rgba(243, 210, 139, .14); }
.pcard2-bg.scene { animation-duration: 30s; }
/* «Поддержать»: превью оформления на плитке */
.don-pv { display: block; height: 46px; margin: -2px 0 6px; border-radius: 12px; overflow: hidden; }
.don-pv.bg { width: 100%; object-fit: cover; }
.don-pv.ns-s, .don-pv.fr { display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .22); font-size: 22px; font-weight: 900; }
.don-pv.fr { font-size: 18px; white-space: nowrap; }
.don-pv.ns-s b { font-size: 26px; }
.don-pv.kd { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 8px; background: rgba(0, 0, 0, .22); color: #F3D28B; }
.don-pv.kd svg { width: 18px; height: 18px; flex: none; }
.don-pv.kd em { font-style: italic; font-size: 11.5px; line-height: 1.15; color: rgba(246, 243, 236, .78); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.don-tile.has-pv { min-height: 150px; }
.don-sheet-pv { height: 140px; border-radius: 18px; background-size: cover; background-position: center; margin-bottom: 10px; }
.don-sheet-ns { padding: 16px 0 6px; text-align: center; font-size: 40px; font-weight: 900; }
.pcard2 { position: relative; margin: 6px -6px 0; min-height: 250px; border-radius: 28px; overflow: hidden; padding: 20px 18px 18px; display: flex; flex-direction: column;
  justify-content: flex-end; gap: 4px; border: 1px solid rgba(243, 210, 139, .35); box-shadow: 0 20px 44px rgba(3, 10, 12, .4); }
.pcard2-bg { position: absolute; inset: 0; background-size: cover; background-position: center; animation: hbKen 22s ease-in-out infinite alternate; }
.pcard2::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 14, 16, .2) 0%, rgba(6, 14, 16, .5) 45%, rgba(6, 14, 16, .92) 100%); }
.pcard2 > *:not(.pcard2-bg) { position: relative; z-index: 1; }
.pcard2-name { margin: 2px 0 0; white-space: normal; overflow-wrap: anywhere; }
.pcard2-status { font-size: 14px; font-style: italic; color: rgba(246, 243, 236, .88); }
.pcard2-badges { font-size: 16px; }
.pcard2-lvl { position: absolute !important; right: 16px; top: 16px; }
/* реконструкции Причала — значок напротив уровня; открыто контейнеров, ящиков, кейсов — строка под счётом (24.10) */
.pcard2-prest { position: absolute !important; left: 16px; top: 16px; }
.pcard2-prest b { display: inline-flex; align-items: center; gap: 3px; }
.pcard2-prest b svg { width: .8em; height: .8em; }
.pcard2-opened { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 8px;
  font-size: 13px; font-weight: 600; color: rgba(246, 243, 236, .78); }
.pcard2-opened > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
.pcard2-opened small { font-size: 11px; color: rgba(246, 243, 236, .5); }
.pcard2-opened span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.pcard2-opened svg { width: 16px; height: 16px; color: var(--gold, #f3d28b); }
/* подписи «поймано / рекорд — палтус» — обычным шрифтом; повод под «Поздравить»; что значит «№» (разбор экранов 06.10) */
.pcard2-stats small { font-family: var(--f-text); font-style: normal; font-weight: 600; font-size: 13px; }
.pcard2-congrats .tp-note { margin-top: 6px; text-align: center; }
.tp-note.pcard2-nnote { margin: -2px 0 10px; }
.tp-plaque.mini { padding: 8px 8px 0; }
.tp-plaque.mini .tp-plaque-board { height: 64px; }
.tp-plaque.mini .tp-plaque-board img { max-height: 58px; }
.tp-plaque.mini .tp-plaque-plate b { font-size: 14px; }
.tp-named.mini { padding: 8px 6px; }
.tp-named.mini .tp-named-pic, .tp-named.mini .tp-named-pic img { width: 90px; }
.tp-named.mini small { font-size: 10.5px; }

/* ── турнир, Хозяин, сезон, лидеры ── */
.tp-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 6px; }
.tp-pod { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; color: var(--ink); min-width: 0; }
.tp-pod b { font-size: 16px; line-height: 1.05; max-width: 100%; overflow-wrap: anywhere; }   /* имя переносится, а не «Разработчик…» */
.tp-pod small { font-size: 11.5px; font-weight: 700; color: rgba(246, 243, 236, .72); }
.tp-pod-medal { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; color: var(--accent-ink);
  background: linear-gradient(135deg, #FFE39A, #D9A441); box-shadow: 0 0 20px rgba(243, 210, 139, .5); margin-bottom: 4px; }
.tp-pod.p2 .tp-pod-medal { background: linear-gradient(135deg, #F4F7F8, #AEBBC2); box-shadow: 0 0 14px rgba(220, 230, 240, .35); }
.tp-pod.p3 .tp-pod-medal { background: linear-gradient(135deg, #F2C29A, #B87444); box-shadow: 0 0 14px rgba(230, 160, 110, .35); }
.tp-pod-bar { width: 100%; margin-top: 6px; border-radius: 14px 14px 4px 4px; background: linear-gradient(180deg, rgba(243, 210, 139, .38), rgba(243, 210, 139, .06));
  border: 1px solid rgba(243, 210, 139, .4); border-bottom: 0; }
.tp-pod.p1 .tp-pod-bar { height: 96px; }
.tp-pod.p2 .tp-pod-bar { height: 66px; background: linear-gradient(180deg, rgba(220, 230, 240, .26), rgba(220, 230, 240, .04)); border-color: rgba(220, 230, 240, .3); }
.tp-pod.p3 .tp-pod-bar { height: 48px; background: linear-gradient(180deg, rgba(230, 160, 110, .26), rgba(230, 160, 110, .04)); border-color: rgba(230, 160, 110, .3); }
.page.intro .tp-pod-bar { animation: tpPodUp .8s cubic-bezier(.2, .9, .3, 1.2) both; transform-origin: 50% 100%; }
.page.intro .tp-pod.p1 .tp-pod-bar { animation-delay: .35s; } .page.intro .tp-pod.p2 .tp-pod-bar { animation-delay: .2s; } .page.intro .tp-pod.p3 .tp-pod-bar { animation-delay: .5s; }
@keyframes tpPodUp { from { transform: scaleY(0); } to { transform: none; } }
.page.intro .tp-pod-medal { animation: tpPop .6s cubic-bezier(.3, 1.6, .5, 1) .75s both; }
/* своё место на пьедестале — бирюзовая обводка и «это вы» (разбор экранов 06.10) */
.tp-pod.me .tp-pod-bar { border: 2px solid var(--aqua); box-shadow: 0 0 22px rgba(169, 228, 208, .3); }
.tp-pod-me { margin-top: 3px; padding: 2px 10px; border-radius: 999px; background: rgba(169, 228, 208, .16); color: var(--aqua); font: 800 12px/1.35 var(--f-text); }
.tp-prizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
/* игроков мало — призы приглушены, а почему — сказано рядом заметно (разбор экранов 06.10) */
.tp-prizes.off .tp-prize { opacity: .45; filter: grayscale(.7); }
.tp-note.tp-prizes-off { margin-top: 10px; padding: 10px 12px; border-radius: 14px; font-size: 14px; color: var(--ink); border: 1px dashed rgba(246, 243, 236, .35);
  background: rgba(255, 255, 255, .05); }
.gl-place.rng { font-size: 15px; white-space: nowrap; }   /* «4–10» в кружке награды сезона */
.tp-prize { border-radius: 18px; padding: 10px 10px 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13); }
.tp-prize b { font-size: 28px; line-height: 1; color: var(--accent); }
.tp-prize.p1 { border-color: rgba(243, 210, 139, .6); background: rgba(243, 210, 139, .14); }
.tp-prize.p2 b { color: #DCE6EC; } .tp-prize.p3 b { color: #E3A778; }
.tp-prize .tp-val { font-size: 18px; }
.boss2 { position: relative; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; }
/* покачивание — у рамки, тень — у картинки (09.10, см. .pf-fish в tabs.css) */
.boss2-fish { position: absolute; left: 50%; top: 8px; width: 290px; margin-left: -145px; animation: tkBoss 4s ease-in-out infinite alternate; }
.boss2-fish > img { display: block; width: 100%; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .55)); }
.boss2.killed .boss2-fish { animation: none; transform: rotate(8deg); }
.boss2.killed .boss2-fish > img { filter: grayscale(.85) brightness(.65); }
.boss2-hp { position: relative; margin-top: 120px; }
.tk-boss-hp.boss2-hp { margin-right: 0; }   /* у карточки на вкладке полоса уходит под рыбу (−120px), здесь — нет: правую надпись выталкивало за край */
.page.intro .boss2 .tk-hp i { animation: tkHpIn 1.5s cubic-bezier(.2, .8, .2, 1) .6s both; }
.tops-cats { flex-wrap: nowrap; overflow-x: auto; margin-left: -18px; margin-right: -18px; padding: 0 18px 4px; scrollbar-width: none; }
.tops-cats::-webkit-scrollbar { display: none; }
.tops-cats .tp-chip { flex: none; height: 36px; font-size: 17px; cursor: pointer; }
.tops-cats .tp-chip.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ── окна: подтверждение, уведомление, сундук за вход; шторка садка из сцены ── */
.confirm h3 { font-style: italic; font-weight: 900; }
.confirm-acts .tp-btn { width: 100%; }
.notice .tp-btn { margin-top: 6px; }
.notice-item { font-size: 14.5px; }
.tp-chest { position: relative; width: 120px; height: 120px; margin: 6px auto 8px; border-radius: 50%; display: grid; place-items: center; color: var(--accent);
  background: radial-gradient(circle, rgba(243, 210, 139, .3), rgba(243, 210, 139, 0) 70%); animation: tpChest 1s cubic-bezier(.3, 1.6, .5, 1) both, pfFloat 3s ease-in-out 1s infinite alternate; }
.tp-chest svg { width: 70px; height: 70px; stroke-width: 1.6; filter: drop-shadow(0 0 16px rgba(243, 210, 139, .7)); }
.tp-chest.big svg { width: 84px; height: 84px; }
@keyframes tpChest { 0% { transform: scale(.3) rotate(-20deg); opacity: 0; } 60% { transform: scale(1.15) rotate(6deg); opacity: 1; } 100% { transform: none; } }
.bs-body .tm-sec { margin-top: 10px; }
.bs-tile { cursor: pointer; }
.bs-tile img { width: 72px; height: 50px; }
.bs-tile .tp-val { font-size: 17px; }
.bs-tile.on { border-color: var(--accent); background: rgba(243, 210, 139, .16); box-shadow: 0 0 16px rgba(243, 210, 139, .25); }
.bs-tile .cnt svg { width: 14px; height: 14px; stroke-width: 3; }
.bs-tile.nosell { opacity: .8; }
.bs-tile.named { border-color: rgba(243, 210, 139, .45); }
.sheet.bs-sheet { background: #0E1A1C; }                     /* садок со сцены: субтитр сквозь шторку не просвечивает (разбор экранов 06.10) */
.bs-tile .tp-val .coin { margin-right: 1px; }

/* ════════════ атмосферы разделов: слой .page-fx (три <i>) и подкраска фона ════════════ */
.page-fx { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.page-fx i { position: absolute; display: block; }

/* контрабандисты: темно, туман стелется, красный фонарь моргает, моросит */
.page.theme-smug { --accent: #D9A15B; --accent-ink: #170D05; --gold: #D9A15B; --aqua: #9DC3B2; --red: #E36A56; --glass: rgba(18, 12, 11, .55); }
.page.theme-smug::before { filter: saturate(.25) brightness(.45) contrast(1.2); }
.page.theme-smug::after { background: radial-gradient(90% 50% at 8% 0%, rgba(150, 36, 24, .34), rgba(150, 36, 24, 0) 62%),
  linear-gradient(180deg, rgba(12, 7, 6, .62) 0%, rgba(10, 6, 6, .9) 42%, #060404 100%); }
.page.theme-smug .page-hero-img { filter: saturate(.45) brightness(.66) contrast(1.18) sepia(.2); }
.page.theme-smug.has-title .page-hero::after { background: linear-gradient(180deg, rgba(12, 4, 4, .6) 0%, rgba(12, 4, 4, 0) 28%, rgba(40, 8, 6, .35) 60%,
  rgba(10, 4, 4, .82) 86%, rgba(8, 4, 4, .95) 100%); }
.page.theme-smug .page-head::after { background: linear-gradient(180deg, rgba(10, 5, 5, .98) 0%, rgba(10, 5, 5, .96) 78%, rgba(10, 5, 5, 0)); }
.theme-smug .page-fx i:nth-child(1) { inset: -20% -60%; background: radial-gradient(38% 16% at 30% 58%, rgba(200, 188, 176, .15), transparent 70%),
  radial-gradient(34% 13% at 72% 36%, rgba(200, 188, 176, .11), transparent 70%), radial-gradient(40% 12% at 50% 86%, rgba(200, 188, 176, .1), transparent 70%);
  animation: tpFog 24s ease-in-out infinite alternate; }
.theme-smug .page-fx i:nth-child(2) { left: -110px; top: 10px; width: 360px; height: 360px; border-radius: 50%; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(255, 96, 52, .34), rgba(255, 96, 52, 0) 64%); animation: tpFlicker 6s steps(1) infinite; }
.theme-smug .page-fx i:nth-child(3) { inset: 0; opacity: .55; background-image: repeating-linear-gradient(104deg, rgba(210, 215, 225, .07) 0 1px, transparent 1px 11px);
  background-size: 140px 140px; animation: tpDrizzle .8s linear infinite;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .4) 45%, transparent 75%); mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .4) 45%, transparent 75%); }
@keyframes tpFog { from { transform: translateX(-7%); } to { transform: translateX(7%); } }
@keyframes tpFlicker { 0%, 100% { opacity: .95; } 4% { opacity: .35; } 6% { opacity: .9; } 38% { opacity: 1; } 40% { opacity: .5; } 41% { opacity: .95; } 70% { opacity: .8; } 72% { opacity: .98; } }
@keyframes tpDrizzle { from { background-position: 0 0; } to { background-position: -24px 140px; } }
.theme-smug .tp-word { text-shadow: 0 0 34px rgba(190, 44, 26, .45), 0 10px 30px rgba(0, 0, 0, .6); }
.theme-smug .tp-row, .theme-smug .tp-card, .theme-smug .tp-stats, .theme-smug .tp-seg, .theme-smug .tp-tile, .theme-smug .tp-say {
  background: rgba(26, 15, 13, .55); border-color: rgba(255, 190, 160, .1); }
.theme-smug .tp-row.hl, .theme-smug .tp-card.hl { border-color: var(--accent); background: rgba(60, 30, 18, .5); }
.theme-smug .tp-card.red, .theme-smug .tp-row.red { background: rgba(90, 20, 14, .38); border-color: rgba(227, 106, 86, .55); }
/* правило темы выше той же силы, что .tp-row.mint / .fx-jr.success, и стояло ниже — у контрабандистов пропадали
   цветные рамки: своя лодка, купленное снаряжение, итоги налётов (разбор экранов 06.10) */
.theme-smug .tp-row.mint, .theme-smug .tp-card.mint, .theme-smug .fx-jr.success { border-color: rgba(157, 195, 178, .6); }
.theme-smug .fx-jr.caught, .theme-smug .fx-jr.defended { border-color: rgba(227, 106, 86, .5); }
.theme-smug .fx-boat.current { box-shadow: inset 0 0 0 1px rgba(157, 195, 178, .35), 0 0 26px rgba(157, 195, 178, .12); }
.theme-smug .tp-bar i { background: linear-gradient(90deg, #B8743A, #F0C080 60%, #B8743A); background-size: 200% 100%; box-shadow: 0 0 10px rgba(217, 161, 91, .5); }
.theme-smug .tp-empty { background: rgba(26, 15, 13, .4); }

/* рыбаки, яхт-клуб: светло, солнце бликует, вода рябит */
.page.theme-yacht::after { background: linear-gradient(180deg, rgba(24, 84, 100, .32) 0%, rgba(8, 28, 34, .72) 42%, rgba(6, 16, 20, .95) 100%); }
.theme-yacht .page-fx i:nth-child(1) { right: -90px; top: -90px; width: 340px; height: 340px; border-radius: 50%; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(255, 238, 196, .42), rgba(255, 238, 196, 0) 64%); animation: fxSun 6s ease-in-out infinite alternate; }
.theme-yacht .page-fx i:nth-child(2) { left: 0; right: 0; top: 200px; height: 160px; opacity: .6; mix-blend-mode: screen;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 0 36px, rgba(255, 255, 255, .09) 36px 40px, rgba(255, 255, 255, 0) 40px 86px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
  animation: tpGlint 9s linear infinite; }
@keyframes tpGlint { from { background-position: 0 0; } to { background-position: 344px 0; } }

/* аквариум: под водой — блики на дне, лучи сверху, пузырьки */
.page.theme-deep::after { background: linear-gradient(180deg, rgba(34, 120, 128, .48) 0%, rgba(10, 52, 60, .82) 38%, rgba(4, 20, 26, .96) 100%); }
.theme-deep .page-fx i:nth-child(1) { inset: 0; mix-blend-mode: screen; background: radial-gradient(40px 14px at 20% 10%, rgba(200, 255, 245, .16), transparent 70%),
  radial-gradient(60px 18px at 70% 16%, rgba(200, 255, 245, .14), transparent 70%), radial-gradient(50px 16px at 45% 26%, rgba(200, 255, 245, .1), transparent 70%);
  background-size: 220px 120px; animation: vcCaustic 7s ease-in-out infinite alternate; }
.theme-deep .page-fx i:nth-child(2) { left: -20%; right: -20%; top: -10%; height: 80%; mix-blend-mode: screen;
  background: repeating-linear-gradient(100deg, rgba(210, 255, 245, 0) 0 34px, rgba(210, 255, 245, .07) 34px 52px, rgba(210, 255, 245, 0) 52px 96px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); animation: vcRays 9s ease-in-out infinite alternate; }
.theme-deep .page-fx i:nth-child(3) { inset: 0; opacity: .7;
  background-image: radial-gradient(circle at 20px 20px, rgba(220, 245, 240, .55) 0 2px, transparent 3px), radial-gradient(circle at 90px 70px, rgba(220, 245, 240, .45) 0 3px, transparent 4px),
    radial-gradient(circle at 160px 140px, rgba(220, 245, 240, .4) 0 2px, transparent 3px), radial-gradient(circle at 60px 200px, rgba(220, 245, 240, .5) 0 1.5px, transparent 2.5px);
  background-size: 200px 240px; animation: tpBubbles 9s linear infinite; }
@keyframes vcCaustic { from { background-position: 0 0; } to { background-position: 60px 24px; } }
@keyframes vcRays { from { transform: translateX(-20px) skewX(-6deg); } to { transform: translateX(20px) skewX(6deg); } }
@keyframes tpBubbles { from { background-position: 0 0; } to { background-position: 30px -480px; } }

/* трофейный зал: тёплый свет софитов, пылинки в луче */
.page.theme-hall::after { background: radial-gradient(60% 40% at 50% 0%, rgba(255, 206, 140, .24), transparent 70%),
  linear-gradient(180deg, rgba(34, 20, 10, .6) 0%, rgba(18, 11, 8, .9) 45%, #0B0706 100%); }
.theme-hall .page-fx i:nth-child(1) { left: 50%; top: -60px; width: 460px; height: 760px; margin-left: -230px; mix-blend-mode: screen; transform-origin: 50% 0;
  background: radial-gradient(50% 60% at 50% 0%, rgba(255, 222, 170, .2), rgba(255, 222, 170, 0) 70%); animation: tpSway 10s ease-in-out infinite alternate; }
.theme-hall .page-fx i:nth-child(2) { inset: 0; opacity: .6;
  background-image: radial-gradient(circle at 30px 40px, rgba(255, 230, 190, .5) 0 1px, transparent 2px), radial-gradient(circle at 120px 160px, rgba(255, 230, 190, .4) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 200px 90px, rgba(255, 230, 190, .35) 0 1px, transparent 2px);
  background-size: 240px 220px; animation: tpDust 16s linear infinite; -webkit-mask-image: radial-gradient(60% 55% at 50% 20%, #000, transparent); mask-image: radial-gradient(60% 55% at 50% 20%, #000, transparent); }
@keyframes tpSway { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
@keyframes tpDust { from { background-position: 0 0; } to { background-position: 60px 220px; } }

/* магазин и лавки: тёплая лампа сверху покачивается */
.page.theme-shop::after { background: radial-gradient(70% 38% at 70% 0%, rgba(255, 196, 120, .24), transparent 70%),
  linear-gradient(180deg, rgba(30, 20, 12, .5) 0%, rgba(12, 16, 16, .88) 45%, rgba(6, 12, 14, .96) 100%); }
.theme-shop .page-fx i:nth-child(1) { right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; mix-blend-mode: screen; transform-origin: 50% 0;
  background: radial-gradient(circle, rgba(255, 206, 140, .34), rgba(255, 206, 140, 0) 62%); animation: tpLamp 5s ease-in-out infinite alternate; }
@keyframes tpLamp { from { transform: translateX(-10px); opacity: .85; } to { transform: translateX(10px); opacity: 1; } }

/* Семёныч: фонари гирлянды расплываются огоньками */
.page.theme-casino::after { background: radial-gradient(80% 40% at 50% 0%, rgba(255, 170, 90, .22), transparent 70%),
  linear-gradient(180deg, rgba(34, 16, 10, .58) 0%, rgba(16, 10, 10, .9) 45%, #0A0606 100%); }
.theme-casino .page-fx i:nth-child(1) { inset: 0; opacity: .8; mix-blend-mode: screen;
  background-image: radial-gradient(circle at 40px 60px, rgba(255, 190, 110, .35) 0 6px, transparent 16px), radial-gradient(circle at 150px 30px, rgba(255, 140, 90, .3) 0 5px, transparent 14px),
    radial-gradient(circle at 250px 80px, rgba(255, 220, 140, .3) 0 7px, transparent 18px), radial-gradient(circle at 330px 40px, rgba(255, 170, 110, .3) 0 5px, transparent 15px);
  background-size: 380px 140px; background-repeat: repeat-x; -webkit-mask-image: linear-gradient(180deg, #000, transparent 30%); mask-image: linear-gradient(180deg, #000, transparent 30%);
  animation: tpBokeh 4s ease-in-out infinite alternate; }
@keyframes tpBokeh { from { opacity: .55; } to { opacity: .95; } }

/* клуб: у костра — тёплый свет снизу, искры летят вверх */
.page.theme-club::after { background: radial-gradient(90% 40% at 50% 100%, rgba(255, 140, 60, .22), transparent 70%),
  linear-gradient(180deg, rgba(20, 30, 32, .5) 0%, rgba(10, 16, 18, .88) 45%, rgba(8, 10, 10, .96) 100%); }
.theme-club .page-fx i:nth-child(1) { inset: 0; opacity: .8;
  background-image: radial-gradient(circle at 40px 300px, rgba(255, 170, 80, .8) 0 1.5px, transparent 2.5px), radial-gradient(circle at 170px 200px, rgba(255, 200, 110, .7) 0 1px, transparent 2px),
    radial-gradient(circle at 280px 360px, rgba(255, 150, 70, .7) 0 1.5px, transparent 2.5px);
  background-size: 320px 400px; animation: tpSparks 7s linear infinite; -webkit-mask-image: linear-gradient(0deg, #000 10%, transparent 80%); mask-image: linear-gradient(0deg, #000 10%, transparent 80%); }
@keyframes tpSparks { from { background-position: 0 0; } to { background-position: 40px -400px; } }

/* «Поддержать», бонусы, меценаты: тёплое золото, искры поднимаются */
.page.theme-gold::after { background: radial-gradient(80% 40% at 50% 0%, rgba(255, 200, 110, .26), transparent 70%),
  linear-gradient(180deg, rgba(30, 22, 10, .55) 0%, rgba(14, 14, 12, .88) 45%, rgba(8, 10, 10, .96) 100%); }
.theme-gold .page-fx i:nth-child(1) { inset: 0; opacity: .85;
  background-image: radial-gradient(circle at 30px 320px, rgba(255, 220, 140, .85) 0 1.5px, transparent 2.5px), radial-gradient(circle at 150px 200px, rgba(255, 236, 180, .7) 0 1px, transparent 2px),
    radial-gradient(circle at 260px 380px, rgba(255, 210, 120, .75) 0 1.5px, transparent 2.5px), radial-gradient(circle at 330px 120px, rgba(255, 236, 180, .6) 0 1px, transparent 2px);
  background-size: 360px 420px; animation: tpSparks 9s linear infinite; }
.theme-gold .page-fx i:nth-child(2) { left: 50%; top: -120px; width: 520px; height: 520px; margin-left: -260px; border-radius: 50%; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(255, 210, 130, .22), rgba(255, 210, 130, 0) 62%); animation: pfGlow 4s ease-in-out infinite alternate; }

@media (prefers-reduced-motion: reduce) {
  .page .tp *, .page .tp, .page-fx i { animation: none !important; transition: none !important; }
}

/* ── фракции: скидка ранга над кнопкой, итог «Продать / На склад», новая лодка, журнал нападений ── */
.fx-price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.fx-price .fx-old { font-size: 15px; line-height: 1; }
.fx-claim .tp-cel-t, .fx-bought .tp-cel-t { font-size: 34px; }
.fx-claim-list { position: relative; margin: 12px 0 2px; max-height: 34vh; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.fx-claim-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 5px 10px 5px 6px; border-radius: 14px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.fx-claim-row img { width: 40px; height: 32px; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .4)); }
.fx-claim-row span { min-width: 0; font-size: 14px; font-weight: 700; color: var(--ink); }
.fx-claim-row .tp-val { font-size: 18px; }
.fx-claim-more { padding-left: 4px; font-size: 12.5px; font-weight: 600; color: rgba(246, 243, 236, .6); }
.fx-claim-sum { position: relative; margin: 10px 2px 2px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.fx-claim-sum > span { font-size: 22px; color: rgba(246, 243, 236, .75); }
.fx-claim-sum .tp-val { font-size: 34px; }
.fx-claim-sum .tp-val svg { width: 22px; height: 22px; }
.fx-claim-fill { position: relative; margin: 12px 2px 2px; display: flex; flex-direction: column; gap: 6px; text-align: left; font-size: 14px; font-weight: 600;
  color: rgba(246, 243, 236, .82); }
.fx-claim-fill b { color: var(--ink); }
.fx-claim p, .fx-bought p { margin: 8px 0 12px; }
.fx-claim-chips, .fx-bought-chips { position: relative; justify-content: center; margin: 10px 0 12px; }
.fx-claim-x { margin-top: 8px; }
.fx-bought-st { margin-top: 12px; text-align: left; }
.fx-bought-st b { font-size: 26px; }
.fx-bought-st small s { opacity: .8; }
.fx-bought .fx-bought-warn { text-align: left; color: var(--accent); }
.fx-bought-warn svg { width: 1.1em; height: 1.1em; vertical-align: -.18em; }
.fx-jr.todo { border-color: rgba(242, 154, 142, .7); background: linear-gradient(100deg, rgba(242, 154, 142, .15), rgba(255, 255, 255, .04)); }
.theme-smug .fx-jr.todo { background: rgba(90, 20, 14, .38); border-color: rgba(227, 106, 86, .6); }
.fx-jr-due, .fx-jr-chase { display: flex; align-items: center; gap: 6px; margin-top: -4px; font-size: 12.5px; font-weight: 700; line-height: 1.35; color: var(--red); }
.fx-jr-chase { color: rgba(246, 243, 236, .78); }
.fx-jr-chase.active, .fx-jr-chase.caught { color: var(--aqua); }
.fx-jr-chase.escaped { color: var(--accent); }
.fx-jr-due svg, .fx-jr-chase svg { width: 14px; height: 14px; flex: none; }

/* «Поддержать»: состав набора (23_SHOP.md) */
.don-list { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: rgba(246, 243, 236, .9); }
.don-list span { padding: 8px 12px; border-radius: 12px; background: rgba(0, 0, 0, .22); }

/* ник в «Оформлении» (05.10, game/nickname.py): правила под полем */
.nick-card .nick-rules { display: block; margin-top: 10px; font-size: 12.5px; font-weight: 600; line-height: 1.35; color: rgba(246, 243, 236, .62); }
.nick-card .nick-rules.gold { color: var(--accent); }
/* значки рамки рядом с именем (common.styledName): свои цвета, не прозрачные под градиент имени */
.nf { -webkit-text-fill-color: currentcolor; background: none; font-style: normal; }
/* автоловля на «Рыбалке» (05.10, spots.autofishStrip): тонкая полоса с картинкой — фьорд или место автоловли */
.afs { position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 74px; margin-top: 14px;
  padding: 10px 10px 10px 12px; border-radius: 22px; text-align: left; color: var(--ink); background: #0D1A1D;
  border: 1.5px solid rgba(243, 210, 139, .7); box-shadow: 0 12px 28px rgba(3, 10, 12, .4); transition: transform .18s var(--ease); }
.afs:active { transform: scale(.98); }
.afs-bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; }
.afs::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(8, 16, 18, .92) 0%, rgba(8, 16, 18, .72) 55%, rgba(8, 16, 18, .35) 100%); }
.afs-tx { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.afs-tx small { font-size: 13px; color: var(--aqua); }
.afs-tx b { font-size: 20px; line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.afs-tx i { font-style: normal; font-size: 12.5px; font-weight: 700; line-height: 1.3; color: rgba(246, 243, 236, .8); }
.afs-go { position: relative; z-index: 2; flex: none; display: inline-flex; align-items: center; gap: 2px; height: 36px; padding: 0 8px 0 12px;
  border-radius: 12px; font-size: 16px; color: #0E2320; background: linear-gradient(100deg, #C6F5E5, #7FD8BE); }
.afs-go svg { width: 16px; height: 16px; }
.afs.buy .afs-go { color: #3a2300; background: linear-gradient(100deg, #FFE6A0, #E8B55C); }
.afs-ico { position: relative; z-index: 2; flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--aqua);
  background: rgba(13, 26, 29, .55); border: 1px solid rgba(169, 228, 208, .5); }
.afs-ico svg { position: relative; width: 22px; height: 22px; }
.afs-ico i { position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid rgba(169, 228, 208, .7); animation: afsPing 2.2s ease-out infinite; }
@keyframes afsPing { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.afs.run { border-color: rgba(169, 228, 208, .7); }
/* полоска «Опыт больше не режется в 10 раз» (11.10) — второй строкой во всю ширину полосы, до краёв */
.afs.has-news { flex-wrap: wrap; row-gap: 8px; padding-bottom: 0; }
.afs.has-news .afs-tx { flex-basis: 0; }
.afs-news { position: relative; z-index: 2; flex: 0 0 calc(100% + 22px); display: flex; align-items: center; gap: 6px; margin: 0 -10px 0 -12px;
  padding: 6px 14px 7px; font-size: 13px; color: var(--aqua); background: rgba(169, 228, 208, .14); border-top: 1px solid rgba(169, 228, 208, .32); }
.afs-news svg { width: 15px; height: 15px; flex: none; }
/* оплата одним способом — кнопка во всю ширину окна (05.10, владелец: «только слева») */
.tp-btns > :only-child { grid-column: 1 / -1; }
/* страница автоловли (05.10, social.afRunHtml / afLastHtml): «ловит сейчас», плитки или строки, прошлая автоловля */
.afp-now { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 22px; background: rgba(13, 26, 29, .74);
  border: 1px solid rgba(169, 228, 208, .55); box-shadow: 0 12px 28px rgba(3, 10, 12, .3); }
.afp-dot { position: relative; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--aqua); }
.afp-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--aqua); animation: afsPing 1.8s ease-out infinite; }
.afp-now-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.afp-now-tx small { font-size: 14px; color: var(--aqua); }
.afp-now-tx b { font-size: 32px; line-height: .95; }
.afp-now-tx i { font-style: normal; font-size: 13px; font-weight: 600; color: rgba(246, 243, 236, .75); }
.afp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.afp-grid > span { display: flex; flex-direction: column; gap: 1px; padding: 12px 14px; border-radius: 18px; background: rgba(13, 26, 29, .6);
  border: 1px solid rgba(255, 255, 255, .13); }
.afp-grid small { font-size: 12.5px; font-weight: 700; color: rgba(246, 243, 236, .65); }
.afp-grid b { font-size: 32px; line-height: 1.05; }
.afp-grid b.mint { color: var(--aqua); }
.afp-grid b.gold { color: var(--accent); }
.afp-grid i { font-style: normal; font-size: 12.5px; font-weight: 600; color: rgba(246, 243, 236, .75); }
.afp-last { padding: 14px; border-radius: 22px; background: rgba(13, 26, 29, .74); border: 1px solid rgba(243, 210, 139, .45); }
.afp-last-k { display: block; margin-bottom: 10px; font-size: 18px; color: var(--accent); }
.afp-why { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; font-size: 13px; font-weight: 700; line-height: 1.35; color: rgba(246, 243, 236, .82); }
.afp-why svg { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--accent); }
/* «Акция в честь запуска игры» слева от «Хит магазина» (05.10) */
.af-tags { position: absolute; top: 14px; left: 14px; right: 14px; z-index: 2; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.af-tags .af-ribbon { position: static; height: 27px; padding: 0 9px; font-size: 14px; }
.af-ribbon.promo { color: #1F1A0E; background: #F3D28B; }          /* одна плашка — акция или «Хит магазина» (разбор экранов 06.10) */


/* «Оформление» (09.10, вместо аур): темы карточки и скины удочки и питомца */
.cos-themes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cos-theme { position: relative; border-radius: 16px; padding: 6px 6px 8px; display: flex; flex-direction: column; gap: 2px;
  text-align: left; color: var(--ink); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.cos-theme-pic { display: block; height: 104px; border-radius: 11px; margin-bottom: 4px; background-size: cover; background-position: center top;
  box-shadow: inset 0 -30px 30px -10px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.cos-theme b { font-size: 15px; line-height: 1.05; color: var(--ta); }
.cos-theme small { display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; font-weight: 700; color: rgba(246, 243, 236, .62); }
.cos-theme small svg { width: 11px; height: 11px; }
.cos-theme.on { box-shadow: inset 0 0 0 1.5px var(--ta), 0 0 16px color-mix(in srgb, var(--ta) 30%, transparent); }
.cos-theme.locked .cos-theme-pic { opacity: .55; }
.cos-skins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cos-skin { position: relative; border-radius: 16px; padding: 8px 8px 9px; display: flex; flex-direction: column; align-items: center; gap: 1px;
  text-align: center; color: var(--ink); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.cos-skin-pic { width: 100%; height: 108px; display: block; border-radius: 12px; overflow: hidden;
  background: radial-gradient(70% 70% at 50% 60%, rgba(243, 210, 139, .14), rgba(243, 210, 139, 0)); }
/* не grid: в сетке высота 100 % считается от строки «по содержимому» — картинка вылезала за плитку */
.cos-skin-pic img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cos-skin-pic svg { display: block; width: 34px; height: 34px; margin: 37px auto 0; color: rgba(246, 243, 236, .4); }
.cos-skin b { font-size: 16px; line-height: 1.05; margin-top: 3px; }
.cos-skin small { font-size: 11.5px; line-height: 1.2; color: rgba(246, 243, 236, .62); }
.cos-skin .cos-skin-st { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; color: var(--accent); margin-top: 2px; }
.cos-skin.locked .cos-skin-st { color: rgba(246, 243, 236, .6); }
.cos-skin .cos-skin-st svg { width: 11px; height: 11px; }
.cos-skin.on { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 16px rgba(243, 210, 139, .22); }
.cos-skin.locked .cos-skin-pic img { opacity: .5; }

/* Карточка: полка рамок — все свои рамки, вокруг имени выбранная (владелец 09.10) */
.pf-frames { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-frame { height: 34px; padding: 0 12px; border-radius: 17px; font-size: 15px; white-space: nowrap; color: var(--ink);
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.pf-frame.on { color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
/* Витрина сюжета свёрнута — открывается нажатием (владелец 09.10) */
.pv-fold > summary { list-style: none; cursor: pointer; }
.pv-fold > summary::-webkit-details-marker { display: none; }
.pv-fold > summary small { display: inline-flex; align-items: center; gap: 4px; }
.pv-fold > summary svg { width: 14px; height: 14px; transform: rotate(90deg); transition: transform .2s; }
.pv-fold[open] > summary svg { transform: rotate(-90deg); }
/* Тема карточки (constants/cosmetics.PROFILE_THEMES): фон всей страницы карточки, цвет надписей — --accent */
.page.pft::before { background: var(--pft-img) center top / cover no-repeat; inset: 0; }
.page.pft::after { background: linear-gradient(180deg, rgba(4, 10, 12, .18) 0%, rgba(4, 10, 12, .5) 34%, rgba(4, 10, 12, .84) 100%); }
.page.pft .tm-sec .tm-x, .page.pft .pcard2-stats b { color: var(--accent); }

/* Предпросмотр скина или темы (js/core/lookview.js): удочка — в руке на фоне воды, питомец — листается по видам */
.lv-box { text-align: center; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; }
.lv-box:has(.lv-item + .lv-item) .lv-scene { height: 220px; }       /* удочка и питомец разом («Легенда») — пониже */
.lv-box:has(.lv-item + .lv-item) .lv-pet img { height: 150px; }
.lv-title { display: block; font-size: 22px; line-height: 1.05; }
.lv-sub { display: block; margin-top: 2px; font-size: 13px; color: rgba(246, 243, 236, .65); }
.lv-item { display: flex; flex-direction: column; gap: 4px; margin: 10px 0 8px; }
.lv-item > b { font-size: 20px; line-height: 1.05; margin-top: 4px; }
.lv-item > span { font-size: 14px; line-height: 1.35; }
.lv-box .muted { color: rgba(246, 243, 236, .62); font-size: 13px; }
.lv-scene { position: relative; height: 300px; border-radius: 16px; overflow: hidden; background-size: cover; background-position: center 62%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.lv-rod { position: absolute; right: -4%; bottom: -3%; height: 104%; width: auto; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .45)); }
.lv-pets { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 6px; -webkit-overflow-scrolling: touch; }
.lv-pet { flex: 0 0 64%; margin: 0; scroll-snap-align: center; border-radius: 16px; padding: 8px 8px 6px;
  background: radial-gradient(70% 60% at 50% 55%, rgba(243, 210, 139, .16), rgba(243, 210, 139, 0)), rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.lv-pet.mine { box-shadow: inset 0 0 0 1.5px var(--accent); }
.lv-pet img { display: block; width: 100%; height: 190px; object-fit: contain; }
.lv-pet figcaption { font-size: 13px; font-weight: 700; color: rgba(246, 243, 236, .78); }
.lv-hint { display: block; font-size: 12px; color: rgba(246, 243, 236, .55); }
.lv-theme { position: relative; height: 300px; border-radius: 16px; overflow: hidden; background-size: cover; background-position: center top;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 14px; text-align: left; }
.lv-theme::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 10, 12, 0) 30%, rgba(4, 10, 12, .8)); }
.lv-theme > * { position: relative; }
.lv-theme b { font-size: 26px; color: var(--ta); }
.lv-theme i { display: block; height: 16px; border-radius: 8px; background: rgba(255, 255, 255, .12); }
.lv-theme i:nth-of-type(2) { width: 70%; }
.lv-theme i:nth-of-type(3) { width: 45%; }
/* Карточка: свёрнутый раздел «Скины» — похвастаться (владелец 09.10) */
.pf-skins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pf-skin { border-radius: 16px; padding: 6px 6px 8px; display: flex; flex-direction: column; align-items: center; gap: 1px; text-align: center;
  color: var(--ink); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.pf-skin.on { box-shadow: inset 0 0 0 1.5px var(--accent); }
.pf-skin-pic { display: block; width: 100%; height: 86px; }
.pf-skin-pic img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pf-skin b { font-size: 14px; line-height: 1.05; margin-top: 3px; }
.pf-skin small { font-size: 11px; line-height: 1.2; color: rgba(246, 243, 236, .62); }

/* «?» у заголовка раздела — пояснение листом (18.10: профиль, карточка; у Водяного — свои om-q) */
.tp-sec-q { justify-content: flex-start; }
.tp-sec-q small { margin-left: auto; }
.tp-q { flex: none; align-self: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; display: inline-grid;
  place-items: center; background: rgba(255, 255, 255, .08); color: rgba(246, 243, 236, .7); }
.tp-q svg { width: 20px; height: 20px; }
.dex-legend .tp-q { width: 26px; height: 26px; margin-left: auto; }
.dex-legend .tp-q svg { width: 17px; height: 17px; }
.tp-help p { margin: 0 0 12px; font-size: 15px; line-height: 1.45; color: rgba(246, 243, 236, .86); }
.pcard2-duo { align-items: center; }
.pcard2-duo .tp-btn { flex: 1; }
.pcard2-duo .tp-q { width: 44px; height: 44px; }
.pcard2-duo .tp-q svg { width: 24px; height: 24px; }

/* Журнал спиннинга (64_SPINNING.md, шаг 7; screens/spinbook.js, журнал места в окне наживки — baits.js).
   23.10 проход дизайна: вкладки со счётом, места лентой, плитки рыб ниже (картинка 16:10), карточка рыбы — цифры,
   значки приманок с кружками размеров, «?» — непробованные; уровни и разряды — лесенкой */
.sb-tabs { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 18px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13); }
.sb-tabs button { min-width: 0; padding: 7px 4px 8px; border: 0; border-radius: 14px; background: none; color: rgba(246, 243, 236, .72);
  display: flex; flex-direction: column; align-items: center; gap: 2px; transition: background .2s, color .2s; }
.sb-tabs b { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 18px; line-height: 1; }
.sb-tabs small { max-width: 100%; font-size: 11.5px; font-weight: 700; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: rgba(246, 243, 236, .55); }
.sb-tabs button.on { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 16px rgba(243, 210, 139, .25); }
.sb-tabs button.on small { color: rgba(31, 26, 14, .72); }
.sb-places { display: flex; gap: 6px; margin-top: 12px; padding-bottom: 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.sb-places::-webkit-scrollbar { display: none; }
.sb-places button { flex: none; display: flex; flex-direction: column; align-items: flex-start; padding: 6px 12px 7px; border: 0; border-radius: 14px;
  background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: var(--ink); text-align: left; }
.sb-places b { font-size: 14px; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.sb-places small { font-size: 11.5px; font-weight: 700; line-height: 1.2; color: rgba(246, 243, 236, .58); white-space: nowrap; }
.sb-places button.full small { color: var(--aqua); }
.sb-places button.on { background: rgba(243, 210, 139, .14); box-shadow: inset 0 0 0 1.5px var(--accent); }
.sb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.sb-fish { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 0; padding: 2px 4px 8px;
  border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: inherit; text-align: center; }
.sb-fish:active { transform: scale(.96); }
.sb-fish.tr { border-color: rgba(255, 194, 74, .5); background: rgba(255, 194, 74, .07); }
.sb-fish-img { display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; }
.sb-fish-img img { width: 100%; height: 100%; object-fit: contain; }
.sb-fish b { font-size: 14px; line-height: 1.1; overflow-wrap: anywhere; }
.sb-fish small { font-size: 11.5px; line-height: 1.25; color: rgba(246, 243, 236, .62); }
.sb-fish.off { background: none; border-style: dashed; border-color: rgba(246, 243, 236, .2); }
.sb-fish.off img, .sb-big.off img, .sb-row.off .tp-th img { filter: brightness(0) opacity(.45); }
.sb-fish.off b { color: rgba(246, 243, 236, .6); }
.sb-marks { position: absolute; top: 5px; right: 5px; display: flex; gap: 3px; }
.sb-marks i { width: 15px; height: 15px; color: var(--accent); }
.sb-marks i.tr { color: #FFC24A; }
.sb-marks svg { width: 100%; height: 100%; display: block; }
.sb-bite { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; padding: 8px 12px; border-radius: 14px;
  background: rgba(255, 160, 90, .12); border: 1px solid rgba(255, 170, 110, .35); font-size: 13.5px; line-height: 1.35; }
.sb-bite svg { flex: 0 0 17px; width: 17px; height: 17px; color: #FFB27A; margin-top: 1px; }
.sb-card { margin-top: 14px; padding: 14px 16px 16px; border-radius: 20px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.sb-k { display: block; margin: 14px 0 7px; font-size: 12px; font-weight: 800; color: rgba(246, 243, 236, .55); }
.sb-k.first { margin-top: 0; }
.sb-lv { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.sb-lv-n { font-size: 58px; line-height: .78; color: var(--accent); }
.sb-lv-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sb-lv-t b { font-size: 21px; line-height: 1; }
.sb-lv-t b svg { width: 16px; height: 16px; vertical-align: -2px; color: var(--accent); }
.sb-lv-t small { font-size: 13px; font-weight: 700; color: rgba(246, 243, 236, .66); }
.sb-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sb-perks li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; font-weight: 700; line-height: 1.3; }
.sb-perks svg { flex: 0 0 16px; width: 16px; height: 16px; color: var(--aqua); margin-top: 1px; }
.sb-ladder { display: grid; gap: 4px; }
.sb-step, .sb-rk { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 12px 6px 6px; border-radius: 14px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); color: rgba(246, 243, 236, .58); }
.sb-step > i, .sb-rk > i { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 19px; background: rgba(255, 255, 255, .07); }
.sb-step > i svg, .sb-rk > i svg { width: 17px; height: 17px; }
.sb-step > span { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.sb-step > svg { flex: 0 0 16px; width: 16px; height: 16px; color: var(--aqua); }
.sb-step.done, .sb-rk.done { color: var(--ink); background: rgba(255, 255, 255, .07); }
.sb-step.done > i, .sb-rk.done > i { background: rgba(169, 228, 208, .14); color: var(--aqua); }
.sb-step.next, .sb-rk.next { color: var(--ink); background: rgba(243, 210, 139, .1); border-color: rgba(243, 210, 139, .55); }
.sb-step.next > i, .sb-rk.next > i { background: var(--accent); color: var(--accent-ink); }
.sb-rk > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sb-rk b { font-size: 17px; line-height: 1.05; }
.sb-rk small { font-size: 12px; font-weight: 700; line-height: 1.3; color: rgba(246, 243, 236, .6); }
.sb-nx { display: block; font-size: 30px; line-height: .95; }
.sb-m { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 12px 0 6px; font-size: 13.5px; font-weight: 700;
  color: rgba(246, 243, 236, .75); }
.sb-m b { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 20px; line-height: 1; color: var(--ink); white-space: nowrap; }
.sb-gifts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.sb-gifts span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 12px; background: rgba(243, 210, 139, .12);
  color: var(--accent); font-size: 13px; font-weight: 800; }
.sb-gifts svg { width: 15px; height: 15px; flex: none; }
.sb-big { display: block; width: 100%; aspect-ratio: 2 / 1; margin: -4px 0 8px; }
.sb-big img { width: 100%; height: 100%; object-fit: contain; }
.sb-own { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 0 12px; font-size: 13px; font-weight: 800; color: var(--accent); }
.sb-own svg { width: 16px; height: 16px; }
.sb-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.sb-stats > span { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 9px 10px; border-radius: 14px; background: rgba(255, 255, 255, .07); }
.sb-stats b { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 22px; line-height: 1; white-space: nowrap; }
.sb-stats small { font-size: 11.5px; font-weight: 700; line-height: 1.2; color: rgba(246, 243, 236, .6); }
.sb-stats .gold { background: rgba(255, 194, 74, .12); }
.sb-stats .gold b { color: #FFC24A; }
.sb-p { margin: 10px 2px 0; font-size: 13.5px; line-height: 1.4; color: rgba(246, 243, 236, .72); }
.sb-h { margin: 14px 2px 7px; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 17px; line-height: 1; }
.sb-lures { display: flex; flex-wrap: wrap; gap: 6px; }
.sb-lu { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 11px 0 4px; border-radius: 18px; background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.sb-lu-i { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.sb-lu-i img { width: 26px; height: 26px; object-fit: contain; }
.sb-lu b { font-size: 13px; font-weight: 800; white-space: nowrap; }
.sb-lu.q { background: none; box-shadow: inset 0 0 0 1px rgba(243, 210, 139, .35); }
.sb-lu.q .sb-lu-i { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 18px; color: var(--accent); background: rgba(243, 210, 139, .12); }
.sb-lu.q b { font-weight: 700; color: rgba(246, 243, 236, .75); }
.sb-pips { display: inline-flex; align-items: center; gap: 3px; }
.sb-pips i { border-radius: 50%; background: rgba(255, 255, 255, .2); }
.sb-pips i.s { width: 5px; height: 5px; }
.sb-pips i.m { width: 7px; height: 7px; }
.sb-pips i.l { width: 9px; height: 9px; }
.sb-pips i.on { background: var(--accent); box-shadow: 0 0 6px rgba(243, 210, 139, .55); }
.sb-legend { display: block; margin: 7px 2px 0; font-size: 11.5px; line-height: 1.35; color: rgba(246, 243, 236, .52); }
.sb-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.sb-tags span { padding: 5px 10px; border-radius: 12px; background: rgba(169, 228, 208, .1); color: var(--aqua); font-size: 13px; font-weight: 700; }
.sb-goal { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; padding: 9px 12px; border-radius: 14px; background: rgba(255, 255, 255, .06);
  font-size: 13.5px; line-height: 1.35; }
.sb-goal svg { flex: 0 0 17px; width: 17px; height: 17px; margin-top: 1px; color: var(--accent); }
.sb-goal.ok { background: rgba(169, 228, 208, .1); }
.sb-goal.ok svg { color: var(--aqua); }
.sb-row { cursor: pointer; }
.sb-row.open { background: rgba(255, 255, 255, .11); border-color: var(--accent); }
/* «Кто сколько внёс» в казну клуба (24.10) */
.gl-givers .gl-given { display: inline-flex; align-items: center; gap: 4px; font-size: 17px; color: var(--accent); white-space: nowrap; }
.gl-givers .gl-given svg { flex: none; width: 15px; height: 15px; }   /* значок монеты был во всю строку и обрезал сумму (24.10) */
.gl-givers .tp-right { flex: none; }
.gl-givers .gl-given.none { font-size: 13px; font-weight: 600; color: rgba(246, 243, 236, .55); }
