/* Экраны игры: вкладки, стопка страниц, общие блоки (карточки, списки, места Гавани, NPC). */

/* ── фон и страницы ──────────────────────────────────────── */
.app-bg { position: absolute; inset: 0; overflow: hidden; }
.app-bg-img { position: absolute; inset: -40px; background-size: cover; background-position: center;
  filter: blur(26px) saturate(1.25) brightness(.55); transform: scale(1.1); transition: background-image .6s; }
.app-bg-img::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3, 16, 28, .55), rgba(3, 16, 28, .82) 45%, #03101c 92%); }
.app-rays { position: absolute; inset: 0; pointer-events: none; overflow: hidden; opacity: .32; mix-blend-mode: screen; }
.app-rays i { position: absolute; top: -20%; width: 90px; height: 140%; background: linear-gradient(180deg, rgba(160, 240, 255, .35), transparent 70%);
  transform-origin: top center; filter: blur(12px); animation: ray 9s ease-in-out infinite; }

#pages { position: absolute; inset: 0; }
.tabroot, .page { position: absolute; inset: 0; will-change: transform; }
.tabroot { visibility: hidden; }
.tabroot.active { visibility: visible; animation: paneIn .4s var(--ease); }
.page { z-index: 12; background: radial-gradient(120% 60% at 50% 0%, #173438 0%, #0F2123 45%, #03101c 100%);
  box-shadow: -24px 0 60px rgba(0, 0, 0, .55); }
.page-scroll { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch;
  padding: calc(var(--safe-top) + 14px) 16px calc(var(--safe-bottom) + 110px); scrollbar-width: none; overscroll-behavior: contain; }
.page-scroll::-webkit-scrollbar { display: none; }
.page .page-scroll { padding-top: calc(var(--safe-top) + 72px); padding-bottom: calc(var(--safe-bottom) + 28px); }
.page .page-scroll.with-hero { padding-top: calc(var(--safe-top) + 196px); }
.page-head { position: absolute; top: 0; left: 0; right: 0; z-index: 4; display: flex; align-items: center; gap: 10px;
  padding: calc(var(--safe-top) + 10px) 12px 14px; pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 14, 26, .92) 0%, rgba(3, 14, 26, .7) 60%, rgba(3, 14, 26, 0)); }
.page-head > * { pointer-events: auto; }
.page-title { flex: 1; min-width: 0; font-family: var(--f-display); font-weight: 700; font-size: 17px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.page-hero { position: absolute; top: 0; left: 0; right: 0; height: calc(var(--safe-top) + 250px); overflow: hidden; z-index: 0; }
.page-hero-img { position: absolute; inset: 0; background-size: cover; background-position: center 40%; will-change: transform;
  animation: heroIn .9s var(--ease) both; }
.page-hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3, 16, 28, .25) 0%, rgba(3, 16, 28, .1) 35%, rgba(15, 33, 35, .85) 80%, #0F2123 100%); }
@keyframes heroIn { from { transform: scale(1.12); opacity: 0; } to { transform: none; opacity: 1; } }
body.pushed .tabbar { transform: translateY(140%); }
.tabbar { transition: transform .4s var(--spring); }

/* 5 вкладок */
.tabbar { grid-template-columns: repeat(5, 1fr) !important; left: 10px !important; right: 10px !important; padding: 5px !important; height: 64px !important; }
.tabbar .indicator { width: calc((100% - 10px) / 5) !important; top: 5px !important; bottom: 5px !important; left: 5px !important; }
.tab { font-size: 10.5px !important; }
.tab .badge { left: 56% !important; }
.tab .badge.dot { min-width: 10px; width: 10px; height: 10px; padding: 0; top: 7px; left: 60% !important; }

/* ── общие блоки ──────────────────────────────────────────── */
.card { border-radius: 22px; padding: 14px; background: rgba(10, 20, 22, .55); border: 1px solid var(--stroke);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.card + .card { margin-top: 12px; }
.card h4 { margin: 0 0 8px; font-size: 13px; color: var(--ink-2); font-weight: 800; letter-spacing: .01em; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.gold { color: var(--gold); }
.aqua { color: var(--aqua); }
.red { color: var(--red); }
.center { text-align: center; }
.mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; }
.row-gap { display: flex; gap: 10px; }
.row-gap > * { flex: 1; }
.lead { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; margin: 0 2px 12px; }
.lead b { color: var(--ink); }

.btn.busy { pointer-events: none; opacity: .85; }
.btn.busy::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent;
  animation: spin .7s linear infinite; }
.btn .price-tag { display: inline-flex; align-items: center; gap: 4px; font-family: var(--f-display); font-size: 13px; }

/* список */
.list { display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, .045);
  border: 1px solid var(--stroke); position: relative; transition: transform .2s var(--spring), border-color .25s, background .25s; }
.row.tap:active { transform: scale(.98); }
.row.hl { border-color: rgba(169, 228, 208, .55); background: rgba(169, 228, 208, .07); }
.row.gold-hl { border-color: rgba(243, 210, 139, .55); background: rgba(243, 210, 139, .07); }
.row.dim { opacity: .55; }
.row .thumb { width: 52px; height: 52px; border-radius: 15px; flex: none; background: rgba(255, 255, 255, .06) center / cover no-repeat;
  display: grid; place-items: center; font-size: 26px; overflow: hidden; }
.row .thumb.contain { background-size: 82%; }
.row .thumb img { width: 86%; height: 86%; object-fit: contain; }
.row .body { flex: 1; min-width: 0; }
.row .t { font-weight: 800; font-size: 14.5px; line-height: 1.25; }
.row .s { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; line-height: 1.35; }
.row .s.muted { color: var(--muted); }
.row .side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.row .v { font-family: var(--f-display); font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; gap: 5px; }
.row .chev { width: 18px; height: 18px; color: var(--muted); flex: none; }

