/* ==========================================
   COMPARISON MODAL GRID
   ========================================== */
.comparison-grid {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    font-size: 13px;
    vertical-align: middle;
}

.comparison-table th {
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--snes-lavender);
    background: var(--bg-primary);
    position: sticky;
    left: 0;
    z-index: 2;
    min-width: 140px;
    white-space: nowrap;
}

.comparison-table td {
    color: var(--text-secondary);
    min-width: 180px;
    text-align: center;
    white-space: normal;
    word-break: break-word;
}

.comparison-table thead td {
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
    background: var(--bg-card);
    border-bottom: 2px solid var(--snes-purple);
    padding: 14px;
}

.comparison-table tbody tr:hover {
    background: rgba(107, 91, 149, 0.05);
}

/* Winner highlight */
.comp-best {
    background: rgba(46, 204, 113, 0.15) !important;
    color: var(--highlight-green) !important;
    font-weight: 700;
    position: relative;
}

.comp-best::before {
    content: '★';
    position: absolute;
    top: 4px;
    right: 6px;
    font-size: 10px;
    color: var(--snes-green);
    opacity: 0.7;
}

/* Console header in comparison */
.comp-console-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.comp-console-brand {
    font-size: 10px;
    opacity: 0.7;
}

.comp-console-name {
    font-size: 14px;
}

/* Category rows */
.comp-category-row td,
.comp-category-row th {
    background: rgba(107, 91, 149, 0.1) !important;
    border-bottom: 1px solid var(--snes-purple);
    padding: 8px 14px;
}

.comp-category-row th {
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    color: var(--gc-purple);
    letter-spacing: 1px;
}

/* Yes/No badges */
.badge-yes {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    background: rgba(46, 204, 113, 0.2);
    color: var(--snes-green);
    font-size: 11px;
    font-weight: 700;
}

.badge-no {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    background: rgba(231, 76, 60, 0.2);
    color: var(--snes-red);
    font-size: 11px;
    font-weight: 700;
}

/* Spec value */
.spec-value {
    font-weight: 600;
    color: var(--text-primary);
}

.spec-label {
    font-size: 10px;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}
