/* ── Activity Nodes & Fishing ───────────────────────────────────────
   CSS fish animation, compact fishing rows, and
   mini square activity node cards used in city panels.
   ──────────────────────────────────────────────────────────────────── */

/* ── CSS Fish Animation ─────────────────────────────────────────── */
.css-fish {
    display: inline-block;
    position: relative;
    width: 20px;
    height: 12px;
    flex-shrink: 0;
    animation: fish-swim 2s ease-in-out infinite;
}
/* Body */
.css-fish::before {
    content: '';
    position: absolute;
    right: 0;
    top: 1px;
    width: 14px;
    height: 10px;
    background: currentColor;
    border-radius: 50% 50% 50% 50% / 65% 65% 35% 35%;
}
/* Tail */
.css-fish::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 8px solid currentColor;
}
@keyframes fish-swim {
    0%,
    100% {
        transform: rotate(-4deg) translateY(0px);
    }
    30% {
        transform: rotate(0deg) translateY(-1.5px);
    }
    70% {
        transform: rotate(0deg) translateY(1.5px);
    }
}
.css-fish--blue {
    color: #1e6070;
}
.css-fish--teal {
    color: #1a7058;
}
.css-fish--deep {
    color: #143f68;
}
.css-fish--purple {
    color: #3c2878;
}
.css-fish--storm {
    color: #263f54;
}

/* Compact fishing rows in the hex panel */
.fish-row {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 3px 0;
    font-size: var(--font-size-lg);
}
.fish-row + .fish-row {
    border-top: 1px solid rgba(80, 120, 160, 0.15);
}
.fish-row--locked {
    opacity: 0.45;
}
.fish-row-icon {
    font-size: var(--font-size-xl);
    min-width: 18px;
    text-align: center;
}
.fish-row-name {
    flex: 1;
    color: #c0d4e8;
}
.fish-row-lvl {
    font-size: var(--font-size-base);
    color: #5a8aaa;
    background: rgba(0, 0, 0, 0.25);
    padding: 1px 5px;
    border-radius: 2px;
}
.fish-row-btn {
    padding: 2px 9px;
    font-size: var(--font-size-base);
    cursor: pointer;
    background: rgba(80, 130, 165, 0.2);
    border: 1px solid rgba(80, 130, 165, 0.45);
    color: #8ab8d8;
    border-radius: 2px;
    letter-spacing: 0.03em;
}
.fish-row-btn:hover {
    background: rgba(80, 130, 165, 0.4);
    color: #c0e0f5;
}

/* Mini square activity node cards */
/* ── act-node-card overrides ────────────────────────────── */
.act-node-card {
    cursor: pointer;
    text-align: center;
    gap: 4px;
}

.act-node-card--locked {
    opacity: 0.42;
    cursor: default;
}
/* Ship not on this hex - show preview but suppress interaction */
.act-node-card--unavail {
    opacity: 0.55;
    cursor: default;
    pointer-events: none;
}

.act-node-icon {
    font-size: var(--font-size-4xl);
    line-height: 1;
    flex-shrink: 0;
}

.act-node-name {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: #c8d0da;
    letter-spacing: 0.02em;
    line-height: 1.2;
    word-break: break-word;
    hyphens: auto;
}

.act-node-level {
    font-size: var(--font-size-xs);
    color: rgba(197, 160, 89, 0.7);
    font-family: var(--font-body);
    letter-spacing: 0.04em;
}
.act-node-level--locked {
    color: rgba(255, 255, 255, 0.25);
}
