/* «Туман»: вкладки «Садок», «Задания», «Профиль» (js/screens/bucket.js, tasks.js, profile.js;
   макеты «Садок · Б», «Задания · В + Б», «Профиль · Б»). После harbor.css: берёт его hbRise,
   hbFade, hbGrow, hbPop, hbSweep, hb-shine. */

.bk .tm-sec, .tk .tm-sec, .pf .tm-sec { margin-top: 26px; }
.bk-title .tm-dayword, .tk-title .tm-dayword { margin: 10px 0 0; font-size: min(110px, 28.2vw); }
.tm-daylabel.red { color: var(--red); }
@keyframes tkGoldText { from { background-position: 0% 0; } to { background-position: -220% 0; } }

/* ═════════════════════════ Садок ═════════════════════════ */
.bk-ring { position: absolute; right: 0; top: 38px; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; }
.bk-ring svg { position: absolute; inset: 0; width: 92px; height: 92px; transform: rotate(-90deg); }
.bk-ring circle { fill: none; stroke-width: 6; }
.bk-ring .bg { stroke: rgba(255, 255, 255, .14); }
.bk-ring .fg { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset 1.2s cubic-bezier(.3, .7, .2, 1) .15s;
  filter: drop-shadow(0 0 5px rgba(243, 210, 139, .55)); }
.bk-ring > span { position: relative; display: flex; flex-direction: column; align-items: center; line-height: .85; }
.bk-ring b { font-size: 32px; font-weight: 900; }
.bk-ring small { font-size: 15px; font-weight: 800; color: rgba(246, 243, 236, .7); }
.bk-ring.full .fg { stroke: var(--red); filter: drop-shadow(0 0 6px rgba(242, 154, 142, .7)); }
.bk-ring.full { animation: bkFull 2s ease-out infinite; }
@keyframes bkFull { 0% { box-shadow: 0 0 0 0 rgba(242, 154, 142, .5); } 100% { box-shadow: 0 0 0 12px rgba(242, 154, 142, 0); } }
.bk-sum { display: inline-block; color: var(--accent); font-weight: 900; }

/* карточка вида: рыба, сумма, чипы по весу, кнопки */
.bk-card { position: relative; margin-bottom: 10px; border-radius: 22px; padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 10px;
  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); }
/* продано: карточка вспыхивает, уезжает вправо, место под ней схлопывается */
.bk-card.sold, .bk-loot.sold { overflow: hidden; animation: bkOut .6s cubic-bezier(.5, 0, .3, 1) both !important; }
@keyframes bkOut { 0% { max-height: var(--h); } 18% { transform: scale(1.02); filter: brightness(1.35); }
  60% { opacity: 0; transform: translateX(56px) scale(.96); max-height: var(--h); margin-bottom: 10px; }
  100% { opacity: 0; transform: translateX(56px) scale(.96); max-height: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; border-width: 0; } }
.bk-chip.sold { animation: bkChipOut .45s ease-in both !important; }
@keyframes bkChipOut { 30% { transform: scale(1.12); } 100% { opacity: 0; transform: translateY(-16px) scale(.5); } }
.bk-named.collected { animation: bkCollect .7s cubic-bezier(.5, 0, .75, 0) both !important; }
@keyframes bkCollect { 30% { transform: scale(1.03); filter: brightness(1.4); } 100% { opacity: 0; transform: translateY(-34px) scale(.9); } }
.bk-head { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.bk-fish { width: 104px; height: 58px; object-fit: contain; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .4)); }
.bk-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bk-name > span { font-size: 30px; line-height: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-name em { font-style: inherit; color: var(--accent); }
.bk-name small { font-size: 12.5px; font-weight: 600; color: rgba(246, 243, 236, .75); }
.bk-total { display: flex; align-items: center; gap: 5px; font-size: 28px; color: var(--accent); white-space: nowrap; }
.bk-total svg { width: 17px; height: 17px; flex: none; }
.bk-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bk-chip { position: relative; height: 30px; padding: 0 10px; border-radius: 15px; display: flex; align-items: center; gap: 5px; font-size: 17px; font-weight: 800;
  color: var(--ink); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  transition: background .2s, border-color .2s, color .2s, padding .2s var(--ease), transform .15s; }
.bk-chip:active { transform: scale(.93); }
.bk-chip i { font-style: normal; color: rgba(246, 243, 236, .6); }
.bk-chip b { color: var(--accent); }
.bk-chip.best { background: rgba(243, 210, 139, .16); border-color: var(--accent); }
.bk-chip.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); padding-right: 32px; box-shadow: 0 6px 16px rgba(243, 210, 139, .3); }
.bk-chip.on b, .bk-chip.on i { color: var(--accent-ink); }
.bk-tick { position: absolute; right: 5px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-ink); color: var(--accent); animation: bkTick .35s cubic-bezier(.3, 1.8, .5, 1) both; }
.bk-tick svg { width: 13px; height: 13px; stroke-width: 3; }
@keyframes bkTick { from { transform: scale(0) rotate(-45deg); } to { transform: none; } }
.bk-acts { display: grid; grid-template-columns: 1fr; gap: 8px; }
.bk-acts.two { grid-template-columns: 1fr 1fr; }
.bk-btn { position: relative; overflow: hidden; height: 46px; border-radius: 14px; font-size: 20px; font-weight: 900; display: flex; align-items: center; justify-content: center;
  gap: 6px; white-space: nowrap; transition: transform .15s var(--ease), opacity .2s; }
.bk-btn:active { transform: scale(.96); }
.bk-btn.busy { opacity: .65; pointer-events: none; }
.bk-btn.gold { background: var(--accent); color: var(--accent-ink); }
.bk-btn.mint { flex-direction: column; gap: 0; line-height: .95; background: rgba(169, 228, 208, .14); border: 1px solid rgba(169, 228, 208, .6); color: var(--aqua); }
.bk-btn.mint small { font-size: 13px; font-weight: 800; color: var(--aqua); }
.bk-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); }
.bk-btn.big { height: 58px; border-radius: 18px; font-size: 24px; box-shadow: 0 12px 28px rgba(3, 10, 12, .45); }

/* именная рыба: золотой отлив, ореол, блик по силуэту */
.bk-named { position: relative; overflow: hidden; height: 108px; margin-bottom: 10px; border-radius: 22px; display: grid; grid-template-columns: 150px minmax(0, 1fr);
  align-items: center; gap: 10px; padding-right: 14px; background: linear-gradient(100deg, rgba(243, 210, 139, .16), rgba(255, 255, 255, .05));
  border: 1px solid rgba(243, 210, 139, .55); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); }