/* места Гавани */
.places { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.place { position: relative; height: 150px; border-radius: 22px; overflow: hidden; isolation: isolate; cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .4); animation: cardIn .55s var(--ease) both; transition: transform .22s var(--spring); }
.place.wide { grid-column: span 2; height: 168px; }
.place:active { transform: scale(.97); }
.place .img { position: absolute; inset: 0; background-size: cover; background-position: center 35%; z-index: -2; transition: transform .6s var(--ease); }
.place:hover .img { transform: scale(1.04); }
.place::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 10, 20, 0) 30%, rgba(0, 10, 20, .88) 100%); }
.place::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(255, 255, 255, .13); pointer-events: none; }
.place .info { position: absolute; left: 12px; right: 12px; bottom: 11px; }
.place .n { font-family: var(--f-display); font-weight: 700; font-size: 15px; line-height: 1.15; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
.place.wide .n { font-size: 18px; }
.place .d { font-size: 11.5px; color: rgba(234, 246, 255, .78); margin-top: 3px; line-height: 1.3; }
.place .flag { position: absolute; top: 10px; right: 10px; height: 24px; padding: 0 9px; border-radius: 12px; font-size: 11px; font-weight: 900;
  display: inline-flex; align-items: center; gap: 4px; background: linear-gradient(135deg, #FFE6A0, #E8B55C); color: #3a2300;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
.place .flag.aqua { background: linear-gradient(135deg, #A9E4D0, #9CCBE8); color: #03222b; }
.place .flag.pulse { animation: pulse 1.8s ease-in-out infinite; }
.place.locked .img { filter: grayscale(.8) brightness(.5); }
.place .lock { position: absolute; top: 10px; left: 10px; height: 24px; padding: 0 9px; border-radius: 12px; font-size: 11px; font-weight: 800;
  display: inline-flex; align-items: center; gap: 4px; background: rgba(0, 0, 0, .55); color: #F3D28B; }
.place .lock svg { width: 13px; height: 13px; }

/* NPC: портрет и реплика */
.npc-say { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.npc-say .face { width: 56px; height: 56px; border-radius: 18px; flex: none; background: center / cover; border: 2px solid rgba(255, 255, 255, .18);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .4); }
.npc-say .bubble { position: relative; flex: 1; padding: 11px 14px; border-radius: 4px 18px 18px 18px; background: rgba(255, 255, 255, .08);
  border: 1px solid var(--stroke); font-size: 13.5px; line-height: 1.45; color: var(--ink); animation: bubbleIn .5s var(--spring) both; }
.npc-say .bubble .who { font-weight: 900; font-size: 12px; color: var(--aqua); margin-bottom: 3px; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }

/* сегменты */
.seg { display: flex; padding: 4px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid var(--stroke); margin-bottom: 14px; }
.seg button { flex: 1; height: 36px; border-radius: 12px; font-weight: 800; font-size: 13px; color: var(--muted); transition: background .25s, color .25s; }
.seg button.on { background: linear-gradient(135deg, rgba(169, 228, 208, .22), rgba(156, 203, 232, .22)); color: var(--ink); }

/* прогресс */
.progress { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: inherit; background: var(--accent); transition: width .8s var(--ease); }
.progress.gold i { background: linear-gradient(90deg, #FFE6A0, #E8B55C); }
.progress-line { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); font-weight: 700; margin-top: 5px; }

.chip { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 13px; font-size: 11.5px; font-weight: 800;
  background: rgba(255, 255, 255, .08); border: 1px solid var(--stroke); white-space: nowrap; }
.chip.aqua { color: var(--aqua); border-color: rgba(169, 228, 208, .35); }
.chip.gold { color: var(--gold); border-color: rgba(243, 210, 139, .4); }
.chip.red { color: var(--red); border-color: rgba(255, 90, 110, .4); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* обучение */
.guide { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; margin-top: 12px; cursor: pointer;
  background: linear-gradient(135deg, rgba(169, 228, 208, .16), rgba(156, 203, 232, .12)); border: 1px solid rgba(169, 228, 208, .35);
  animation: cardIn .5s var(--ease) both; }
.guide .gi { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; font-size: 20px; background: rgba(255, 255, 255, .1); flex: none; }
.guide .gt { font-size: 11.5px; font-weight: 900; color: var(--aqua); letter-spacing: .02em; }
.guide .gd { font-weight: 800; font-size: 14px; }
.guide .go { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, #A9E4D0, #9CCBE8); color: #03222b; animation: pulse 1.6s ease-in-out infinite; }
.guide .go svg { width: 18px; height: 18px; }

/* важные уведомления и подтверждения */
.notice, .confirm { position: relative; width: min(360px, calc(100vw - 40px)); padding: 20px 18px 16px; border-radius: 26px; text-align: center;
  background: linear-gradient(180deg, rgba(26, 59, 64, .98), rgba(13, 30, 33, .99)); border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6); opacity: 0; }
.modal-wrap.open .notice, .modal-wrap.open .confirm { animation: cardPop .55s var(--spring) forwards; }
.notice-item { font-size: 14px; line-height: 1.5; padding: 4px 4px 12px; }
.notice-item + .notice-item { border-top: 1px solid var(--stroke); padding-top: 12px; }
.notice-item b { color: var(--gold); }
.confirm h3 { margin: 4px 0 6px; font-family: var(--f-display); font-size: 18px; }
.confirm p { margin: 0 0 16px; color: var(--ink-2); font-size: 13.5px; line-height: 1.45; }
.confirm-icon { font-size: 40px; margin-bottom: 4px; }
.confirm-acts { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; }

/* заглушка раздела, который ещё в боте */
.soon { text-align: center; padding: 28px 18px; }
.soon .big { font-size: 46px; }
.soon h3 { font-family: var(--f-display); margin: 8px 0 6px; }
.soon p { color: var(--ink-2); font-size: 13.5px; margin: 0 0 16px; }

.hud-banner { position: absolute; left: 12px; right: 76px; top: calc(var(--safe-top) + 64px); z-index: 4; padding: 8px 12px; border-radius: 14px;
  font-size: 12px; font-weight: 800; background: rgba(14, 31, 34, .78); border: 1px solid rgba(243, 210, 139, .35); color: var(--gold);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: hintIn .5s var(--spring); }

/* ── шапки вкладок ─────────────────────────────────────── */
.hub-head { display: flex; align-items: center; gap: 12px; margin: 4px 2px 14px; }
.hub-title { font-family: var(--f-display); font-weight: 800; font-size: 26px; line-height: 1.1; }
.hub-sub { color: var(--muted); font-size: 12.5px; font-weight: 700; margin-top: 3px; }
.hub-head > .pill { margin-left: auto; }
.player-card .wallet { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.pill.tokens { height: 30px; font-size: 12.5px; padding: 0 10px 0 6px; }
.token-ico { font-size: 15px; }
.sub-title { font-family: var(--f-display); font-weight: 700; font-size: 15px; margin: 18px 4px 10px; display: flex; gap: 8px; align-items: baseline; }
.sub-title small { font-family: var(--f-text); font-size: 12px; color: var(--muted); font-weight: 700; }
.loader-dots { display: flex; justify-content: center; gap: 8px; padding: 40px 0; }
.loader-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--aqua); animation: dot 1.1s ease-in-out infinite; }
.loader-dots i:nth-child(2) { animation-delay: .15s; } .loader-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 100% { transform: scale(.6); opacity: .4; } 50% { transform: scale(1); opacity: 1; } }
.flash-card { animation: flashCard 1.2s ease-out; }
@keyframes flashCard { 0%, 100% { box-shadow: 0 14px 34px rgba(0, 0, 0, .4); } 30% { box-shadow: 0 0 0 4px rgba(169, 228, 208, .8), 0 0 40px rgba(169, 228, 208, .6); } }
body.in-scene #pages, body.in-scene .tabbar, body.in-scene .app-bg { visibility: hidden; }

/* локации: пропуск */
.loc-lock.permit { color: #9fe9ff; background: rgba(20, 46, 50, .7); }
.loc-lock.ok { color: #8ff3c8; background: rgba(0, 40, 30, .6); }
.loc-card.permit .img { filter: saturate(.7) brightness(.8); }

/* ── садок ─────────────────────────────────────────────── */
.fish-tile .row2 { display: flex; justify-content: space-between; align-items: center; margin-top: 3px; font-size: 12px; color: var(--ink-2); }
.fish-tile .price.loot { color: var(--t-loot); }
.fish-tile .price.named { font-size: 14px; }
.fish-tile.nosell { opacity: .92; }
.sell-dock { position: sticky; bottom: calc(var(--safe-bottom) + 84px); margin-top: 16px; z-index: 3; }
.sell-dock .btn { box-shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 8px 24px rgba(232, 181, 92, .35); }
img.named-golden { filter: sepia(.55) saturate(2.4) hue-rotate(-12deg) brightness(1.08) drop-shadow(0 0 14px rgba(255, 200, 60, .85)) !important; }
img.named-albino { filter: grayscale(1) brightness(1.35) contrast(.9) drop-shadow(0 0 14px rgba(220, 240, 255, .9)) !important; }
.named-golden { color: #ffd24a; } .named-albino { color: #e6f6ff; }
.catch-card.named .rays { opacity: .8; animation-duration: 8s; }
.catch-card .note.gold { color: var(--gold); }
.catch-card .note.crown { color: #F3D28B; background: rgba(243, 210, 139, .08); border: 1px solid rgba(243, 210, 139, .3); border-radius: 12px; padding: 7px 10px; margin: -2px 0 12px; }

/* ── магазин ───────────────────────────────────────────── */
.rod-thumb { background: radial-gradient(circle at 60% 40%, rgba(169, 228, 208, .18), rgba(255, 255, 255, .04)) !important; }
.rod-thumb img { width: 170% !important; height: 170% !important; object-fit: cover !important; object-position: 55% 30%; transform: translate(-8%, 6%); }
.current-rod { display: flex; align-items: center; gap: 14px; }
.current-rod img { width: 84px; height: 84px; object-fit: cover; object-position: 55% 30%; border-radius: 18px; background: rgba(255, 255, 255, .05); flex: none; }
.current-rod .t { font-weight: 800; font-size: 15.5px; margin-top: 2px; }
.current-rod .s { font-size: 12.5px; color: var(--ink-2); margin-top: 3px; }
.bait-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bait-card { border-radius: 18px; padding: 12px 8px 10px; text-align: center; background: rgba(255, 255, 255, .045); border: 1px solid var(--stroke);
  display: flex; flex-direction: column; align-items: center; gap: 4px; animation: cardIn .45s var(--ease) both; }
.bait-card.locked { opacity: .5; }
.bait-card .bi { width: 50px; height: 50px; }
.bait-card .bi svg { width: 100%; height: 100%; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .4)); }
.bait-card .bn { font-weight: 800; font-size: 12.5px; line-height: 1.2; min-height: 30px; display: grid; place-items: center; }
.bait-card .bh { font-size: 11px; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.bait-card .btn { width: 100%; padding: 0 6px; font-size: 12px; }
.house-list { display: flex; flex-direction: column; gap: 12px; }
.house-card { display: flex; border-radius: 20px; overflow: hidden; background: rgba(255, 255, 255, .045); border: 1px solid var(--stroke); animation: cardIn .5s var(--ease) both; }
.house-card.current { border-color: rgba(169, 228, 208, .5); }
.house-card.dim { opacity: .5; }
.house-card .himg { width: 118px; flex: none; background: center / cover; min-height: 118px; }
.house-card .hbody { padding: 12px; display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 0; }
.house-card .hn { font-weight: 800; font-size: 15px; }
.house-card .hs { font-size: 12px; color: var(--ink-2); line-height: 1.4; }
.house-card .ha { margin-top: auto; }
.rod-preview .rod-show { height: 200px; display: grid; place-items: center; overflow: hidden; margin: -6px 0 8px; }
.rod-preview .rod-show img { height: 260px; transform: rotate(-8deg) translateY(20px); filter: drop-shadow(0 16px 26px rgba(0, 0, 0, .55)); animation: rodIn .8s var(--spring) both; }
@keyframes rodIn { from { transform: rotate(-30deg) translate(60px, 80px); opacity: 0; } to { transform: rotate(-8deg) translateY(20px); opacity: 1; } }
.cmp { margin: 10px 2px; }
.cmp-l { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.cmp-l b { font-family: var(--f-display); color: var(--ink); }
.cmp-bar { position: relative; height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.cmp-bar i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; }
.cmp-bar .now { background: rgba(255, 255, 255, .22); }
.cmp-bar .next { background: var(--accent); opacity: .9; animation: growW 1s var(--ease) both .2s; }
@keyframes growW { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }

/* ── праздник ──────────────────────────────────────────── */
.celebrate { position: relative; width: min(340px, calc(100vw - 40px)); padding: 24px 20px 18px; border-radius: 30px; text-align: center; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #1f5a7a, #12292C 60%); border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 80px -20px rgba(243, 210, 139, .6); opacity: 0; }
.modal-wrap.open .celebrate { animation: cardPop .7s var(--spring) forwards; }
.cel-rays { position: absolute; left: 50%; top: 110px; width: 520px; height: 520px; margin: -260px 0 0 -260px; opacity: .45; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, #F3D28B 0deg 7deg, transparent 7deg 22deg);
  -webkit-mask: radial-gradient(circle, #000 0 18%, transparent 60%); mask: radial-gradient(circle, #000 0 18%, transparent 60%); animation: spin 16s linear infinite; }
.cel-img { position: relative; height: 180px; margin: 0 auto 6px; background: center / contain no-repeat; animation: fishIn .9s var(--spring) .1s both;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .55)); }
.cel-img.rod { background-size: 150%; background-position: 55% 30%; }
.cel-title { position: relative; font-family: var(--f-display); font-weight: 800; font-size: 22px; }
.cel-name { position: relative; color: var(--gold); font-weight: 800; margin-top: 4px; }
.celebrate p { position: relative; color: var(--ink-2); font-size: 13.5px; margin: 8px 0 16px; }

/* ── задания ───────────────────────────────────────────── */
.link-btn { margin-left: auto; font-size: 12px; font-weight: 800; color: var(--aqua); font-family: var(--f-text); }
.quests { display: flex; flex-direction: column; gap: 10px; }
.quest { position: relative; padding: 13px 14px 12px 16px; border-radius: 18px; background: rgba(255, 255, 255, .045); border: 1px solid var(--stroke);
  overflow: hidden; animation: cardIn .45s var(--ease) both; }
.quest::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--qc, var(--aqua)); }
.quest.easy { --qc: #9FE3B6; } .quest.mid { --qc: #F3D28B; } .quest.hard { --qc: #F29A8E; } .quest.week { --qc: #C9B6FF; }
.quest.done:not(.claimed) { border-color: rgba(243, 210, 139, .55); background: linear-gradient(135deg, rgba(243, 210, 139, .1), rgba(255, 255, 255, .04));
  box-shadow: 0 0 30px -10px rgba(243, 210, 139, .6); }
.quest.claimed { opacity: .6; }
.q-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.q-tier { font-size: 11.5px; font-weight: 900; color: var(--qc); letter-spacing: .02em; }
.reward-pill { display: inline-flex; align-items: center; gap: 4px; font-family: var(--f-display); font-size: 12px; font-weight: 800; color: var(--gold);
  padding: 3px 8px; border-radius: 10px; background: rgba(243, 210, 139, .1); }
.q-desc { font-weight: 800; font-size: 14.5px; margin: 6px 0 9px; line-height: 1.3; }
.q-bottom { display: flex; align-items: center; gap: 12px; }
.q-prog { flex: 1; min-width: 0; }
.q-claim { flex: none; }
.q-done { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; color: var(--green); flex: none; }
.q-done svg { width: 15px; height: 15px; }
.progress.red i { background: linear-gradient(90deg, #F29A8E, #E07A6E); }

.login-card { padding: 14px; border-radius: 22px; background: rgba(10, 20, 22, .55); border: 1px solid var(--stroke); margin-bottom: 4px;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.login-card.ready { background: linear-gradient(135deg, rgba(243, 210, 139, .18), rgba(255, 145, 40, .1)); border-color: rgba(243, 210, 139, .5);
  box-shadow: 0 0 40px -12px rgba(255, 190, 60, .7); }
.lc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lc-title { font-family: var(--f-display); font-weight: 800; font-size: 16px; }
.lc-sub { font-size: 12px; color: var(--ink-2); font-weight: 700; margin-top: 2px; }
.lc-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 12px; }
.lc-day { border-radius: 12px; padding: 7px 0 5px; text-align: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--stroke); }
.lc-day .lc-ico { font-size: 17px; height: 22px; display: grid; place-items: center; }
.lc-day .lc-ico svg { width: 16px; height: 16px; color: var(--green); }
.lc-day .lc-n { font-size: 10.5px; font-weight: 800; color: var(--muted); margin-top: 2px; }
.lc-day.past { opacity: .6; }
.lc-day.cur { border-color: var(--gold); background: rgba(243, 210, 139, .16); animation: pulse 1.6s ease-in-out infinite; }
.lc-day.chest { background: rgba(182, 146, 255, .1); }
.lc-prize { margin-top: 10px; font-size: 12.5px; font-weight: 800; color: var(--gold); }

.comp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.comp { position: relative; border-radius: 20px; padding: 13px; min-height: 132px; overflow: hidden; cursor: pointer; isolation: isolate;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--stroke); transition: transform .2s var(--spring); animation: cardIn .5s var(--ease) both; }
.comp:active { transform: scale(.97); }
.comp.wide { grid-column: span 2; min-height: auto; }
.comp.tourn { background: linear-gradient(145deg, rgba(169, 228, 208, .14), rgba(156, 203, 232, .08)); }
.comp.boss::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bg) center / cover; filter: brightness(.45) saturate(1.2); }
.comp.boss::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 10, 20, .2), rgba(0, 10, 20, .85)); }
.comp.season { background: linear-gradient(135deg, rgba(243, 210, 139, .14), rgba(182, 146, 255, .1)); }
.comp-k { font-size: 11px; font-weight: 900; color: var(--ink-2); letter-spacing: .02em; }
.comp-t { font-family: var(--f-display); font-weight: 800; font-size: 15px; margin: 5px 0 4px; line-height: 1.2; }
.comp-s { font-size: 12px; color: var(--ink-2); font-weight: 700; margin-top: 2px; }
.comp .progress { margin-top: 8px; height: 6px; }
.comp-fish { position: absolute; right: -14px; top: 6px; width: 96px; opacity: .95; transform: rotate(-8deg); filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .5)); z-index: -1; }

/* турнир, босс, сезон, топы */
.big-title { font-family: var(--f-display); font-weight: 800; font-size: 19px; }
.prizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.prize { border-radius: 16px; padding: 10px 6px; text-align: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--stroke); }
.prize.p1 { border-color: rgba(243, 210, 139, .5); background: rgba(243, 210, 139, .08); }
.prize .pm { font-size: 24px; }
.prize .pv { font-family: var(--f-display); font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; }
.lb-row .lb-place, .row .lb-place { width: 34px; text-align: center; font-family: var(--f-display); font-weight: 800; font-size: 15px; flex: none; }
.lb-row .t { font-size: 14px; }
.lb-row .v { font-size: 13px; }
.boss-card { position: relative; text-align: center; padding: 10px 0 4px; }
.boss-fish { width: 88%; max-height: 180px; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .6)); animation: bossFloat 5s ease-in-out infinite; }
@keyframes bossFloat { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
.boss-name { font-family: var(--f-display); font-weight: 800; font-size: 24px; margin-top: 4px; }
.boss-loc { color: var(--aqua); font-weight: 800; font-size: 13px; }
.boss-hp { display: flex; align-items: center; gap: 10px; margin: 14px 4px 6px; font-size: 12.5px; font-weight: 800; color: var(--ink-2); }
.boss-hp-bar { flex: 1; height: 14px; border-radius: 10px; background: rgba(255, 255, 255, .08); overflow: hidden; border: 1px solid rgba(255, 90, 110, .3); }
.boss-hp-bar i { display: block; height: 100%; background: linear-gradient(90deg, #ff4d6a, #ff9a3c); box-shadow: 0 0 16px rgba(255, 90, 110, .6); transition: width 1s var(--ease); }
.boss-mine { font-size: 13px; font-weight: 700; color: var(--gold); }
.chip-scroll { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 8px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
.chip-scroll::-webkit-scrollbar { display: none; }
.chip-scroll .chip { flex: none; height: 32px; padding: 0 12px; font-size: 12.5px; }
.chip.on { background: rgba(169, 228, 208, .16); }
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 8px; margin-top: 10px; }
.pod { text-align: center; animation: cardIn .6s var(--ease) both; }
.pod.p1 { animation-delay: .1s; } .pod.p3 { animation-delay: .2s; }
.pod-medal { font-size: 30px; }
.pod-name { font-weight: 800; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.pod-val { font-size: 11.5px; color: var(--ink-2); font-weight: 700; margin: 2px 0 6px; display: inline-flex; align-items: center; gap: 3px; }
.pod-bar { border-radius: 14px 14px 4px 4px; background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03)); border: 1px solid var(--stroke); }
.pod.p1 .pod-bar { height: 96px; background: linear-gradient(180deg, rgba(243, 210, 139, .35), rgba(243, 210, 139, .05)); border-color: rgba(243, 210, 139, .5); }
.pod.p2 .pod-bar { height: 70px; }
.pod.p3 .pod-bar { height: 52px; }
.chest-reveal .chest-ico { position: relative; font-size: 84px; animation: chestPop 1s var(--spring) both; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .5)); }
@keyframes chestPop { 0% { transform: scale(.3) rotate(-20deg); opacity: 0; } 50% { transform: scale(1.15) rotate(8deg); opacity: 1; } 70% { transform: rotate(-6deg); } 100% { transform: none; } }
.chest-text { position: relative; font-size: 14px !important; color: var(--ink) !important; line-height: 1.5; }

/* ── торговцы ─────────────────────────────────────────────── */
.mb12 { margin-bottom: 12px; }
.speech { position: relative; margin: -4px 0 14px; padding: 12px 15px 13px; border-radius: 20px; background: rgba(255, 255, 255, .09);
  border: 1px solid var(--stroke-2); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); animation: cardIn .5s var(--ease) both; }
