/* Shared Path cards — login + in-game (class / spec / route) */

.wc-path-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 16px;
}
.wc-path-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--sh-text-muted, #8a94a6);
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
}
.wc-path-tab:hover {
    color: var(--sh-accent, #00d2ff);
    text-decoration: none;
    border-color: rgba(var(--sh-accent-rgb, 0, 210, 255), .35);
}
.wc-path-tab.is-active {
    color: var(--sh-accent, #00d2ff);
    background: rgba(var(--sh-accent-rgb, 0, 210, 255), .12);
    border-color: rgba(var(--sh-accent-rgb, 0, 210, 255), .4);
}

.wc-path-grid {
    display: grid;
    gap: 12px;
}
.wc-path-grid--classes {
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
}
.wc-path-grid--specs {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.wc-path-grid--routes {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.wc-path-grid--square {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}
.wc-path-grid--covers {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.wc-path-grid--buildings {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.wc-path-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(0, 0, 0, .28);
    border: 1px solid rgba(var(--sh-accent-rgb, 0, 210, 255), .16);
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.wc-path-card:hover {
    border-color: rgba(var(--sh-accent-rgb, 0, 210, 255), .42);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
}
.wc-path-card.is-active {
    border-color: var(--sh-accent, #00d2ff);
    box-shadow: 0 0 0 1px rgba(var(--sh-accent-rgb, 0, 210, 255), .35),
                0 8px 24px rgba(var(--sh-accent-rgb, 0, 210, 255), .12);
}
.wc-path-card-img {
    display: block;
    width: 100%;
    object-fit: cover;
    background: rgba(var(--sh-accent-rgb, 0, 210, 255), .06);
}
.wc-path-card-img--portrait {
    aspect-ratio: 3 / 4;
    object-fit: cover;
}
.wc-path-card-img--cover {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.wc-path-card-img--square {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.wc-path-card-img--building {
    aspect-ratio: 3 / 2;
    object-fit: cover;
}
a.wc-path-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}
a.wc-path-card-link:hover {
    color: inherit;
    text-decoration: none;
}
.wc-path-card.is-ours {
    border-color: rgba(46, 204, 113, .45);
    box-shadow: 0 0 0 1px rgba(46, 204, 113, .18);
}
.wc-path-card.is-claimed {
    border-color: rgba(255, 165, 0, .35);
}
.wc-path-card.is-focused {
    border-color: var(--sh-accent, #00d2ff);
    box-shadow: 0 0 0 1px rgba(var(--sh-accent-rgb, 0, 210, 255), .35),
                0 8px 24px rgba(var(--sh-accent-rgb, 0, 210, 255), .12);
}
.wc-path-card.is-locked {
    opacity: .55;
}
.wc-path-card--scene .wc-path-card-body p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.wc-path-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 12px;
}
.wc-path-filter {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--sh-text-muted, #8a94a6);
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    cursor: pointer;
}
.wc-path-filter:hover,
.wc-path-filter.is-active {
    color: var(--sh-accent, #00d2ff);
    border-color: rgba(var(--sh-accent-rgb, 0, 210, 255), .4);
    background: rgba(var(--sh-accent-rgb, 0, 210, 255), .12);
}
.wc-boss-detail-art {
    float: left;
    width: 180px;
    max-width: 42%;
    margin: 0 16px 10px 0;
    border-radius: 8px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: rgba(0, 0, 0, .28);
}
.wc-boss-event-art {
    display: block;
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}
.wc-path-card-img--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sh-accent, #00d2ff);
    min-height: 120px;
}
.wc-path-card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 12px 14px;
    flex: 1 1 auto;
}
.wc-path-card-kicker {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--sh-accent, #00d2ff);
}
.wc-path-card-body h4,
.wc-path-card-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.wc-path-card-body p {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: var(--sh-text-dim, #9aa3b5);
    flex: 1 1 auto;
}
.wc-path-card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.wc-path-card-stats span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--sh-accent, #00d2ff);
    padding: 3px 6px;
    border-radius: 999px;
    border: 1px solid rgba(var(--sh-accent-rgb, 0, 210, 255), .18);
    background: rgba(var(--sh-accent-rgb, 0, 210, 255), .06);
}
.wc-path-card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 4px;
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    color: var(--sh-accent, #00d2ff);
    background: rgba(var(--sh-accent-rgb, 0, 210, 255), .12);
    border: 1px solid rgba(var(--sh-accent-rgb, 0, 210, 255), .28);
}
.wc-path-card-action:hover {
    color: var(--sh-accent, #00d2ff);
    text-decoration: none;
    background: rgba(var(--sh-accent-rgb, 0, 210, 255), .22);
}
.wc-path-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--sh-accent, #00d2ff);
    background: rgba(var(--sh-accent-rgb, 0, 210, 255), .14);
    border: 1px solid rgba(var(--sh-accent-rgb, 0, 210, 255), .3);
}
.wc-path-card-cost {
    font-size: 10px;
    color: var(--sh-text-muted, #8a94a6);
    text-align: center;
}

.wc-path-build {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    margin-bottom: 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(var(--sh-accent-rgb, 0, 210, 255), .1), rgba(0, 0, 0, .2));
    border: 1px solid rgba(var(--sh-accent-rgb, 0, 210, 255), .28);
}
.wc-path-build-art {
    width: 56px;
    height: 74px;
    object-fit: cover;
    border-radius: 6px;
    background: rgba(0, 0, 0, .35);
    flex-shrink: 0;
}
.wc-path-build-art.is-cover {
    width: 96px;
    height: 54px;
}
.wc-path-build-meta {
    flex: 1 1 180px;
    min-width: 0;
}
.wc-path-build-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--sh-accent, #00d2ff);
}
.wc-path-build-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.wc-path-build-sub {
    font-size: 12px;
    color: var(--sh-text-dim, #9aa3b5);
}
.wc-path-build-link {
    font-size: 12px;
    font-weight: 700;
    color: var(--sh-accent, #00d2ff);
    text-decoration: none;
    white-space: nowrap;
}
.wc-path-build-link:hover {
    text-decoration: underline;
    color: var(--sh-accent, #00d2ff);
}

.wc-path-identity {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(var(--sh-accent-rgb, 0, 210, 255), .06), rgba(0, 170, 255, .03));
    border: 1px solid rgba(var(--sh-accent-rgb, 0, 210, 255), .18);
    border-left: 3px solid var(--sh-accent, #00d2ff);
}
.wc-path-identity-pair {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 220px;
}
.wc-path-identity-thumb {
    width: 40px;
    height: 52px;
    object-fit: cover;
    border-radius: 5px;
    background: rgba(0, 0, 0, .3);
}
.wc-path-identity-thumb.is-cover {
    width: 72px;
    height: 40px;
}
.wc-path-identity-kicker {
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--sh-text-muted, #8a94a6);
}
.wc-path-identity-name {
    font-weight: 700;
    color: var(--sh-accent, #00d2ff);
}

.wc-path-tier {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.wc-path-muted {
    font-size: 12px;
    color: var(--sh-text-dim, #9aa3b5);
    margin: 0 0 12px;
}

@media (max-width: 576px) {
    .wc-path-grid--classes,
    .wc-path-grid--specs,
    .wc-path-grid--routes,
    .wc-path-grid--square,
    .wc-path-grid--covers,
    .wc-path-grid--buildings {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .wc-boss-detail-art {
        width: 120px;
        max-width: 46%;
    }
    .wc-path-card-body {
        padding: 10px;
    }
    .wc-path-card-body h4,
    .wc-path-card-title {
        font-size: 13px;
    }
    .wc-path-build-name {
        font-size: 16px;
    }
}
