.inspection-backdrop {
    position: absolute;
    inset: 0;
    z-index: 66;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(2, 6, 23, 0.62);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.inspection-backdrop.open {
    display: flex;
}

.inspection-panel {
    width: min(760px, calc(100% - 28px));
    max-height: calc(100% - 28px);
    overflow: auto;
    border-radius: 14px;
    border: 1px solid rgba(56, 189, 248, 0.45);
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.92));
    box-shadow: 0 24px 48px rgba(2, 6, 23, 0.82), 0 0 20px rgba(56, 189, 248, 0.25);
}

.inspection-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.inspection-avatar {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    border: 2px solid rgba(125, 211, 252, 0.72);
    object-fit: cover;
    box-shadow: 0 8px 18px rgba(2, 6, 23, 0.85);
}

.inspection-name {
    font-size: 18px;
    font-weight: 800;
    font-family: monospace;
    color: #f8fafc;
}

.inspection-subtitle {
    margin-top: 3px;
    font-size: 11px;
    font-family: monospace;
    color: #94a3b8;
}

.inspection-close {
    margin-left: auto;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.78);
    color: #e2e8f0;
    cursor: pointer;
}

.inspection-close:hover {
    border-color: rgba(56, 189, 248, 0.72);
    color: #7dd3fc;
}

.inspection-body {
    padding: 12px 14px 16px;
    display: grid;
    gap: 12px;
}

.inspection-section {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 10px;
    background: rgba(2, 6, 23, 0.65);
    padding: 10px;
}

.inspection-section-title {
    font-size: 11px;
    font-family: monospace;
    color: #7dd3fc;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.inspection-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.inspection-stat {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.8);
    padding: 8px;
    text-align: center;
}

.inspection-stat-label {
    font-family: monospace;
    font-size: 10px;
    color: #94a3b8;
}

.inspection-stat-value {
    margin-top: 4px;
    font-family: monospace;
    font-size: 15px;
    font-weight: 800;
    color: #e2e8f0;
}

.inspection-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.inspection-chip {
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.16);
    color: #e2e8f0;
    padding: 4px 9px;
    font-family: monospace;
    font-size: 11px;
}

.inspection-match-list {
    display: grid;
    gap: 6px;
}

.inspection-match-item {
    display: grid;
    grid-template-columns: 80px 1fr 72px;
    gap: 8px;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    padding: 7px 8px;
    background: rgba(15, 23, 42, 0.8);
    font-family: monospace;
    font-size: 11px;
}

.inspection-match-result {
    font-weight: 800;
}

.inspection-match-result.win { color: #10b981; }
.inspection-match-result.loss { color: #f43f5e; }
.inspection-match-result.draw { color: #f59e0b; }

.inspection-empty {
    color: #94a3b8;
    font-family: monospace;
    font-size: 12px;
}

.profile-card-inspect-btn {
    margin: 0 14px 12px;
    width: calc(100% - 28px);
}