.speech::before { content: ""; position: absolute; top: -9px; left: 34px; width: 18px; height: 18px; transform: rotate(45deg);
  background: inherit; border-left: 1px solid var(--stroke-2); border-top: 1px solid var(--stroke-2); border-radius: 4px 0 0 0; }
.speech .who { font-weight: 900; font-size: 12px; color: var(--aqua); margin-bottom: 3px; }
.speech .txt { font-size: 14px; line-height: 1.45; font-style: italic; min-height: 1.45em; }
.speech .txt.typing::after { content: "▍"; color: var(--aqua); animation: blink .7s steps(1) infinite; margin-left: 1px; font-style: normal; }
@keyframes blink { 50% { opacity: 0; } }

.npc-card { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; border-radius: 20px; background: rgba(255, 255, 255, .05);
  border: 1px solid var(--stroke); cursor: pointer; transition: transform .2s var(--spring); animation: cardIn .45s var(--ease) both; }
.npc-card:nth-child(2) { animation-delay: .05s; } .npc-card:nth-child(3) { animation-delay: .1s; } .npc-card:nth-child(4) { animation-delay: .15s; } .npc-card:nth-child(5) { animation-delay: .2s; }
.npc-card:active { transform: scale(.98); }
.npc-card .face { width: 62px; height: 62px; border-radius: 18px; flex: none; background: center 20% / cover; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.npc-card .body { flex: 1; min-width: 0; }
.npc-card .t { font-weight: 800; font-size: 15px; display: flex; align-items: center; gap: 6px; }
.npc-card .s { font-size: 12px; color: var(--ink-2); margin-top: 1px; }
.npc-card .st { font-size: 12px; color: var(--ink); font-weight: 700; margin-top: 5px; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.npc-card .chev { width: 18px; height: 18px; color: var(--muted); flex: none; }
.npc-card.locked { opacity: .55; }
.npc-card.locked .face { filter: grayscale(.8); }
.mini-fish { width: 26px; height: 18px; object-fit: contain; }
.new-dot { font-size: 10px; font-weight: 900; color: #3a2300; background: var(--gold); padding: 2px 7px; border-radius: 8px; animation: pulse 1.6s ease-in-out infinite; }
.shake { animation: shake .4s ease; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.contract-card { position: relative; text-align: center; padding: 16px 16px 14px; border-radius: 26px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, rgba(169, 228, 208, .16), rgba(10, 20, 22, .6) 60%); border: 1px solid var(--stroke-2);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); animation: cardIn .5s var(--ease) both; }
.contract-card.done { background: radial-gradient(120% 90% at 50% 0%, rgba(243, 210, 139, .2), rgba(10, 20, 22, .6) 60%); border-color: rgba(243, 210, 139, .45); }
.contract-card.ocean { background: radial-gradient(120% 90% at 50% 0%, rgba(43, 140, 255, .22), rgba(10, 20, 22, .6) 60%); }
.ring-fish { position: relative; width: 168px; height: 168px; margin: 0 auto 6px; }
.ring-fish svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring-fish circle { fill: none; stroke-width: 7; }
.ring-fish .bg { stroke: rgba(255, 255, 255, .08); }
.ring-fish .fg { stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease); filter: drop-shadow(0 0 6px rgba(169, 228, 208, .6)); }
.ring-fish.done .fg { filter: drop-shadow(0 0 8px rgba(255, 190, 60, .8)); }
.ring-fish img { position: absolute; left: 2%; top: 10%; width: 96%; height: 80%; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .5));
  animation: fishBob 3.6s ease-in-out infinite; }
@keyframes fishBob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-6px) rotate(3deg); } }
.ring-fish .rf-label { position: absolute; left: 50%; bottom: -2px; transform: translateX(-50%); white-space: nowrap; font-family: var(--f-display); font-weight: 800;
  font-size: 12.5px; padding: 4px 11px; border-radius: 12px; background: rgba(4, 16, 28, .85); border: 1px solid var(--stroke-2); }
.ring-fish.done .rf-label { color: #3a2300; background: linear-gradient(135deg, #FFE6A0, #E8B55C); border: 0; }
.pulse-once { animation: pulseOnce .6s var(--spring); }
@keyframes pulseOnce { 40% { transform: scale(1.08); } }
.ct-k { font-size: 11.5px; font-weight: 800; color: var(--ink-2); margin-top: 10px; }
.ct-task { font-family: var(--f-display); font-weight: 800; font-size: 22px; margin: 3px 0 10px; line-height: 1.2; }
.ct-reward { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ct-note { font-size: 11.5px; color: var(--muted); font-weight: 700; }
.reward-pill.big { font-size: 15px; padding: 6px 13px; border-radius: 14px; gap: 6px; }
.reward-pill .sep { opacity: .5; }
.ct-timer { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12.5px; color: var(--ink-2); font-weight: 700; }
.ct-timer svg { width: 14px; height: 14px; }
.ct-timer b { color: var(--ink); }
.ct-timer.ok { color: var(--green); }
.ct-timer.bad { color: var(--red); }

.spot-card { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 10px; border-radius: 20px; background: rgba(255, 255, 255, .05);
  border: 1px solid var(--stroke); animation: cardIn .5s var(--ease) .08s both; }
.spot-card .sc-img { width: 64px; height: 64px; border-radius: 15px; flex: none; background: center / cover; }
.spot-card .sc-body { flex: 1; min-width: 0; }
.spot-card .sc-k { font-size: 11px; color: var(--muted); font-weight: 800; }
.spot-card .sc-t { font-weight: 800; font-size: 14.5px; margin: 1px 0 3px; }
.spot-card .sc-bait { display: flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; }
.spot-card .sc-bait .bi { width: 20px; height: 20px; display: inline-grid; }
.spot-card .sc-bait .bi svg { width: 20px; height: 20px; }
.spot-card .btn svg { width: 16px; height: 16px; margin-right: 4px; }

.fish-row { transition: opacity .35s, transform .35s var(--ease); }
.fish-row.gone { opacity: 0; transform: translateX(40px) scale(.9); }

.loot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.loot-tile { position: relative; border-radius: 18px; padding: 10px 6px 9px; text-align: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--stroke);
  animation: cardIn .45s var(--ease) both; transition: transform .45s var(--ease), opacity .45s; }
.loot-tile img { width: 64%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); }
.loot-tile .ln { font-size: 11.5px; font-weight: 800; line-height: 1.2; margin-top: 4px; min-height: 2.4em; display: flex; align-items: center; justify-content: center; }
.loot-tile .lv { font-family: var(--f-display); font-weight: 800; font-size: 12.5px; color: var(--gold); display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; }
.loot-tile .cnt { position: absolute; top: 6px; right: 8px; font-family: var(--f-display); font-weight: 800; font-size: 12px; color: var(--aqua); }
.loot-tile.sold { transform: translateY(-40px) scale(.6); opacity: 0; }

.bulk-card { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 20px; background: rgba(255, 255, 255, .045); border: 1px solid var(--stroke);
  animation: cardIn .45s var(--ease) both; transition: transform .45s var(--ease), opacity .45s; }
.bulk-card.ready { border-color: rgba(54, 217, 138, .45); background: linear-gradient(135deg, rgba(54, 217, 138, .1), rgba(255, 255, 255, .03)); }
.bulk-card .bf { width: 64px; height: 44px; object-fit: contain; flex: none; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); }
.bulk-card .bb { flex: 1; min-width: 0; }
.bulk-card .t { font-weight: 800; font-size: 14.5px; }
.bulk-card .s { font-size: 11.5px; color: var(--ink-2); font-weight: 700; margin-top: 3px; }
.bulk-card .dots { display: flex; gap: 4px; margin-top: 5px; }
.bulk-card .dots i { width: 14px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .12); }
.bulk-card .dots i.on { background: linear-gradient(90deg, #6ff0a8, #22c47a); }
.bulk-card.sold { transform: translateX(60px); opacity: 0; }

.token-bank { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 12px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(182, 146, 255, .16), rgba(243, 210, 139, .08)); border: 1px solid rgba(182, 146, 255, .3); flex-wrap: wrap; }
.token-bank .big { font-size: 34px; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .4)); }
.token-bank .v { font-size: 24px; font-weight: 800; }
.token-bank .k { font-size: 12px; color: var(--ink-2); font-weight: 700; }
.token-bank .chip { margin-left: auto; }
.row .thumb.emo { display: grid; place-items: center; font-size: 26px; }

.lot-card { position: relative; border-radius: 28px; padding: 2px; overflow: hidden; animation: cardIn .6s var(--ease) both; }
.lot-glow { position: absolute; inset: -60%; background: conic-gradient(from 0deg, #F3D28B, #ff7ad9, #9CCBE8, #A9E4D0, #F3D28B); animation: spin 5s linear infinite; }
.lot-card.sold .lot-glow { filter: grayscale(1) brightness(.6); }
.lot-inner { position: relative; border-radius: 26px; padding: 16px 16px 14px; text-align: center; background: radial-gradient(120% 80% at 50% 0%, #1C3E43, #0D1D1F 70%); }
.lot-k { font-size: 11px; font-weight: 900; letter-spacing: .08em; color: var(--gold); }
.lot-pic { height: 150px; display: grid; place-items: center; margin: 6px 0 4px; }
.lot-pic img { max-width: 80%; max-height: 150px; object-fit: contain; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .55)); animation: fishBob 4s ease-in-out infinite; }
.lot-pic img.rod { max-height: 150px; transform: rotate(-30deg); }
.lot-bait svg { width: 110px; height: 110px; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .5)); animation: fishBob 4s ease-in-out infinite; }
.lot-emo { font-size: 92px; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .5)); animation: fishBob 4s ease-in-out infinite; }
.lot-name { font-family: var(--f-display); font-weight: 800; font-size: 19px; line-height: 1.25; }
.lot-eff { font-size: 13px; color: var(--ink-2); margin: 6px 0 14px; line-height: 1.4; }
.lot-reason { font-size: 13px; font-weight: 700; color: var(--green); padding: 10px; border-radius: 14px; background: rgba(54, 217, 138, .08); }
.lot-next { font-size: 12px; color: var(--muted); font-weight: 700; margin-top: 10px; }
.lot-next b { color: var(--ink-2); }

.cel-reward { position: relative; margin: 6px 0 16px; display: flex; justify-content: center; }
.cel-img.fish { background-size: contain; background-repeat: no-repeat; background-position: center; border-radius: 0; box-shadow: none; }
.row .thumb.bp { display: grid; place-items: center; overflow: hidden; background-color: #16508f;
  background-image: linear-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .13) 1px, transparent 1px);
  background-size: 9px 9px; border: 1px solid rgba(160, 210, 255, .35); }
.row .thumb.bp img { width: 150%; height: 150%; object-fit: contain; transform: rotate(-38deg) translate(4%, 6%); filter: brightness(0) invert(1) drop-shadow(0 0 2px rgba(160, 220, 255, .9)); }

/* ── Причал ───────────────────────────────────────────────── */
.harbor-head, .hall-head { display: flex; align-items: center; gap: 12px; margin: 0 2px 14px; }
.harbor-head { flex-direction: column; align-items: flex-start; gap: 3px; }
.hh-name { font-family: var(--f-display); font-weight: 800; font-size: 20px; line-height: 1.2; }
.hh-sub { font-size: 12.5px; color: var(--ink-2); font-weight: 600; line-height: 1.4; }
.hall-head > div:first-child { flex: 1; }
.tier-ladder { display: flex; align-items: flex-start; overflow-x: auto; gap: 0; padding: 4px 16px 10px; margin: 0 -16px 6px; scrollbar-width: none; }
.tier-ladder::-webkit-scrollbar { display: none; }
.tier { flex: none; width: 88px; text-align: center; animation: cardIn .5s var(--ease) both; }
.tier .ti { position: relative; width: 70px; height: 70px; margin: 0 auto; border-radius: 22px; background: center / cover; border: 2px solid rgba(255, 255, 255, .12);
  filter: grayscale(.85) brightness(.55); transition: filter .4s; }
