/* 钓鱼小游戏样式：半 3D 分层钓场 + 商店 / 图鉴 / 组队 · 鱼水竿动画 */
.fish-page { padding: 10px 12px 26px; max-width: 560px; margin: 0 auto; }

.fish-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.fish-title { font-weight: 800; font-size: 17px; flex: 1; }
.fish-coins { font-size: 13px; background: rgba(255, 220, 140, .16); border: 1px solid rgba(255, 220, 140, .4);
  border-radius: 12px; padding: 5px 10px; color: #ffd98a; }
.fish-coins b { color: #ffe9b8; }

/* ---------- 顶部页签 ---------- */
.fish-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; padding-bottom: 0; }
.fish-tab { flex: 1 1 calc(33.333% - 6px); text-align: center; border: 1px solid #d3deec; background: #ffffff; color: #2f3a50;
  border-radius: 12px; padding: 9px 8px; font-size: 13px; white-space: nowrap; cursor: pointer; }
.fish-tab.on { background: linear-gradient(135deg,#ffd98a,#ffb86b); color: #3a2606; border-color: transparent; font-weight: 800; }

/* ---------- 半 3D 钓场 ---------- */
.fish-scene { position: relative; height: 258px; border-radius: 18px; overflow: hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.12);
  touch-action: none; }

.fs-sky { position: absolute; inset: 0 0 55% 0; background: linear-gradient(180deg,#bfe6ff,#e8f6ff 70%,#d7eef7); }
.fs-sun { position: absolute; right: 12%; top: 14%; width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle,#fff6cf,#ffd96b); box-shadow: 0 0 22px rgba(255,220,120,.7);
  animation: sunPulse 4s ease-in-out infinite; }
@keyframes sunPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.fs-cloud { position: absolute; height: 14px; border-radius: 10px; background: rgba(255,255,255,.85);
  animation: cloudDrift linear infinite; }
.fs-cloud::before, .fs-cloud::after { content: ""; position: absolute; background: inherit; border-radius: 50%; }
.fs-cloud.c1 { width: 56px; top: 18%; left: -10%; animation-duration: 26s; }
.fs-cloud.c1::before { width: 22px; height: 22px; top: -10px; left: 10px; }
.fs-cloud.c1::after { width: 16px; height: 16px; top: -6px; right: 10px; }
.fs-cloud.c2 { width: 40px; top: 34%; left: -8%; animation-duration: 34s; animation-delay: -12s; }
.fs-cloud.c2::before { width: 16px; height: 16px; top: -8px; left: 8px; }
@keyframes cloudDrift { from { transform: translateX(0); } to { transform: translateX(360px); } }

.fs-hills { position: absolute; left: -6%; right: -6%; top: 34%; height: 26%;
  background: radial-gradient(ellipse 60% 100% at 30% 100%, #9cc98a, transparent 70%),
              radial-gradient(ellipse 55% 100% at 75% 100%, #8fb97e, transparent 70%);
  opacity: .8; }

/* 水面 */
.fs-water { position: absolute; left: 0; right: 0; top: 52%; bottom: 0;
  background: linear-gradient(180deg,#6fb7d6,#3f86b8 60%,#2f6f9e); overflow: hidden; }
/* 水流斜纹层 */
.fs-flow { position: absolute; inset: -20% -10%;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.06) 0 14px, transparent 14px 30px);
  animation: flowMove 7s linear infinite; }
@keyframes flowMove { from { transform: translateX(-30px); } to { transform: translateX(30px); } }
/* 波光高光 */
.fs-sparkle { position: absolute; height: 3px; border-radius: 3px; background: rgba(255,255,255,.55);
  filter: blur(.4px); animation: sparkle 3s ease-in-out infinite; }
.fs-sparkle.s1 { width: 42px; top: 22%; left: 18%; }
.fs-sparkle.s2 { width: 30px; top: 46%; left: 56%; animation-delay: 1s; }
.fs-sparkle.s3 { width: 24px; top: 66%; left: 30%; animation-delay: 2s; }
@keyframes sparkle { 0%,100% { opacity: .15; transform: scaleX(.7); } 50% { opacity: .75; transform: scaleX(1.15); } }

/* 涟漪 */
.fs-ripple { position: absolute; left: 50%; top: 38%; width: 120px; height: 34%;
  border: 2px solid rgba(255,255,255,.35); border-radius: 50%; transform: translate(-50%,-50%) scale(.4);
  opacity: 0; }
.fs-ripple.r1 { animation: ripple 3.4s ease-out infinite; }
.fs-ripple.r2 { animation: ripple 3.4s ease-out infinite 1.1s; }
.fs-ripple.r3 { animation: ripple 3.4s ease-out infinite 2.2s; }
@keyframes ripple { 0% { transform: translate(-50%,-50%) scale(.3); opacity: .7; } 100% { transform: translate(-50%,-50%) scale(1.3); opacity: 0; } }

/* 水下游鱼 */
.fs-swim { position: absolute; inset: 0; overflow: hidden; }
.fs-fish { position: absolute; opacity: .82; will-change: transform; }
.fs-fish.f1 { top: 34%; animation: swimLTR 7s ease-in-out infinite; }
.fs-fish.f2 { top: 58%; animation: swimRTL 9s ease-in-out infinite; animation-delay: 2s; }
.fs-fish.f3 { top: 72%; animation: swimLTR 6s ease-in-out infinite; animation-delay: 4s; }
@keyframes swimLTR {
  0% { left: -12%; transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-6px) rotate(4deg); }
  50% { transform: translateY(2px) rotate(0deg); }
  75% { transform: translateY(-5px) rotate(-4deg); }
  100% { left: 108%; transform: translateY(0) rotate(0deg); }
}
@keyframes swimRTL {
  0% { left: 108%; transform: translateY(0) scaleX(-1) rotate(0deg); }
  25% { transform: translateY(-5px) scaleX(-1) rotate(4deg); }
  50% { transform: translateY(2px) scaleX(-1) rotate(0deg); }
  75% { transform: translateY(-4px) scaleX(-1) rotate(-4deg); }
  100% { left: -12%; transform: translateY(0) scaleX(-1) rotate(0deg); }
}
/* 咬钩时目标鱼靠近浮漂 */
.fish-scene[data-phase="bite"] .fs-fish.f1 { top: 30%; animation: targetNear 1.2s ease-in-out infinite; }
@keyframes targetNear {
  0%,100% { left: 40%; transform: translateY(0) rotate(-6deg); }
  50% { left: 47%; transform: translateY(4px) rotate(6deg); }
}

/* 浮漂 */
.fs-float { position: absolute; left: 46%; top: 40%; width: 16px; height: 22px; z-index: 5;
  transform: translate(-50%,-50%); }
.fs-float-body { width: 100%; height: 100%; border-radius: 8px 8px 6px 6px; position: relative;
  background: linear-gradient(180deg,#ff6b6b 55%,#f4f4f4 55%); box-shadow: 0 3px 6px rgba(0,0,0,.3); }
.fs-float-body::before { content:""; position:absolute; left:50%; top:-7px; width:3px; height:9px;
  background:#ff6b6b; border-radius:2px; transform:translateX(-50%); }
.fs-float-body::after { content:""; position:absolute; left:50%; bottom:-5px; width:2px; height:7px;
  background:#8a6a3a; border-radius:2px; transform:translateX(-50%); }
.fs-float.wait .fs-float-body { animation: floatBob 1.6s ease-in-out infinite; }
.fs-float.bite .fs-float-body { animation: floatBite .5s ease-in-out infinite;
  background: linear-gradient(180deg,#ffd35c 55%,#fff 55%); }
@keyframes floatBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes floatBite {
  0%,100% { transform: translateY(0); }
  18% { transform: translateY(-8px); }
  42% { transform: translateY(9px); }
  66% { transform: translateY(-5px); }
  88% { transform: translateY(6px); }
}

.fish-scene[data-phase="casting"] .fs-float { opacity: 0; }
.fish-scene[data-phase="waiting"] .fs-float,
.fish-scene[data-phase="bite"] .fs-float { opacity: 1; }
/* 常驻鱼线：竿梢 → 水面鱼漂 */
.fs-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4;
  pointer-events: none; opacity: 0; }
.fs-trace { stroke: rgba(255,255,255,.72); stroke-width: .55; stroke-linecap: round; }
.fish-scene[data-phase="waiting"] .fs-lines,
.fish-scene[data-phase="bite"] .fs-lines { opacity: 1; }
.fs-cast-line { position: absolute; right: 15%; top: 16%; width: 2px; height: 42%; z-index: 4;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.85));
  border-radius: 2px; opacity: 0; transform-origin: top center; }
.fish-scene[data-phase="casting"] .fs-cast-line { animation: castLine .38s ease-out; }
@keyframes castLine {
  0% { opacity: 0; transform: rotate(16deg) scaleY(.3); }
  30% { opacity: .9; transform: rotate(36deg) scaleY(1); }
  100% { opacity: 0; transform: rotate(56deg) scaleY(1); }
}
/* 抛竿：飞行漂（竿尖 → 水面落点） */
.fs-fly-float { position: absolute; right: 15%; top: 16%; width: 16px; height: 22px; z-index: 6;
  opacity: 0; transform: translate(-50%,-50%); }
.fly-float-body { width: 100%; height: 100%; border-radius: 8px 8px 6px 6px;
  background: linear-gradient(180deg,#ff6b6b 55%,#f4f4f4 55%); }
.fish-scene[data-phase="casting"] .fs-fly-float { animation: flyFloat .38s ease-out forwards; }
@keyframes flyFloat {
  0% { opacity: 0; right: 15%; top: 16%; transform: translate(-50%,-50%) rotate(-18deg); }
  20% { opacity: 1; }
  55% { right: 32%; top: 26%; transform: translate(-50%,-50%) rotate(22deg); }
  100% { opacity: 0; right: 46%; top: 47%; transform: translate(-50%,-50%) rotate(0); }
}
/* 落水涟漪 */
.fs-splash { position: absolute; left: 46%; top: 47%; width: 36px; height: 13px; z-index: 4; opacity: 0;
  border: 2px solid rgba(255,255,255,.7); border-radius: 50%;
  transform: translate(-50%,-50%) scale(.3); }
.fish-scene[data-phase="casting"] .fs-splash { animation: splash .5s ease-out .26s forwards; }
@keyframes splash {
  0% { opacity: .85; transform: translate(-50%,-50%) scale(.3); }
  100% { opacity: 0; transform: translate(-50%,-50%) scale(1.7); }
}

/* 鱼跃出水面（上鱼 / 脱钩） */
.fs-fishjump { position: absolute; left: 46%; top: 30%; font-size: 34px; z-index: 6; opacity: 0;
  transform: translate(-50%,-50%); }
.fs-fishjump.show { animation: fishJump .8s ease-out; }
.fs-fishjump.escape { animation: fishEscape .6s ease-out; }
@keyframes fishJump {
  0% { opacity: 0; transform: translate(-50%,20%) rotate(0); }
  25% { opacity: 1; transform: translate(-50%,-70%) rotate(-14deg); }
  55% { transform: translate(-50%,-40%) rotate(10deg); }
  80% { opacity: 1; transform: translate(-50%,-10%) rotate(-8deg); }
  100% { opacity: 0; transform: translate(-50%,14%) rotate(8deg); }
}
@keyframes fishEscape {
  0% { opacity: 1; transform: translate(-50%,-10%) rotate(0); }
  100% { opacity: 0; transform: translate(-50%,60%) rotate(20deg); }
}

.fs-bank { position: absolute; left: 0; right: 0; bottom: 0; height: 22%;
  background: linear-gradient(180deg,#7cbf6a,#579a4c); border-top: 2px solid rgba(255,255,255,.18); z-index: 3; }

/* 鱼竿 */
.fs-rod { position: absolute; right: 12%; bottom: 12%; width: 6px; height: 46%;
  background: linear-gradient(180deg,#8a5a2b,#5e3a18); border-radius: 6px; z-index: 4;
  transform-origin: bottom center; transform: rotate(-24deg); transition: transform .35s ease; }
.fs-rod-line { position: absolute; left: 50%; top: 0; width: 1px; height: 170%;
  background: rgba(255,255,255,.6); transform: translateX(-50%) rotate(10deg); transform-origin: top center; }
/* 待命微晃 */
.fish-scene[data-phase="idle"] .fs-rod { animation: rodIdle 3.2s ease-in-out infinite; }
@keyframes rodIdle { 0%,100% { transform: rotate(-22deg); } 50% { transform: rotate(-26deg); } }
/* 抛竿扬竿 */
.fish-scene[data-phase="casting"] .fs-rod { animation: rodCast .38s ease-out; }
@keyframes rodCast {
  0% { transform: rotate(-18deg); }
  45% { transform: rotate(-52deg); }
  100% { transform: rotate(-12deg); }
}
/* 等鱼斜立 */
.fish-scene[data-phase="waiting"] .fs-rod { transform: rotate(-30deg); }
/* 咬钩压弯颤抖 */
.fish-scene[data-phase="bite"] .fs-rod { animation: rodBite .5s ease-in-out infinite; }
@keyframes rodBite {
  0%,100% { transform: rotate(-16deg); }
  50% { transform: rotate(-21deg); }
}
/* 收鱼上扬 */
.fish-scene[data-phase="reeling"] .fs-rod { animation: rodSet .6s ease-out; }
@keyframes rodSet {
  0% { transform: rotate(-16deg); }
  50% { transform: rotate(-44deg); }
  100% { transform: rotate(-34deg); }
}

/* 拉扯 QTE 面板 */
.fs-qte { position: absolute; left: 12%; right: 12%; bottom: 14%; z-index: 8;
  background: rgba(8,28,28,.6); border: 1px solid rgba(255,255,255,.18); border-radius: 12px;
  padding: 10px 12px; opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease; }
.fs-qte.on { opacity: 1; transform: translateY(0); }
.qte-track { position: relative; height: 16px; border-radius: 10px; background: rgba(255,255,255,.12); overflow: hidden; }
.qte-safe { position: absolute; left: 30%; width: 40%; top: 0; bottom: 0; background: rgba(120,227,140,.28); }
.qte-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 45%; background: linear-gradient(90deg,#4fc3ff,#7fe3ff); }
.qte-mark { position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 8px rgba(255,255,255,.8); transform: translate(-50%,-50%); }
.qte-hint { margin-top: 7px; font-size: 11px; color: #dcefe0; text-align: center; }

.fs-status { position: absolute; left: 12px; top: 12px; z-index: 9; max-width: 70%;
  background: rgba(8,28,28,.62); border: 1px solid rgba(255,255,255,.18); border-radius: 10px;
  padding: 6px 10px; font-size: 12px; color: #eaf6ec; }

/* 场景配色变体 */
.env-night .fs-sky { background: linear-gradient(180deg,#3b3f78,#6a6fa8 70%,#8a8fc0); }
.env-night .fs-water { background: linear-gradient(180deg,#4a518f,#333a6e 60%,#262c56); }
.env-ice .fs-sky { background: linear-gradient(180deg,#dceefb,#f2f9ff 70%,#e3f0f8); }
.env-ice .fs-water { background: linear-gradient(180deg,#bcd9ec,#9cc3dd 60%,#7faecc); }
.env-sea .fs-water { background: linear-gradient(180deg,#4f93c9,#2f6fa8 60%,#1f5888); }

/* 池塘：浅绿缓水、草地缓坡 */
.env-pond .fs-water { background: linear-gradient(180deg,#7fc9a0,#5aa88a 60%,#468a70); }
.env-pond .fs-hills { background: radial-gradient(ellipse 60% 100% at 30% 100%, #a9d69a, transparent 70%),
              radial-gradient(ellipse 55% 100% at 75% 100%, #95c788, transparent 70%); }
/* 溪流：青绿急流 */
.env-river .fs-sky { background: linear-gradient(180deg,#cdeeff,#eef9ff 70%,#d9f0f7); }
.env-river .fs-water { background: linear-gradient(180deg,#6fc2c9,#4da8b2 60%,#3a8d98); }
/* 湖泊：深蓝缓水、远山 */
.env-lake .fs-sky { background: linear-gradient(180deg,#c3d8ee,#e6f0f9 70%,#d3e3ef); }
.env-lake .fs-water { background: linear-gradient(180deg,#5a93c9,#3f78ad 60%,#2f5f8f); }
.env-lake .fs-hills { background: radial-gradient(ellipse 60% 100% at 30% 100%, #9db8d2, transparent 70%),
              radial-gradient(ellipse 55% 100% at 75% 100%, #8aa8c6, transparent 70%); }
/* 大海：深蓝、深色礁石 */
.env-sea .fs-hills { background: radial-gradient(ellipse 55% 100% at 18% 100%, #5a6a72, transparent 70%),
              radial-gradient(ellipse 50% 100% at 82% 100%, #4d5d66, transparent 70%); }
/* 夜钓：月亮替代太阳，云变暗 */
.env-night .fs-sun { background: radial-gradient(circle,#f4f1ff,#cfcbe8); box-shadow: 0 0 20px rgba(200,195,240,.6); }
.env-night .fs-cloud { background: rgba(180,184,220,.5); }
/* 冰湖：白色冰岸 */
.env-ice .fs-bank { background: linear-gradient(180deg,#eef7fc,#dceef7); border-top-color: rgba(255,255,255,.5); }

/* ---------- 钓点选择 ---------- */
.fish-spots { display: flex; gap: 8px; overflow-x: auto; margin: 10px 0; padding-bottom: 2px; }
.fish-spot { flex: 0 0 152px; border: 1px solid #e3ecf6; background: #fff; border-radius: 14px;
  padding: 10px; text-align: left; cursor: pointer; border-left: 3px solid var(--c,#7fc98a); }
.fish-spot.on { background: #fff4e0; border-color: #ffd98a; }
.fish-spot.lock { opacity: .55; }
.fs-name { display: block; font-weight: 700; font-size: 13px; color: #1e2433; }
.fs-desc { display: block; font-size: 11px; color: #5a6678; margin-top: 3px; line-height: 1.35; }

/* ---------- 当前渔具 ---------- */
.fish-gear-row { display: flex; gap: 8px; margin-bottom: 12px; }
.fg-item { flex: 1; display: flex; align-items: center; gap: 6px; background: #fff;
  border: 1px solid #e3ecf6; border-radius: 12px; padding: 8px; }
.fg-ic { font-size: 16px; }
.fg-nm { font-size: 12px; color: #2f3a50; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 操作按钮 ---------- */
.cast-bar{position:relative;height:14px;border-radius:8px;background:rgba(255,255,255,.12);overflow:hidden;margin:2px 0 10px}
.cast-fill{height:100%;width:30%;border-radius:8px;background:linear-gradient(90deg,#7fe3a0 0%,#ffd35c 55%,#ff7a7a 100%);transition:width .05s linear}
.cast-num{position:absolute;right:8px;top:50%;transform:translateY(-50%);font-size:10px;color:#fff;font-weight:800;text-shadow:0 1px 2px rgba(0,0,0,.4)}
.fish-actions { display: flex; gap: 10px; justify-content: center; margin: 4px 0 10px; flex-wrap: wrap; }
.fish-cast-btn { min-width: 160px; --charge: .3; color: #3a2606; font-weight: 800;
  background: linear-gradient(90deg,#ffd98a var(--charge), rgba(255,255,255,.14) var(--charge));
  border: 1px solid rgba(255,220,140,.5); }
.fish-reel-btn { min-width: 140px; background: linear-gradient(135deg,#ff8a9a,#e6355f); color: #fff; font-weight: 800;
  animation: reelPulse .8s ease-in-out infinite; }
.fish-land-btn { min-width: 120px; background: linear-gradient(135deg,#7fe3a0,#3fbf72); color: #073018; font-weight: 800; }
@keyframes reelPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.fish-hint { text-align: center; font-size: 12px; line-height: 1.5; }

/* ---------- 商店 ---------- */
.shop-coins { font-size: 14px; margin-bottom: 12px; background: #fff4e0; border: 1px solid #ffd98a; border-radius: 12px; padding: 10px 12px; color: #8a5a18; }
.shop-group { margin-bottom: 16px; }
.sg-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.sg-label { font-weight: 800; font-size: 14px; color: #1e2433; }
.sg-cur { font-size: 11px; color: #5a6678; }
.shop-list { display: flex; flex-direction: column; gap: 8px; }
.shop-item { display: flex; align-items: center; gap: 10px; background: #fff;
  border: 1px solid #e3ecf6; border-radius: 14px; padding: 10px; }
.shop-item.owned { border-color: #ffd98a; }
.si-art { font-size: 26px; width: 38px; text-align: center; }
.si-info { flex: 1; min-width: 0; }
.si-name { font-weight: 700; font-size: 13px; color: #1e2433; }
.si-tag { font-size: 10px; color: #8a5a18; background: #fff1d6; border-radius: 6px; padding: 1px 6px; margin-left: 4px; }
.si-desc { font-size: 11px; color: #5a6678; margin-top: 2px; }
.si-eff { font-size: 11px; color: #2f7fb5; margin-top: 2px; }
.si-act { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.si-cost { font-size: 10px; color: #7a8494; }

/* ---------- 图鉴 ---------- */
.col-summary { font-size: 13px; margin-bottom: 12px; color: #2f3a50; }
.col-summary b { color: #b5791a; }
.col-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.fish-species { background: #fff; border: 1px solid #e3ecf6; border-radius: 14px;
  padding: 10px 8px; text-align: center; cursor: pointer; }
.fish-species.locked { opacity: .55; cursor: default; }
.fs-art { margin: 0 auto; }
.fish-species .fs-name { margin-top: 4px; font-size: 12px; }
.fish-species .fs-rarity { font-size: 10px; margin-top: 2px; }
.fish-species .fs-count { font-size: 10px; margin-top: 2px; color: #5a6678; }

/* ---------- 通用输入框 ---------- */
.inp { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 10px;
  padding: 9px 11px; color: #eef5ee; font-size: 13px; }
.inp::placeholder { color: #9db8ad; }

/* ---------- 组队 ---------- */
.party-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 14px; }
.pc-head { display: flex; justify-content: space-between; font-weight: 800; margin-bottom: 10px; }
.pc-size { color: #ffd98a; }
.party-members { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.party-member { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.07); border-radius: 12px; padding: 10px; }
.pm-ic { font-size: 18px; }
.party-empty { margin-bottom: 10px; line-height: 1.5; }
.pc-bonus { margin-bottom: 12px; }
.pc-actions { margin-bottom: 10px; }
.pc-join { display: flex; gap: 8px; }
.pc-join .inp { flex: 1; }

/* ---------- 鱼获弹窗 ---------- */
.catch-pop { text-align: center; padding: 10px 6px; }
.cp-art { line-height: 1; animation: cpPop .5s ease-out; }
@keyframes cpPop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.15); } 100% { transform: scale(1); opacity: 1; } }
.cp-name { font-weight: 800; font-size: 20px; margin-top: 6px; }
.cp-rarity { font-size: 13px; font-weight: 700; margin-top: 2px; }
.cp-weight { font-size: 15px; margin-top: 8px; }
.cp-coins { font-size: 14px; color: #ffd98a; margin-top: 4px; }
.cp-trophy { font-size: 13px; color: #ffe9b8; margin-top: 6px; }
.cp-desc { margin: 8px 0 14px; line-height: 1.5; }

/* ---------- 鱼获处置按钮 ---------- */
.catch-acts { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.cp-art.big { }

/* ---------- 鱼塘 ---------- */
.pond-head { font-weight: 800; margin: 4px 0 10px; }
.pond-empty { font-size: 13px; line-height: 1.6; }
/* 长鱼缸（可横向滚动浏览） */
.pond-tank { position: relative; margin-bottom: 14px; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.15); background: linear-gradient(180deg,#3f8fc7,#2b6ea3); }
.tank-inner { position: relative; height: 168px; min-width: 100%; }
.tank-water { position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.07) 0 8px, transparent 8px 18px);
  animation: pondFlow 6s linear infinite; }
.tank-inner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26px;
  background: linear-gradient(180deg, rgba(214,196,150,0), rgba(206,186,138,.55)); }
@keyframes pondFlow { to { transform: translateX(40px); } }

/* 上浮气泡 */
.tank-bubbles { position: absolute; inset: 0; }
.tb { position: absolute; bottom: 18px; width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.9), rgba(255,255,255,.25));
  animation: bubbleUp linear infinite; opacity: 0; }
.tb-1 { left: 12%; animation-duration: 5s; animation-delay: 0s; }
.tb-2 { left: 26%; animation-duration: 6.5s; animation-delay: 1.6s; }
.tb-3 { left: 44%; animation-duration: 5.6s; animation-delay: .8s; }
.tb-4 { left: 61%; animation-duration: 7s; animation-delay: 2.4s; }
.tb-5 { left: 78%; animation-duration: 5.2s; animation-delay: .4s; }
.tb-6 { left: 90%; animation-duration: 6.2s; animation-delay: 1.9s; }
@keyframes bubbleUp {
  0% { transform: translateY(0) scale(.7); opacity: 0; }
  12% { opacity: .8; }
  100% { transform: translateY(-150px) scale(1.1); opacity: 0; }
}

/* 水底装饰：水草 / 珊瑚 / 植物 / 石头贝壳 */
.tank-decor { position: absolute; inset: 0; }
.td { position: absolute; bottom: 18px; transform: translateX(-50%); }
.td-art { font-size: 30px; line-height: 1; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
.td-plant .td-art { transform-origin: bottom center; animation: sway 3.6s ease-in-out infinite; }
.td-rock .td-art { font-size: 24px; }
.td-shell .td-art { font-size: 22px; }
.td-bubble .td-art { font-size: 22px; }
.td-wood .td-art { font-size: 24px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); }
.td-anemone .td-art { font-size: 24px; transform-origin: bottom center; animation: sway 4.4s ease-in-out infinite; }
.td-sand .td-art { font-size: 22px; }
@keyframes sway {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(6deg); }
}

/* 鱼群游动 */
.tank-swim { position: absolute; inset: 0; }
.tank-fish { position: absolute; }
.tank-fish .fa { filter: drop-shadow(0 3px 4px rgba(0,0,0,.25)); }
.pf-1 { top: 16%; animation: tankSwim 10s ease-in-out infinite; }
.pf-2 { top: 40%; animation: tankSwim 14s ease-in-out -4s infinite; }
.pf-3 { top: 28%; animation: tankSwim 19s ease-in-out -8s infinite; }
.pf-4 { top: 58%; animation: tankSwim 24s ease-in-out -12s infinite; }
.pf-5 { top: 70%; animation: tankSwim 29s ease-in-out -16s infinite; }
@keyframes tankSwim {
  0% { left: -12%; transform: scaleX(1) translateY(0); }
  25% { transform: scaleX(1) translateY(-8px); }
  50% { left: 78%; transform: scaleX(-1) translateY(4px); }
  75% { transform: scaleX(-1) translateY(-6px); }
  100% { left: -12%; transform: scaleX(1) translateY(0); }
}
.pond-list { display: flex; flex-direction: column; gap: 10px; }
.pond-item { display: flex; flex-direction: column; gap: 10px; background: #fff;
  border: 1px solid #e3ecf6; border-radius: 14px; padding: 12px; }
.pi-main { display: flex; align-items: center; gap: 12px; }
.pi-art { flex: 0 0 auto; }
.pi-info { flex: 1; min-width: 0; }
.pi-name-row { display: flex; align-items: baseline; gap: 6px; }
.pi-name { font-weight: 800; font-size: 15px; color: #1e2433; white-space: nowrap; }
.pi-count { color: #5a6678; font-size: 12px; white-space: nowrap; }
.pi-rarity { font-size: 11px; font-weight: 700; margin-top: 2px; white-space: nowrap; }
.pi-desc { font-size: 11px; color: #5a6678; margin-top: 3px; }
.pi-stats, .pond-stats { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.pi-stat { display: inline-flex; align-items: center; gap: 4px; background: #f2f7fc;
  border-radius: 9px; padding: 4px 9px; font-size: 11px; color: #33405a; white-space: nowrap; }
.pi-stat b { color: #1e2433; }
.pi-sub { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.pi-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pi-pref { font-size: 11px; color: #5a6678; white-space: nowrap; }
.pi-health { font-size: 11px; font-weight: 700; white-space: nowrap; }
.pi-act { display: flex; flex-direction: row; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.hv-healthy { color: #2e9e57; }
.hv-weak { color: #e08a1e; }
.hv-sick { color: #e5484d; }
.tank-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: #fff; border: 1px solid #e3ecf6; border-radius: 14px; padding: 10px 12px; margin-bottom: 10px; }
.tank-info { display: flex; flex-direction: column; gap: 2px; }
.tank-lv { font-weight: 800; font-size: 13px; color: #1e2433; }
.tank-cap { font-size: 11px; color: #5a6678; }
.tank-pts { font-size: 11px; font-weight: 700; color: #b8860b; }
.tank-max { font-size: 12px; font-weight: 700; color: #2e9e57; }
.pond-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pond-head-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.catch-acts { display: flex; gap: 8px; margin-top: 10px; }
.catch-acts .btn { flex: 1; }
.decor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0; }
.decor-cell { position: relative; background: #f2f7fc; border: 1.5px solid #dbe7f2; border-radius: 12px;
  padding: 10px 4px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.decor-cell.on { background: #e7f6ec; border-color: #7bc99a; }
.dc-art { font-size: 24px; }
.dc-name { font-size: 11px; color: #33405a; }
.dc-check { position: absolute; top: 4px; right: 5px; color: #2e9e57; font-weight: 800; font-size: 12px; }
.decor-cell.locked { background: #fbf6ea; border-color: #ecd9ad; }
.dc-price { font-size: 10px; font-weight: 700; color: #b8860b; }
.decor-bait-line { margin: 8px 0; font-size: 12px; color: #5a6678; text-align: center; }
.decor-tip { margin: 6px 0; }

/* ---------- 图鉴鱼放大观赏 ---------- */
.swim { display: inline-block; animation: fishSwim 1.8s ease-in-out infinite; }
@keyframes fishSwim {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-6px) rotate(2deg); }
}

/* ---------- 参数化鱼立绘 ---------- */
.fa { display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
.fa-svg { width: 100%; height: auto; display: block; }

/* 按稀有度分档：越好（稀有度越高）的鱼立绘越大 */
/* 图鉴卡片 */
.fs-art .fa.sz-common { width: 50px; }
.fs-art .fa.sz-rare { width: 56px; }
.fs-art .fa.sz-epic { width: 63px; }
.fs-art .fa.sz-legend { width: 69px; }
.fs-art .fa.sz-boss { width: 78px; }
/* 鱼塘列表 */
.pi-art .fa.sz-common { width: 52px; }
.pi-art .fa.sz-rare { width: 58px; }
.pi-art .fa.sz-epic { width: 65px; }
.pi-art .fa.sz-legend { width: 72px; }
.pi-art .fa.sz-boss { width: 81px; }
/* 钓获弹窗 */
.cp-art .fa.sz-common { width: 96px; }
.cp-art .fa.sz-rare { width: 108px; }
.cp-art .fa.sz-epic { width: 120px; }
.cp-art .fa.sz-legend { width: 132px; }
.cp-art .fa.sz-boss { width: 149px; }
.cp-art.big .fa.sz-common { width: 112px; }
.cp-art.big .fa.sz-rare { width: 125px; }
.cp-art.big .fa.sz-epic { width: 140px; }
.cp-art.big .fa.sz-legend { width: 155px; }
.cp-art.big .fa.sz-boss { width: 174px; }
/* 图鉴放大弹窗 */
.sp-big .fa.sz-common { width: 120px; }
.sp-big .fa.sz-rare { width: 134px; }
.sp-big .fa.sz-epic { width: 150px; }
.sp-big .fa.sz-legend { width: 166px; }
.sp-big .fa.sz-boss { width: 186px; }
/* 鱼塘游动鱼 */
.tank-fish .fa.sz-common { width: 46px; }
.tank-fish .fa.sz-rare { width: 52px; }
.tank-fish .fa.sz-epic { width: 58px; }
.tank-fish .fa.sz-legend { width: 63px; }
.tank-fish .fa.sz-boss { width: 71px; }
/* 钓场场景游鱼 */
.fs-fish .fa.sz-common { width: 40px; }
.fs-fish .fa.sz-rare { width: 45px; }
.fs-fish .fa.sz-epic { width: 50px; }
.fs-fish .fa.sz-legend { width: 55px; }
.fs-fish .fa.sz-boss { width: 62px; }
.fa-a1 { animation: faWag 1.7s ease-in-out infinite; }
.fa-a2 { animation: faDrift 2.4s ease-in-out infinite; }
.fa-a3 { animation: faBob 2.0s ease-in-out infinite; }
.fa-a4 { animation: faTilt 2.6s ease-in-out infinite; }
.fa-a5 { animation: faHop 1.5s ease-in-out infinite; }
.fa-a6 { animation: faSway 1.9s ease-in-out infinite; }
.fa-a7 { animation: faSink 2.8s ease-in-out infinite; }
.fa-a8 { animation: faShiver 1.6s ease-in-out infinite; }
@keyframes faWag { 0%,100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(3deg) translateY(-4px); } }
@keyframes faDrift { 0%,100% { transform: translateX(0); } 50% { transform: translateX(7px); } }
@keyframes faBob { 0%,100% { transform: translateY(0); } 30% { transform: translateY(-7px); } 60% { transform: translateY(4px); } }
@keyframes faTilt { 0%,100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes faHop { 0%,100% { transform: translateY(0) scale(1); } 40% { transform: translateY(-9px) scale(1.04); } }
@keyframes faSway { 0%,100% { transform: rotate(-4deg) translateX(0); } 50% { transform: rotate(4deg) translateX(5px); } }
@keyframes faSink { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(5px) rotate(-3deg); } }
@keyframes faShiver { 0%,100% { transform: rotate(-2deg) scale(1); } 25% { transform: rotate(2deg) scale(1.02); } 75% { transform: rotate(-2deg) scale(.98); } }
.species-pop { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 12px; text-align: center; }
.sp-stage { position: relative; width: 150px; height: 130px; display: flex; align-items: center; justify-content: center; }
.sp-glow { position: absolute; inset: 10px; border-radius: 50%;
  background: radial-gradient(circle, var(--gc) 0%, transparent 70%); opacity: .35;
  animation: spGlow 2s ease-in-out infinite; }
@keyframes spGlow {
  0%,100% { transform: scale(.9); opacity: .28; }
  50% { transform: scale(1.08); opacity: .45; }
}
.sp-big { line-height: 1; filter: drop-shadow(0 6px 10px rgba(0,0,0,.18)); }
.sp-name { font-size: 18px; font-weight: 800; color: #1e2433; }
.sp-tag { font-size: 12px; font-weight: 700; background: #fff; border: 1px solid currentColor; border-radius: 8px; padding: 2px 10px; }
.sp-meta { font-size: 13px; color: #5a6678; }
.sp-desc { font-size: 12px; color: #7a8494; max-width: 260px; line-height: 1.5; }

/* ---------- 漂流瓶 ---------- */
.bottle-card { display: flex; flex-direction: column; gap: 12px; }
.b-drop { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.bd-title { font-weight: 800; }
.bottle-input { width: 100%; min-height: 78px; resize: vertical; line-height: 1.5; }
.b-fetch { display: flex; justify-content: center; }
.b-block { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 12px; }
.bb-title { font-weight: 800; margin-bottom: 8px; }
.bottle-empty { line-height: 1.5; }
.bottle-item { background: rgba(255,255,255,.07); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; }
.bottle-item:last-child { margin-bottom: 0; }
.bottle-item.taken { opacity: .6; }
.bottle-item.fetched { border-left: 3px solid #5fc9e0; }
.bi-from { font-size: 12px; color: #9fd6ff; margin-bottom: 4px; }
.bi-text { font-size: 14px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.bi-meta { font-size: 11px; color: #9db8ad; margin-top: 6px; }

.bottle-pop { text-align: center; padding: 10px 6px; }
.bp-ic { font-size: 42px; animation: cpPop .5s ease-out; }
.bp-title { font-weight: 800; font-size: 19px; margin-top: 6px; }
.bp-from { font-size: 13px; color: #9fd6ff; margin-top: 2px; }
.bp-text { margin: 12px 4px; font-size: 15px; line-height: 1.6; white-space: pre-wrap;
  word-break: break-word; background: rgba(255,255,255,.07); border-radius: 12px; padding: 12px; }
.bp-acts { margin-top: 8px; }

@media (max-width: 380px) {
  .col-grid { grid-template-columns: repeat(2,1fr); }
}
