.outrank-photo-modal {
    width: min(980px, 92vw);
    max-height: 88vh;
}

.outrank-photo-modal .modal-body {
    overflow: auto;
}

.outrank-photo-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #e9ecef;
}

.outrank-photo-summary__main {
    font-size: 1rem;
    color: #212529;
}

.outrank-photo-summary__main strong {
    font-size: 1.35rem;
    font-variant-numeric: tabular-nums;
}

.outrank-photo-summary__hint {
    color: #6c757d;
    font-size: 0.8125rem;
    text-align: right;
}

.outrank-photo-list {
    display: grid;
    gap: 0.55rem;
}

.outrank-photo-row {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: center;
    padding: 0.55rem 0;
    border-bottom: 1px solid #f1f3f5;
}

.outrank-photo-preview {
    width: 112px;
    height: 70px;
    border-radius: 0.45rem;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.outrank-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.outrank-photo-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #868e96;
    font-size: 0.82rem;
    line-height: 1.2;
}

.outrank-photo-empty .en-text {
    display: block !important;
    margin-left: 0 !important;
    font-size: 0.72rem !important;
}

.outrank-photo-team {
    min-width: 0;
}

.outrank-photo-team-id {
    font-weight: 700;
    color: #212529;
}

.outrank-photo-team-name {
    color: #343a40;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.outrank-photo-team-school {
    color: #6c757d;
    font-size: 0.82rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.outrank-photo-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

@media (max-width: 720px) {
    .outrank-photo-summary,
    .outrank-photo-row {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
    }

    .outrank-photo-summary__hint {
        text-align: left;
    }

    .outrank-photo-actions {
        width: 100%;
    }
}