.tier.built .ti { filter: none; border-color: rgba(169, 228, 208, .55); }
.tier.cur .ti { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(243, 210, 139, .18), 0 10px 26px rgba(255, 170, 40, .35); }
.tier.next .ti { filter: grayscale(.2) brightness(.85); border-style: dashed; border-color: rgba(243, 210, 139, .6); animation: pulse 2s ease-in-out infinite; }
.tier .ti .n { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 22px; color: #fff; text-shadow: 0 2px 8px #000; }
.tier .ti .ok { position: absolute; right: -6px; bottom: -6px; width: 24px; height: 24px; border-radius: 50%; background: var(--aqua); color: #04222a; display: grid; place-items: center; }
.tier .ti .ok svg { width: 14px; height: 14px; stroke-width: 3; }
.tier .tn { font-size: 11px; font-weight: 800; margin-top: 7px; line-height: 1.2; min-height: 2.4em; }
.tier .tp { font-family: var(--f-display); font-size: 11px; font-weight: 800; color: var(--gold); display: inline-flex; align-items: center; gap: 3px; margin-top: 2px; }
.tier:not(.built) .tp { color: var(--ink-2); }
.tier-link { flex: none; width: 18px; height: 3px; margin-top: 35px; border-radius: 2px; background: rgba(255, 255, 255, .12); }
.tier.built + .tier-link { background: linear-gradient(90deg, var(--aqua), rgba(169, 228, 208, .3)); }
.stat.tap { cursor: pointer; transition: transform .2s var(--spring); }
.stat.tap:active { transform: scale(.96); }
.perk-line { font-size: 13px; line-height: 1.45; padding: 3px 0; }
.build-card { display: flex; gap: 12px; padding: 12px; border-radius: 22px; background: linear-gradient(135deg, rgba(243, 210, 139, .1), rgba(10, 20, 22, .6));
  border: 1px solid rgba(243, 210, 139, .3); animation: cardIn .5s var(--ease) both; }
.build-card .bimg { width: 92px; height: 92px; border-radius: 18px; flex: none; background: center / cover; box-shadow: 0 8px 20px rgba(0, 0, 0, .4); }
.build-card .bbody { flex: 1; min-width: 0; }
.build-card .bk { font-size: 11px; font-weight: 800; color: var(--gold); }
.build-card .bt { font-family: var(--f-display); font-weight: 800; font-size: 16px; margin: 2px 0 7px; }
.build-card .chips { gap: 5px; }
.build-card .bperk { font-size: 12px; color: var(--ink-2); margin-top: 6px; line-height: 1.35; }
.prestige-card { text-align: center; background: radial-gradient(120% 90% at 50% 0%, rgba(255, 90, 110, .16), rgba(10, 20, 22, .6) 60%); }
.prestige-card .big { font-family: var(--f-display); font-size: 38px; font-weight: 900; color: var(--gold); text-shadow: 0 6px 20px rgba(255, 190, 60, .5); }
.prestige-card h4 { font-size: 15px !important; color: var(--ink) !important; }

/* пропуска */
.permit-card { display: flex; gap: 12px; padding: 10px; border-radius: 22px; background: rgba(255, 255, 255, .045); border: 1px solid var(--stroke);
  animation: cardIn .45s var(--ease) both; }
.permit-card.active { border-color: rgba(54, 217, 138, .45); background: linear-gradient(135deg, rgba(54, 217, 138, .1), rgba(255, 255, 255, .03)); }
.permit-card.locked { opacity: .6; }
.permit-card .pimg { position: relative; width: 96px; min-height: 96px; border-radius: 16px; flex: none; background: center / cover; overflow: hidden; }
.permit-card .pstamp { position: absolute; left: 6px; right: 6px; bottom: 6px; text-align: center; font-size: 10px; font-weight: 900; padding: 3px 0; border-radius: 8px;
  background: rgba(4, 16, 28, .8); color: var(--ink-2); letter-spacing: .02em; }
.permit-card.active .pstamp { color: #042414; background: linear-gradient(135deg, #6ff0a8, #22c47a); transform: rotate(-4deg); }
.permit-card .pbody { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.permit-card .pt { font-weight: 800; font-size: 15px; }
.permit-card .ps { font-size: 12px; color: var(--ink-2); }
.permit-card .pu { font-size: 12px; font-weight: 700; color: var(--green); }
.permit-card .pu.muted { color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.permit-card .pu.muted svg { width: 13px; height: 13px; }
.permit-card .pu.gold { color: var(--gold); }
.permit-card .btn { margin-top: 5px; }

/* трофейный зал: доски с рыбой и латунной табличкой */
.plaques { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.plaque { position: relative; border-radius: 18px; padding: 10px 10px 8px; animation: cardIn .5s var(--ease) both;
  background: linear-gradient(160deg, #6b4526, #3f2614 55%, #2c1a0d); box-shadow: inset 0 1px 0 rgba(255, 220, 170, .25), 0 10px 24px rgba(0, 0, 0, .45);
  border: 1px solid rgba(0, 0, 0, .4); }
.plaque::before { content: ""; position: absolute; inset: 6px; border-radius: 13px; border: 1px solid rgba(255, 210, 150, .14); pointer-events: none; }
.plaque .pl-board { height: 96px; display: grid; place-items: center; }
.plaque .pl-board img { max-width: 96%; max-height: 90px; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .6)); transform: rotate(-4deg); }
.plaque .pl-emo { font-size: 52px; }
.plaque .pl-plate { margin: 6px auto 0; padding: 5px 8px; border-radius: 8px; text-align: center; max-width: 94%;
  background: linear-gradient(180deg, #f2d27a, #b98a2e); color: #2f1d05; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 2px 6px rgba(0, 0, 0, .45); }
.plaque .pn { font-weight: 900; font-size: 11.5px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plaque .pw { font-family: var(--f-display); font-weight: 800; font-size: 11px; }
.plaque .pl-crown { position: absolute; top: 6px; right: 8px; font-size: 18px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6)); }
.plaque.excl { background: linear-gradient(160deg, #3a2a5a, #221638 60%, #150d24); }
.plaque.empty { background: rgba(255, 255, 255, .04); border: 2px dashed rgba(255, 255, 255, .14); box-shadow: none; cursor: pointer; }
.plaque.empty::before { display: none; }
.plaque.empty .pl-board span { font-size: 40px; color: var(--muted); font-weight: 300; }
.plaque.empty .pl-plate { background: rgba(255, 255, 255, .06); color: var(--muted); box-shadow: none; }

/* именные рыбы */
.named-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.named-card { position: relative; overflow: hidden; border-radius: 20px; padding: 12px 10px 10px; text-align: center; animation: cardIn .5s var(--ease) both;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--stroke); }
.named-card.golden { border-color: rgba(243, 210, 139, .45); background: radial-gradient(100% 80% at 50% 20%, rgba(243, 210, 139, .18), rgba(10, 20, 22, .5)); }
.named-card.albino { border-color: rgba(220, 240, 255, .4); background: radial-gradient(100% 80% at 50% 20%, rgba(220, 240, 255, .14), rgba(10, 20, 22, .5)); }
.named-card .nc-glow { position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, .08), transparent 30%); animation: spin 8s linear infinite; }
.named-card img { position: relative; width: 92%; height: 74px; object-fit: contain; animation: fishBob 4s ease-in-out infinite; }
.named-card .nc-serial { position: absolute; top: 8px; left: 10px; font-family: var(--f-display); font-weight: 800; font-size: 12px; color: var(--gold); }
.named-card .nc-name { position: relative; font-weight: 800; font-size: 12.5px; line-height: 1.25; margin-top: 6px; }
.named-card .nc-sub { position: relative; font-size: 11px; color: var(--ink-2); margin-top: 2px; }

/* аквариум */
.tank { position: relative; width: 100%; aspect-ratio: var(--ar, 1.8); border-radius: 24px; overflow: hidden; margin-top: 4px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(160, 220, 255, .18); animation: cardIn .6s var(--ease) both; }
.tank-bg { position: absolute; inset: 0; background-repeat: no-repeat; }
.tank-light { position: absolute; inset: -20%; pointer-events: none; mix-blend-mode: screen; opacity: .35;
  background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(160, 230, 255, .12) 22px 30px, transparent 30px 58px);
  animation: caustic 7s linear infinite; }
@keyframes caustic { from { transform: translateX(-6%) skewX(-4deg); } to { transform: translateX(6%) skewX(4deg); } }
.swimmer { position: absolute; left: 0; top: 0; height: auto; will-change: transform; filter: drop-shadow(0 6px 8px rgba(12, 26, 28, .45)); pointer-events: none; }
.bubbles i { position: absolute; bottom: -10px; width: 7px; height: 7px; border-radius: 50%; border: 1px solid rgba(220, 245, 255, .7);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .8), rgba(255, 255, 255, .05) 60%); animation: bubble 6s linear infinite; }
@keyframes bubble { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: .9; } 50% { transform: translate(6px, -45vw); } 100% { transform: translate(-4px, -90vw); opacity: 0; } }
.tank-glass { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, .16) 0%, transparent 22%, transparent 70%, rgba(255, 255, 255, .06) 100%); }
.tank-count { position: absolute; right: 10px; top: 10px; font-family: var(--f-display); font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 12px;
  background: rgba(4, 16, 28, .7); border: 1px solid var(--stroke-2); }
.aq-row.empty { border-style: dashed; }
.aq-row.empty .thumb.emo { font-size: 28px; color: var(--muted); font-weight: 300; }

/* ── Боцман Семёныч ───────────────────────────────────────── */
.cas-limits { padding: 12px 14px; border-radius: 20px; background: rgba(10, 20, 22, .6); border: 1px solid var(--stroke); margin-bottom: 14px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.cl-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-2); font-weight: 700; padding: 2px 0; }
.cl-row b { font-family: var(--f-display); color: var(--ink); display: inline-flex; align-items: center; gap: 5px; }
.cl-bar { height: 7px; border-radius: 5px; background: rgba(243, 210, 139, .25); overflow: hidden; margin: 8px 0 5px; }
.cl-bar i { display: block; height: 100%; background: var(--accent); border-radius: inherit; transition: width .8s var(--ease); }
.cl-note { font-size: 11.5px; color: var(--muted); font-weight: 700; }
.cas-games { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cas-game { position: relative; min-height: 150px; border-radius: 22px; padding: 12px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate; cursor: pointer; border: 1px solid var(--stroke-2); animation: cardIn .5s var(--ease) both; transition: transform .2s var(--spring); }
.cas-game:active { transform: scale(.97); }
.cas-game::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bg) center / cover; transition: transform 6s linear; }
.cas-game:hover::before { transform: scale(1.08); }
.cas-game::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(3, 12, 22, .92)); }
.cas-game .cg-t { font-family: var(--f-display); font-weight: 800; font-size: 15px; line-height: 1.2; }
.cas-game .cg-s { font-size: 11.5px; color: var(--ink-2); margin-top: 3px; line-height: 1.3; }
.cas-game.shell { grid-column: span 2; min-height: auto; flex-direction: row; align-items: center; gap: 12px; justify-content: flex-start;
  background: linear-gradient(135deg, rgba(255, 90, 110, .2), rgba(182, 146, 255, .14)); }
.cas-game.shell::before, .cas-game.shell::after { display: none; }
.cas-game.shell .cg-shell { font-size: 40px; animation: fishBob 3s ease-in-out infinite; }
.cas-game.shell.off { opacity: .55; }

.cas-result { margin: 14px 0 4px; padding: 14px; border-radius: 22px; text-align: center; animation: cardPop .6s var(--spring) both;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--stroke-2); }
.cas-result.win { background: linear-gradient(135deg, rgba(54, 217, 138, .16), rgba(10, 20, 22, .6)); border-color: rgba(54, 217, 138, .45); }
.cas-result.big { background: radial-gradient(120% 100% at 50% 0%, rgba(243, 210, 139, .35), rgba(10, 20, 22, .6)); border-color: rgba(243, 210, 139, .6);
  box-shadow: 0 0 50px -10px rgba(255, 190, 60, .7); }
.cas-result.lose { background: linear-gradient(135deg, rgba(255, 90, 110, .1), rgba(10, 20, 22, .6)); }
.cr-head { font-family: var(--f-display); font-weight: 800; font-size: 17px; }
.cr-text { font-size: 13px; color: var(--ink-2); margin-top: 3px; }
.cr-sum { font-family: var(--f-display); font-weight: 900; font-size: 28px; margin-top: 6px; }
.cas-result.win .cr-sum, .cas-result.big .cr-sum { color: var(--gold); text-shadow: 0 4px 18px rgba(255, 190, 60, .5); }
.cas-result.lose .cr-sum { color: var(--red); font-size: 20px; }
.cr-note { font-size: 12px; color: var(--muted); margin-top: 8px; }

.helm-wrap { position: relative; width: min(100%, 340px); aspect-ratio: 1; margin: 4px auto 0; }
.helm { position: absolute; inset: 0; will-change: transform; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .55)); }
.helm-svg { width: 100%; height: 100%; }
.helm-svg text { font-family: var(--f-text); dominant-baseline: middle; }
.helm-svg text.wm { font-family: var(--f-display); font-weight: 800; font-size: 11px; fill: #fff; paint-order: stroke; stroke: rgba(0, 0, 0, .45); stroke-width: 2px; }
.helm-pointer { position: absolute; left: 50%; top: 1.5%; z-index: 2; width: 0; height: 0; transform: translateX(-50%); transform-origin: 50% 0;
  border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 30px solid #F3D28B; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .6)); }
.helm-pointer.tick { animation: ptick .12s ease-out; }
@keyframes ptick { 50% { transform: translateX(-50%) rotate(-14deg); } }
.stake-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 12px; }
.stake { display: inline-flex; align-items: center; gap: 5px; height: 38px; padding: 0 14px; border-radius: 14px; font-family: var(--f-display); font-weight: 800;
  font-size: 13px; background: rgba(255, 255, 255, .06); border: 1px solid var(--stroke-2); color: var(--ink); transition: transform .2s var(--spring); }
.stake.on { background: linear-gradient(135deg, rgba(255, 224, 122, .28), rgba(232, 181, 92, .2)); border-color: rgba(243, 210, 139, .7); transform: scale(1.06); }
.spin-btn { height: 56px; font-size: 16px; }
.legend { display: flex; flex-direction: column; gap: 6px; }
.legend .lg { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 8px 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); }
.legend .lg b { margin-left: auto; font-family: var(--f-display); font-size: 12.5px; color: var(--gold); }
.legend .lg.zero b { color: var(--muted); font-family: var(--f-text); font-weight: 700; }
.legend .dot { width: 12px; height: 12px; border-radius: 4px; flex: none; }

.sacks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sack { position: relative; display: flex; flex-direction: column; align-items: center; padding: 8px 4px 10px; border-radius: 20px; color: var(--ink);
  background: rgba(255, 255, 255, .05); border: 1px solid var(--stroke); animation: cardIn .5s var(--ease) both; }
