/* ── Artifact comparison rows ── */
.art-row {
    display: grid;
    grid-template-columns: 1fr 56px 1fr;
    gap: 8px;
    align-items: start;
    margin-bottom: 14px;
}

.art-slot-label {
    text-align: center;
    font-size: .68em;
    color: var(--text-dim);
    padding-top: 14px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* ── Artifact card ── */
.art-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    min-height: 90px;
}

.art-card.art-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-size: .78em;
    border-style: dashed;
}

/* ── Header (icon + name) ── */
.art-header {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}
.art-card.right .art-header { flex-direction: row-reverse; }

.art-icon {
    width: 42px; height: 42px;
    border-radius: 6px;
    object-fit: contain;
    background: rgba(0, 0, 0, .35);
    flex-shrink: 0;
}

.art-info { flex: 1; min-width: 0; text-align: center; }

.art-set {
    font-size: .67em;
    color: var(--gold);
    line-height: 1.3;
}
.art-name {
    font-size: .72em;
    color: var(--text);
    line-height: 1.3;
}
.art-level {
    font-size: .65em;
    color: var(--text-dim);
    margin-top: 1px;
}

/* ── Main stat ── */
.art-main {
    display: flex;
    justify-content: space-between;
    font-size: .76em;
    font-weight: 600;
    padding: 5px 0;
    margin-bottom: 5px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.art-card.right .art-main { flex-direction: row-reverse; }
.art-main-name { color: var(--text-dim); }
.art-main-val  { color: var(--gold); }

/* ── Substats ── */
.art-subs { display: flex; flex-direction: column; gap: 2px; }

.art-sub {
    display: flex;
    justify-content: space-between;
    font-size: .7em;
    color: var(--text-dim);
}
.art-card.right .art-sub { flex-direction: row-reverse; }

.art-sub-val  { color: var(--text); }
.art-sub.crit .art-sub-name,
.art-sub.crit .art-sub-val { color: #e8c060; }

/* ── CV ── */
.art-cv {
    margin-top: 5px;
    padding-top: 4px;
    border-top: 1px solid var(--border);
    font-size: .72em;
    font-weight: 700;
    text-align: right;
}
.art-card.right .art-cv { text-align: left; }
.cv-green {
    background: linear-gradient(90deg, #c8901a 0%, #f0c040 40%, #fff0a0 55%, #f0c040 70%, #c8901a 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: cv-shine 2.5s linear infinite;
}
@keyframes cv-shine {
    0%   { background-position: 100% center; }
    100% { background-position: -100% center; }
}
.cv-blue  { color: #5aaddb; }
.cv-gold  { color: #5dbb63; }

/* ── Mobile ── */
@media (max-width: 767px) {
    .art-row { grid-template-columns: 1fr 40px 1fr; gap: 5px; }
    .art-slot-label { font-size: .6em; padding-top: 10px; }
    .art-icon { width: 34px; height: 34px; }
    .art-card { padding: 8px 8px; }
    .art-set  { font-size: .6em; }
    .art-name { font-size: .65em; }
    .art-main { font-size: .68em; }
    .art-sub  { font-size: .63em; }
}