.bk-named-pic { position: relative; height: 100%; display: grid; place-items: center; }
.bk-halo { position: absolute; inset: 8px 4px; border-radius: 50%; background: radial-gradient(50% 50% at 50% 50%, rgba(255, 200, 60, .5), rgba(255, 170, 40, 0) 70%);
  animation: bkHalo 3s ease-in-out infinite alternate; }
@keyframes bkHalo { from { opacity: .6; transform: scale(.94); } to { opacity: 1; transform: scale(1.06); } }
.bk-named-fish { position: relative; width: 136px; animation: bkNamedBob 3.4s ease-in-out infinite alternate; }
@keyframes bkNamedBob { from { transform: translateY(-2px) rotate(-2deg); } to { transform: translateY(3px) rotate(1.5deg); } }
.bk-named-fish img { display: block; width: 136px;
  filter: sepia(1) saturate(3.2) hue-rotate(-10deg) brightness(1.14) contrast(1.1) drop-shadow(0 0 12px rgba(255, 196, 70, .7)); }
.bk-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.6s ease-in-out infinite; }
@keyframes bkShine { 0% { background-position: 120% 0; } 60%, 100% { background-position: -40% 0; } }
.bk-named-tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bk-goldtext { font-size: 30px; line-height: .95; background: linear-gradient(100deg, #B07A22 0%, #FFE6A0 22%, #D9A441 40%, #FFF4CF 55%, #C08A2E 72%, #FFE08A 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: tkGoldText 3.2s linear infinite; }
.bk-named-tx small { font-size: 12.5px; font-weight: 600; color: rgba(255, 226, 160, .85); }
.bk-collect { margin-top: 6px; align-self: flex-start; height: 36px; padding: 0 12px; border-radius: 12px; border: 1px solid rgba(243, 210, 139, .7); color: var(--accent);
  font-size: 18px; font-weight: 900; display: flex; align-items: center; transition: transform .15s, background .2s; }
.bk-collect:active { transform: scale(.95); background: rgba(243, 210, 139, .16); }
.bk-named.albino { background: linear-gradient(100deg, rgba(220, 240, 255, .14), rgba(255, 255, 255, .05)); border-color: rgba(220, 240, 255, .5); }
.bk-named.albino .bk-halo { background: radial-gradient(50% 50% at 50% 50%, rgba(220, 240, 255, .45), rgba(220, 240, 255, 0) 70%); }
.bk-named.albino .bk-named-fish img { filter: grayscale(1) brightness(1.35) contrast(.9) drop-shadow(0 0 12px rgba(220, 240, 255, .9)); }
.bk-named.albino .bk-goldtext { background-image: linear-gradient(100deg, #9FB4C0 0%, #FFFFFF 22%, #BFD3DD 40%, #F4FBFF 55%, #A9BFCB 72%, #FFFFFF 100%); }
.bk-named.albino .bk-named-tx small { color: rgba(225, 240, 250, .85); }
.bk-named.albino .bk-collect { border-color: rgba(220, 240, 255, .6); color: #E6F6FF; }

/* находки: кому отнести */
.bk-loots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bk-loot { height: 76px; border-radius: 20px; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 0 12px 0 10px;
  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); }
.bk-face { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.bk-loot-tx { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.bk-loot-tx > span:first-child { font-size: 24px; line-height: .95; white-space: nowrap; }
.bk-loot-tx small { font-size: 16px; font-weight: 800; color: rgba(246, 243, 236, .6); }
.bk-thumbs { display: flex; padding-left: 8px; }
.bk-thumbs img { width: 30px; height: 30px; margin-left: -8px; border-radius: 50%; object-fit: contain; background: rgba(8, 18, 20, .7); border: 1px solid rgba(255, 255, 255, .16); }
.bk-give { position: relative; overflow: hidden; height: 40px; padding: 0 12px; border-radius: 14px; background: var(--aqua); color: #0E2320; font-size: 18px; font-weight: 900;
  display: flex; align-items: center; gap: 5px; transition: transform .15s; }
.bk-give:active { transform: scale(.94); }
.bk-give svg { width: 14px; height: 14px; }
.bk-later { font-size: 17px; color: rgba(246, 243, 236, .5); }

/* кнопка снизу: прилипает над меню, под ней улов уходит в тень. Отступ sticky браузер считает не от края
   экрана, а от нижнего поля прокрутки (safe-bottom + 110px): −20px — это 12px над меню (его верх — 78px) */
.bk-dock { position: sticky; bottom: -20px; z-index: 4; margin-top: 18px; display: grid; grid-template-columns: 1fr; gap: 10px; }
.bk-dock.two { grid-template-columns: 1fr 2.2fr; }
.bk-dock::before { content: ""; position: absolute; left: -18px; right: -18px; top: -44px; bottom: calc(-90px - var(--safe-bottom)); z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 12, 16, 0) 0, rgba(6, 12, 16, .88) 66px, rgba(6, 12, 16, .97) 102px); }
.bk-dock .bk-btn { height: 58px; border-radius: 18px; }

.bk-empty { margin-top: 24px; border-radius: 24px; padding: 26px 20px 22px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.bk-empty-ico { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: rgba(243, 210, 139, .14); color: var(--accent);
  animation: bkEmptyBob 3s ease-in-out infinite alternate; }
.bk-empty-ico svg { width: 34px; height: 34px; }
@keyframes bkEmptyBob { from { transform: translateY(-3px) rotate(-4deg); } to { transform: translateY(3px) rotate(4deg); } }
.bk-empty b { font-size: 34px; line-height: 1; }
.bk-empty > span:not(.bk-empty-ico) { font-size: 14px; color: rgba(246, 243, 236, .8); max-width: 280px; }
.bk-empty .bk-btn { margin-top: 8px; padding: 0 24px; }

/* появление: заголовок, кольцо садка, карточки волной, чипы «выскакивают», сумма вспыхивает */
.bk.intro .tm-dayword { animation: tmWordIn .9s cubic-bezier(.2, .8, .2, 1) both; }
.bk.intro .tm-dayline { animation: hbFade .6s .25s ease-out both; }
.bk.intro .bk-ring { animation: bkRingIn .75s .3s cubic-bezier(.3, 1.6, .5, 1) both; }
.bk.intro .bk-ring.full { animation: bkRingIn .75s .3s cubic-bezier(.3, 1.6, .5, 1) both, bkFull 2s ease-out 1.2s infinite; }
@keyframes bkRingIn { from { opacity: 0; transform: scale(.5) rotate(-40deg); } to { opacity: 1; transform: none; } }
.bk.intro .bk-card { animation: hbRise .55s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(220ms + var(--i, 0) * 90ms); }
.bk.intro .bk-chip { animation: bkChipIn .42s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: calc(430ms + var(--i, 0) * 90ms + var(--k, 0) * 45ms); }
@keyframes bkChipIn { from { opacity: 0; transform: scale(.55); } to { opacity: 1; transform: none; } }
.bk.intro .bk-named { animation: hbRise .6s cubic-bezier(.2, .8, .2, 1) .5s both; }
.bk.intro .bk-loot { animation: hbRise .55s cubic-bezier(.2, .8, .2, 1) .6s both; }
.bk.intro .bk-dock { animation: bkDockIn .6s cubic-bezier(.2, .8, .2, 1) .55s both; }
@keyframes bkDockIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.bk.intro .bk-sum { animation: hbPop .55s ease-out 1.75s both; }
.bk.intro .bk-empty { animation: hbRise .6s cubic-bezier(.2, .8, .2, 1) .2s both; }

/* ═════════════════════════ Задания ═════════════════════════ */
.tk-streak { margin-top: 20px; height: 62px; border-radius: 20px; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  padding: 0 10px 0 14px; transition: transform .18s var(--ease); }
.tk-streak.ready { cursor: pointer; border-color: rgba(243, 210, 139, .55); animation: hbGold 2.2s ease-out infinite; }
.tk-streak.ready:active { transform: scale(.975); }
.tk-flame { color: #F5A36B; display: grid; transform-origin: 50% 90%; animation: tkFlame 1.6s ease-in-out infinite alternate; }
.tk-flame svg { width: 26px; height: 26px; }
@keyframes tkFlame { from { transform: scale(.94) rotate(-3deg); filter: drop-shadow(0 0 4px rgba(255, 170, 80, .5)); }
  to { transform: scale(1.08) rotate(3deg); filter: drop-shadow(0 0 11px rgba(255, 170, 80, .95)); } }
.tk-streak-tx { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.tk-streak-tx b { font-size: 22px; line-height: 1; }
.tk-streak-tx small { font-size: 12.5px; font-weight: 600; color: rgba(246, 243, 236, .72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-btn { position: relative; overflow: hidden; height: 42px; padding: 0 16px; border-radius: 14px; display: flex; align-items: center; font-size: 20px; font-weight: 900;
  white-space: nowrap; transition: transform .15s; }
.tk-btn:active { transform: scale(.95); }
.tk-btn.gold { background: var(--accent); color: var(--accent-ink); }
.tk-btn.small { height: 34px; padding: 0 11px; border-radius: 12px; font-size: 17px; align-self: flex-start; }
.tk-got { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid rgba(169, 228, 208, .6); color: var(--aqua); display: grid; place-items: center; }
.tk-got svg { width: 20px; height: 20px; }
.tk-all { font-size: 17px; font-weight: 900; color: var(--accent); animation: tkBlink 1.6s ease-in-out infinite; }
@keyframes tkBlink { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

/* задание дня — табло с большими цифрами */
.tk-card { position: relative; overflow: hidden; margin-bottom: 10px; border-radius: 24px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.tk-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; }
.tk-row > span:last-child { min-width: 0; text-align: right; }
.tk-row .dim { color: rgba(246, 243, 236, .7); white-space: nowrap; }
.tk-row .gold { color: var(--accent); display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.tk-row svg { width: 14px; height: 14px; flex: none; }
.tk-tok { color: var(--aqua); display: inline-flex; align-items: center; gap: 3px; }
.tk-num { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
.tk-big { font-size: 88px; font-weight: 900; line-height: .8; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tk-num > span { font-size: 28px; font-weight: 900; color: rgba(246, 243, 236, .6); white-space: nowrap; }
.tk-desc { font-size: 13px; font-weight: 600; color: rgba(246, 243, 236, .82); }
.tk-bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.tk-bar i { display: block; width: var(--p); height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--accent), #FFF1C9 60%, var(--accent));
  background-size: 200% 100%; box-shadow: 0 0 10px rgba(243, 210, 139, .6); animation: hbFlow 2.8s linear infinite; }
/* выполнено — золотой слиток с шевелящимся бликом */
.tk-card.done { 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, .3), 0 14px 30px rgba(0, 0, 0, .35); }
.tk-card.done .tk-row { font-weight: 900; }
.tk-card.done .tk-row > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-done-body { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 6px; }
.tk-done-body .tk-big small { font-size: 30px; }
.tk-claim { position: relative; overflow: hidden; height: 50px; padding: 0 16px; border-radius: 16px; background: #1F1A0E; color: #FFE39A; font-size: 22px; font-weight: 900;
  display: flex; align-items: center; gap: 6px; white-space: nowrap; animation: tkClaim 1.8s ease-in-out infinite; }
@keyframes tkClaim { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(31, 26, 14, .35); } 50% { transform: scale(1.05); box-shadow: 0 0 0 7px rgba(31, 26, 14, 0); } }
.tk-card.claiming, .tk-week.claiming { animation: tkClaiming .62s ease-in both !important; }
@keyframes tkClaiming { 0% { transform: scale(1); } 30% { transform: scale(1.035); filter: brightness(1.35); } 100% { transform: scale(.95); opacity: .35; filter: none; } }
/* забрано — пунктир и мятная галочка */
.tk-card.claimed { min-height: 64px; flex-direction: row; align-items: center; gap: 12px; padding: 10px 14px; color: rgba(246, 243, 236, .55);
  border: 1px dashed rgba(246, 243, 236, .24); background: none; }
.tk-check { width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1.5px solid rgba(169, 228, 208, .6); color: var(--aqua); display: grid; place-items: center; }
.tk-check svg { width: 20px; height: 20px; }
.tk-claimed-tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tk-claimed-tx b { font-size: 22px; line-height: 1; }
.tk-claimed-tx small { font-size: 12.5px; font-weight: 600; }
.tk-card.claimed.just { animation: tkJust .55s cubic-bezier(.3, 1.4, .5, 1) both; }
.tk-card.claimed.just .tk-check, .tk-week.claimed.just > b { animation: tkCheck .6s .12s cubic-bezier(.3, 1.9, .5, 1) both; }
@keyframes tkJust { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes tkCheck { from { transform: scale(0) rotate(-60deg); } to { transform: none; } }
.tk-reroll { width: 100%; height: 48px; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 20px; font-weight: 900;
  color: var(--ink); background: rgba(255, 255, 255, .08); border: 1px solid var(--stroke-2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform .15s; }
.tk-reroll:active { transform: scale(.97); }
.tk-reroll svg { width: 18px; height: 18px; }

/* неделя — три плитки */
.tk-weeks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tk-week { position: relative; overflow: hidden; border-radius: 20px; padding: 12px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tk-week > b { font-size: 44px; line-height: .85; white-space: nowrap; }
.tk-week.long > b { font-size: 30px; }
.tk-week > b em { font-style: inherit; font-size: 18px; color: rgba(246, 243, 236, .6); }
.tk-week > b svg { width: 34px; height: 34px; color: var(--aqua); }
.tk-week small { flex: 1; font-size: 11.5px; font-weight: 600; line-height: 1.25; color: rgba(246, 243, 236, .8); }
.tk-wtok { display: flex; align-items: center; gap: 3px; font-size: 16px; font-weight: 900; color: var(--aqua); }
.tk-wtok svg { width: 13px; height: 13px; }
.tk-week.claimed { opacity: .55; }
.tk-week.done { border-color: var(--accent); background: rgba(243, 210, 139, .14); animation: hbGold 2.2s ease-out infinite; }

/* Хозяин недели — как в варианте «Кольца» */
.tk-boss { position: relative; height: 210px; border-radius: 22px; overflow: hidden; cursor: pointer; border: 1px solid rgba(242, 154, 142, .35);
  box-shadow: 0 14px 30px rgba(3, 10, 12, .35); transition: transform .18s var(--ease); }
.tk-boss:active { transform: scale(.985); }
.tk-boss-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; animation: hbKen 22s ease-in-out infinite alternate; }
.tk-boss::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 14, 16, .92) 0%, rgba(6, 14, 16, .6) 55%, rgba(6, 14, 16, .25) 100%); }
.tk-boss-fish { position: absolute; right: -24px; top: 18px; width: 250px; z-index: 1; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .55));
  animation: tkBoss 4s ease-in-out infinite alternate; }
@keyframes tkBoss { from { transform: translateY(0) rotate(-2deg); } to { transform: translateY(6px) rotate(1deg); } }
.tk-boss.killed .tk-boss-fish { filter: grayscale(.85) brightness(.65) drop-shadow(0 12px 14px rgba(0, 0, 0, .55)); animation: none; transform: rotate(8deg); }
.tk-boss-in { position: absolute; left: 16px; top: 14px; bottom: 14px; right: 150px; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; }
.tk-boss-in > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.tk-boss-in > div:first-child b { font-size: 48px; line-height: .85; }
.tk-boss-k { font-size: 17px; font-weight: 800; color: var(--red); white-space: nowrap; }
.tk-boss-hp { display: flex; flex-direction: column; gap: 5px; margin-right: -120px; }
.tk-boss-hp > span:first-child { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 8px; font-size: 16px; font-weight: 800; }
.tk-boss-hp .dim { color: rgba(246, 243, 236, .7); }
.tk-hp { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.tk-hp i { display: block; width: var(--p); height: 100%; border-radius: 4px; background: linear-gradient(90deg, #E07A6E, var(--red)); box-shadow: 0 0 10px rgba(242, 154, 142, .6); }
.tk-boss-hp small { font-size: 12px; font-weight: 600; color: rgba(246, 243, 236, .8); }
.tk-fight { margin-top: 10px; width: 100%; height: 54px; border-radius: 18px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 22px; font-weight: 900;
  color: var(--red); background: rgba(242, 154, 142, .16); border: 1px solid rgba(242, 154, 142, .6); animation: tkFight 2.4s ease-out infinite; transition: transform .15s; }
.tk-fight:active { transform: scale(.97); }
.tk-fight svg { width: 20px; height: 20px; }
@keyframes tkFight { 0% { box-shadow: 0 0 0 0 rgba(242, 154, 142, .45); } 100% { box-shadow: 0 0 0 12px rgba(242, 154, 142, 0); } }

/* соревнования: турнир, сезон, таблицы */
.tk-comps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tk-comp { border-radius: 20px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; text-align: left; color: var(--ink); transition: transform .18s var(--ease); }
.tk-comp:active, .tk-tops:active { transform: scale(.97); }
.tk-comp-k { display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 800; color: var(--accent); }
.tk-comp-k svg { width: 16px; height: 16px; }
.tk-comp > b { font-size: 25px; line-height: 1; }
.tk-comp small { font-size: 12.5px; font-weight: 600; color: rgba(246, 243, 236, .78); }
.tk-comp small.dim { font-size: 12px; color: rgba(246, 243, 236, .6); }
.tk-tops { margin-top: 8px; width: 100%; height: 60px; border-radius: 20px; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  padding: 0 14px 0 12px; text-align: left; color: var(--ink); transition: transform .18s var(--ease); }
.tk-tops-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(243, 210, 139, .14); color: var(--accent); }
.tk-tops-ico svg { width: 20px; height: 20px; }
.tk-tops > span:nth-child(2) { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.tk-tops b { font-size: 22px; line-height: 1; }
.tk-tops small { font-size: 12.5px; font-weight: 600; color: rgba(246, 243, 236, .72); }

/* появление: табло накручивается, полосы растут, силы Хозяина тают до нынешних */
.tk.intro .tm-dayword { animation: tmWordIn .9s cubic-bezier(.2, .8, .2, 1) both; }
.tk.intro .tm-dayline { animation: hbFade .6s .25s ease-out both; }
.tk.intro .tk-streak { animation: hbRise .55s cubic-bezier(.2, .8, .2, 1) .15s both; }
.tk.intro .tk-streak.ready { animation: hbRise .55s cubic-bezier(.2, .8, .2, 1) .15s both, hbGold 2.2s ease-out 1s infinite; }
.tk.intro .tk-card { animation: hbRise .55s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(260ms + var(--i, 0) * 90ms); }
.tk.intro .tk-card.done { animation: hbRise .55s cubic-bezier(.2, .8, .2, 1) calc(260ms + var(--i, 0) * 90ms) both, tmMetal 3.2s linear infinite; }
.tk.intro .tk-bar i { animation: hbGrow 1.2s cubic-bezier(.2, .8, .2, 1) both, hbFlow 2.8s linear infinite; animation-delay: calc(420ms + var(--i, 0) * 90ms), 0s; }
.tk.intro .tk-week { animation: tkPop .5s cubic-bezier(.3, 1.4, .5, 1) both; animation-delay: calc(560ms + var(--i, 0) * 80ms); }
.tk.intro .tk-week.done { animation: tkPop .5s cubic-bezier(.3, 1.4, .5, 1) calc(560ms + var(--i, 0) * 80ms) both, hbGold 2.2s ease-out 1.4s infinite; }
@keyframes tkPop { from { opacity: 0; transform: scale(.8) translateY(10px); } to { opacity: 1; transform: none; } }
.tk.intro .tk-boss { animation: hbRise .6s cubic-bezier(.2, .8, .2, 1) .7s both; }
.tk.intro .tk-boss-fish { animation: tkBossIn .9s cubic-bezier(.3, 1.3, .5, 1) .85s both, tkBoss 4s ease-in-out 1.75s infinite alternate; }
@keyframes tkBossIn { from { opacity: 0; transform: translateX(60px) rotate(8deg); } to { opacity: 1; transform: none; } }
.tk.intro .tk-hp i { animation: tkHpIn 1.5s cubic-bezier(.2, .8, .2, 1) 1s both; }
@keyframes tkHpIn { from { width: 100%; } }
.tk.intro .tk-fight { animation: hbRise .6s cubic-bezier(.2, .8, .2, 1) .8s both, tkFight 2.4s ease-out 1.6s infinite; }
.tk.intro .tk-comp, .tk.intro .tk-tops { animation: hbRise .6s cubic-bezier(.2, .8, .2, 1) .9s both; }

/* ═════════════════════════ Профиль ═════════════════════════ */
.pf .mt10 { margin-top: 10px; }
.pf-goldtext { background: linear-gradient(100deg, #B07A22 0%, #FFE6A0 22%, #D9A441 40%, #FFF4CF 55%, #C08A2E 72%, #FFE08A 100%); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: tkGoldText 3.2s linear infinite; }

/* витрина: лучшая рыба в лучах */
.pf-hero { position: relative; margin: 14px -6px 0; height: 330px; border-radius: 28px; overflow: hidden; cursor: pointer; border: 1px solid rgba(243, 210, 139, .35);
  background: radial-gradient(60% 55% at 50% 58%, rgba(255, 214, 140, .32), rgba(255, 214, 140, 0) 70%), linear-gradient(180deg, rgba(12, 40, 44, .55), rgba(6, 14, 16, .9));
  box-shadow: 0 20px 44px rgba(3, 10, 12, .4); }
.pf-rays { position: absolute; left: 50%; top: 60%; width: 900px; height: 900px; margin: -450px 0 0 -450px; 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 42%); mask-image: radial-gradient(circle, #000 0, #000 8%, transparent 42%);
  animation: fxSpin 40s linear infinite; }
.pf-glow { position: absolute; left: 50%; top: 58%; width: 280px; height: 170px; margin: -85px 0 0 -140px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 214, 140, .38), rgba(255, 214, 140, 0)); animation: pfGlow 3.6s ease-in-out infinite alternate; }
@keyframes pfGlow { from { opacity: .55; transform: scale(.92); } to { opacity: 1; transform: scale(1.08); } }
.pf-fish { position: absolute; left: 50%; top: 116px; width: 280px; margin-left: -140px; filter: drop-shadow(0 22px 22px rgba(0, 0, 0, .55));
  animation: pfFloat 4s ease-in-out infinite alternate; }
@keyframes pfFloat { from { transform: translateY(0) rotate(-3deg); } to { transform: translateY(-9px) rotate(1deg); } }
.pf-nofish { position: absolute; left: 50%; top: 110px; width: 120px; height: 120px; margin-left: -60px; border-radius: 50%; display: grid; place-items: center;
  color: rgba(246, 243, 236, .32); border: 1.5px dashed rgba(246, 243, 236, .25); animation: bkEmptyBob 3s ease-in-out infinite alternate; }
.pf-nofish svg { width: 56px; height: 56px; }
.pf-hero-top { position: absolute; left: 16px; right: 16px; top: 14px; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.pf-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pf-who b { line-height: .88; padding-bottom: 2px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.pf-who small { font-size: 12.5px; font-weight: 600; color: rgba(246, 243, 236, .78); }
.pf-chip { flex: none; height: 30px; padding: 0 11px; border-radius: 15px; display: flex; align-items: center; gap: 5px; font-size: 17px; color: var(--accent);
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.pf-chip svg { width: 15px; height: 15px; }
.pf-hero-bot { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.pf-w { display: flex; align-items: baseline; gap: 6px; flex: none; }
.pf-w b { font-size: 80px; font-weight: 900; line-height: .8; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pf-w > span { font-size: 30px; font-weight: 900; color: var(--accent); }
.pf-fname { min-width: 0; padding-bottom: 4px; font-size: 30px; font-weight: 900; line-height: .92; text-align: right; }

/* полоска цифр и опыт до следующего уровня */
.pf-stats { position: relative; overflow: hidden; margin-top: 10px; width: 100%; border-radius: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: left; color: var(--ink); transition: transform .18s var(--ease); }
.pf-stats > span { padding: 10px 0 12px 16px; display: flex; flex-direction: column; min-width: 0; }
.pf-stats > span + span { border-left: 1px solid rgba(255, 255, 255, .12); }
.pf-stats b { font-size: 34px; line-height: 1; white-space: nowrap; }
.pf-stats small { font-size: 16px; font-weight: 800; color: rgba(246, 243, 236, .7); }
.pf-xp { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--p); border-radius: 0 2px 2px 0; background: linear-gradient(90deg, var(--accent), #FFF1C9);
  box-shadow: 0 0 10px rgba(243, 210, 139, .8); }
.pf-xpline { margin-top: 6px; text-align: right; font-size: 12px; font-weight: 600; color: rgba(246, 243, 236, .6); }

/* рыбопедия: картинки, силуэты, «+N»; по известным бежит волна бликов */
.pf-pedia { width: 100%; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.pf-cell { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 14px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.pf-cell img { width: 86%; max-height: 70%; object-fit: contain; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .35)); }
.pf-cell:not(.dark):not(.more)::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) 40%, rgba(255, 244, 214, .35) 50%, rgba(255, 255, 255, 0) 60%);
  animation: hbSweep 7s ease-in-out infinite; animation-delay: calc(2s + var(--i, 0) * .12s); }
.pf-cell.dark { background: rgba(255, 255, 255, .04); border: 1px dashed rgba(255, 255, 255, .16); }
.pf-cell.dark img { filter: brightness(0); opacity: .35; }
.pf-cell.more { background: rgba(255, 255, 255, .04); border: 1px dashed rgba(255, 255, 255, .16); font-size: 20px; color: rgba(246, 243, 236, .6); }

/* достижения — шестиугольные значки */
.pf-badges { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 6px; }
.pf-badge { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.pf-hex { position: relative; width: 60px; height: 66px; display: grid; place-items: center; }
.pf-hex svg { position: absolute; inset: 0; width: 60px; height: 66px; }
.pf-hex path { fill: rgba(255, 255, 255, .04); stroke: rgba(246, 243, 236, .28); stroke-width: 2; }
.pf-badge.on .pf-hex path { fill: rgba(243, 210, 139, .14); stroke: var(--accent); }
.pf-hex-ico { position: relative; display: grid; place-items: center; font-size: 24px; line-height: 1; }
.pf-hex-ico svg { position: static; width: 26px; height: 26px; }
.pf-badge.on .pf-hex-ico svg { color: var(--accent); }
.pf-badge:not(.on) .pf-hex-ico { filter: grayscale(1); opacity: .4; }
.pf-badge small { font-size: 10.5px; font-weight: 700; line-height: 1.15; text-align: center; color: rgba(246, 243, 236, .85);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pf-badge:not(.on) small { color: rgba(246, 243, 236, .45); }
.pf-badge.on .pf-hex { animation: pfBadge 4s ease-in-out infinite; animation-delay: calc(1.4s + var(--i, 0) * .4s); }
@keyframes pfBadge { 0%, 70%, 100% { transform: none; filter: none; } 80% { transform: scale(1.1); filter: drop-shadow(0 0 8px rgba(243, 210, 139, .85)); } }
.pf-badge.ghost .pf-hex path { fill: rgba(255, 255, 255, .03); stroke: rgba(246, 243, 236, .12); }

/* строки, плитки, снаряжение */
.pf-row { width: 100%; height: 66px; border-radius: 20px; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 0 14px 0 10px; text-align: left; color: var(--ink); transition: transform .18s var(--ease); }
.pf-row:active, .pf-gear:active, .pf-tile:active, .pf-mini:active, .pf-promo:active, .pf-stats:active, .pf-skill:active, .pf-hero:active { transform: scale(.975); }
.pf-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(243, 210, 139, .12); color: var(--accent); }
.pf-ico svg { width: 22px; height: 22px; }
.pf-chev { color: rgba(246, 243, 236, .55); display: grid; }
.pf-chev svg { width: 20px; height: 20px; }
.pf-row-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pf-row-tx b { font-size: 23px; line-height: 1; }
.pf-row-tx small { font-size: 12.5px; font-weight: 600; color: rgba(246, 243, 236, .75); }
.pf-cta { position: relative; overflow: hidden; height: 40px; padding: 0 13px; border-radius: 13px; display: flex; align-items: center; white-space: nowrap;
  font-size: 18px; background: var(--accent); color: var(--accent-ink); }
.pf-skill { position: relative; overflow: hidden; margin-top: 16px; width: 100%; border-radius: 22px; padding: 14px 16px; display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; text-align: left; color: var(--ink); transition: transform .18s var(--ease);
  background: linear-gradient(100deg, rgba(201, 182, 255, .18), rgba(243, 210, 139, .14)); border: 1px solid rgba(201, 182, 255, .5);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); }
.pf-skill-ico { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: rgba(201, 182, 255, .18); color: var(--violet);
  animation: pfViolet 2.2s ease-out infinite; }
.pf-skill-ico svg { width: 26px; height: 26px; }
@keyframes pfViolet { 0% { box-shadow: 0 0 0 0 rgba(201, 182, 255, .55); } 100% { box-shadow: 0 0 0 12px rgba(201, 182, 255, 0); } }
.pf-skill .pf-row-tx b { font-size: 23px; white-space: nowrap; }
.pf-skill .pf-row-tx small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-skill .pf-cta { padding: 0 11px; font-size: 17px; }
.pf-duo { margin-top: 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pf-tile { border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; text-align: left; color: var(--ink); transition: transform .18s var(--ease); }
.pf-tile-img { height: 86px; display: grid; place-items: center; }
.pf-tile-img.gold { background: radial-gradient(50% 60% at 50% 55%, rgba(255, 200, 60, .35), rgba(255, 200, 60, 0) 72%); }
.pf-tile-img.gold img { width: 132px; max-height: 78px; object-fit: contain; animation: pfFloat 4s ease-in-out infinite alternate; }
.pf-tile-img.photo { background-size: cover; background-position: center; }
.pf-tile-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: rgba(243, 210, 139, .12); }
.pf-tile-ico svg { width: 28px; height: 28px; }
.pf-tile-tx { padding: 8px 12px 12px; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pf-tile-tx b { font-size: 23px; line-height: 1; }
.pf-tile-tx small { font-size: 12px; font-weight: 600; color: rgba(246, 243, 236, .75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-list { display: flex; flex-direction: column; gap: 8px; }
.pf-gear { width: 100%; height: 82px; border-radius: 20px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 106px; align-items: center; gap: 10px;
  padding-left: 16px; text-align: left; color: var(--ink); transition: transform .18s var(--ease); }
.pf-gear .pf-row-tx b { font-size: 25px; line-height: .95; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pf-rod { position: relative; height: 82px; overflow: hidden; background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .22), rgba(255, 255, 255, .04) 72%); }
.pf-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)); }
.pf-house { height: 82px; background-size: cover; background-position: center; }

/* автоловля — живая сценка: поплавок, круги, рыба выпрыгивает на поклёвке */
.pf-promo { position: relative; overflow: hidden; width: 100%; margin-bottom: 10px; border-radius: 24px; padding: 12px 14px 12px 12px; display: grid;
  grid-template-columns: 112px minmax(0, 1fr); gap: 14px; text-align: left; color: var(--ink); transition: transform .18s var(--ease); }
.pf-promo-tx { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; }
.pf-promo-k { display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 800; }
.pf-promo-k svg { width: 16px; height: 16px; flex: none; }
.pf-promo-tx > b { font-size: 30px; line-height: .92; }
.pf-promo-tx > small { font-size: 12.5px; font-weight: 600; line-height: 1.3; color: rgba(246, 243, 236, .82); }
.pf-promo .pf-cta { align-self: flex-start; margin-top: 8px; height: 38px; font-size: 19px; }
.pf-auto { background: linear-gradient(115deg, rgba(169, 228, 208, .2), rgba(156, 203, 232, .08) 60%, rgba(255, 255, 255, .05)); border: 1px solid rgba(169, 228, 208, .55);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 14px 34px rgba(3, 10, 12, .35); }
.pf-auto::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; background-size: 300% 100%;
  background-image: linear-gradient(105deg, rgba(169, 228, 208, 0) 42%, rgba(210, 255, 240, .2) 50%, rgba(169, 228, 208, 0) 58%); animation: hbSweep 5s ease-in-out 1.2s infinite; }
.pf-auto .pf-promo-k { color: var(--aqua); }
.pf-auto .pf-cta { background: var(--aqua); color: #0E2320; }
.pf-auto.live { animation: hbMint 2.2s ease-out infinite; }
.pf-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--aqua); flex: none; animation: hbPing 1.6s ease-out infinite; }
.pf-scene { position: relative; overflow: hidden; min-height: 118px; border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, #3B6F73 0%, #5A9391 52px, #2A5E66 58px, #123A42 100%); }
.pf-sc-sun { position: absolute; right: 10px; top: 8px; width: 24px; height: 24px; border-radius: 50%;
  background: radial-gradient(circle, #FFF6DA 0, #F3D28B 45%, rgba(243, 210, 139, 0) 72%); animation: fxSun 3s ease-in-out infinite alternate; }
.pf-sc-water { position: absolute; left: 0; right: 0; top: 58px; bottom: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 40%); }
.pf-sc-water::before { content: ""; position: absolute; left: -24px; right: 0; top: -5px; height: 10px; animation: pfWave 2.6s linear infinite;
  background: radial-gradient(12px 5px at 12px 5px, rgba(210, 255, 240, .35) 45%, transparent 50%) 0 0 / 24px 10px repeat-x; }
@keyframes pfWave { to { transform: translateX(24px); } }
.pf-sc-rod { position: absolute; left: 28px; top: 33px; width: 62px; height: 2.4px; border-radius: 2px; transform-origin: 0 50%; transform: rotate(-20.8deg);
  background: linear-gradient(90deg, #5B3B1F, #D9B37A); }
.pf-sc-line { position: absolute; left: 85.5px; top: 12px; width: 1px; height: 40px; background: rgba(246, 243, 236, .75); transform-origin: 50% 0;
  animation: pfLine 4.5s ease-in-out infinite; }
.pf-sc-float { position: absolute; left: 81px; top: 52px; width: 10px; height: 14px; border-radius: 50% 50% 45% 45%;
  background: linear-gradient(180deg, #F29A8E 0 50%, #F6F3EC 50%); box-shadow: 0 1px 3px rgba(0, 0, 0, .4); animation: pfBob 4.5s ease-in-out infinite; }
@keyframes pfBob { 0%, 20%, 40%, 60%, 80%, 100% { transform: translateY(0); } 10%, 30%, 50% { transform: translateY(2px); } 66% { transform: translateY(9px); } 72% { transform: translateY(-2px); } }
@keyframes pfLine { 0%, 20%, 40%, 60%, 80%, 100% { transform: scaleY(1); } 10%, 30%, 50% { transform: scaleY(1.05); } 66% { transform: scaleY(1.225); } 72% { transform: scaleY(.95); } }
.pf-sc-ring { position: absolute; left: 70px; top: 55px; width: 32px; height: 10px; border-radius: 50%; border: 1.5px solid rgba(230, 255, 248, .6);
  animation: pfRing 2.4s ease-out infinite; }
.pf-sc-ring.r2 { animation-delay: 1.2s; }
@keyframes pfRing { from { opacity: .9; transform: scale(.3); } to { opacity: 0; transform: scale(1.7); } }
.pf-sc-fish { position: absolute; left: 36px; top: 58px; width: 24px; height: 24px; color: var(--aqua); opacity: 0; animation: pfJump 4.5s ease-in-out infinite; }
.pf-sc-fish svg { width: 24px; height: 24px; }
@keyframes pfJump { 0%, 56% { opacity: 0; transform: translate(0, 10px) rotate(-40deg); } 60% { opacity: 1; }
  66% { transform: translate(10px, -26px) rotate(-10deg); } 73% { opacity: 1; transform: translate(22px, -10px) rotate(35deg); } 78%, 100% { opacity: 0; transform: translate(28px, 8px) rotate(50deg); } }
.pf-sc-bot { position: absolute; left: 6px; top: 22px; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; color: var(--aqua);
  background: rgba(14, 35, 32, .55); box-shadow: inset 0 0 0 1px rgba(169, 228, 208, .45); animation: pfBot 3s ease-in-out infinite alternate; }
.pf-sc-bot svg { width: 18px; height: 18px; }
@keyframes pfBot { from { transform: translateY(0) rotate(-4deg); } to { transform: translateY(-2px) rotate(4deg); } }

/* «Поддержать»: бегущая золотая кромка, бьющееся сердце, сердечки вверх */
@property --pf-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.pf-support { background: linear-gradient(115deg, rgba(243, 210, 139, .22), rgba(255, 255, 255, .05) 60%, rgba(243, 210, 139, .1));
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 14px 34px rgba(3, 10, 12, .35), 0 0 36px rgba(243, 210, 139, .14); }
.pf-sup-edge { position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--pf-a), rgba(243, 210, 139, .3) 0deg, #FFE39A 40deg, rgba(243, 210, 139, .3) 90deg, rgba(243, 210, 139, .3) 180deg,
    #FFF4DA 220deg, rgba(243, 210, 139, .3) 270deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: pfEdge 4s linear infinite; }
@keyframes pfEdge { to { --pf-a: 360deg; } }
.pf-support::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, .22) 50%, rgba(255, 255, 255, 0) 58%); animation: hbSweep 4.2s ease-in-out 2s infinite; }
.pf-support .pf-promo-k { color: var(--accent); }
.pf-heart { position: relative; min-height: 118px; border-radius: 18px; display: grid; place-items: center; color: var(--accent);
  background: radial-gradient(closest-side, rgba(243, 210, 139, .3), rgba(243, 210, 139, 0)); }
.pf-heart svg { width: 56px; height: 56px; fill: rgba(243, 210, 139, .22); filter: drop-shadow(0 0 12px rgba(243, 210, 139, .6)); animation: pfBeat 1.4s ease-in-out infinite; }
.pf-support.club .pf-heart svg { fill: var(--accent); }
@keyframes pfBeat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.17); } 28% { transform: scale(1); } 42% { transform: scale(1.12); } 70% { transform: scale(1); } }
.pf-heart i { position: absolute; left: 50%; top: 46%; width: 12px; height: 12px; margin: -6px; background: var(--accent); opacity: 0;
  clip-path: path("M6 11 L1.3 6.3 A2.8 2.8 0 0 1 6 2.5 A2.8 2.8 0 0 1 10.7 6.3 Z"); animation: pfHeartUp 3s ease-out infinite; }
.pf-heart i:nth-of-type(2) { left: 32%; animation-delay: 1s; }
.pf-heart i:nth-of-type(3) { left: 68%; animation-delay: 2s; }
@keyframes pfHeartUp { 0% { opacity: 0; transform: translateY(8px) scale(.5); } 15% { opacity: .95; } 100% { opacity: 0; transform: translateY(-50px) scale(1.15) rotate(14deg); } }
.pf-cta.gold { animation: pfCta 2.4s ease-in-out infinite; }
@keyframes pfCta { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(243, 210, 139, .5); } 50% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(243, 210, 139, 0); } }

/* вместе и настройки */
.pf-duo.small { margin: 0 0 8px; }
.pf-mini { height: 66px; border-radius: 18px; display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 10px; padding: 0 10px;
  text-align: left; color: var(--ink); transition: transform .18s var(--ease); }
.pf-mini .pf-ico { width: 40px; height: 40px; border-radius: 12px; }
.pf-mini .pf-row-tx b { font-size: 21px; }
.pf-mini .pf-row-tx small { font-size: 11.5px; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pf-toggle { height: 58px; border-radius: 18px; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 0 14px; }
.pf-toggle > span:nth-child(2) { font-size: 15px; font-weight: 700; }
.pf-tg-ico { color: rgba(246, 243, 236, .8); display: grid; }
.pf-tg-ico svg { width: 22px; height: 22px; }
.pf-toggle .switch.on::after { background: var(--accent-ink); }

/* появление: витрина раскрывается, рыба всплывает, вес и счётчики накручиваются, значки выскакивают */
.pf.intro .pf-hero { animation: pfHeroIn .8s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes pfHeroIn { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
.pf.intro .pf-fish { animation: pfFishIn 1s cubic-bezier(.3, 1.35, .5, 1) .25s both, pfFloat 4s ease-in-out 1.25s infinite alternate; }
@keyframes pfFishIn { from { opacity: 0; transform: translateY(46px) scale(.6) rotate(-14deg); } to { opacity: 1; transform: translateY(0) rotate(-3deg); } }
.pf.intro .pf-chip { animation: bkRingIn .6s .55s cubic-bezier(.3, 1.6, .5, 1) both; }
.pf.intro .pf-w b { animation: tkGoldText 3.2s linear infinite, hbPop .55s ease-out 1.7s both; }
.pf.intro .pf-stats { animation: hbRise .55s cubic-bezier(.2, .8, .2, 1) .3s both; }
.pf.intro .pf-xp { animation: hbGrow 1.3s cubic-bezier(.2, .8, .2, 1) .7s both; }
.pf.intro .pf-cell { animation: pfCellIn .45s cubic-bezier(.3, 1.4, .5, 1) both; animation-delay: calc(450ms + var(--i, 0) * 32ms); }
@keyframes pfCellIn { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }
.pf.intro .pf-badge { animation: pfCellIn .5s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: calc(760ms + var(--i, 0) * 60ms); }
.pf.intro .pf-skill, .pf.intro .pf-row, .pf.intro .pf-duo, .pf.intro .pf-gear, .pf.intro .pf-toggle { animation: hbRise .6s cubic-bezier(.2, .8, .2, 1) .9s both; }
.pf.intro .pf-promo { animation: hbRise .6s cubic-bezier(.2, .8, .2, 1) 1s both; }
.pf.intro .pf-auto.live { animation: hbRise .6s cubic-bezier(.2, .8, .2, 1) 1s both, hbMint 2.2s ease-out 1.6s infinite; }

@media (prefers-reduced-motion: reduce) {
  .bk *, .bk, .tk *, .tk, .pf *, .pf { animation: none !important; transition: none !important; }
}

/* ═════ Рыбалка: плашки над местами — живое событие, вдвоём, автоловля (как строки над выбором локации в чате) ═════ */
.tm-flag { display: flex; align-items: center; gap: 12px; width: 100%; margin: 12px 0 0; padding: 11px 14px; border-radius: 20px;
  text-align: left; color: var(--ink); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.tm-flag + .tm-flag { margin-top: 8px; }
.tm-flag:active { transform: scale(.98); }
.tm-flag-i { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--accent);
  background: rgba(243, 210, 139, .14); }
.tm-flag-i svg { width: 21px; height: 21px; }
.tm-flag-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tm-flag-tx b { font-size: 15px; font-weight: 800; line-height: 1.2; }
.tm-flag-tx small { font-size: 12.5px; font-weight: 600; line-height: 1.3; color: rgba(246, 243, 236, .72); }
.tm-flag.live { background: linear-gradient(115deg, rgba(243, 210, 139, .2), rgba(255, 255, 255, .05) 70%); border-color: rgba(243, 210, 139, .5); }
.tm-flag.coop .tm-flag-i, .tm-flag.auto .tm-flag-i { color: var(--aqua); background: rgba(169, 228, 208, .14); }
.tm-flag.auto { border-color: rgba(169, 228, 208, .45); }

/* садок: находки списком с примерной ценой (как инвентарь в чате) */
.bk-finds { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.bk-find { padding: 6px 10px; border-radius: 12px; font-size: 12.5px; font-weight: 700; color: rgba(246, 243, 236, .82);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.bk-find b { color: var(--aqua); font-weight: 800; }

/* подписи-даты на табличках трофеев и именных рыбах, пояснение к титулам карточки */
.tp-plaque-plate small.d, .tp-named small.d { display: block; font-size: 10.5px; font-weight: 700; opacity: .72; }
.pcard2-note { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; line-height: 1.35; color: rgba(246, 243, 236, .6); }

/* испытание недели: монеты и жетоны (как в чате) — каждое своей строкой, если не влезают рядом */
.tk-wrew { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; font-size: 15px; font-weight: 900; line-height: 1.25; }
.tk-wrew .c { color: var(--accent); }
.tk-wrew .t { display: inline-flex; align-items: center; gap: 3px; color: var(--aqua); }
.tk-wrew svg { width: 13px; height: 13px; }

/* рыбопедия: вес «от–до» длиннее обычных чисел */
.dex-stats b { font-size: 24px; white-space: nowrap; }

/* «Сообщения»: копии сообщений бота в чате */
.pf-new { min-width: 26px; height: 26px; padding: 0 8px; border-radius: 13px; display: grid; place-items: center;
  font-size: 15px; font-weight: 900; color: var(--accent-ink); background: var(--accent); }
.pf-row.hl { border-color: rgba(243, 210, 139, .55); }
.inbox-msg { display: flex; flex-direction: column; gap: 6px; }
.inbox-new { color: var(--accent); font-weight: 900; }
.inbox-text { font-size: 14px; line-height: 1.45; color: rgba(246, 243, 236, .92); overflow-wrap: anywhere; }
.inbox-text a { color: var(--aqua); }