.sack.small { --s1: #a47b4b; --s2: #c9a06b; --s3: #7d5a33; --rope: #5a3d1d; }
.sack.medium { --s1: #7b5a3a; --s2: #a8835a; --s3: #5c4128; --rope: #3b2712; animation-delay: .06s; }
.sack.big { --s1: #3d3a52; --s2: #5b5680; --s3: #2a2840; --rope: #F3D28B; animation-delay: .12s;
  background: radial-gradient(100% 80% at 50% 30%, rgba(243, 210, 139, .14), rgba(255, 255, 255, .04)); border-color: rgba(243, 210, 139, .35); }
.sack-svg { width: 76%; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .5)); transform-origin: 50% 90%; transition: transform .3s var(--spring); }
.sack.small .sack-svg { width: 62%; margin-top: 12px; }
.sack.big .sack-svg { width: 88%; }
.sack:active .sack-svg { transform: scale(.94); }
.sack.shaking .sack-svg { animation: sackShake .22s ease-in-out infinite; }
@keyframes sackShake { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg) translateY(-2px); } }
.sack.opened .sack-svg { transform: scale(1.08, .92); }
.sack.locked { opacity: .5; }
.sack .sk-n { font-weight: 800; font-size: 12.5px; margin-top: 4px; }
.sack .sk-p { font-family: var(--f-display); font-weight: 800; font-size: 12px; color: var(--gold); display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; }
.sack .sk-l { font-size: 10px; color: var(--muted); margin-top: 4px; line-height: 1.2; display: flex; gap: 3px; align-items: center; }
.sack .sk-l svg { width: 11px; height: 11px; flex: none; }
.sack-pop { position: fixed; z-index: 60; width: 0; height: 0; pointer-events: none; }
.sack-pop .sp-rays { position: absolute; left: -110px; top: -110px; width: 220px; height: 220px; border-radius: 50%; opacity: 0;
  background: repeating-conic-gradient(from 0deg, rgba(255, 224, 122, .55) 0 10deg, transparent 10deg 24deg);
  -webkit-mask: radial-gradient(circle, #000 20%, transparent 70%); mask: radial-gradient(circle, #000 20%, transparent 70%);
  animation: spRays 1.5s ease-out forwards, spin 4s linear infinite; }
.sack-pop.lose .sp-rays { display: none; }
@keyframes spRays { 0% { opacity: 0; transform: scale(.3); } 30% { opacity: 1; } 100% { opacity: .8; transform: scale(1.1); } }
.sack-pop .sp-emo { position: absolute; left: -40px; top: -40px; width: 80px; text-align: center; font-size: 64px; line-height: 80px;
  animation: spEmo 1.4s var(--spring) forwards; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .55)); }
@keyframes spEmo { 0% { transform: translateY(40px) scale(.2); opacity: 0; } 45% { transform: translateY(-70px) scale(1.25); opacity: 1; } 100% { transform: translateY(-60px) scale(1); opacity: 1; } }
.sack-pop .sp-mult { position: absolute; left: -60px; top: 10px; width: 120px; text-align: center; font-family: var(--f-display); font-weight: 900; font-size: 22px;
  color: var(--gold); text-shadow: 0 3px 12px rgba(0, 0, 0, .7); opacity: 0; animation: spMult .5s ease-out .6s forwards; }
.sack-pop.lose .sp-mult { color: var(--muted); }
@keyframes spMult { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.sack-pop.out { transition: opacity .45s; opacity: 0; }

.double-box { text-align: center; padding: 4px 2px; }
.db-title { font-family: var(--f-display); font-weight: 800; font-size: 20px; }
.db-sub { font-size: 12.5px; color: var(--ink-2); margin: 6px 4px 8px; line-height: 1.45; }
.shell-stage { height: 150px; display: grid; place-items: center; perspective: 600px; }
.shell3d { position: relative; width: 110px; height: 110px; transform-style: preserve-3d; transition: transform .7s var(--spring); }
.shell3d .face { position: absolute; inset: 0; display: grid; place-items: center; font-size: 86px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .5)); }
.shell3d .back { transform: rotateY(180deg); }
.shell3d.flipping { animation: shellFlip 1.4s linear infinite; }
@keyframes shellFlip { 0% { transform: translateY(0) rotateY(0) rotateX(0); } 50% { transform: translateY(-60px) rotateY(540deg) rotateX(20deg); } 100% { transform: translateY(0) rotateY(1080deg) rotateX(0); } }
.shell3d.land-win { transform: rotateY(0deg) scale(1.15); }
.shell3d.land-lose { transform: rotateY(180deg) scale(.95); }
.db-sum { font-family: var(--f-display); font-weight: 900; font-size: 30px; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 4px 0; }
.db-sum .coin { width: 26px; height: 26px; }
.db-msg { min-height: 40px; font-size: 13px; color: var(--ink-2); margin: 4px 6px 12px; line-height: 1.45; }

/* ── профиль: плитки, достижения, навыки, статистика, оформление, карточка ── */
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 7px 13px; border-radius: 14px; font-size: 12.5px; font-weight: 800;
  color: var(--aqua); background: rgba(169, 228, 208, .08); border: 1px solid rgba(169, 228, 208, .3); }
.card-link svg { width: 15px; height: 15px; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.mini-stats > div { text-align: center; padding: 10px 4px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--stroke); }
.mini-stats b { display: block; font-family: var(--f-display); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-stats span { display: block; font-size: 11px; color: var(--muted); font-weight: 700; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ptiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ptile { position: relative; padding: 13px 13px 12px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid var(--stroke);
  cursor: pointer; transition: transform .2s var(--spring); animation: cardIn .45s var(--ease) both; overflow: hidden; }
.ptile:nth-child(2) { animation-delay: .04s; } .ptile:nth-child(3) { animation-delay: .08s; } .ptile:nth-child(4) { animation-delay: .12s; }
.ptile:nth-child(5) { animation-delay: .16s; } .ptile:nth-child(6) { animation-delay: .2s; }
.ptile:active { transform: scale(.97); }
.ptile .pt-emo { font-size: 26px; }
.ptile .pt-t { font-weight: 800; font-size: 14px; margin-top: 6px; }
.ptile .pt-s { font-size: 11.5px; color: var(--ink-2); font-weight: 700; margin-top: 2px; }
.ptile .progress.mini { height: 5px; margin-top: 8px; }
.ptile.glow { border-color: rgba(243, 210, 139, .55); box-shadow: 0 0 26px -8px rgba(255, 190, 60, .7); }
.ptile.glow::after { content: ""; position: absolute; top: 10px; right: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); animation: pulse 1.4s ease-in-out infinite; }

.ach-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ach-ring { --p: 0; width: 72px; height: 72px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: conic-gradient(var(--gold) calc(var(--p) * 1%), rgba(255, 255, 255, .08) 0); position: relative; }
.ach-ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--bg-2); }
.ach-ring span { position: relative; font-family: var(--f-display); font-weight: 800; font-size: 15px; }
.ach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ach { padding: 11px 11px 10px; border-radius: 18px; background: rgba(255, 255, 255, .035); border: 1px solid var(--stroke); animation: cardIn .4s var(--ease) both; }
.ach .ae { font-size: 24px; filter: grayscale(1); opacity: .5; }
.ach .an { font-weight: 800; font-size: 12.5px; margin-top: 5px; line-height: 1.25; color: var(--ink-2); }
.ach .ad { font-size: 11px; color: var(--muted); margin-top: 3px; line-height: 1.3; }
.ach.done { background: linear-gradient(135deg, rgba(243, 210, 139, .12), rgba(255, 255, 255, .03)); border-color: rgba(243, 210, 139, .35); }
.ach.done .ae { filter: none; opacity: 1; }
.ach.done .an { color: var(--ink); }
.ach.fresh { animation: cardIn .4s var(--ease) both, glowPulse 2s ease-in-out 3; }
@keyframes glowPulse { 50% { box-shadow: 0 0 30px -6px rgba(243, 210, 139, .9); } }

.skill-bank { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 22px; margin-bottom: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--stroke); }
.skill-bank.has { background: linear-gradient(135deg, rgba(169, 228, 208, .16), rgba(156, 203, 232, .1)); border-color: rgba(169, 228, 208, .45); }
.skill-bank .sb-n { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 26px; font-weight: 900;
  background: rgba(255, 255, 255, .08); flex: none; }
.skill-bank.has .sb-n { background: linear-gradient(135deg, #A9E4D0, #9CCBE8); color: #03222b; animation: pulse 1.8s ease-in-out infinite; }
.skill-bank .sb-t { font-weight: 800; font-size: 15px; }
.skill-bank .sb-s { font-size: 12px; color: var(--ink-2); margin-top: 2px; }
.skill { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, .045); border: 1px solid var(--stroke); }
.skill .se { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: rgba(255, 255, 255, .06); flex: none; }
.skill .sbody { flex: 1; min-width: 0; }
.skill .st { font-weight: 800; font-size: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.skill .pips { display: inline-flex; gap: 3px; }
.skill .pips i { width: 14px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .12); }
.skill .pips i.on { background: var(--accent); }
.skill .sn { font-size: 12.5px; color: var(--ink-2); margin-top: 3px; line-height: 1.35; }
.skill .sx { font-size: 11px; color: var(--muted); margin-top: 2px; }
.skill.maxed { border-color: rgba(243, 210, 139, .35); }
.skill.maxed .pips i.on { background: linear-gradient(90deg, #FFE6A0, #E8B55C); }

.record-card { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px; border-radius: 22px;
  background: radial-gradient(120% 120% at 0% 50%, rgba(243, 210, 139, .18), rgba(10, 20, 22, .6)); border: 1px solid rgba(243, 210, 139, .35); }
.record-card img { width: 120px; height: 70px; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .5)); animation: fishBob 4s ease-in-out infinite; }
.record-card .rk { font-size: 11px; font-weight: 900; color: var(--gold); }
.record-card .rt { font-weight: 800; font-size: 16px; }
.record-card .rw { font-family: var(--f-display); font-weight: 800; font-size: 20px; }
.bars { display: flex; flex-direction: column; gap: 8px; }
.bar-row { display: flex; align-items: center; gap: 10px; animation: cardIn .4s var(--ease) both; }
.bar-row img { width: 52px; height: 32px; object-fit: contain; flex: none; }
.bar-row .br-body { flex: 1; min-width: 0; }
.bar-row .br-t { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; }
.bar-row .br-t b { font-family: var(--f-display); font-size: 12.5px; }
.bar-row .br-bar { height: 7px; border-radius: 5px; background: rgba(255, 255, 255, .07); margin-top: 4px; overflow: hidden; }
.bar-row .br-bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent); animation: growW .9s var(--ease) both; }

.frame-preview { text-align: center; padding: 18px 12px; border-radius: 22px; margin-bottom: 4px;
  background: radial-gradient(120% 100% at 50% 0%, rgba(182, 146, 255, .2), rgba(10, 20, 22, .6)); border: 1px solid var(--stroke-2); }
.frame-preview .fp-k { font-size: 11.5px; color: var(--muted); font-weight: 800; }
.frame-preview .fp-name { font-family: var(--f-display); font-weight: 800; font-size: 20px; margin-top: 6px; }
.frames { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.frame { padding: 12px 10px; border-radius: 16px; text-align: center; color: var(--ink); background: rgba(255, 255, 255, .05); border: 1px solid var(--stroke); }
.frame.on { border-color: var(--aqua); background: rgba(169, 228, 208, .1); box-shadow: 0 0 0 3px rgba(169, 228, 208, .12); }
.frame.locked { opacity: .5; }
.frame .fr-v { font-weight: 800; font-size: 13px; }
.frame .fr-s { font-size: 11px; color: var(--muted); margin-top: 3px; display: inline-flex; align-items: center; gap: 3px; }
.frame .fr-s svg { width: 11px; height: 11px; }
.boat-form { display: flex; gap: 8px; }
.boat-form input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--stroke-2); background: rgba(255, 255, 255, .06);
  color: var(--ink); font: inherit; font-size: 14px; outline: none; }
.boat-form input:focus { border-color: var(--aqua); }

