/* ── PW Trading — Shared Icon Nav ── */
.pw-nav {
    display: flex;
    gap: 4px;
    padding: 6px;
    margin-bottom: 16px;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 10px;
    width: fit-content;
}
.pw-nav a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    color: #8b949e;
    text-decoration: none;
    transition: all 0.15s;
}
.pw-nav a:hover {
    background: #21262d;
    color: #e6edf3;
    text-decoration: none;
}
.pw-nav a.active {
    background: #1f6feb;
    color: #fff;
}
.pw-nav a svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Tooltip on hover */
.pw-nav a::after {
    content: attr(data-label);
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    background: #30363d;
    color: #e6edf3;
    font-size: 11px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s;
    z-index: 10;
}
.pw-nav a:hover::after {
    opacity: 1;
}

@media (max-width: 480px) {
    .pw-nav {
        gap: 2px;
        padding: 4px;
    }
    .pw-nav a {
        width: 36px;
        height: 36px;
    }
}