.pcard { position: relative; border-radius: 26px; overflow: hidden; margin-bottom: 12px; min-height: 210px; display: flex; align-items: flex-end;
  animation: cardIn .5s var(--ease) both; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.pc-bg { position: absolute; inset: 0; background: center / cover; filter: brightness(.55) saturate(1.1); transform: scale(1.05); }
.pcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(3, 12, 22, .92)); }
.pc-inner { position: relative; z-index: 1; padding: 16px; width: 100%; }
.pc-lvl { position: absolute; right: 14px; top: -70px; width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; font-family: var(--f-display);
  font-weight: 900; font-size: 22px; color: #3a2300; background: linear-gradient(135deg, #FFE6A0, #E8B55C); box-shadow: 0 8px 20px rgba(232, 181, 92, .4); }
.pc-name { font-family: var(--f-display); font-weight: 800; font-size: 21px; line-height: 1.2; }
.pc-badges { font-size: 15px; }
.pc-status { font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.pc-rank { font-size: 12.5px; color: var(--aqua); font-weight: 800; margin-top: 4px; }
.pc-chips { margin-top: 10px; }
.hscroll { display: flex; gap: 10px; overflow-x: auto; padding: 2px 16px 8px; margin: 0 -16px; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.mini-plaque, .mini-named { flex: none; width: 120px; border-radius: 16px; padding: 8px; text-align: center; }
.mini-plaque { background: linear-gradient(160deg, #6b4526, #3f2614 55%, #2c1a0d); }
.mini-plaque .mp-b { height: 60px; display: grid; place-items: center; font-size: 34px; }
.mini-plaque .mp-b img, .mini-named img { max-width: 100%; max-height: 58px; object-fit: contain; }
.mini-named { background: rgba(255, 255, 255, .05); border: 1px solid var(--stroke); }
.mini-named.golden { border-color: rgba(243, 210, 139, .45); }
.mp-n { font-size: 11px; font-weight: 800; margin-top: 4px; line-height: 1.2; }
.mp-w { font-family: var(--f-display); font-size: 11px; color: #f2d27a; }

/* ── аукцион ─────────────────────────────────────────────── */
.auc-lot { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; border-radius: 20px; background: rgba(255, 255, 255, .045);
  border: 1px solid var(--stroke); cursor: pointer; animation: cardIn .45s var(--ease) both; }
.auc-lot.mine { border-color: rgba(169, 228, 208, .35); }
.auc-lot.leading { border-color: rgba(243, 210, 139, .5); background: linear-gradient(135deg, rgba(243, 210, 139, .1), rgba(255, 255, 255, .03)); }
.al-pic, .si-pic, .ls-pic { display: grid; place-items: center; border-radius: 16px; background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02)); }
.al-pic { width: 64px; height: 64px; flex: none; }
.al-pic img, .si-pic img { max-width: 88%; max-height: 80%; object-fit: contain; }
.al-pic.blueprint, .si-pic.blueprint, .ls-pic.blueprint { background-color: #16508f;
  background-image: linear-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .13) 1px, transparent 1px);
  background-size: 9px 9px; overflow: hidden; }
img.bp-img { filter: brightness(0) invert(1) drop-shadow(0 0 2px rgba(160, 220, 255, .9)); transform: rotate(-35deg) scale(1.3); }
.lot-emo-s { font-size: 32px; }
.al-body { flex: 1; min-width: 0; }
.al-t { font-weight: 800; font-size: 14px; line-height: 1.25; }
.al-s { font-size: 12.5px; color: var(--ink-2); margin-top: 3px; }
.al-x { font-size: 11.5px; color: var(--muted); font-weight: 700; margin-top: 3px; }
.pager { align-self: center; text-align: center; font-weight: 800; color: var(--ink-2); flex: 0 !important; white-space: nowrap; padding: 0 8px; }
.sell-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sell-item { padding: 8px 6px 10px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid var(--stroke); color: var(--ink); text-align: center; }
.si-pic { height: 64px; }
.si-t { font-size: 11.5px; font-weight: 800; margin-top: 6px; line-height: 1.2; }
.si-w { font-size: 11px; color: var(--muted); font-family: var(--f-display); }
.lot-sheet { text-align: center; }
.ls-pic { height: 150px; margin: 0 auto 8px; }
.ls-pic img { max-width: 80%; max-height: 130px; object-fit: contain; animation: fishBob 4s ease-in-out infinite; }
.ls-pic .lot-emo-s { font-size: 80px; }
.ls-t { font-family: var(--f-display); font-weight: 800; font-size: 18px; }
.ls-w { font-family: var(--f-display); font-weight: 800; color: var(--gold); margin-top: 2px; }
.ls-r { font-size: 12.5px; color: var(--ink-2); margin: 6px 0 8px; }
.lot-sheet .kv { text-align: left; }
.preset-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.preset-grid .stake { justify-content: center; height: 46px; }

/* ── вместе и поддержка ──────────────────────────────────── */
.invite-card { padding: 14px; border-radius: 22px; background: linear-gradient(135deg, rgba(169, 228, 208, .14), rgba(156, 203, 232, .08));
  border: 1px solid rgba(169, 228, 208, .35); margin-top: 12px; animation: cardIn .5s var(--ease) both; }
.ic-t { font-family: var(--f-display); font-weight: 800; font-size: 16px; }
.ic-s { font-size: 12.5px; color: var(--ink-2); margin: 5px 0 10px; line-height: 1.45; }
.link-box { padding: 10px 12px; border-radius: 14px; background: rgba(0, 0, 0, .3); border: 1px dashed var(--stroke-2); overflow-x: auto; }
.link-box code { font-size: 12px; color: var(--aqua); white-space: nowrap; }
.coop-status { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 22px; background: rgba(255, 255, 255, .05); border: 1px solid var(--stroke); }
.coop-status.on { background: linear-gradient(135deg, rgba(54, 217, 138, .18), rgba(10, 20, 22, .6)); border-color: rgba(54, 217, 138, .45); }
.coop-status.ready { border-color: rgba(169, 228, 208, .35); }
.coop-status .cs-emo { font-size: 38px; }
.coop-status.on .cs-emo { animation: pulse 1.6s ease-in-out infinite; }
.cs-t { font-weight: 800; font-size: 16px; }
.cs-s { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.don-line { font-size: 13px; font-weight: 700; padding: 9px 12px; border-radius: 14px; background: rgba(255, 255, 255, .05); margin-bottom: 6px; }
.don-hero { display: flex; align-items: center; gap: 12px; padding: 14px; margin: 12px 0 4px; border-radius: 22px; cursor: pointer;
  background: linear-gradient(135deg, rgba(169, 228, 208, .2), rgba(156, 203, 232, .12)); border: 1px solid rgba(169, 228, 208, .45);
  box-shadow: 0 0 34px -12px rgba(169, 228, 208, .7); animation: cardIn .5s var(--ease) both; }
.dh-emo { font-size: 38px; animation: fishBob 3s ease-in-out infinite; }
.dh-body { flex: 1; }
.dh-t { font-family: var(--f-display); font-weight: 800; font-size: 15.5px; }
.dh-s { font-size: 12px; color: var(--ink-2); margin-top: 2px; }
.dh-p { font-family: var(--f-display); font-weight: 900; font-size: 17px; color: var(--aqua); }
.don-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.don-item { padding: 12px 10px; border-radius: 18px; text-align: left; color: var(--ink); background: rgba(255, 255, 255, .05); border: 1px solid var(--stroke); }
.don-item .di-name { font-weight: 800; font-size: 13px; line-height: 1.25; }
.don-item .di-coins { font-family: var(--f-display); font-weight: 800; font-size: 13px; color: var(--gold); display: flex; align-items: center; gap: 4px; margin-top: 5px; }
.don-item .di-price { font-family: var(--f-display); font-weight: 800; font-size: 14px; margin-top: 6px; color: var(--green); }
.don-item.blocked { opacity: .5; }
.don-item.blocked .di-price { color: var(--muted); font-family: var(--f-text); font-size: 12px; }
.muted.small { font-size: 11.5px; }
.af-live { text-align: center; padding: 10px 0 14px; }
.af-radar { position: relative; width: 120px; height: 120px; margin: 0 auto 8px; display: grid; place-items: center; }
.af-radar span { position: relative; font-size: 46px; z-index: 1; animation: fishBob 3s ease-in-out infinite; }
.af-radar i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(169, 228, 208, .6); animation: ring 2.4s ease-out infinite; }
.af-radar i:nth-child(2) { animation-delay: .8s; } .af-radar i:nth-child(3) { animation-delay: 1.6s; }
.af-t { font-family: var(--f-display); font-weight: 800; font-size: 19px; }
.af-s { font-size: 13px; color: var(--ink-2); margin-top: 4px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.af-s svg { width: 18px; height: 18px; }

/* ── клуб ────────────────────────────────────────────────── */
.create-card { padding: 14px; border-radius: 22px; margin-top: 12px; background: linear-gradient(135deg, rgba(54, 217, 138, .14), rgba(10, 20, 22, .6));
  border: 1px solid rgba(54, 217, 138, .4); }
.guild-card { padding: 16px; border-radius: 24px; margin-bottom: 12px; background: radial-gradient(120% 100% at 0% 0%, rgba(169, 228, 208, .16), rgba(10, 20, 22, .65));
  border: 1px solid var(--stroke-2); animation: cardIn .5s var(--ease) both; }
.gc-name { font-family: var(--f-display); font-weight: 800; font-size: 21px; line-height: 1.2; }
.gc-role { font-size: 12.5px; color: var(--aqua); font-weight: 800; margin-top: 3px; }
.gc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.gc-stats > div { text-align: center; padding: 9px 4px; border-radius: 14px; background: rgba(255, 255, 255, .06); }
.gc-stats b { display: block; font-family: var(--f-display); font-size: 14px; }
.gc-stats span { display: block; font-size: 11px; color: var(--muted); font-weight: 700; margin-top: 2px; }
.gc-bonus { margin-top: 8px; font-size: 12.5px; font-weight: 700; padding: 8px 11px; border-radius: 12px; background: rgba(243, 210, 139, .1); color: var(--gold); }
.gc-bonus.on { background: rgba(54, 217, 138, .12); color: var(--green); }
.gc-bonus.exp { background: rgba(160, 210, 255, .1); color: #bfe0ff; }
.gcc-emo { font-size: 44px; }
.board { max-height: 52vh; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 2px; }
.bmsg { max-width: 86%; padding: 9px 12px; border-radius: 16px 16px 16px 4px; background: rgba(255, 255, 255, .07); border: 1px solid var(--stroke); align-self: flex-start;
  animation: cardIn .35s var(--ease) both; }
.bmsg.me { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: rgba(169, 228, 208, .12); border-color: rgba(169, 228, 208, .3); }
.bm-h { display: flex; gap: 8px; align-items: baseline; font-size: 12px; }
.bm-h span { color: var(--muted); font-size: 11px; }
.bm-t { font-size: 14px; margin-top: 2px; line-height: 1.4; word-wrap: break-word; }
.board-form { display: flex; gap: 8px; margin-top: 12px; }
.board-form input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border-radius: 14px; border: 1px solid var(--stroke-2);
  background: rgba(255, 255, 255, .06); color: var(--ink); font: inherit; font-size: 14px; outline: none; }
.board-form input:focus { border-color: var(--aqua); }
.exp-card { padding: 16px; border-radius: 24px; background: radial-gradient(120% 100% at 50% 0%, rgba(160, 210, 255, .18), rgba(10, 20, 22, .7));
  border: 1px solid rgba(160, 210, 255, .3); animation: cardIn .5s var(--ease) both; }
.ex-t { font-family: var(--f-display); font-weight: 800; font-size: 20px; }
.ex-s { font-size: 12.5px; color: var(--ink-2); margin-top: 6px; line-height: 1.45; }
.ex-bar { position: relative; height: 26px; border-radius: 14px; background: rgba(255, 255, 255, .08); overflow: hidden; margin: 14px 0 4px; }
.ex-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #9CCBE8, #A9E4D0); border-radius: inherit;
  box-shadow: 0 0 20px rgba(122, 184, 255, .6); transition: width 1s var(--ease); }
.ex-bar span { position: relative; display: grid; place-items: center; height: 100%; font-family: var(--f-display); font-weight: 800; font-size: 12px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .7); }
.ex-badge { margin-top: 10px; font-size: 12.5px; font-weight: 800; color: #bfe0ff; }

.doc-text { font-size: 13.5px; line-height: 1.55; color: var(--ink-2); padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, .04);
  border: 1px solid var(--stroke); white-space: normal; word-wrap: break-word; }
.doc-text b { color: var(--ink); }

/* ── фракции: штаб ─────────────────────────────────────── */
.fx-head { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 24px; border: 1px solid var(--stroke-2);
  background: linear-gradient(135deg, rgba(169, 228, 208, .16), rgba(156, 203, 232, .1) 60%, rgba(10, 20, 22, .6)); animation: cardIn .6s var(--ease) both; }
.fx-head.smuggler { background: linear-gradient(135deg, rgba(255, 90, 110, .16), rgba(232, 181, 92, .1) 60%, rgba(10, 20, 22, .6)); }
.fx-badge { position: relative; flex: none; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-size: 30px;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .25), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .35), inset 0 0 18px rgba(169, 228, 208, .25); }
.fx-head.smuggler .fx-badge { box-shadow: 0 10px 26px rgba(0, 0, 0, .35), inset 0 0 18px rgba(232, 181, 92, .3); }
.fx-badge i { position: absolute; right: -4px; bottom: -2px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; font-style: normal;
  font: 800 12px/22px var(--f-display); color: #3a2300; background: linear-gradient(135deg, #FFE6A0, #E8B55C); box-shadow: 0 4px 10px rgba(0, 0, 0, .4); }
.fx-hb { flex: 1; min-width: 0; }
.fx-rank { font-family: var(--f-display); font-weight: 800; font-size: 18px; }
.fx-sub { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.fx-ocean { margin-top: 4px; }
.fx-warn, .fx-note { padding: 10px 12px; border-radius: 14px; font-size: 12.5px; line-height: 1.4; margin-bottom: 10px; }
.fx-warn { background: rgba(232, 181, 92, .1); border: 1px solid rgba(232, 181, 92, .35); color: #ffd79a; }
.fx-note { background: rgba(169, 228, 208, .08); border: 1px solid rgba(169, 228, 208, .25); color: var(--ink-2); }
.fx-noboat { text-align: center; margin-top: 14px; }
.fx-noboat .big { font-size: 44px; animation: fishBob 3s ease-in-out infinite; }
.fx-noboat h3 { font-family: var(--f-display); margin: 6px 0; }
.fx-noboat p { color: var(--ink-2); font-size: 13.5px; margin: 0 0 14px; }

/* выбор пути */
.fx-choose-title { font-family: var(--f-display); font-weight: 800; font-size: 22px; text-align: center; margin: 4px 0 6px; }
.fx-paths { display: grid; gap: 14px; }
.fx-path { border-radius: 24px; overflow: hidden; border: 1px solid rgba(169, 228, 208, .35); background: rgba(10, 20, 22, .6);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .4); animation: cardIn .7s var(--ease) both; }
.fx-path.smuggler { border-color: rgba(232, 181, 92, .4); }
.fp-img { height: 150px; background: center 40% / cover no-repeat; position: relative; }
.fp-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(3, 16, 28, .9)); }
.fp-body { padding: 0 14px 14px; margin-top: -26px; position: relative; }
.fp-name { font-family: var(--f-display); font-weight: 800; font-size: 19px; margin-bottom: 6px; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }

/* маршруты */
.routes { display: grid; gap: 10px; }
.route-card { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 20px; cursor: pointer;
  background: linear-gradient(135deg, rgba(156, 203, 232, .12), rgba(255, 255, 255, .03)); border: 1px solid var(--stroke-2);
  animation: cardIn .55s var(--ease) both; transition: transform .2s; }
.route-card:active { transform: scale(.975); }
.route-card.locked { opacity: .5; filter: saturate(.4); }
.route-card.poor .rc-cost { color: var(--red); }
.rc-icon { flex: none; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; background: rgba(255, 255, 255, .07); }
.rc-body { flex: 1; min-width: 0; }
.rc-name { font-weight: 800; font-size: 15px; }
.rc-desc { font-size: 12.5px; color: var(--ink-2); margin-top: 1px; }
.rc-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 11.5px; font-weight: 700; color: var(--muted); margin-top: 5px; }
.rc-cost { flex: none; display: inline-flex; align-items: center; gap: 5px; font: 800 14px var(--f-display); }

/* лицензия */
.lic-card { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 18px;
  background: rgba(255, 90, 110, .08); border: 1px solid rgba(255, 90, 110, .3); }
.lic-card.on { background: rgba(169, 228, 208, .07); border-color: rgba(169, 228, 208, .3); }
.lic-emo { font-size: 26px; }
.lic-body { flex: 1; min-width: 0; }
.lic-t { font-weight: 800; font-size: 14px; }
.lic-s { font-size: 12px; color: var(--ink-2); margin-top: 1px; }

/* ── морская сцена ─────────────────────────────────────── */
.sea-scene, .departure { position: relative; height: 210px; border-radius: 24px; overflow: hidden; border: 1px solid var(--stroke-2);
  background: linear-gradient(180deg, #5fb8ef 0%, #9fd9f5 46%, #ffd9a6 58%, #2e86c9 59%, #0b4f8a 100%); box-shadow: 0 16px 40px rgba(0, 0, 0, .4); }
.sea-scene.night, .departure.night { background: linear-gradient(180deg, #030a1a 0%, #152F33 48%, #204950 58%, #153035 59%, #0A1618 100%); }
.sea-horizon { position: absolute; left: 0; right: 0; top: 57%; height: 2px; background: rgba(255, 255, 255, .45); filter: blur(1px); }
.night .sea-horizon { background: rgba(120, 170, 255, .25); }
.sea-sun { position: absolute; right: 16%; top: 30%; width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle, #fff6c9, #ffcf5e 60%, rgba(255, 190, 80, 0) 72%);
  box-shadow: 0 0 60px 20px rgba(255, 210, 120, .45); animation: sunPulse 6s ease-in-out infinite; }
@keyframes sunPulse { 50% { transform: scale(1.06); box-shadow: 0 0 80px 26px rgba(255, 210, 120, .55); } }
.gull { position: absolute; font-size: 14px; color: rgba(30, 65, 70, .75); font-weight: 900; animation: gull 14s linear infinite; }
.gull.g1 { top: 16%; left: -10%; }
.gull.g2 { top: 26%; left: -20%; font-size: 11px; animation-duration: 19s; animation-delay: -6s; }
@keyframes gull { 0% { transform: translateX(0) translateY(0); } 50% { transform: translateX(65vw) translateY(-8px); } 100% { transform: translateX(130vw) translateY(4px); } }
.sea-stars i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .2; } }
.sea-moon { position: absolute; right: 14%; top: 12%; width: 34px; height: 34px; border-radius: 50%; background: #f4f1dc;
  box-shadow: inset -9px -3px 0 rgba(0, 0, 0, .18), 0 0 40px 10px rgba(240, 240, 210, .25); }
.sea-searchlight { position: absolute; left: -10%; top: 57%; width: 70%; height: 220px; transform-origin: 0 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 250, 200, .28), rgba(255, 250, 200, 0)); clip-path: polygon(0 0, 100% -40%, 100% 40%);
  animation: sweep 7s ease-in-out infinite; }
@keyframes sweep { 0%, 100% { transform: rotate(-24deg); } 50% { transform: rotate(-6deg); } }
.sea-boat { position: absolute; bottom: 15%; width: 104px; margin-left: -52px; z-index: 2; transition: left 1s linear; }
.sb-hull.flip { transform: scaleX(-1); }
.sea-boat img { width: 100%; display: block; animation: seaBob 3.2s ease-in-out infinite; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .35)); }
.night .sea-boat img { filter: brightness(.7) saturate(.8) drop-shadow(0 6px 10px rgba(0, 0, 0, .6)); }
@keyframes seaBob { 0%, 100% { transform: translateY(0) rotate(-2.5deg); } 50% { transform: translateY(5px) rotate(2.5deg); } }
.wake { position: absolute; left: -30%; bottom: 8%; width: 60%; height: 10px; border-radius: 50%; background: radial-gradient(ellipse, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0) 70%);
  animation: wake 1.4s ease-out infinite; }
@keyframes wake { 0% { transform: scaleX(.4); opacity: .9; } 100% { transform: translateX(-30px) scaleX(1.4); opacity: 0; } }
.event .wake, .sea-scene.idle .wake { display: none; }
.sea-waves { position: absolute; left: 0; right: 0; bottom: 0; height: 44%; z-index: 3; pointer-events: none; }
.sea-waves .wv { position: absolute; left: 0; width: 200%; height: 100%; animation: waveRun 7s linear infinite; }
.sea-waves .wv0 { bottom: 26%; opacity: .55; animation-duration: 11s; }
.sea-waves .wv1 { bottom: 4%; opacity: .75; animation-duration: 8s; animation-direction: reverse; }
.sea-waves .wv2 { bottom: -22%; animation-duration: 6s; }
.sea-waves path { fill: #1f78c0; }
.sea-waves .wv0 path { fill: #7cc7f2; }
.sea-waves .wv2 path { fill: #0b4f8a; }
.night .sea-waves path { fill: #1A3C41; }
.night .sea-waves .wv0 path { fill: #1d3d66; }
.night .sea-waves .wv2 path { fill: #102427; }
@keyframes waveRun { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.sea-hud { position: absolute; left: 10px; right: 10px; top: 10px; display: flex; justify-content: space-between; gap: 8px; z-index: 4; }
.sea-route, .sea-timer { padding: 6px 11px; border-radius: 14px; font-weight: 800; font-size: 12.5px; background: rgba(3, 16, 28, .55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .14); }
.sea-timer { font-family: var(--f-display); font-variant-numeric: tabular-nums; }
.sea-timer.paused { color: #ffd79a; border-color: rgba(232, 181, 92, .5); animation: pulse 1.6s ease-in-out infinite; }
.sea-track { position: absolute; left: 14px; right: 14px; bottom: 12px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .22); z-index: 4; }
.sea-track i { display: block; height: 100%; border-radius: inherit; background: var(--accent); transition: width 1s linear; }
.night .sea-track i { background: linear-gradient(90deg, #F3D28B, #ff7a4d); }
.sea-track b { position: absolute; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: #12292C; border: 2px solid rgba(255, 255, 255, .6); }
.sea-track b.done { background: #A9E4D0; border-color: #fff; }
.sea-track b.now { background: #E8B55C; border-color: #fff; animation: pulse 1s ease-in-out infinite; }
.sea-scene.event::after { content: ""; position: absolute; inset: 0; background: rgba(3, 16, 28, .28); z-index: 1; pointer-events: none; }
.sea-alert { position: absolute; left: 50%; top: -30px; width: 36px; height: 36px; margin-left: -18px; border-radius: 50%; z-index: 5;
  display: grid; place-items: center; font: 900 21px var(--f-display); color: #3a2300; background: linear-gradient(135deg, #FFE6A0, #E8B55C);
  box-shadow: 0 0 0 0 rgba(232, 181, 92, .7); animation: alertPing 1.4s ease-out infinite; }
@keyframes alertPing { 0% { box-shadow: 0 0 0 0 rgba(232, 181, 92, .7); transform: scale(1); } 40% { transform: scale(1.12); } 100% { box-shadow: 0 0 0 26px rgba(232, 181, 92, 0); transform: scale(1); } }

/* отплытие */
.departure { width: min(360px, calc(100vw - 32px)); height: 260px; }
.dep-boat { position: absolute; bottom: 16%; left: 6%; width: 130px; z-index: 2; animation: depart 2.3s cubic-bezier(.5, 0, .75, 1) forwards; }
.dep-boat img { width: 100%; display: block; animation: seaBob 1.6s ease-in-out infinite; }
@keyframes depart { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(240px, -60px) scale(.25); opacity: .2; } }
.dep-title { position: absolute; left: 0; right: 0; top: 16%; text-align: center; z-index: 5; font: 800 22px var(--f-display);
  text-shadow: 0 3px 14px rgba(0, 0, 0, .6); animation: cardPop .6s var(--spring) both; }

/* событие */
.ev-card { margin-top: 12px; border-radius: 24px; overflow: hidden; background: rgba(10, 20, 22, .75); border: 1px solid rgba(232, 181, 92, .45);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .5), 0 0 40px -12px rgba(232, 181, 92, .5); animation: cardPop .6s var(--spring) both; }
.ev-img { height: 170px; background: center / cover no-repeat; }
.ev-body { padding: 14px 14px 4px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.ev-body b { color: var(--ink); }
.ev-body i { color: #cfe6f7; }
.ev-acts { display: flex; gap: 10px; padding: 12px 14px 14px; flex-wrap: wrap; }
.ev-acts .btn { flex: 1 1 40%; }
.ev-result .evr-emo { font-size: 46px; text-align: center; animation: chestPop .7s var(--spring) both; }

/* итоги похода */
.haul { border-radius: 24px; overflow: hidden; background: rgba(10, 20, 22, .6); border: 1px solid var(--stroke-2); padding-bottom: 14px; animation: cardIn .6s var(--ease) both; }
.haul > :not(.haul-head) { margin-left: 14px; margin-right: 14px; }
.haul-head { position: relative; height: 150px; background: center / cover no-repeat; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; }
.hh-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 16, 28, 0) 30%, rgba(3, 16, 28, .92)); }
.hh-title { position: relative; font: 800 20px var(--f-display); }
.hh-sub { position: relative; font-size: 13px; color: var(--ink-2); font-weight: 700; margin-top: 2px; }
.haul-lines { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.haul-lines div + div { margin-top: 3px; }
.haul-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.haul-fish { position: relative; padding: 8px 6px 9px; border-radius: 16px; text-align: center; background: rgba(255, 255, 255, .05);
  border: 1px solid var(--stroke); animation: cardPop .55s var(--spring) both; }
.hf-pic { height: 54px; display: grid; place-items: center; font-size: 30px; }
.hf-pic img { max-width: 100%; max-height: 54px; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .4)); animation: fishBob 3s ease-in-out infinite; }
.hf-n { font-size: 11.5px; font-weight: 800; margin-top: 4px; line-height: 1.2; }
.hf-c { position: absolute; top: 6px; right: 7px; font: 800 12px var(--f-display); color: var(--aqua); }
.hf-v { display: inline-flex; align-items: center; gap: 4px; font: 800 12px var(--f-display); color: var(--gold); margin-top: 3px; }
.haul-total { margin-top: 12px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--ink-2); }
.haul-total b { display: inline-flex; align-items: center; gap: 5px; font: 800 18px var(--f-display); color: var(--ink); }

/* лодки */
.boats { display: grid; gap: 12px; }
.boat-card { display: flex; gap: 12px; align-items: stretch; padding: 10px; border-radius: 22px; background: rgba(10, 20, 22, .6);
  border: 1px solid var(--stroke); animation: cardIn .55s var(--ease) both; }
.boat-card.current { border-color: rgba(169, 228, 208, .55); box-shadow: 0 0 30px -10px rgba(169, 228, 208, .6); }
.boat-card.locked, .boat-card.worse { opacity: .62; }
.bc-stage { position: relative; flex: none; width: 118px; border-radius: 16px; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(180deg, #7cc7f2 0%, #bfe6fa 52%, #2e86c9 53%, #0b4f8a 100%); }
.bc-stage.night { background: linear-gradient(180deg, #0A181A 0%, #1C4046 52%, #153035 53%, #0A1618 100%); }
.bc-stage img { width: 92%; animation: seaBob 3.4s ease-in-out infinite; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .35)); }
.bc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.bc-name { font-weight: 800; font-size: 15px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.bc-stats { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 12px; color: var(--ink-2); font-weight: 700; margin-top: 4px; }
.bc-lock { margin-top: 8px; font-size: 12.5px; color: var(--muted); font-weight: 700; }
s.old { opacity: .6; font-weight: 700; margin-right: 2px; }

/* улучшения */
.up-boat { position: relative; height: 170px; border-radius: 24px; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(180deg, #5fb8ef 0%, #bfe6fa 55%, #2e86c9 56%, #0b4f8a 100%); border: 1px solid var(--stroke-2); }
.up-boat.night { background: linear-gradient(180deg, #030a1a 0%, #1C4046 55%, #153035 56%, #0A1618 100%); }
.up-boat img { position: relative; z-index: 2; width: 46%; margin-bottom: 30px; animation: seaBob 3.2s ease-in-out infinite; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .4)); }
.up-boat .sea-waves { height: 36%; }
.up-name { position: absolute; left: 12px; top: 10px; z-index: 4; padding: 5px 11px; border-radius: 13px; font-weight: 800; font-size: 13px; background: rgba(3, 16, 28, .55); }
.up-row { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, .045); border: 1px solid var(--stroke); }
.up-emo { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: rgba(255, 255, 255, .07); }
.up-body { flex: 1; min-width: 0; }
.up-t { font-weight: 800; font-size: 14.5px; }
.up-t small { color: var(--muted); font-weight: 700; font-size: 12px; margin-left: 4px; }
.pips { display: flex; gap: 4px; margin: 6px 0 5px; }
.pips i { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .1); }
.pips i.on { background: var(--accent); box-shadow: 0 0 8px rgba(169, 228, 208, .5); }
.up-s { font-size: 12px; color: var(--ink-2); line-height: 1.35; }
.up-s.next { color: var(--muted); }

/* снаряжение и розыск */
.escape-meter { padding: 16px; border-radius: 22px; text-align: center; background: rgba(10, 20, 22, .6); border: 1px solid rgba(243, 210, 139, .3); margin-bottom: 12px; }
.em-k { font-size: 12.5px; color: var(--muted); font-weight: 800; }
.em-v { font: 800 36px var(--f-display); color: var(--gold); margin: 2px 0 8px; animation: lvlNum .6s var(--spring) both; }
.wanted-card { position: relative; padding: 18px 16px 14px; border-radius: 24px; text-align: center; overflow: hidden;
  background: linear-gradient(160deg, #f1ddb0, #d9bf86); color: #3b2610; border: 2px solid #8a6a3a; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); animation: cardPop .6s var(--spring) both; }
.wanted-card::before { content: "Разыскивается"; display: block; font: 800 14px var(--f-display); letter-spacing: .06em; color: #7a1f14; margin-bottom: 4px; }
.wc-k { font-size: 12px; font-weight: 800; opacity: .7; }
.wc-v { font: 800 44px var(--f-display); color: #7a1f14; line-height: 1.05; }
.wanted-card.hot .wc-v { animation: pulse 1.2s ease-in-out infinite; }
.wc-bar { height: 8px; border-radius: 4px; background: rgba(59, 38, 16, .18); overflow: hidden; margin: 10px 0 12px; }
.wc-bar i { display: block; height: 100%; background: linear-gradient(90deg, #d9a300, #c0392b); }
.wc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.wc-grid b { display: inline-flex; gap: 4px; align-items: center; font: 800 14px var(--f-display); }
.wc-grid span { display: block; font-size: 11px; font-weight: 700; opacity: .7; }

/* склад и тайник */
.store-head { padding: 14px; border-radius: 22px; background: rgba(10, 20, 22, .6); border: 1px solid var(--stroke-2); }
.sh-t { font-weight: 800; color: var(--ink-2); font-size: 13px; }
.sh-n { font: 800 28px var(--f-display); margin: 2px 0 8px; }
.sh-n small { font-size: 14px; color: var(--muted); }
.fish-store { animation: cardIn .45s var(--ease) both; }

/* океанариум */
.oc-tanks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.oc-tank { position: relative; height: 140px; border-radius: 20px; overflow: hidden; border: 1px solid rgba(120, 210, 255, .35);
  background: linear-gradient(180deg, #1c7fc0, #0b3f6e 70%, #18373C); animation: cardIn .55s var(--ease) both; cursor: pointer; }
.oc-tank.empty { background: linear-gradient(180deg, rgba(28, 127, 192, .25), rgba(24, 55, 60, .4)); border-style: dashed; }
.oct-water { position: absolute; inset: -20%; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .07) 0 14px, transparent 14px 38px);
  animation: caustic 5s ease-in-out infinite alternate; }
.oct-fish { position: absolute; top: 18%; left: 12%; width: 62%; max-height: 58%; object-fit: contain; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .35));
  animation: tankSwim 9s ease-in-out infinite; }
@keyframes tankSwim { 0%, 100% { transform: translateX(-6%) scaleX(1); } 45% { transform: translateX(24%) scaleX(1); } 50% { transform: translateX(24%) scaleX(-1); }
  95% { transform: translateX(-6%) scaleX(-1); } }
.oct-plus { position: absolute; inset: 0; display: grid; place-items: center; font-size: 34px; color: rgba(255, 255, 255, .55); }
.oct-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px; background: linear-gradient(180deg, transparent, rgba(3, 16, 28, .85)); }
.oct-info b { display: block; font-size: 12.5px; }
.oct-info span { display: inline-flex; gap: 4px; align-items: center; font-size: 11px; color: var(--ink-2); font-weight: 700; }
.oc-income { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.oc-income div { padding: 12px; border-radius: 18px; background: rgba(10, 20, 22, .6); border: 1px solid var(--stroke); text-align: center; }
.oc-income b { display: inline-flex; gap: 5px; align-items: center; font: 800 17px var(--f-display); }
.oc-income span { display: block; font-size: 11.5px; color: var(--muted); font-weight: 700; margin-top: 2px; }
.oc-pic { height: 130px; display: grid; place-items: center; }
.oc-pic img { max-height: 120px; max-width: 80%; object-fit: contain; animation: fishBob 3s ease-in-out infinite; }

/* коптильня */
.sm-racks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sm-rack { position: relative; height: 150px; border-radius: 18px; overflow: hidden; text-align: center; animation: cardIn .55s var(--ease) both;
  background: linear-gradient(180deg, #3a2414, #1d120b); border: 1px solid rgba(232, 181, 92, .25); }
.sm-rack::before { content: ""; position: absolute; left: 10%; right: 10%; top: 16px; height: 4px; border-radius: 2px; background: #6b4526; }
.sm-rack.ready { border-color: rgba(243, 210, 139, .7); box-shadow: 0 0 26px -6px rgba(232, 181, 92, .7); }
.sm-rack.empty { background: rgba(58, 36, 20, .35); border-style: dashed; cursor: pointer; }
.sm-rack img { position: relative; width: 70%; max-height: 70px; object-fit: contain; margin-top: 22px; transform: rotate(90deg);
  filter: sepia(.5) saturate(1.3) brightness(.9) drop-shadow(0 6px 6px rgba(0, 0, 0, .5)); transform-origin: center; }
.sm-rack.ready img { filter: sepia(.9) saturate(1.6) brightness(.85) drop-shadow(0 0 8px rgba(232, 181, 92, .6)); }
.smoke { position: absolute; left: 0; right: 0; bottom: 30px; height: 90px; pointer-events: none; }
.smoke i { position: absolute; bottom: 0; left: 45%; width: 18px; height: 18px; border-radius: 50%; background: rgba(210, 200, 190, .35); filter: blur(4px);
  animation: smoke 3.6s ease-out infinite; }
.smoke i:nth-child(2) { left: 30%; animation-delay: 1.2s; }
.smoke i:nth-child(3) { left: 60%; animation-delay: 2.4s; }
@keyframes smoke { 0% { transform: translateY(0) scale(.6); opacity: 0; } 20% { opacity: .9; } 100% { transform: translateY(-90px) scale(2.2); opacity: 0; } }
.sm-rack.ready .smoke { display: none; }
.smr-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 6px 8px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .75)); }
.smr-info b { display: block; font-size: 11.5px; }
.smr-info span { display: inline-flex; gap: 3px; align-items: center; font-size: 10.5px; color: #ffd79a; font-weight: 700; }

/* ── налёты ────────────────────────────────────────────── */
.ptile.wide { grid-column: span 2; display: flex; align-items: center; gap: 12px; }
.ptile.wide .pt-t { margin-top: 0; }
.raid-tile { background: linear-gradient(135deg, rgba(255, 90, 110, .18), rgba(232, 181, 92, .1)); border-color: rgba(255, 120, 90, .4); }
.raid-tile .pt-emo { animation: pulse 2.4s ease-in-out infinite; }
.raid-status { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.raid-status div { padding: 10px 6px; border-radius: 16px; text-align: center; background: rgba(10, 20, 22, .6); border: 1px solid var(--stroke); }
.raid-status b { display: inline-flex; align-items: center; gap: 4px; font: 800 15px var(--f-display); }
.raid-status span { display: block; font-size: 11px; color: var(--muted); font-weight: 700; margin-top: 2px; }
.targets { display: grid; gap: 10px; }
.target-card { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; border-radius: 20px; cursor: pointer;
  background: linear-gradient(135deg, rgba(15, 33, 35, .85), rgba(30, 20, 30, .7)); border: 1px solid rgba(255, 120, 90, .28);
  animation: cardIn .5s var(--ease) both; transition: transform .2s; }
.target-card:active { transform: scale(.975); }
.tc-boat { flex: none; width: 78px; height: 60px; border-radius: 14px; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(180deg, #0A181A 0%, #1C4046 55%, #153035 56%, #0A1618 100%); }
.tc-boat img { width: 88%; filter: brightness(.8) drop-shadow(0 4px 6px rgba(0, 0, 0, .5)); animation: seaBob 3.4s ease-in-out infinite; }
.tc-body { flex: 1; min-width: 0; }
.tc-t { font-weight: 800; font-size: 14.5px; }
.tc-s { font-size: 12px; color: var(--ink-2); margin-top: 1px; }
.tc-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 11.5px; font-weight: 700; color: var(--muted); margin-top: 5px; }
.tc-hero { height: 120px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 8px;
  background: linear-gradient(180deg, #0A181A 0%, #1C4046 55%, #153035 56%, #0A1618 100%); }
.tc-hero img { width: 44%; filter: brightness(.85) drop-shadow(0 8px 10px rgba(0, 0, 0, .5)); animation: seaBob 3s ease-in-out infinite; }
.approach { margin-top: 14px; display: grid; gap: 4px; }
.ap-desc { font-size: 12px; color: var(--muted); line-height: 1.35; margin: 2px 4px 8px; }

.raid-anim { position: relative; width: min(360px, calc(100vw - 32px)); height: 240px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, #02060f 0%, #112629 55%, #153035 56%, #020c18 100%); border: 1px solid var(--stroke-2); }
.raid-anim .sea-waves path { fill: #1A3C41; }
.raid-anim .sea-waves .wv0 path { fill: #1d3d66; }
.raid-anim .sea-waves .wv2 path { fill: #102427; }
.ra-target, .ra-raider { position: absolute; bottom: 22%; font-size: 44px; z-index: 2; }
.ra-target { right: 6%; width: 120px; animation: seaBob 3s ease-in-out infinite; }
.ra-target img, .ra-raider img { width: 100%; display: block; filter: brightness(.7) saturate(.8) drop-shadow(0 6px 10px rgba(0, 0, 0, .6)); }
.ra-raider { left: -34%; width: 96px; animation: sneak 1.8s cubic-bezier(.3, .1, .3, 1) forwards; }
.ra-raider img { animation: seaBob 1.8s ease-in-out infinite; }
@keyframes sneak { to { left: 34%; } }
.raid-anim.caught .ra-raider { animation: sneak 1.1s ease-out forwards, shake .3s 1.1s 3; }
.raid-anim.caught::before { content: ""; position: absolute; inset: 0; z-index: 3; animation: siren .5s steps(2) infinite; }
@keyframes siren { 0% { background: rgba(255, 40, 60, .22); } 100% { background: rgba(40, 110, 255, .22); } }
.ra-title { position: absolute; left: 0; right: 0; top: 18%; text-align: center; z-index: 5; font: 800 21px var(--f-display);
  text-shadow: 0 3px 14px rgba(0, 0, 0, .7); animation: cardPop .6s var(--spring) .3s both; }
.raid-result.bad { box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 80px -20px rgba(255, 90, 110, .6);
  background: radial-gradient(120% 90% at 50% 0%, #5a1f2c, #1a0d18 60%); }
.rr-img { position: relative; height: 150px; margin: -24px -20px 12px; background: center / cover no-repeat; }
.rr-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, #12292C); }
.raid-result.bad .rr-img::after { background: linear-gradient(180deg, transparent 50%, #1a0d18); }
.rr-fish { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.rr-f { width: 82px; padding: 6px; border-radius: 14px; background: rgba(255, 255, 255, .07); animation: chestPop .6s var(--spring) both; }
.rr-f:nth-child(2) { animation-delay: .12s; } .rr-f:nth-child(3) { animation-delay: .24s; } .rr-f:nth-child(4) { animation-delay: .36s; }
.rr-f img { width: 100%; height: 40px; object-fit: contain; }
.rr-f b { display: block; font: 800 13px var(--f-display); color: var(--gold); }
.rr-f span { display: block; font-size: 10.5px; color: var(--ink-2); font-weight: 700; }
.rr-wanted { color: #ffb4a0 !important; font-weight: 800; }

.journal-row { padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, .045); border: 1px solid var(--stroke); animation: cardIn .45s var(--ease) both; }
.journal-row.caught, .journal-row.defended { border-color: rgba(156, 203, 232, .3); }
.jr-text { font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.jr-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* рыбопедия: корона «Хозяина» и ссылка на рекордсмена */
.dex-cell { position: relative; }
.dex-crown { position: absolute; top: 3px; right: 4px; font-size: 13px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .6)); animation: pulse 2.4s ease-in-out infinite; }
.dex-holder { color: var(--aqua); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* удочка чемпиона сезона */
.champion-banner { display: flex; align-items: center; gap: 12px; width: 100%; margin: 10px 0 0; padding: 12px 14px; border-radius: 20px; text-align: left; color: var(--ink);
  background: linear-gradient(135deg, rgba(243, 210, 139, .22), rgba(255, 140, 46, .12)); border: 1px solid rgba(243, 210, 139, .55); box-shadow: 0 0 30px -10px rgba(255, 190, 60, .7); animation: cardIn .5s var(--ease) both; }
.champion-banner b { display: block; font-size: 14.5px; }
.champion-banner small { font-size: 12px; color: var(--ink-2); font-weight: 700; }
.champion-banner .cb-emo { font-size: 28px; animation: pulse 2s ease-in-out infinite; }

/* место Гавани, где ждёт поход */
.place.alert { box-shadow: 0 0 0 2px rgba(232, 181, 92, .75), 0 0 34px -6px rgba(232, 181, 92, .75); }
.place-alert { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; z-index: 3;
  display: grid; place-items: center; font: 900 15px var(--f-display); color: #3a2300; background: linear-gradient(135deg, #FFE6A0, #E8B55C);
  animation: alertPing 1.4s ease-out infinite; }

/* «Поддержать проект» (30.09.2026): причина на плитке закрытой покупки (замок — уровень, галочка — уже есть),
   строки карточки покупки, документы у кнопок оплаты, окно заказа, пока ждём оплату; «Документы»: помощь с оплатой;
   автоловля: итог прошлой — заголовок над текстом */
.don-tile.blocked.don-lock .don-price { background: rgba(255, 255, 255, .09); color: rgba(246, 243, 236, .74); }
.don-info { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 14px; font-size: 13px; font-weight: 600; line-height: 1.4;
  color: rgba(246, 243, 236, .86); background: rgba(243, 210, 139, .08); border: 1px solid rgba(243, 210, 139, .28); }
.don-info svg { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--accent); }
.don-docs { margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 6px; }
.don-docs button { padding: 4px 2px; font-size: 15px; color: rgba(246, 243, 236, .78); text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: rgba(246, 243, 236, .3); }
.don-docs i { font-style: normal; color: rgba(246, 243, 236, .4); }
.don-wait { margin: -6px 0 14px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12.5px; font-weight: 700;
  color: rgba(246, 243, 236, .7); }
.don-wait .loader-dots { padding: 0; gap: 4px; }
.don-wait .loader-dots i { width: 6px; height: 6px; }
.confirm-acts .don-one { grid-column: 1 / -1; }
.doc-help { display: flex; flex-direction: column; gap: 2px; }
.doc-help .tp-card-k { display: inline-flex; align-items: center; gap: 6px; }
.af-last { display: flex; flex-direction: column; gap: 2px; }
